e=3
if e==3 then
coroutine.wrap(function()
--Lighting.Archivable = false wait(0.5) Lighting.Archivable = true wait(0.5)
repeat
local Color = Color3.new(math.random(0,255)/255,math.random(0,255)/255,math.random(0,255)/255)
Place.Lighting.Ambient = Color
Place.Lighting.FogColor = Color
Place.Lighting.TimeOfDay = 0
Place.Lighting.FogEnd = 100
wait(0.1)
until Lighting.Archivable == false
end)()
end
The debugger says ~~~~~~~~~~~~~~~~~ end)()
Is invalid because Lighting is (a nil value)
I mean it's not important, but it is something i'd like to know how to fix, so please help me.

1 comment
Formatting tip: if you need just a tiny bit of code, use
instead of the ~s. For example,end)()`. That will format it as code, but without taking up much space.