I've heard people talking about it but don't get the concept or what it means/does.
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)
Locked by evaera
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?