This is a muzzle flash add_on, very easy to use. Works with EEVEE and with CYCLES. Ready-made setup, install and use immediately.
In the Particle Properties section in the Emission section, you can adjust the number of shots and from what and to what frame, so that they last.
In the Particle Properties section in the Render section
Here you can increase or decrease the size of the muzzle flash.
With the free add_on dynamic parent master you can connect objects
You can buy 16 of my addons for only 23$