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?

http://www.fotowolfie.com/blog/images/20061003011027_dsc_3704.jpg

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 https://developer.valvesoftware.com/wiki/Point_spotlight

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

firework-like bloom effects… O.o