to keep it simple, I need this to fire but only once, it fires an extra time per times I’ve previously fired it. Heres the snippit of code that matters here
Serverscript
hum.HealthChanged:Connect(function()
if db == false then
db = true
print(CD)
task.wait(CD)
db = false
else
return true;
end
If you only need HealthChanged to fire once you can use :Once over :Connect (this will disconnect the event after the event has fired once).
If the event is firing when you don’t expect it to a likely cause is the default Health regen script as mentioned by SchlossGarage. You can disable the health regen by placing an empty script called “Health” in StarterPlayer.StarterCharacterScripts.