Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = pullEventRaw
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("Welcome To The Friendshiptown Workshop")
- input = read("*")
- if input == "potato" then
- redstone.setOutPut("left", true)
- sleep(3)
- redstone.setOutPut("left", false)
- else
- print("Incorrect Password.(1 try remaining)")
- input = read("*")
- if input == "override" then
- return
- else
- print("0 Tries remaining. Goodbye.")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement