I am trying to make darker nights and brighter days. I'm pretty new to scripting. Anyways i hope you can help me.
while true do
if game.Lighting.ClockTime.Value >= 21 then
game.Lighting.FogColor.Value = 0, 0, 0
elseif game.Lighting.ClockTime.Value <= 06 then
game.Lighting.FogColor.Value = 192, 192, 192
end
end

1 comment
Can you give an exact details what are you trying to get?