(SOLVED) How do I add cooldowns/delays for the dash in my game?

I’m trying to add delays/cooldowns for my dash but they don’t seem to work.
Does anybody know how I can add it?

Here’s a screenshot if you need

You’ll need to add a timer, preferably an object timer. Here’s how it’d look:

Here’s a preview. He dashes towards your cursor. You can spam primary click, but there is a 1 second cooldown: try me!

This is a sort of crude example, so feel free to tweak it to your liking :grin:


Note if you’d like a longer / shorter cooldown, change the number where it says

The timer "Cooldown" of TestDino > [YOUR NUMBER] seconds

Ok thank you! I’ll make sure to try it!

It Worked! Thank you very much. I was trying for a long time. :slight_smile:

1 Like