Advertisement
Cadevine

installCadeOS (turtle)

Jan 15th, 2025 (edited)
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. term.setCursorPos(1,1)
  2. term.setBackgroundColor(colors.gray)
  3. term.clear()
  4.  
  5. function newLine()
  6. sleep(1)
  7. print()
  8. print()
  9. term.setTextColor(colors.orange)
  10. end
  11.  
  12. function textLightGray()
  13. term.setTextColor(colors.lightGray)
  14. sleep(1)
  15. print()
  16. end
  17.  
  18. term.setTextColor(colors.orange)
  19. sleep(1)
  20. textutils.slowWrite("Installing CadeOS...")
  21.  
  22. newLine()
  23. textutils.slowWrite("Fetching CadeOS files from Pastebin.com...")
  24.  
  25. newLine()
  26. textutils.slowWrite("- Downloading startup.lua")
  27. textLightGray()
  28. shell.run("pastebin get DXLMgbpm startup.lua")
  29.  
  30. newLine()
  31. textutils.slowWrite("- Downloading CadeOS/alwaysListen.lua")
  32. textLightGray()
  33. shell.run("pastebin get afi6ZSMu CadeOS/alwaysListen.lua")
  34.  
  35. newLine()
  36. textutils.slowWrite("- Downloading movement.lua")
  37. textLightGray()
  38. shell.run("pastebin get 8H8JcbXP CadeOS/movement.lua")
  39.  
  40. newLine()
  41. textutils.slowWrite("- Downloading rotate.lua")
  42. textLightGray()
  43. shell.run("pastebin get tpkJMLfg CadeOS/rotate.lua")
  44.  
  45. newLine()
  46. textutils.slowWrite("- Downloading cadeMine.lua")
  47. textLightGray()
  48. shell.run("pastebin get fDZ2x0f4 CadeOS/cadeMine.lua")
  49.  
  50. newLine()
  51. textutils.slowWrite("- Downloading cadeMine2.lua")
  52. textLightGray()
  53. shell.run("pastebin get BA4hJt1P CadeOS/cadeMine2.lua")
  54.  
  55. newLine()
  56. print("Installation successful!")
  57. print()
  58. print("Terminal restarting in 5 seconds.")
  59. sleep(5)
  60. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement