anim = script.Parent.Parent.Parent.Humanoid:LoadAnimation(script.Parent)
while true do
anim:Play()
wait(3)
end
So far, this is the code I came up with. Theoretically, this should run an animation, wait 1 second (the anim is 2 seconds), then loop, but doesn't run anything. Putting a print() statement in the loop prints, but the anim doesn't play.

