For some reason it's not working. I check the TimeOfDay and it hits the direct time where its supposed to fog up but somehow it is not working! I need pro people here ASAP.
Day/Night Script(The thing that changes the time from day to night)
while true do
game.Lighting:setMinutesAfterMidnight(game.Lighting:getMinutesAfterMidnight()+0.2)
wait()
end
Fog Script(It's not working!)
while true do
wait()
if game.Lighting.TimeOfDay == "8:00:59" then
game.Lighting.FogEnd = 50
game.Lighting.Brightness = 0
wait(250)
game.Lighting.FogEnd = 100000
game.Lighting.Brightness = 1
end
end
Thanks

2 comments
"game.Lighting:setMinutesAfterMidnight(game.Lighting:getMinutesAfterMidnight()+" why is there a plus there with no function?
It still works, I just forgot to add 4