I created an animation for a tool whenever it is activated, but it does not work. I followed a community tutorial in the forum to animate my tool. There is no error in the output, and the animation is owned by me. Every variable seems to be in place too. I have also tried to look through the forums, with no real solutions to my problem. Can anyone help?
Client Script (within tool)
local Players = game:GetService("Players") local localPlayer = Players.LocalPlayer local localCharacter = localPlayer.Character or localPlayer.CharacterAdded:wait() local localHumanoid = localCharacter.Humanoid local toolFire = zapperTool:WaitForChild("toolFire") -- Animation local toolTrack= localHumanoid:LoadAnimation(toolFire) tool.Activated:Connect(function() toolTrack.Priority = Enum.AnimationPriority.Action toolTrack.Looped = false toolTrack:Play() end)