Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- monitor = peripheral.wrap("right")
- monitor.clear()
- pass = "YTG123 is the best"
- write("Please enter password: ")
- input = read()
- if input == pass then
- redstone.setOutput("back",true)
- sleep(2.5)
- redstone.setOutput("back",false)
- else
- print("")
- end
- monitor.clear()
- monitor.clear()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement