How do I make a weather system?

I wanted to make in game weather from start but @MrOofBoyPlayz confused me and forced me to change the title

Oh, everyone else was talking about a really complicated real life weather. :person_facepalming:
Yeah that’s simple. You can have a script that controls the time in the lightning, every time it adds a minute or a second, it is your choice. It will change the sun/moon cycle automatically. You can also add a randomized part where it can snow :snowflake:, rain :umbrella:or windy :wind_face:.

I don’t know how I can add rain, that’s my problem

That is fairly simple, first of all you can create/get rain particle emitter (from the toolbox). Add it to a part that its’ size is equal to your map’s. When the rain part is chosen randomly, you can go to that part, enable the particle emitter rain and boom! It will rain🌧️.

I know about the particle emitter, but in some games like Jailbreak or Mad City, did they also add a particle emitter?

Probably, I have never saw Jailbreak’s or Mad City’s. Yes, I believe they also do the same but a very more complicated part. You can for example spawn random raindrops from your part’s and when they hit something they disappear. Unlike the particle emitters’, the particle goes into buildings and it won’t look beautiful.

From which part? The particle emitter part?

Yes sir, you can make a script that randomizes the parts’ position based on the “big” part that is responsible for the raining.

Thanks, I will do it!:slightly_smiling_face:

1 Like

If you ever need help scripting, don’t hesitate to ask!

Thanks! Also, so I spawn some random parts according the position of the big part and position them randomly according to the big part’s size? is that what you’re talking about?

Yes, from the front size for example, do some ray, send them flying and when they are touched do some cool effects, you can expend the idea and check what the raindrop touched, if touched for example a part called “street” you can add a cool effect.

Here’s a plugin called Make it Rain. I hope this helps.

I used it. The problem it creates the rain on the client and not everyone can see it.

If the plugin offers a client script, you can edit that script and make when they receive an event from the server.

I used :FireAllClients for that, that still didn’t work.

You can loop through the players’ section, find the client script and enable the client script. The client script must be disabled, the server will enable it.

Oh wow. Great idea, but I’ll try and make my own rain

Good luck. If you have a question, don’t hestitate to ask the dev forum.

I might get a lot of trouble making my own rain. 1st time :slightly_frowning_face:

1 Like