The animation you’re using is content deleted. There is no way of retrieving it, you will need to use a new animation in place of the deleted one. The link leads to a 404.
local tool = script.Parent
local players = game:GetService("Players")
local player = players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local animation = Instance.new("Animation")
animation.AnimationId = "rbxassetid://8254829738"
local track = humanoid:LoadAnimation(animation)
repeat task.wait() until track.Length > 0
local function onActivated()
track:Play()
end
local function onUnequipped()
track:Stop()
end
tool.Activated:Connect(onActivated)
tool.Unequipped:Connect(onUnequipped)
You had the wrong animation ID, also here’s a better way to set up the script.