How do I insert this script into this script to make it work??
function onEquippedLocal(mouse)
into...
player = game.Players.LocalPlayer
mouse = player:GetMouse()
animation = script:WaitForChild("Animation")
enabled = true
mouse.Button1Down:connect(function() if enabled then enabled = false
local animationTrack = player.Character.Humanoid:LoadAnimation(animation)
animationTrack:Play()
wait(3)
enabled = true
animation:Stop()
end
end)

4 comments
fix your code block
I don't know how
Make sure all your code is in between the ~~~ lines. Also ensure that this script is indeed in a localscript.