Lightning to occur at random times?

Hello, I am currently experimenting how to make lightning appear around a map at random times, I think it would bring a lot more detail to the game I am making.

If anyone knows how to do so, please tell me. (sorry if this is under the wrong topic.)

Well you could do a loop that takes a prebuilt lightning model and clones it into the workspace, then quickly deletes it. You can randomize it by putting a wait(math.random(lowest number of time in seconds, highest number of time in seconds)) at the end of the loop

1 Like

Hey! You can do this quite easily using EvLightning, a module by @evaera. You can use the module to generate realistic lightning bolts.

Here is example image, as shown on the repository:

2 Likes