More from Cheddar
NewsThis videos continues the series on how to make a day/night cycle in ROBLOX using a Script. In this video we will cover how to make a while loop that repeats the day night animation as long as the game is running. Code used in this tutorial: local minutesAfterMidnight = 0 while true do game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight) minutesAfterMidnight = minutesAfterMidnight + 1 wait(0.1) end
0 Comments
0/2000