while true do wait()
local Iron1 = GetPartFromPort(1,"Iron")
local Iron2 = GetPartFromPort(Iron1,"Iron")
local Iron3 = GetPartFromPort(Iron2,"Iron")
local Iron4 = GetPartFromPort(Iron3,"Iron")
local Iron5 = GetPartFromPort(Iron4,"Iron")
local Iron6 = GetPartFromPort(Iron5,"Iron")
local Iron7 = GetPartFromPort(Iron6,"Iron")
local Iron8 = GetPartFromPort(Iron7,"Iron")
local Iron9 = GetPartFromPort(Iron8,"Iron")
local Iron10 = GetPartFromPort(Iron9,"Iron")
local Iron11 = GetPartFromPort(Iron10,"Iron")
local Wire1 = GetPartFromPort(Iron1,"Wire")
local Wire2 = GetPartFromPort(Wire1,"Wire")
local Wire3= GetPartFromPort(Wire2,"Wire")
local Wire4 = GetPartFromPort(Wire3,"Wire")
local Wire5 = GetPartFromPort(Wire4,"Wire")
local Wire6 = GetPartFromPort(Wire5,"Wire")
local Wire7 = GetPartFromPort(Wire6,"Wire")
local Wire8 = GetPartFromPort(Wire7,"Wire")
local Wire9 = GetPartFromPort(Wire8,"Wire")
local Wire10 = GetPartFromPort(Wire9,"Wire")
local Wire11 = GetPartFromPort(Wire10,"Wire")
local Wire12 = GetPartFromPort(Wire11,"Wire")
local Gyro = GetPartFromPort(Wire1, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire2, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire3, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire4, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire5, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire6, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire7, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire8, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire9, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire10, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire11, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire12, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Wire1 = GetPartFromPort(Iron2,"Wire")
local Wire2 = GetPartFromPort(Wire1,"Wire")
local Wire3= GetPartFromPort(Wire2,"Wire")
local Wire4 = GetPartFromPort(Wire3,"Wire")
local Wire5 = GetPartFromPort(Wire4,"Wire")
local Wire6 = GetPartFromPort(Wire5,"Wire")
local Wire7 = GetPartFromPort(Wire6,"Wire")
local Wire8 = GetPartFromPort(Wire7,"Wire")
local Wire9 = GetPartFromPort(Wire8,"Wire")
local Wire10 = GetPartFromPort(Wire9,"Wire")
local Wire11 = GetPartFromPort(Wire10,"Wire")
local Wire12 = GetPartFromPort(Wire11,"Wire")
local Gyro = GetPartFromPort(Wire1, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire2, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire3, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire4, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire5, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire6, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire7, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire8, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire9, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire10, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire11, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire12, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Wire1 = GetPartFromPort(Iron3,"Wire")
local Wire2 = GetPartFromPort(Wire1,"Wire")
local Wire3= GetPartFromPort(Wire2,"Wire")
local Wire4 = GetPartFromPort(Wire3,"Wire")
local Wire5 = GetPartFromPort(Wire4,"Wire")
local Wire6 = GetPartFromPort(Wire5,"Wire")
local Wire7 = GetPartFromPort(Wire6,"Wire")
local Wire8 = GetPartFromPort(Wire7,"Wire")
local Wire9 = GetPartFromPort(Wire8,"Wire")
local Wire10 = GetPartFromPort(Wire9,"Wire")
local Wire11 = GetPartFromPort(Wire10,"Wire")
local Wire12 = GetPartFromPort(Wire11,"Wire")
local Gyro = GetPartFromPort(Wire1, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire2, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire3, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire4, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire5, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire6, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire7, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire8, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire9, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire10, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire11, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire12, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Microcontroller = GetPartFromPort(Iron1,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron2,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron3,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron4,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron5,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron6,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron7,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron8,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local Microcontroller = GetPartFromPort(Iron9,"Microcontroller")
if Microcontroller ~= nil then
Microcontroller:Configure({Code = "a"})
end
local P = GetPartFromPort(Iron1,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = 1})
end
local P = GetPartFromPort(Iron2,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = 1})
end
local P = GetPartFromPort(Iron3,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = 1})
end
local P = GetPartFromPort(Iron4,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = 1})
end
local P = GetPartFromPort(Iron5,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode =1})
end
local P = GetPartFromPort(Iron6,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = "1"})
end
local P = GetPartFromPort(Iron7,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode =1})
end
local P = GetPartFromPort(Iron8,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = 1})
end
local P = GetPartFromPort(Iron9,"Polysilicon")
if P ~= nil then
P:Configure({PolysiliconMode = 1})
end
local Thruster = GetPartFromPort(Iron1,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron2,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron3,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron4,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron5,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron6,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron7,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron8,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Thruster = GetPartFromPort(Iron9,"Thruster")
if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
local Wire1 = GetPartFromPort(Iron4,"Wire")
local Wire2 = GetPartFromPort(Wire1,"Wire")
local Wire3= GetPartFromPort(Wire2,"Wire")
local Wire4 = GetPartFromPort(Wire3,"Wire")
local Wire5 = GetPartFromPort(Wire4,"Wire")
local Wire6 = GetPartFromPort(Wire5,"Wire")
local Wire7 = GetPartFromPort(Wire6,"Wire")
local Wire8 = GetPartFromPort(Wire7,"Wire")
local Wire9 = GetPartFromPort(Wire8,"Wire")
local Wire10 = GetPartFromPort(Wire9,"Wire")
local Wire11 = GetPartFromPort(Wire10,"Wire")
local Wire12 = GetPartFromPort(Wire11,"Wire")
local Gyro = GetPartFromPort(Wire1, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire2, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire3, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire4, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire5, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire6, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire7, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire8, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire9, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire10, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire11, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
local Gyro = GetPartFromPort(Wire12, "Gyro")
if Gyro ~= nil then
Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
end
end