Advertisement
Guest User

start

a guest
Feb 17th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. mon = peripheral.wrap("top")
  2. mon.clear()
  3. while true do
  4.  term.clear()
  5.  term.setCursorPos(1, 1)
  6.  print("Enter Password:")
  7.  local input = read("*")
  8.  if input == "159159159" then
  9.  mon.setCursorPos(1, 3)
  10.  mon.write("Access")
  11.  mon.setCursorPos(1, 4)
  12.  mon.write("Granted")
  13.  redstone.setOutput("bottom", true)
  14.  sleep(6)
  15.  redstone.setOutput("bottom", false)
  16.  mon.clear()
  17.  end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement