How to add a cool down to an ability?

I need help on giving a cooldown to a ability after its use.

Something like this?

This is keeping track of the last time the event was fired, and only letting it happen if its been at least 2 seconds (2000ms). The game time block is found in the game category.

I just tried it and it sorta works, although I think I may be doing it wrong because yea the ability doesn’t activate in the specified time but afterwards I can use it but then be able to use it again without it’s specified time.

1 Like

wait nvm I got it right I forgot to add something :stuck_out_tongue:

1 Like