Advertisement
Guest User

Untitled

a guest
Mar 6th, 2015
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. term.clear()
  2. term.setBackgroundColor(colors.white)
  3. term.clear()
  4. term.setTextColor(colors.blue)
  5. term.setCursorPos(2, 2)
  6. write("Computer Unlocking.")
  7. term.setCursorPos(2, 2)
  8. sleep(0.5)
  9. write("Computer Unlocking..")
  10. term.setCursorPos(2, 2)
  11. sleep(0.5)
  12. write("Computer Unlocking...")
  13. sleep(1)
  14. term.clear()
  15. term.setCursorPos(2, 2)
  16. write("1. Lock Computer")
  17. term.setCursorPos(2, 3)
  18. write("2. CraftOS")
  19. term.setCursorPos(2, 4)
  20. write("3. Games")
  21. term.setCursorPos(2, 5)
  22. write("4. Firewolf")
  23. term.setCursorPos(2, 6)
  24. input = read()
  25. if input == "1" then
  26. os.shutdown()
  27. end
  28. if input == "2" then
  29. term.setBackgroundColor(colors.black)
  30. term.clear()
  31. term.setCursorPos(1, 1)
  32. return
  33. end
  34. if input == "3" then
  35. term.clear()
  36. term.setCursorPos(2, 2)
  37. write("Games:")
  38. term.setCursorPos(2, 4)
  39. write("1. Flappy Bird")
  40. term.setCursorPos(2, 6)
  41. input = read()
  42. if input == "1" then
  43. shell.run("bird")
  44. sleep(1)
  45. end
  46. end
  47. if input == "4" then
  48. shell.run("pastebin run A7wGH3ty")
  49. sleep(1)
  50. end
  51. os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement