Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("back")
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Please enter the password")
- password = read("*")
- if password == "password" then
- print("You got the password right!")
- redstone.setOutput("left", true)
- sleep(3)
- redstone.setOutput("left", false)
- else
- print("You got the password wrong! lololol")
- rednet.broadcast("attack")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment