Animations wont work

local Handle = Tool:WaitForChild("Handle")
local Mesh = Handle:WaitForChild("Mesh")

local swingAnim = Tool.Animations.Swing
Tool.Activated:Connect(function() 
	print(1)
	local animTrack = Tool.Parent:WaitForChild("Humanoid"):LoadAnimation(swingAnim)
	animTrack:Play()
	print(2)
end)

the animation wont play, there is no errors and both debug print statements print.
classic animation animator lets me import it
idk whats wrong or if it is a bug?

Looks good to me… is the animationID in the animation object correct?

1 Like

yes, might try re uploading the animation im pretty sure its a bug

1 Like

Is the AnimationPriority set to Action or higher?

1 Like

i tried reuploading it and it is still not working

dont know what animation priority is so im assuming no

AnimationPriority | Documentation - Roblox Creator Hub

2 Likes

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