if you want to add a cooldown, change the localscript to this :
local tool = script.Parent
local player = game.Players.LocalPlayer
local remote = game.ReplicatedStorage:WaitForChild("ToolEvent")
local debounce = false
local cooldown = 0.5
tool.Activated:Connect(function()
if debounce then return end
debounce = true
remote:FireServer()
task.wait(cooldown)
debounce = false
end)