I don't know much about making animations, but I know how to play them (i think). Whenever I try to load the animation, it does nothing. Output doesn't say it didn't load, and sometimes when i walk or jump the animation plays but it didn't play in the moment. Help? This is the script, broken down to the more important parts. (its a vent for an among us copy by the way, making the player jump in felt lazy)
animEnter = p.Parent.ventEnter
local c = plr.Character
local h = c.Humanoid
local ventplay = h:LoadAnimation(animEnter)
-- variables
p.ClickDetector.MouseClick:Connect(function(plr)
if plr.Character.Torso.Transparency == 0 and plr.IsTraitor.Value == true then
ventplay:Play()
end
end)
--code
There's a lot more to the script, but I broke it down to what I need. Everything is good, traitor value is true, torso is opaque. I just don't understand, did I code wrong or is it my crappy PC?

1 comment
it was in a server side, thank you