Simple/Colloquial Weather [2.6]

Reminds me of those time-lapse videos!

1 Like

Hi,
So are you saying in the example place, if I changed the script MainScript, to a local script, the effects including the changes in Lighting, would only be seen client side?

Also is the example .rbxl up to date?

Thanks

1 Like

The Example Place has been updated with the Syncing. Changing the Script to a Local Script is recommended as it runs much more smoother and indeed will only be seen in the client.

Is there a way to change the lighting depending on whether its night or not too while using this?

I’m having trouble understanding your question? explain more.

If there is a way that when it rains during the day you have a different customised environment and if it rains at night you have a different customised environment than during the day, but it doesn’t change the environment all at once but a smooth transition.

I use a day night cycle script with this, and while looking through the script I can see it changes lighting depending on the weather so I was wondering if the lighting could be changed depending on the time of day like darker at night and regular at day

If I’m not wrong these are features you implement yourself? This module is used to visualize different environments, its only job is to change between different weather types, this can easily be achieved with If Statements

Example

local Lighting = game:GetService("Lighting")
local MorningTimeStart, MorningTimeEnd = 6.4, 17.7

function isMorining() : boolean
	return Lighting.ClockTime >= MorningTimeStart and Lighting.ClockTime <= MorningTimeEnd
end

Lighting:GetPropertyChangedSignal("ClockTime"):Connect(function()
	if isMorining() then
		print("Morning")
	else
		print("Night")
	end
end)
1 Like

Thanks for the help, I’ll implement it in a bit and test it out.