GochiPC

2.0I

Jul 19th, 2025
306
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.59 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(1,1)
  3. print("Please wait...")
  4. sleep(3)
  5. term.clear()
  6. term.setCursorPos(1,1)
  7. print("Welcome to MineOS 2.0 Installer")
  8. print("type start/exit")
  9. print("warning if you have other os it will removes startup file")
  10. local choice = read()
  11.  
  12. if choice == "start" then
  13.   print("Please wait this will take secs")
  14.   sleep(1)
  15.   shell.run("delete startup.lua")
  16.   shell.run("pastebin get VS5buKVU startup.lua")
  17.   print("rebooting...")
  18.   sleep(3)
  19.   os.reboot()
  20. elseif choice == "exit" then
  21.   print("exiting the installer")
  22.   return
  23. else
  24.   print("Invalid option")
  25. end
  26.  
Advertisement
Add Comment
Please, Sign In to add comment