so im trying to make a very basic code where the Jump animation changes depending on whether the player is moving or not, and from my scripting knowledge (which is almost nothing) this SHOULD work, but it doesnt!
if character.PrimaryPart.Velocity.Magnitude == 0 then
JumpAnimation.AnimationId = "rbxassetid://12965649597"
else
JumpAnimation.AnimationId = "rbxassetid://12907804068"
end
maybe the issue is obvious, but i have just started scripting, and the output doesnt say anything