Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("password please:")
- input = read("*")
- if input == "potato" then
- redstone.setOutput("left", true)
- sleep(4)
- redstone.setOutput("left", false)
- else
- print("WRONG")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement