I'm thinking of a script that if your computer time is 6am, then it is also day in your game and if the computer time is 6pm to 5:59am, the game is also in night time. and day is activating a switch that is off when night and vice versa.
is there a existing script like this? if no. is it possible to create it?