MasterDuck4

SG AutoLoad v1.7.11

Jul 17th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.70 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. local component = require('component')
  3. local gpu = component.gpu
  4. gpu.setForeground(0x00FF00)
  5.  
  6. count = 0
  7.  
  8. function Update()
  9.   os.execute("rm AL")
  10.   os.execute("pastebin get j7Szqzb3 AL")
  11.   print("Updated.")
  12. end
  13.  
  14. function delInject()
  15.   os.execute("rm Stargate")
  16.   os.execute("rm state")
  17.   os.execute("rm addresses")
  18.   os.execute("rm compat")
  19.   os.execute("rm config")
  20.   os.execute("rm dial")
  21.   os.execute("rm disconnect")
  22.   os.execute("rm energy")
  23.   os.execute("rm events")
  24.   os.execute("rm iris")
  25.   os.execute("rm msgsend")
  26.   os.execute("rm netrecv")
  27.   os.execute("rm netsend")
  28.   os.execute("rm sendmsg")
  29.   print("Deleated Injected Files.")
  30. end
  31.  
  32. function main()
  33.   print("Loading Injection Links")
  34.   print(" ")
  35.   os.sleep(1)
  36.   print("Stargate : Injecting")
  37.   os.sleep(5)
  38.   os.execute("Pastebin get iTusVT8j Stargate")
  39.     count = 1
  40.   print("Stargate : Injected")
  41.   print(" ")
  42.   os.sleep(1)
  43.   print("State : Injecting")
  44.   os.sleep(2)
  45.   os.execute("Pastebin get wqiEfG38 state")
  46.     count = 2
  47.   print("State : Injected")
  48.   print(" ")
  49.   os.sleep(1)
  50.   print("Addresses : Injecting")
  51.   os.sleep(2)
  52.   os.execute("Pastebin get z7McW7U0 addresses")
  53.     count = 3
  54.   print("Addresses : Injected")
  55.   print(" ")
  56.   os.sleep(1)
  57.   print("Compat : Injecting")
  58.   os.sleep(2)
  59.   os.execute("Pastebin get t2BCfixr compat")
  60.     count = 4  
  61.   print("Compat : Injected")
  62.   print(" ")
  63.   os.sleep(1)
  64.   print("Config : Injecting")
  65.   os.sleep(2)
  66.   os.execute("Pastebin get vnM3MGQR config")
  67.     count = 5
  68.   print("Config : Injected")
  69.   print(" ")
  70.   os.sleep(1)
  71.   print("Dial : Injecting")
  72.   os.sleep(2)
  73.   os.execute("Pastebin get 9i2zjzjG dial")
  74.     count = 6
  75.   print("Dial : Injected")
  76.   print(" ")
  77.   os.sleep(1)
  78.   print("Disconnect : Injecting")
  79.   os.sleep(2)
  80.   os.execute("Pastebin get xjhEbrqH disconnect")
  81.     count = 7
  82.   print("Disconnect : Injected")
  83.   print(" ")
  84.   os.sleep(1)
  85.   print("Energy : Injecting")
  86.   os.sleep(2)
  87.   os.execute("Pastebin get mjyRxHR6 energy")
  88.     count = 8
  89.   print("Energy : Injected")
  90.   print(" ")
  91.   os.sleep(1)
  92.   print("Event : Injecting")
  93.   os.sleep(2)
  94.   os.execute("Pastebin get LnuFxYnX events")
  95.     count = 9
  96.   print("Events : Injected")
  97.   print(" ")
  98.   os.sleep(1)
  99.   print("Iris : Injecting")
  100.   os.sleep(2)
  101.   os.execute("Pastebin get NeTsZC6v iris")
  102.     count = 10
  103.   print("Iris : Injected")
  104.   print(" ")
  105.   os.sleep(1)
  106.   print("MsgSend : Injecting")
  107.   os.sleep(2)
  108.   os.execute("Pastebin get U3TzbC0L msgsend")
  109.     count = 11
  110.   print("MsgSend : Injected")
  111.   print(" ")
  112.   os.sleep(1)
  113.   print("NetRecv : Injecting")
  114.   os.sleep(2)
  115.   os.execute("Pastebin get kL3nn3t5 netrecv")
  116.     count = 12
  117.   print("NetRecv : Injected")
  118.   print(" ")
  119.   os.sleep(1)
  120.   print("NetSend : Injecting")
  121.   os.sleep(2)
  122.   os.execute("Pastebin get bZFhdfLy netsend")
  123.     count = 13
  124.   print("NetSend : Injected")
  125.   print(" ")
  126.   os.sleep(1)
  127.   print("SendMsg : Injecting")
  128.   os.sleep(2)
  129.   os.execute("Pastebin get Tx4d5K4c sendmsg")
  130.     count = 14
  131.   print("SentMsg : Injected")
  132.   print(" ")
  133.   os.sleep(5)
  134. end
  135.  
  136. function preLoad()
  137.   if count == 14 then
  138.     print("Would you like to load the SG Stargate Program, Y/N")
  139.     print(" ")
  140.     y = io.read()
  141.       if y == "Y" then
  142.         print("Loading SG Program")
  143.         os.execute("Stargate")
  144.       else
  145.         print("Ending Injections.")
  146.       end
  147.     else
  148.      print("Missing SG Injection, Please Retry.")
  149.   end
  150. end
  151.  
  152.  
  153.  
  154. print("Inject SG Programs for CN, Y/N")
  155. x = io.read()
  156.  
  157. if x == "Y" then
  158.   print("Injecting")
  159.   main()
  160.   preLoad()
  161. elseif x == "Del" then
  162.   delInject()
  163. elseif x == "Update" then
  164.   Update()
  165. else
  166.   print("Canceling SG Program Injection")
  167. end
Add Comment
Please, Sign In to add comment