1
0
Fork 0
made-in-akira/3d_models/gordon/actionwheel.lua

38 lines
857 B
Lua

--EMOTES--
local mainPage = action_wheel:newPage()
action_wheel:setPage(mainPage)
function pings.Emote(state)
animations.player_model.animation:setPlaying(state)
end
function pings.Disguise()
models.player_model:setPrimaryTexture("CUSTOM", textures["gordon-mk1"])
end
function pings.HEV()
models.player_model:setPrimaryTexture("CUSTOM", textures["gordon-nojacket"])
end
--------------------------------------------------------------------
mainPage:newAction()
:title("Emote")
:item("minecraft:lantern")
:hoverColor(1,1,0)
:onToggle(pings.Emote)
mainPage:newAction()
:title("Disguise")
:item("minecraft:brown_terracotta")
:hoverColor(1,1,0)
:onLeftClick(pings.Disguise)
mainPage:newAction()
:title("H.E.V.")
:item("minecraft:orange_wool")
:hoverColor(1,1,0)
:onLeftClick(pings.HEV)