Ive been trying to make cooldowns for my game for a long while now, so I came here. does anyone know how
Can you share your code? Usually the way I do cooldowns is with a variable that gets set and then set back after a time, but that timer happens in its own forever loop. Here’s some code:
On overlap…(
If cooldown = 0, run code, set cooldown = 1
)
Forever (
If (cooldown = 1), pause 2000, cooldown = 0
)
You would want to use the “Timers” extension, specifically the
Block.
Just have whatever you want to happen inside the block and use the number parameter as the cooldown length in milliseconds.
To find the “Timers” extension, click “Extensions” then scroll down or search “Timers” at the search bar, then click the “Timers” box to get the blocks.
Timer extension. its in the regular ones. also if you want to visualize it, you could also add status bars.
it worked, tysm!!



