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)