local rmtevent = game:GetService('ReplicatedStorage'):WaitForChild('Plotting')
local player = game.Players.LocalPlayer
local Tool = script.Parent;
enabled = true
function onActivated()
if not enabled then
return
end
enabled = false
rmtevent.OnServerEvent:Connect(function(plr)
local value = math.random(1,script.Parent.Handle.Value.Value)
player.leaderstats.Strength.Value = player.leaderstats.Strength.Value + value
wait(.8)
end)
enabled = true
end
function onEquipped()
print("Equipped")
end
script.Parent.Activated:connect(onActivated)
script.Parent.Equipped:connect(onEquipped)
The debounce in this code is not working the cool down why is it not working please help thanks.

1 comment
Thanks alot again bruh your always helpful