For example, I have a hit animation with a duration of 2 seconds. But hit duration should be based on attack speed, so how can i speed up or slow down the animation time?
✓ ANSWER ACCEPTED
How can i set the duration of animation?
1 answer
✓ Accepted answer
Use the adjustspeed function on the loaded animation (Humanoid or AnimationController then do :LoadAnimation(then your animation). Then, you can Adjust it. local Anim = Humanoid:LoadAnimation(AttackAnim) local Speed = 1.5 Anim:AdjustSpeed(Speed) 1 is the default.
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you, probably that is exactly what i was looking for!