if key=="\108"and(on==true and(plane:findFirstChild("\076\105\103\104\116\115")~=nil and light==true))then local M=plane.Lights local B=plane.Values.Light if B.Value==false then for B,S in pairs(M:GetChildren())do if S.Name=="\080\111\115\108\105"then S.Gui.Enabled=true elseif S.Name=="\070\108\097\108\105"then(M:findFirstChild("\070\108\097\115\104\083\099\114\105\112\116")).Disabled=false end end B.Value=true elseif B.Value==true then for B,S in pairs(M:GetChildren())do if S.Name=="\080\111\115\108\105"then S.Gui.Enabled=false elseif S.Name=="\070\108\097\108\105"then(M:findFirstChild("\070\108\097\115\104\083\099\114\105\112\116")).Disabled=true S.Gui.Enabled=false end end B.Value=false end end

				if(key == "l") and (on == true) and (plane:findFirstChild("Lights") ~= nil) 
					and(light == true) then
					local lm = plane.Lights
					local val = plane.Values.Light
					if(val.Value == false) then
						for i,v in pairs(lm:GetChildren()) do 
							if(v.Name == "Posli") then 
								v.Gui.Enabled = true
							elseif(v.Name == "Flali") then 
									lm:findFirstChild("FlashScript").Disabled = false
								end
							end
						val.Value = true
						elseif(val.Value == true) then 
						for i,v in pairs(lm:GetChildren()) do 
						if(v.Name == "Posli") then
							v.Gui.Enabled = false
						elseif(v.Name == "Flali") then
							lm:findFirstChild("FlashScript").Disabled = true 
							v.Gui.Enabled = false
						end
						end
						val.Value = false
					end
				end
						