How do I make a sound file that's .wav or .mp3 loop when a gun is being fired?

Right now it just plays the noise once whenever I hold down left click, but the muzzle flash I made continues until I release the button (which is what I want it to do.)

Something along the lines of:

but I don’t know how you currently have it setup.