Advertisement
dadragon84

Beta BlueBank Installer

Apr 30th, 2023 (edited)
673
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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", "nsTaqk1Q", "Caesar")
  8. print(stat)
  9.  
  10. function choice()
  11.  term.setCursorPos(3,6)
  12.  print("Server/Admin/Client > ")
  13.  d = read()
  14.  
  15.  if d == "server" or d == "Server" then
  16.   c = "Server"
  17.   ser()
  18.  elseif d == "admin" or d == "Admin" then
  19.   c = "Admin"
  20.   ad()
  21.  elseif d == "client" or d == "Client" then
  22.   c = "Client"
  23.   cli()
  24.  else
  25.   choice()
  26.  end
  27. end
  28.  
  29. function ser()
  30.  stat = shell.run("pastebin","get","HHy2m94W","server")
  31. end
  32.  
  33. function ad()
  34.  stat = shell.run("pastebin","get","x7iDDmQa","admin")
  35. end
  36.  
  37. function cli()
  38.  stat = shell.run("pastebin","get","rQPNy7Yy","client")        
  39. end
  40.  
  41. term.setCursorPos(3,6)
  42. print(stat)
  43.  
  44.  
  45. choice()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement