#tool cooldown

1 messages · Page 1 of 1 (latest)

zenith kayak
#

i wanna add a one second cooldown to this move, the problem is that since its a tool.activated if i try to add a debounce to it it gets overwritten if i just click on the tool again, does anybody know how to implement this?

fierce wolf
#

Use task.delay

inner snow
#

put the debounce outside of the activated function

dry summit
#

you need to define the debounce before the function

#
local debounce = false

tool2.Activated:Connect(function() 
  debounce = true
  wait(1)
  debounce = false
end)