Problem With Animation Speed

Hello, My friend made an animation for me, And I make the playback speed x2, and when I export it seems to go back to its original speed once I test it on my animation tool. I am not an animator so I am confused about how to manage this problem. And the art design topic has animation in it so I assume this is the right topic to share this problem.

1 Like

If I am not totally wrong here I think you could take your animation or where you loaded it from the humanoid and do :AdjustSpeed(value) and ti should work as you want!

Animation:AdjustSpeed(2)

Ok thanks, ill try this now ill reply again if this works.

1 Like

Seems, to not work its the same original speed. Any other fixes? If i did it wrong i can send you the code of the animation tool

1 Like

If you want you can send the code and I can try and figure it out :+1:

'local anim
local animtrack
code = false
script.Parent.Activated:Connect(function()
if code == false then
code = true
anim = Instance.new(“Animation”)
anim.AnimationId = ‘rbxassetid://’
local char = script.Parent.Parent
animtrack = char.Humanoid:LoadAnimation(anim)
animtrack:AdjustSpeed(2)
animtrack:Play()
elseif code == true then
code = false
animtrack:Stop()
anim:Destroy()
anim = nil
animtrack = nil
end
end)

script.Parent.Unequipped:Connect(function()
code = false
animtrack:Stop()
anim:Destroy()
anim = nil
animtrack = nil
end)’

1 Like

This should work
I just put the :AdjustSpeed() above the :Play()

local anim
local animtrack
code = false
script.Parent.Activated:Connect(function()
	if code == false then
		code = true
		anim = Instance.new("Animation")
		anim.AnimationId = "rbxassetid://"
		local char = script.Parent.Parent
		animtrack = char.Humanoid:LoadAnimation(anim)
		animtrack:Play()
		animtrack:AdjustSpeed(2)
	elseif code == true then
		code = false
		animtrack:Stop()
		anim:Destroy()
		anim = nil
		animtrack = nil
	end
end)

script.Parent.Unequipped:Connect(function()
	code = false
	animtrack:Stop()
	anim:Destroy()
	anim = nil
	animtrack = nil
end)

alr, ill try thanks, if this works ill put this as solution

1 Like

Thank you so much, you are underrated.

1 Like

No problem, happy to help :+1:

1 Like