Hi, I'm just learning Scripting and i did this script as example but it doesn't work:
while true do
wait(1)
game.Workspace.Lighting.TimeOfDay = "00:00:00"
wait(1)
game.Workspace.Lighting.TimeOfDay = "12:00:00"
wait(1)
game.Workspace.Lighting.TimeOfDay = "01:00:00"
end
I don't get why it doesn't work because it got no red checkmarks, nor blue ones, Please help?
Oh i almost forgot to say that in the Output it prints this: 17:47:51.347 - Stack End 17:47:52.364 - Lighting is not a valid member of Workspace 17:47:52.364 - Script 'Workspace.Script1', Line 3 17:47:52.365 - Stack End

1 comment
It is game.Lighting, not game.Workspace.