Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local pullEvent = os.pullEvent
- while true do
- term.clear()
- term.setCursorPos(1, 1)
- print("Please Enter Password:")
- input = read("*")
- if input == "robit" then
- redstone.setOutput("left", true)
- os.sleep(2)
- redstone.setOutput("left", false)
- end
- if input == "tomtrein" then
- redstone.setOutput("bottom", true)
- os.sleep(0.5)
- redstone.setOutput("bottom", false)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment