KnotMeDaddy

ShutdownOS Start Up

Jan 17th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. shell.run("core")
  3. term.setTextColor(colors.red)
  4. print("Oh no!")
  5. print("ShutdownOS exited unexpectedly.")
  6. term.setTextColor(colors.white)
  7. print("Press any key in 5 seconds to reboot")
  8. sleep(5)
  9. os.pullEvent("key")
  10. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment