Advertisement
LazerAio

install

Mar 6th, 2022
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. if term.isColor() == true then
  2. term.setBackgroundColor(colors.black)
  3. term.clear()
  4. term.setBackgroundColor(colors.blue)
  5. else
  6. term.setTextColor(colors.lightGray)
  7. for i=1,30 do
  8. sleep(0.01)
  9. print(string.rep(":", term.getSize()))
  10. end
  11. term.setBackgroundColor(colors.black)
  12. term.setTextColor(colors.white)
  13. end
  14. term.setCursorPos(1,3)
  15. print("A32 INSTALLER ")
  16. sleep(1)
  17. term.setCursorPos(1,4)
  18. print("Installing A32 @ "..(fs.getFreeSpace("")/100).." hb free and "..tostring(term.isColor()).." color")
  19. term.setCursorPos(1,5)
  20. print("Press enter to begin ")
  21. term.setCursorPos(22,5)
  22. read()
  23. term.setCursorPos(1,8)
  24. term.setTextColor(colors.gray)
  25. term.clearLine()
  26. if fs.exists("startup") then
  27. shell.run("mv startup Bstartup")
  28. end
  29. shell.run("pastebin get hCFHNA4x startup")
  30. sleep(2)
  31. os.reboot()
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement