I'm making a survival game and temperature is going be based off of the TimeOfDay so could I use TimeOfDay to make a day and night script?
✓ ANSWER ACCEPTED
Is it possible to do a day and night script with TimeOfDay instead of minutesaftermidnight?
1 answer
✓ Accepted answer
Yes. Just set the temperature it'll be after that hour, example:
if game.Lighting.TimeOfDay == "12:00:00" then
temp.Value = 40
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you