Facebook
From ivan4564, 9 Months ago, written in Lua.
Embed
  1. while true do wait()
  2. local Iron1 = GetPartFromPort(1,"Iron")
  3. local Iron2 = GetPartFromPort(Iron1,"Iron")
  4. local Iron3 = GetPartFromPort(Iron2,"Iron")
  5. local Iron4 = GetPartFromPort(Iron3,"Iron")
  6. local Iron5 = GetPartFromPort(Iron4,"Iron")
  7. local Iron6 = GetPartFromPort(Iron5,"Iron")
  8. local Iron7 = GetPartFromPort(Iron6,"Iron")
  9. local Iron8 = GetPartFromPort(Iron7,"Iron")
  10.  local Iron9 = GetPartFromPort(Iron8,"Iron")
  11.  local Iron10 = GetPartFromPort(Iron9,"Iron")
  12.  local Iron11 = GetPartFromPort(Iron10,"Iron")
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. local Wire1 = GetPartFromPort(Iron1,"Wire")
  28. local Wire2 = GetPartFromPort(Wire1,"Wire")
  29. local Wire3= GetPartFromPort(Wire2,"Wire")
  30. local Wire4 = GetPartFromPort(Wire3,"Wire")
  31. local Wire5 = GetPartFromPort(Wire4,"Wire")
  32.  local Wire6 = GetPartFromPort(Wire5,"Wire")
  33.  local Wire7 = GetPartFromPort(Wire6,"Wire")
  34.  local Wire8 = GetPartFromPort(Wire7,"Wire")
  35.  local Wire9 = GetPartFromPort(Wire8,"Wire")
  36.  local Wire10 = GetPartFromPort(Wire9,"Wire")
  37.  local Wire11 = GetPartFromPort(Wire10,"Wire")
  38.  local Wire12 = GetPartFromPort(Wire11,"Wire")
  39.  
  40.  
  41.  
  42. local Gyro = GetPartFromPort(Wire1, "Gyro")
  43. if Gyro ~= nil then
  44.  Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  45. end
  46. local Gyro = GetPartFromPort(Wire2, "Gyro")
  47. if Gyro ~= nil then
  48.  Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  49. end
  50. local Gyro = GetPartFromPort(Wire3, "Gyro")
  51. if Gyro ~= nil then
  52.  Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  53. end
  54. local Gyro = GetPartFromPort(Wire4, "Gyro")
  55. if Gyro ~= nil then
  56.  Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  57. end
  58. local Gyro = GetPartFromPort(Wire5, "Gyro")
  59. if Gyro ~= nil then
  60.  Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  61.  end
  62.  
  63.  
  64.  local Gyro = GetPartFromPort(Wire6, "Gyro")
  65.  if Gyro ~= nil then
  66.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  67.  end
  68.  
  69.  
  70.  
  71.  local Gyro = GetPartFromPort(Wire7, "Gyro")
  72.  if Gyro ~= nil then
  73.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  74.  end
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  local Gyro = GetPartFromPort(Wire8, "Gyro")
  82.  if Gyro ~= nil then
  83.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  84.  end
  85.  
  86.  
  87.  
  88.  local Gyro = GetPartFromPort(Wire9, "Gyro")
  89.  if Gyro ~= nil then
  90.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  91.  end
  92.  
  93.  
  94.  
  95.  local Gyro = GetPartFromPort(Wire10, "Gyro")
  96.  if Gyro ~= nil then
  97.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  98.  end
  99.  
  100.  
  101.  
  102.  local Gyro = GetPartFromPort(Wire11, "Gyro")
  103.  if Gyro ~= nil then
  104.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  105.  end
  106.  
  107.  
  108.  
  109.  local Gyro = GetPartFromPort(Wire12, "Gyro")
  110.  if Gyro ~= nil then
  111.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  112.  end
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  local Wire1 = GetPartFromPort(Iron2,"Wire")
  136.  local Wire2 = GetPartFromPort(Wire1,"Wire")
  137.  local Wire3= GetPartFromPort(Wire2,"Wire")
  138.  local Wire4 = GetPartFromPort(Wire3,"Wire")
  139.  local Wire5 = GetPartFromPort(Wire4,"Wire")
  140.  local Wire6 = GetPartFromPort(Wire5,"Wire")
  141.  local Wire7 = GetPartFromPort(Wire6,"Wire")
  142.  local Wire8 = GetPartFromPort(Wire7,"Wire")
  143.  local Wire9 = GetPartFromPort(Wire8,"Wire")
  144.  local Wire10 = GetPartFromPort(Wire9,"Wire")
  145.  local Wire11 = GetPartFromPort(Wire10,"Wire")
  146.  local Wire12 = GetPartFromPort(Wire11,"Wire")
  147.  
  148.  
  149.  
  150.  local Gyro = GetPartFromPort(Wire1, "Gyro")
  151.  if Gyro ~= nil then
  152.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  153.  end
  154.  local Gyro = GetPartFromPort(Wire2, "Gyro")
  155.  if Gyro ~= nil then
  156.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  157.  end
  158.  local Gyro = GetPartFromPort(Wire3, "Gyro")
  159.  if Gyro ~= nil then
  160.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  161.  end
  162.  local Gyro = GetPartFromPort(Wire4, "Gyro")
  163.  if Gyro ~= nil then
  164.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  165.  end
  166.  local Gyro = GetPartFromPort(Wire5, "Gyro")
  167.  if Gyro ~= nil then
  168.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  169.  end
  170.  
  171.  
  172.  local Gyro = GetPartFromPort(Wire6, "Gyro")
  173.  if Gyro ~= nil then
  174.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  175.  end
  176.  
  177.  
  178.  
  179.  local Gyro = GetPartFromPort(Wire7, "Gyro")
  180.  if Gyro ~= nil then
  181.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  182.  end
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  local Gyro = GetPartFromPort(Wire8, "Gyro")
  190.  if Gyro ~= nil then
  191.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  192.  end
  193.  
  194.  
  195.  
  196.  local Gyro = GetPartFromPort(Wire9, "Gyro")
  197.  if Gyro ~= nil then
  198.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  199.  end
  200.  
  201.  
  202.  
  203.  local Gyro = GetPartFromPort(Wire10, "Gyro")
  204.  if Gyro ~= nil then
  205.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  206.  end
  207.  
  208.  
  209.  
  210.  local Gyro = GetPartFromPort(Wire11, "Gyro")
  211.  if Gyro ~= nil then
  212.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  213.  end
  214.  
  215.  
  216.  
  217.  local Gyro = GetPartFromPort(Wire12, "Gyro")
  218.  if Gyro ~= nil then
  219.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  220.  end
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  local Wire1 = GetPartFromPort(Iron3,"Wire")
  231.  local Wire2 = GetPartFromPort(Wire1,"Wire")
  232.  local Wire3= GetPartFromPort(Wire2,"Wire")
  233.  local Wire4 = GetPartFromPort(Wire3,"Wire")
  234.  local Wire5 = GetPartFromPort(Wire4,"Wire")
  235.  local Wire6 = GetPartFromPort(Wire5,"Wire")
  236.  local Wire7 = GetPartFromPort(Wire6,"Wire")
  237.  local Wire8 = GetPartFromPort(Wire7,"Wire")
  238.  local Wire9 = GetPartFromPort(Wire8,"Wire")
  239.  local Wire10 = GetPartFromPort(Wire9,"Wire")
  240.  local Wire11 = GetPartFromPort(Wire10,"Wire")
  241.  local Wire12 = GetPartFromPort(Wire11,"Wire")
  242.  
  243.  
  244.  
  245.  local Gyro = GetPartFromPort(Wire1, "Gyro")
  246.  if Gyro ~= nil then
  247.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  248.  end
  249.  local Gyro = GetPartFromPort(Wire2, "Gyro")
  250.  if Gyro ~= nil then
  251.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  252.  end
  253.  local Gyro = GetPartFromPort(Wire3, "Gyro")
  254.  if Gyro ~= nil then
  255.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  256.  end
  257.  local Gyro = GetPartFromPort(Wire4, "Gyro")
  258.  if Gyro ~= nil then
  259.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  260.  end
  261.  local Gyro = GetPartFromPort(Wire5, "Gyro")
  262.  if Gyro ~= nil then
  263.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  264.  end
  265.  
  266.  
  267.  local Gyro = GetPartFromPort(Wire6, "Gyro")
  268.  if Gyro ~= nil then
  269.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  270.  end
  271.  
  272.  
  273.  
  274.  local Gyro = GetPartFromPort(Wire7, "Gyro")
  275.  if Gyro ~= nil then
  276.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  277.  end
  278.  
  279.  
  280.  
  281.  
  282.  
  283.  
  284.  local Gyro = GetPartFromPort(Wire8, "Gyro")
  285.  if Gyro ~= nil then
  286.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  287.  end
  288.  
  289.  
  290.  
  291.  local Gyro = GetPartFromPort(Wire9, "Gyro")
  292.  if Gyro ~= nil then
  293.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  294.  end
  295.  
  296.  
  297.  
  298.  local Gyro = GetPartFromPort(Wire10, "Gyro")
  299.  if Gyro ~= nil then
  300.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  301.  end
  302.  
  303.  
  304.  
  305.  local Gyro = GetPartFromPort(Wire11, "Gyro")
  306.  if Gyro ~= nil then
  307.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  308.  end
  309.  
  310.  
  311.  
  312.  local Gyro = GetPartFromPort(Wire12, "Gyro")
  313.  if Gyro ~= nil then
  314.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  315.  end
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328. local Microcontroller = GetPartFromPort(Iron1,"Microcontroller")
  329. if Microcontroller ~= nil then
  330.  Microcontroller:Configure({Code = "a"})
  331. end
  332. local Microcontroller = GetPartFromPort(Iron2,"Microcontroller")
  333. if Microcontroller ~= nil then
  334.  Microcontroller:Configure({Code = "a"})
  335. end
  336. local Microcontroller = GetPartFromPort(Iron3,"Microcontroller")
  337. if Microcontroller ~= nil then
  338.  Microcontroller:Configure({Code = "a"})
  339. end
  340. local Microcontroller = GetPartFromPort(Iron4,"Microcontroller")
  341. if Microcontroller ~= nil then
  342.  Microcontroller:Configure({Code = "a"})
  343. end
  344. local Microcontroller = GetPartFromPort(Iron5,"Microcontroller")
  345. if Microcontroller ~= nil then
  346.  Microcontroller:Configure({Code = "a"})
  347. end
  348. local Microcontroller = GetPartFromPort(Iron6,"Microcontroller")
  349. if Microcontroller ~= nil then
  350.  Microcontroller:Configure({Code = "a"})
  351. end
  352. local Microcontroller = GetPartFromPort(Iron7,"Microcontroller")
  353. if Microcontroller ~= nil then
  354.  Microcontroller:Configure({Code = "a"})
  355. end
  356. local Microcontroller = GetPartFromPort(Iron8,"Microcontroller")
  357. if Microcontroller ~= nil then
  358.  Microcontroller:Configure({Code = "a"})
  359. end
  360. local Microcontroller = GetPartFromPort(Iron9,"Microcontroller")
  361. if Microcontroller ~= nil then
  362. Microcontroller:Configure({Code = "a"})
  363. end
  364. local P = GetPartFromPort(Iron1,"Polysilicon")
  365. if P ~= nil then
  366.  P:Configure({PolysiliconMode = 1})
  367. end
  368.  
  369. local P = GetPartFromPort(Iron2,"Polysilicon")
  370. if P ~= nil then
  371.  P:Configure({PolysiliconMode = 1})
  372. end
  373.  
  374. local P = GetPartFromPort(Iron3,"Polysilicon")
  375. if P ~= nil then
  376.  P:Configure({PolysiliconMode = 1})
  377. end
  378.  
  379. local P = GetPartFromPort(Iron4,"Polysilicon")
  380. if P ~= nil then
  381.  P:Configure({PolysiliconMode = 1})
  382. end
  383.  
  384. local P = GetPartFromPort(Iron5,"Polysilicon")
  385. if P ~= nil then
  386.  P:Configure({PolysiliconMode =1})
  387. end
  388.  
  389. local P = GetPartFromPort(Iron6,"Polysilicon")
  390. if P ~= nil then
  391.  P:Configure({PolysiliconMode = "1"})
  392. end
  393.  
  394. local P = GetPartFromPort(Iron7,"Polysilicon")
  395. if P ~= nil then
  396.  P:Configure({PolysiliconMode =1})
  397. end
  398.  
  399. local P = GetPartFromPort(Iron8,"Polysilicon")
  400. if P ~= nil then
  401.  P:Configure({PolysiliconMode = 1})
  402. end
  403.  
  404. local P = GetPartFromPort(Iron9,"Polysilicon")
  405. if P ~= nil then
  406. P:Configure({PolysiliconMode = 1})
  407. end
  408. local Thruster = GetPartFromPort(Iron1,"Thruster")
  409. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  410. local Thruster = GetPartFromPort(Iron2,"Thruster")
  411. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  412. local Thruster = GetPartFromPort(Iron3,"Thruster")
  413. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  414. local Thruster = GetPartFromPort(Iron4,"Thruster")
  415. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  416. local Thruster = GetPartFromPort(Iron5,"Thruster")
  417. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  418. local Thruster = GetPartFromPort(Iron6,"Thruster")
  419. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  420. local Thruster = GetPartFromPort(Iron7,"Thruster")
  421. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  422. local Thruster = GetPartFromPort(Iron8,"Thruster")
  423. if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  424. local Thruster = GetPartFromPort(Iron9,"Thruster")
  425.  if Thruster ~= nil then Thruster:Configure({Propulsion = 100}) end
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  local Wire1 = GetPartFromPort(Iron4,"Wire")
  451.  local Wire2 = GetPartFromPort(Wire1,"Wire")
  452.  local Wire3= GetPartFromPort(Wire2,"Wire")
  453.  local Wire4 = GetPartFromPort(Wire3,"Wire")
  454.  local Wire5 = GetPartFromPort(Wire4,"Wire")
  455.  local Wire6 = GetPartFromPort(Wire5,"Wire")
  456.  local Wire7 = GetPartFromPort(Wire6,"Wire")
  457.  local Wire8 = GetPartFromPort(Wire7,"Wire")
  458.  local Wire9 = GetPartFromPort(Wire8,"Wire")
  459.  local Wire10 = GetPartFromPort(Wire9,"Wire")
  460.  local Wire11 = GetPartFromPort(Wire10,"Wire")
  461.  local Wire12 = GetPartFromPort(Wire11,"Wire")
  462.  
  463.  
  464.  
  465.  local Gyro = GetPartFromPort(Wire1, "Gyro")
  466.  if Gyro ~= nil then
  467.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  468.  end
  469.  local Gyro = GetPartFromPort(Wire2, "Gyro")
  470.  if Gyro ~= nil then
  471.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  472.  end
  473.  local Gyro = GetPartFromPort(Wire3, "Gyro")
  474.  if Gyro ~= nil then
  475.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  476.  end
  477.  local Gyro = GetPartFromPort(Wire4, "Gyro")
  478.  if Gyro ~= nil then
  479.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  480.  end
  481.  local Gyro = GetPartFromPort(Wire5, "Gyro")
  482.  if Gyro ~= nil then
  483.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  484.  end
  485.  
  486.  
  487.  local Gyro = GetPartFromPort(Wire6, "Gyro")
  488.  if Gyro ~= nil then
  489.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  490.  end
  491.  
  492.  
  493.  
  494.  local Gyro = GetPartFromPort(Wire7, "Gyro")
  495.  if Gyro ~= nil then
  496.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  497.  end
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  local Gyro = GetPartFromPort(Wire8, "Gyro")
  505.  if Gyro ~= nil then
  506.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  507.  end
  508.  
  509.  
  510.  
  511.  local Gyro = GetPartFromPort(Wire9, "Gyro")
  512.  if Gyro ~= nil then
  513.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  514.  end
  515.  
  516.  
  517.  
  518.  local Gyro = GetPartFromPort(Wire10, "Gyro")
  519.  if Gyro ~= nil then
  520.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  521.  end
  522.  
  523.  
  524.  
  525.  local Gyro = GetPartFromPort(Wire11, "Gyro")
  526.  if Gyro ~= nil then
  527.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  528.  end
  529.  
  530.  
  531.  
  532.  local Gyro = GetPartFromPort(Wire12, "Gyro")
  533.  if Gyro ~= nil then
  534.   Gyro:Configure({Seek = "Radar AlienCore MaxInf"})
  535.  end
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543. end
captcha