made-in-akira/pixel_art/minecraft_skins/emotepack/script.lua

17 lines
718 B
Lua
Raw Normal View History

2024-06-19 22:22:59 +00:00
require("GSAnimBlend")
vanilla_model.PLAYER:setVisible(false)
models.player_model.root:setPrimaryTexture("SKIN")
BlendTime = 2
animations.player_model.clap:setBlendTime(BlendTime)
animations.player_model.followMe:setBlendTime(BlendTime)
animations.player_model.wave:setBlendTime(BlendTime)
animations.player_model.sitting:setBlendTime(BlendTime)
animations.player_model.tilt:setBlendTime(BlendTime)
function events.ENTITY_INIT()
IsSlim = player:getModelType() == "SLIM"
models.player_model.root.RightArm.RSlim:setVisible(IsSlim)
models.player_model.root.LeftArm.LSlim:setVisible(IsSlim)
models.player_model.root.LeftArm.LSteve:setVisible(not IsSlim)
models.player_model.root.RightArm.RSteve:setVisible(not IsSlim)
end