Advertisement
univers93

passwd computer craft

Feb 18th, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | Source Code | 0 0
  1. os.pullEvent = os.pullEvent.Raw
  2. while true do
  3.     input = read("*")
  4.     if input == "password" then
  5.         redstone.setAnalogOutput("back",15)
  6.         sleep(1)
  7.         redstone.setAnalogOutput("back",0)
  8.         term.clear
  9.         end
  10.     if input == "debug" then
  11.         break
  12.         end
  13.     end
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement