TrumpetMiner

BBv4.0 installer (BETA)

Mar 1st, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.84 KB | None | 0 0
  1. term.setBackgroundColor(colors.lightBlue)
  2. term.setTextColor(colors.yellow)
  3. term.clear()
  4. term.setCursorPos(1,1)
  5. print "Blue Bank Installer"
  6. term.setCursorPos(3,4)
  7. stat = shell.run("pastebin", "get", "i92P7tt6", "base")
  8. print(stat)
  9. stat = shell.run("pastebin", "run", "LYAxmSby", "get", "86925e07cbabd70773e53d781bd8b2fe/aeslua.min.lua", "aes")
  10. print(stat)
  11.  
  12. function choice()
  13.  term.setCursorPos(3,10)
  14.  write("Server/Client > ")
  15.  d = read()
  16.  
  17.  if d == "server" or d == "Server" or d == "s" or d == "S" then
  18.   ser()
  19.  elseif d == "client" or d == "Client" or d == "c" or d == "C" then
  20.   c = "Client"
  21.   cli()
  22.  else
  23.   choice()
  24.  end
  25. end
  26.  
  27. function ser()
  28.  stat = shell.run("pastebin","get","VkYYSbR4","server")
  29. end
  30.  
  31. function cli()
  32.  stat = shell.run("pastebin","get","bpf4TVGb","client")
  33. end
  34.  
  35. term.setCursorPos(3,15)
  36. print(stat)
  37.  
  38.  
  39. choice()
Add Comment
Please, Sign In to add comment