New: Nitro Boost our Discord server and receive full donation perks here on the website! Join the Scripting Helpers Discord Server to learn more! You can also Support on Patreon as always.
Still have questions? Join our Discord server and get real time help.
Log in to vote

How do I adjust speeds of an animation in a character animate script?

Asked by 6 months ago

Is it possible to do this? I plan on using it alot.

1 answer

Log in to vote
Answered by
lolzmac 170
6 months ago

When you use AnimationTrack:Play(), there are three parameters that you can edit within the :Play() function.

The first is the fadeTime, the weight, and finally - the one you're looking for - the speed.

If you would like to change the speed of the animation without changing the other options, use the default fadeTime, 0.100000001, and the default weight, 1. Changing the speed without changing the others can be done like: AnimationTrack:Play(0.100000001, 1, yourSpeed).

Also, if you want to change the speed while the animation has already started playing, you can make this adjustment using AnimationTrack:AdjustSpeed().


Answer this question