ak47 sound not looping

I created an audioNode and then made it so that when the user press presses the left mouse button, it plays the ak47 shooting sound repeatedly. but the problem is that it only plays the sound once, i have to keep pressing the mouse button to play the sound again. I tried using analogListener, but the sound does not play at all when I put it into my code. I would really appreciate it, if anyone could help me on this. thanks!

audioNode.setLooping(true)?

lol yeah i just got it a few minutes ago :stuck_out_tongue: