magge019

FTB PW/Alarm

Jul 23rd, 2013
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. while true do
  2. term.clear()
  3. term.getsize()
  4. term.setTextColor(colors.lightBlue)
  5. term.setCursorPos(1,1)
  6. print("Please enter the Password")
  7. local input = read ("*")
  8. if input == "password" then
  9. redstone.setOutput("bottom", true)
  10. sleep(10)
  11. redstone.setOutput("bottom", false)
  12. else
  13. term.clear()
  14. term.setCursorPos(1,1)
  15. print("Wrong Password Bitch!, RUN!!!")
  16. redstone.setOutput("back", true)
  17. sleep(10)
  18. redstone.setOutput("back", false)
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment