Advertisement
Guest User

Untitled

a guest
Jul 28th, 2015
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. os.pullEvent = pullEventRaw
  2.  
  3. while true do
  4. term.clear()
  5. term.setCursorPos(1, 1)
  6. print("Welcome To The Friendshiptown Workshop")
  7. input = read("*")
  8. if input == "potato" then
  9. redstone.setOutPut("left", true)
  10. sleep(3)
  11. redstone.setOutPut("left", false)
  12. else
  13. print("Incorrect Password.(1 try remaining)")
  14. input = read("*")
  15. if input == "override" then
  16. return
  17. else
  18. print("0 Tries remaining. Goodbye.")
  19. end
  20. end
  21. end
  22. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement