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

Is there a way to pause an animation track?

Asked by
Scriptecx 124
8 years ago

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

Log in to vote
0
Answered by 8 years ago

Try "animTrack:Stop()"

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

0
Yes, I have tried to do that but that just ends the animation, not pauses it. Scriptecx 124 — 8y
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 MicrobeBlox 5 — 8y
Ad
Log in to vote
0
Answered by 6 years ago

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

0
This actually helped me a lot, thanks. I would upvote your answer but I need 25 reputation. jonathanpecany100 0 — 4y

Answer this question