This module lets you change the weather in your game with minimal setup.
It’s client-sided, easy to use, and gets the job done without overcomplicating things.
You can also create your own custom weather types.
Major update! V2.0
The module is now fully client-sided, meaning you can handle weather effects locally and have more control over specific areas or regions in your game.
SimpleWeather has been rewritten from scratch and should perform alot better.
The Lightning Effect has been remade and it’s way better now.
Updated the example place so it’s easier to do things.
Usage Example
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local SimpleWeather = require(ReplicatedStorage:WaitForChild("SimpleWeather"))
ReplicatedStorage:SetAttribute("CurrentWeather", "Sunny")
SimpleWeather:Start()
You can also use ReplicatedStorage:SetAttribute("OverrideWeather") to replace the current weather and make changes without messing with anything else.
Idk if anyone else ran into this issue but if you have sounds that are parented to an instance within the workspace, ensure that the parts under SimpleWeather/Assets (Fog,Lightning, Snow) have “AudioCanCollide” set to false, otherwise the sounds will be severely muffled.