Animation playing too fast

animation not slowing down after using AdjustSpeed robloxapp-20211207-0933428.wmv (325.7 KB)

local Tool = script.Parent
Tool.Activated:Connect(function()
	local Character = Tool.Parent
	if Character then
		local Humanoid = Character:WaitForChild("Humanoid")
		if Humanoid then
			if Humanoid.RigType == Enum.HumanoidRigType.R6 and bowanimationr6 then
				local LoadedAnim = Humanoid:LoadAnimation(bowanimationr6)
				LoadedAnim:AdjustSpeed(30)
				repeat
					task.wait()
				until LoadedAnim.Length > 0
				LoadedAnim:Play()
			end
		end
	end
end)
1 Like

Tip: you can play an animation at a custom speed by using the speed argument within the :Play() itself :slight_smile: (i’ve also had issues with :AdjustSpeed() not working properly.)

Oh, how? I am quite bad at scripting.

Go here: https://developer.roblox.com/en-us/api-reference/function/AnimationTrack/Play
It’s the third parameter.

For example: AnimationTrack:Play(0,1,speedValue)

1 Like