Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make in-game time, like day/night where every second is a minute? [closed]

Asked by 10 years ago

I am making a town game, all I need help with is how to make in-game time, like day/night where every second is a minute in the game. Please help me! Thank you, Tristen126.

Closed as Not Constructive by Articulating

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?

1 answer

Log in to vote
0
Answered by 10 years ago

Make a script in the workspace, that has the following line:

while true do
    game.Lighting:SetMinutesAfterMidnight(game.Lighting:GetMinutesAfterMidnight() + 1)
    wait(1)
end
Ad