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

Can someone tell me if this script works?

Asked by 9 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

I have made a time script for my game, and sadly, my ROBLOX studio has stopped working. Could any of you see if this works?

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

1 answer

Log in to vote
1
Answered by
TofuBytes 500 Moderation Voter
9 years ago

You did not point out where GetMinutesAfterMidnight was.

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

Answer this question