Elrol

MainComputer-Installer

Nov 19th, 2019 (edited)
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.55 KB | None | 0 0
  1. --Main Computer Installer
  2. console = "pGhFuMWX"
  3. consoleFile = "console"
  4.  
  5. start = "J438Usuq"
  6. startFile = "start"
  7.  
  8. function install(link,file)
  9.     if fs.exists(file) then
  10.         fs.delete(file)
  11.         shell.run("pastebin", "get", link, file)
  12.         print("Updated "..file)
  13.     else
  14.         shell.run("pastebin", "get", link, file)
  15.         print("Installed "..file)
  16.     end
  17. end
  18.  
  19. install(console, consoleFile)
  20. install(start, startFile)
  21.  
  22. print("Files Downloaded and installed. Make sure to set the variables in start, then restart and run start")
Add Comment
Please, Sign In to add comment