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

animation:AdjustSpeed() doesn't work anymore?

Asked by 5 years ago

I am trying to change speed of an animation, but it just doesn't work. Here is the script:

local animTrack = player.Character.Humanoid:LoadAnimation(animation)
local speed = animTrack.Length / duration
animTrack:AdjustSpeed(5)
animTrack:Play()

The speed of the animation is always 1. This code block is in LocalScript.

Answer this question