Right now I have it so when I click the space bar my character fires a bullet. If you can click the space bar 10 times in one second it will fire ten times. What I am looking for is a simple mechanism that makes it impossible to fire a bullet within 2 seconds of another one. In other words I am looking for a way to disable bullets for 2 seconds within firing one.
Thanks