How do I make an automatic gun?

I’ve managed to make a semi-auto gun, but I can’t make a full-auto one.

At the beginning of the scene: reset & pause the timer “autogun”

Condition: if key is pressed
→ subevents:
→ unpause timer “autogun” trigger once

→ timer is > 0.2 seconds actions: create object bullet, add permanent force,
→ -> reset timer “autogun”

If key is released: reset timer “autogun” pause timer “autogun”