Skid, with that code, a user could fire as fast as they wanted by pressing and releasing the fire button. Whether he wants that, or if he wants to enforce 6 shots per second in that case, I do not know.
I would do a Last Shot variable and just test the time since the last shot. If it has been long enough, fire and set the last shot time to the current time. Rinse, repeat.
I would do a Last Shot variable and just test the time since the last shot. If it has been long enough, fire and set the last shot time to the current time. Rinse, repeat.