Light beams and firework effects

How would I go making light beams and firework-like bloom effects with lua?
Never had to do anything like this, so I have no idea if this is even possible.
If it is, I’m thinking I probably need to make my own effect.
Any help?

2 Effects 1 going up into a straight line then dies, then the second one loads in a math.random curtime outwards.

Or you can use the same effect and do it!

You could use

I didn’t read it properly i just skim read to save time but…

firework-like bloom effects… O.o