function Paint(V)V.Color=Color3.new(1-V.BrickColor.r,1-V.BrickColor.g,1-V.BrickColor.b)end function Search(V)coroutine.resume(coroutine.create(Paint),V)local L=V:GetChildren()for V=1,#L,1 do Search(L[V])end end function added(V)Search(V)end workspace.ChildAdded:connect(added)Search(game.Workspace)light=game.Lighting if light:GetMinutesAfterMidnight()<6 and light:GetMinutesAfterMidnight()>18 then(script.White:Clone()).Parent=light else(script.Black:Clone()).Parent=light end
-- BouyertheDestroyer
-- edited by Frozzie

function Paint(Brick)
	--local Constant = (Brick.BrickColor.r + Brick.BrickColor.b + Brick.BrickColor.g)
	Brick.Color = Color3.new(1 - Brick.BrickColor.r, 1 - Brick.BrickColor.g, 1 - Brick.BrickColor.b)
end

function Search(Object)
	coroutine.resume(coroutine.create(Paint), Object)
	local Children = Object:GetChildren()
	for X = 1, #Children do
		Search(Children[X])
	end
end

function added(child)
	Search(child)
end

workspace.ChildAdded:connect(added)
Search(game.Workspace)
light = game.Lighting
if light:GetMinutesAfterMidnight() < 6 and light:GetMinutesAfterMidnight() > 18 then
	script.White:Clone().Parent = light
else
	script.Black:Clone().Parent = light
end
