function ResetLights()for I,O in pairs(dParts.Lights)do O[1].Material=O[2]O[1].Broken:Destroy()for I,O in pairs(O[1]:GetChildren())do if O:IsA("\076\105\103\104\116")then O.Enabled=true end end end end

function ResetLights()
	for i, lData in pairs(dParts.Lights) do
		lData[1].Material = lData[2]
		lData[1].Broken:Destroy()

		for _, light in pairs(lData[1]:GetChildren()) do
			if light:IsA("Light") then
				light.Enabled = true
			end
		end
	end
end
