Basic script to sync time of the game in custom cicles
That script just change the time of the game based on the configuration cicle time and real life.
every 0 hour and 12 hours the weather is changed in random mod to another weather.
The cicle of Timeout will adjust to read the script every hour in the game.
How to use:
Just place de script in your server-side (Package) and change the "const cicleTime" to your
size of a day cicle. Use real life minutes for that. Exemple: "30" will be 15 minutes in real life day
and 15 minutes night.
If you place some value in cicle time that a hour in the game last less then one minute in real life,
dont will work (if you know how to fix comment please ).
Smoth transition, show time and date on UI