Here's the script:
wait()
local player = game.Players.LocalPlayer
local tool = script.Parent
tool.Equipped:Connect(function(Mouse)
Mouse.Button1Down:Connect(function()
local ev = workspace.Events.PunchE
ev:FireServer()
end)
end)
I need it to have a cooldown so if a player spamclicks the event will only get triggered after the cooldown is up.

1 comment
I am very thankful!