Advertisement
Miki_Tellurium

StripMining-setup

Apr 20th, 2024
733
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.82 KB | Gaming | 0 0
  1. term.setBackgroundColor(colors.black)
  2. term.setTextColor(colors.white)
  3. term.clear()
  4. -- Download all the required files from pastebin
  5. local function install()
  6.     term.clear()
  7.     term.setCursorPos(1, 1)
  8.     print("Downloading program files...")
  9.     sleep(0.3)
  10.     shell.run("pastebin get V4QwqzCF stringhelper.lua")
  11.     sleep(0.25)
  12.     shell.run("pastebin get TDDrwKrs StripMining.lua")
  13.     sleep(0.25)
  14.     shell.run("pastebin get VN7wPD5C StripMiningExceptions.lua")
  15.     sleep(0.25)
  16.     print("Done!")
  17.     sleep(0.5)
  18.     print()
  19.     term.setTextColor(colors.lightBlue)
  20.     print("Installation completed succesfully! Press any key to reboot the computer.")
  21.     while true do
  22.         local event = os.pullEvent("key")
  23.         if event == "key" then
  24.             os.reboot()
  25.         end
  26.     end
  27. end
  28.  
  29. install()
  30.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement