I asked this hour's ago but no success, so this time i'll ask again.. when I have a idle animation playing i'n a tool the leg's don't move / aren't animated

Already did: Set all priority's to action and everything (I also have animations for my character)

Here's the code that play's the idle animation for the tool:

local plr = game:GetService("Players").LocalPlayer
local char = plr.Character or plr.CharacterAdded:Wait()
local h = char:WaitForChild("Humanoid")
local anim = h:LoadAnimation(script.Parent:WaitForChild("Animation"))

local tool = script.Parent

tool.Equipped:Connect(function()
 anim:Play()
end)

tool.Unequipped:Connect(function()
 anim:Stop()
end)

2 comments

0

is the animation priority set to movement?

0

I set the sword's idle to movement yet it STILL didn't work