How do you adjust the speed of an animation?

Fairly new to scripting and I want a walk animation to be able to play at various speeds. I’ve tried the following but nothing happens to the animation speed. This is in a local script in StarterCharacterScripts

local Player = game.Players.LocalPlayer
local human = Player.Character.Humanoid

local WalkAnimation = script.Walk
local WalkAnimationTrack = human:LoadAnimation(WalkAnimation)

WalkAnimationTrack:AdjustSpeed(2)
			WalkAnimationTrack:Play()
3 Likes

Anim:AdjustSpeed(1) – 1 normal speed, anything lower 1 will make animation slower, anything higher will make animation faster, -1 and anything lower will reverse animation

Edit: You must adjust speed after the :Play()
Edit2: 0 will “pause” animation

5 Likes

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