Best way to handle automatic gunfire natively?

So something like a quick looping call to play a sound works relatively easily using a third party solution like Wwise. I’d like to attempt this in UE4, but I’m having an issue figuring out the best way to have a reliable timed call for firing.

My solution, which I’m not very happy with, was to call a single shot sound 2 or 3 times, then switch to a looping sound if the fire button was still held down. The idea was to continue a timer to keep track or timing and when the button was released, call another single shot so it would end with the full shot tail. There are several issues with this approach and I’m wondering if there might be a better way to approach something like this.

Thanks!