Bunny
1

This is my current code, where people can hold down the space bar to spam lasers. How would I add a cooldown to this?
Nikolay
2
You could create a lock, that prevents from calling this CoBlock again until the current one finishes and use timer inside of it. Here is an example:
Hope that helps
1 Like