Btw the way the coding device I used doesn’t require overlays or even any counters. Have you used it yet, @Shadow.exe ? It works! Btw if you are trying to make a Fnaf TYPE of game, then it should still work.
Godspawnking:
You just need to change the times from 9:00am-7:00pm to 12:00am-6:00am, change the trigger delay to however long you want the clock to take before each time change, and make a beginning to where they interact with something for the time clock to start.
Step 1.
Create a trigger that broadcasts to itself, let’s call the channel tick. Tick will not be the channel that the overlay receives from, though. Set the trigger delay to however long you want the interval inbetween time changes, like 30 seconds or whatever. Also make sure you wire a device that triggers it for the first time to start the trigger clock.
Step 2.
Create a block for the trigger under when triggered, and have it broadcast on the channel timechange. Now we can get into the overlay’s code.
Step 3.
Set the default value of the time property to 9. Set the overlay’s default text to 9:00 AM as well. Create a new block for the overlay under when receiving on channel 'timechange' . Now, the code.
Step 4.
Have the code set to this: