How do I make it so that the player can't spam bullets? so add a cooldown
Develop games in your browser. Powerful, performant & highly capable.
Here is the easiest method: