ZathegamE

revolving door code

Apr 21st, 2024 (edited)
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. while true do
  2. os.pullEvent = os.pullEventRaw
  3. term.setCursorPos(1, 1)
  4. term.clear()
  5. term.write("password :")
  6. if read()=="1156" then
  7. term.clear()
  8. sleep(0.5)
  9. redstone.setOutput("bottom", not redstone.getOutput("bottom"))
  10. sleep(0.1)
  11. redstone.setOutput("bottom", not redstone.getOutput("bottom"))
  12. end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment