game.Lighting.TimeOfDay:Changed(function()
local Time = game.Lighting.TimeOfDay
if Time == "18:00:00" then
print("ITS 18!")
elseif Time == "06:00:00" then
print("ITS 6")
end
end)
What's Wrong with this script?
0
Your problem is line 1; 'Changed' is not a Method; It is a Event Property of 'Lighting', not 'TimeOfDay'. :PTheeDeathCaster2368— 9y