I've heard people talking about it but don't get the concept or what it means/does.
✓ ANSWER ACCEPTED
What is a denounce?
1 answer
✓ Accepted answer
A debounce is just what people call a bool to stop something from firing a bunch of times or to keep people from doing something until after a certain amount of time. A 'debounce' can be called anything.
local db = true -- can be named anything
script.Parent.Touched:connect(function(hit)
if hit.Parent and hit.Parent:findFirstChild("Humanoid") and db then -- checking to see if db is true, then setting it to false if it is, then adding a small wait() at the end will keep the script from spamming instance(below)
db = false
Instance.new("Part", Workspace).Name = "NoSpam"
wait(1)
db = true
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Sorry denounce is the right word.