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

Is there a way to pause an animation track?

I am scripting an animation for a player, but I want the animation to pause in the middle of the animation. How would I go about doing this? I have already tried animationtrack:Pause() but I get an error.

2 answers

Try "animTrack:Stop()"

If there is any other problems, Message me on ROBLOX!

2 comments

0

Yes, I have tried to do that but that just ends the animation, not pauses it.

0

What i would say, Is if you want it to pause for a Certain amount of time.. You would add an wait(30) As that is only how long you can do it. As an Animation may not be no longer then 30 seconds. If you have any more questions Please refer to the Animations part of the ROBLOX Wiki http://wiki.roblox.com/index.php?title=Animations

hi so I know this is 2 years old but I figured I'd answer this for anyone that finds this looking for something like I just did

animationtrack:AdjustSpeed(0)

This sets it's speed to 0, so it's basically the same as a pause function

1 comment

0

This actually helped me a lot, thanks. I would upvote your answer but I need 25 reputation.

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