|
| 04 Nov 2011 10:29 PM |
What is wrong with this? It is SUPPOSED to be a day/night script but it isnt working..
Time = game:service("Lighting") wtime = 0.5 while true do
if game.Lighting.TimeOfDay < ("06:00:00") or game.Lighting.TimeOfDay > ("18:10:00") then wtime = 0.5 end
if game.Lighting.TimeOfDay > ("06:00:00") and game.Lighting.TimeOfDay < ("18:10:00") then wtime = 0.1 end
Time:SetMinutesAfterMidnight(Time:GetMinutesAfterMidnight()+1)
wait(wtime) end
|
|
|
| Report Abuse |
|
|
| |
|
|
| 04 Nov 2011 11:06 PM |
| Change Time=game:service("Lighting") to Time=game:GetService("Lighting") |
|
|
| Report Abuse |
|
|
|
| 04 Nov 2011 11:19 PM |
| I thought that would work...but it didn't.. |
|
|
| Report Abuse |
|
|