Elrol

Vault-Tech Gui Installer

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