How do I speed up animations (Melee combat)

I load the animation to the player when the character is added and then play it with a function that takes a speed argument before I play the animation. I use :AdjustSpeed() and then play it but the speed doesn’t change.

Essentially, I want the animation to be played at double the speed.

If you want to speed up the animation real easy just go in the animation and make the body move faster I’m not good at scripting but this may help!

How are you coding the changes to the AnimationTrack | Roblox Creator Documentation ? There are examples in the link.

Animation:AdjustSpeed(Speed)
Animation:Play()

1 Like

If you are using animationTrack:AdjustSpeed() before animationTrack:Play(), then the animationTrack:Play() will overwrite the speed of it and set it back to the default value

You can just specify the animation speed in the Play() function like this:

animationTrack:Play(0.1, 1, speed) the last parameter is the speed of the animation

For more info, visit this:
https://developer.roblox.com/en-us/api-reference/function/AnimationTrack/Play

8 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.