local ToolIsEquippedAnim = script:FindFirstChild("ToolIsEquippedAnim")
local player = game.Players.LocalPlayer
item.Equipped:Connect(function()
local humanoid = item.Parent:FindFirstChild("Humanoid")
if humanoid then
local animator = humanoid:FindFirstChild("Animator")
if animator then
local animationTrack = animator:LoadAnimation(ToolIsEquippedAnim)
animationTrack:Play()
end
end
end)```
#why does tool animation won't load? (client script)
1 messages · Page 1 of 1 (latest)
Try setting the Animation Priority of your EquippedAnim to Action
Pretty sure the humanoid variable is wrong, item.Parent for the tool would be backpack, since the tools stay there, add another .Parent there maybe (script.Parent.Parent:FindFirstChild("Humanoid") )
But if the tool is equipped it gets parented to the character
Oh ok, maybe try adding some WaitForChild and checking the animation...