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

Animation looping help?

I just recently made an animation that has a player running (sort of like deathrun), but in the middle of it, it loops (which I want it to do), but it pauses and does this awkward freeze thing before it replays the animation. Is there anyway to go into the script of the animation (or in general) remove the weird pause before the animation replays?

1 answer

Hmm i don't think this actually works but here is my idea.

Idea

Try using the while true do function and set it to wait(0,1) Here's the code.

while true do
if -- the character is walking then
--Insert animation here.
else
return
wait(0,1)
end

I'm a noob at scripting so it may don't work.

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