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

Why won't AdjustSpeed affect the speed of my animation?

Asked by
Kami_Yo 72
5 years ago

I have a weapon here and I want to add a skill to the player that speeds up all their attacks.

I heard that AdjustSpeed was a way to either slow down or speed up animations. But it has never worked for me. This is a snippet of the code:

local ANIM = humanoid:LoadAnimation(animationName)

ANIM:AdjustSpeed(-1)

ANIM:Play()

This is within a function and I pass the animation in as animationName. It all works and the animation runs but AdjustSpeed changes nothing. I thought -1 was supposed to reverse the animation and 0.5 would slow it down but nothing changes. Why?

Answer this question