Fog Color Changing base on the time

I need Help on making a script that changes fog color based on the time
do you guys have any ideas.

Theres a function called TimeOfDay in Lighting. If you create a System for this, so time and night goes automatically. you can create a while true loop which checks the time of day. Like when the time is under 12:00:00 fog gets higher and soon…