Script:
local tool = script.Parent
local anim = Instance.new("Animation")
anim.AnimationID = "http://www.roblox.com/Asset?ID=8490330226"
local track
tool.Equipped:Connect(function()
track = script.Parent.Parent.Humanoid:LoadAnimation(anim)
track.Priority = Enum.AnimationPriority.Action
track:Play()
end)
tool.Unequipped:Connect(function()
if track then
track:Stop()
end
end)

1 comment
its a local script