# if not debounce then debounce = true else return end -- code... task.wait(--[[duration]]) debounce = false