XxLen_KagaminexX

Passworded Door

Nov 1st, 2017
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. while true do
  2.  term.clear()
  3.  term.setCursorPos(1, 1)
  4.  print("Please Enter Password:")
  5.  input = read("*")
  6.  if input == "password" then
  7.   redstone.setOutput("back", true)
  8.   sleep(2)
  9.   redstone.setOutput("back", false)
  10.  end
  11. end
Add Comment
Please, Sign In to add comment