Hey, I’m pretty new to scripting and was wondering how I’d script a muzzle flash to a firearm I’m working on. I’m considering to use a particle emitter. Does anybody know any good tutorials or videos? Thanks!
can you show any Images or videos?
I assume particleemitters are the best way.
To the script that fires the bullet, you can do :Emit(howmuchparticles) with a particleemitter. Better yet, try putting the particle on a attachment on your weapon, so you can position where the muzzle should be.
Any example of your muzzle flash and whether you have an image used for the muzzle flash particle?
That being said, this question has been asked several times so you will expect to use :Emit() on a particle emitter.
Find the correct amount of emitted particles you need and it should come out nicely.