Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Animation looping help?

Asked by
EpicLilC 150
9 years ago

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

Log in to vote
0
Answered by 9 years ago

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.

Ad

Answer this question