Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Having trouble with changing the time, how do I change it?

I've tried making scripts to change the time, but it just doesn't seem to work. I tried changing clock time, and time of day but it doesn't work. What am I suppose to use to change the time?

1 answer

✓ Accepted answer

The roblox use ,,MinutesAfterMidnight " for hour ! For example 10:00 is 10 * 60 for roblox

minutesAfterMidnight = 600
 
while true do
	
	minutesAfterMidnight = minutesAfterMidnight + 3
	game.Lighting:SetMinutesAfterMidnight(minutesAfterMidnight)
	wait(1)
end

8 comments

0

Try this !!!

0

Doesn't work...

0

Try this !

0

Put the script in the Workspace !!! If too slow change the + 3 !!! to bigger number !

0

Thanks!

0

Or change the number in Wait !!!! Frend in roblox ???

0

I changed the wait 0.1, and the + value to 0.8

0

Roblox Frend ?? I sended !

This discussion is preserved as it was. New answers, comments, and votes are closed.