i am making a horror maze and i don't know to detect if it's day or night. I am using this to make a script that fogs the screen in night time but is normal in day time.
✓ ANSWER ACCEPTED
How do i make a script that detects when is day and when is night?
1 answer
✓ Accepted answer
if game.Lighting.TimeOfDay == '0:00:00' then -- midnight
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment