Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I run an animation on any given humanoid?

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.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.