Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Note please donβt say you made this give me some credit please
- os.pullEvent = os.pullEventRaw
- pass = "[Put password here]" -- replace [Put password here] with your own password
- while true do
- term.clear()
- term.setCursorPos(12,5)
- print("Please Enter The Password")
- term.setCursorPos(12,6)
- input = read("*")
- if input == pass then
- rs.setOutput("left",true) -- replace "left" with the side the door or redstone is connected to
- sleep(2)
- rs.setOutput("left",false) -- once again replace "left with the side the door or redstone is connected to
- else
- term.setCursorPos(12,7)
- print("WRONG PASSWORD")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement