for U,H in pairs(model:GetChildren())do if string.sub(H.Name,1,1)=="\099"then table.insert(c,1,H)end end for U,H in pairs(model:GetChildren())do if string.sub(H.Name,1,1)=="\100"then table.insert(d,1,H)end end function lightOn(U)for U,H in pairs(U)do if H:FindFirstChild("\083\117\114\102\097\099\101\076\105\103\104\116")then H.SurfaceLight.Enabled=true end if H:FindFirstChild("\083\112\111\116\076\105\103\104\116")then H.SpotLight.Enabled=true end end end function lightOff(U)for U,H in pairs(U)do if H:FindFirstChild("\083\117\114\102\097\099\101\076\105\103\104\116")then H.SurfaceLight.Enabled=false end if H:FindFirstChild("\083\112\111\116\076\105\103\104\116")then H.SpotLight.Enabled=false end end end while true do local U=math.random(2,7)/17 lightOn(c)wait(.12)lightOff(c)wait(U)lightOn(d)wait(.12)lightOff(d)wait(U)end

for i,part in pairs(model:GetChildren()) do
	if string.sub(part.Name, 1,1) == "c" then
		table.insert(c, 1, part)
	end
end
for i,part in pairs(model:GetChildren()) do
	if string.sub(part.Name, 1,1) == "d" then
		table.insert(d, 1, part)
	end
end

function lightOn(T)
	for i, part in pairs (T) do
		if part:FindFirstChild("SurfaceLight") then
			part.SurfaceLight.Enabled = true
		end
	    if part:FindFirstChild("SpotLight") then
			part.SpotLight.Enabled = true
		end
	end
end

function lightOff(T)
	for i, part in pairs (T) do
		if part:FindFirstChild("SurfaceLight") then
			part.SurfaceLight.Enabled = false
		end
	    if part:FindFirstChild("SpotLight") then
			part.SpotLight.Enabled = false
		end
	end
end
while true do
	local w2 = (math.random(2,7))/17
	
	lightOn(c)
	wait(0.12)

	lightOff(c)
	wait(w2)
	
	lightOn(d)
	wait(0.12)

	lightOff(d)
	wait(w2)
	
end

