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 put a wait inside the animation loops?

cause if i don't the animation kind of fidgets for every time the humanoid running is fired and you already can tell cause when I put print it prints like 1x every milisecnd and it fidgets the animation which is bad does anyone know how i can prevent this I was thinking wait but better ideas are welcome

TestingDummie = script.Parent
Humanoid = TestingDummie.TestingDummy
Loading = Humanoid:LoadAnimation(script.Animation)
Loading.Looped = true
wait(1)


Humanoid.Running:Connect(function()
		print('The thing walk lmao')
		Loading:Play()
			
			
	
end)

1 answer

Hello! I'm BlackOrange and I will be helping you today.

#Solution:#

The solution is actually not in the script, in fact, it's actually in the animation itself. What you want to do is re open up your animation and extend the length of the animation make sure the frame is where you want to be. Notice that if you have no frames after the last frame and there is still time left, there will be a little pause.

Simply, just keep changing the animation until you get what you desire.

Hope this helped!!

Best Of Luck Developer!

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