So I really want to have a day and night cycle. The issue is I would also really like the moon to have light rays. I would like to make it so once clock time hits 17.00 the sun resets to morning. From there I would change the sun id to a moon and/or a GUI a moon that follows the sun. Then change the lighting around to simulate night.
How I would go about making the day cycle reset at a certain time and the sun texture change to a moon?