Auto fire?

how do i make a gun shoot rapid fiire when i hold down the left button?

In the “Keyboard” sensor, click the first button with three dots on it.
To change the rate of fire, change the number in the second picture.

Attachments