#How to make a cooldown?

1 messages · Page 1 of 1 (latest)

viral tulip
#

Im trying to make a cooldown so people cant just spam the button and glitchout the cars. Any help plz

#

yes, this is a free model... I only have like 2 second experience 😭

loud root
#

debounce

viral tulip
#

What does that mean

#

Sorry I don’t know anything 😭

loud root
modern elkBOT
#

studio** You are now Level 1! **studio

shy notch
#
local Debounce = os.clock()
local Cooldown = 1

if os.clock() - Debounce < Cooldown then
  return
end
-- Main Code here

Debounce = os.clock()
viral tulip
#

hes peak

#

i put him in the ss as a joke lol

novel zodiac
#

real shit

viral tulip
#

the people are so helpful here upvote

viral tulip
#

sorry for the late response i was sleeping :(