This is a Animationnodes Setup that generates Lightning. I have been asked to make it commercially available.
This file simply generates a lightning and animates it. You will have several options to randomize the lightning bolt. Have Fun
Please make sure to use Blender 2.8 or higher and Animationnodes 2.1.
As Animationnodes is somewhat hard to understand for, and explain to, new users i would advise not to buy if you feel that this topic (Animationnodes) is over your head. I will likely not be able to help you if you encounter problems as there may be loads of rootcauses for your individual problem.
please make sure, that you update vc_redist.x64.exe on your windows-machine to make Animationnodes work properly