Debounce

A guard that turns many rapid triggers into one action.

Think of it as An elevator call button that ignores mashing.

Events such as Touched fire many times for one contact. A debounce remembers that the action already happened (a flag, a per-player table or a timestamp) and ignores repeats until it resets. For anything that pays or hurts, keep it on the server and per player.

Where the picture breaks

One button serves everyone, but a game debounce must be kept per player and on the server, or one player blocks another and an exploiter skips it.

A debounce is state the server keeps, usually per player, that says an action already happened. Checks that decide whether the action is legal run before that state is written.

See it with the rest of the analogy cast

Official reference: create.roblox.com

Related terms