Advertisement
Guest User

startup

a guest
Jan 18th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.25 KB | None | 0 0
  1. print("Enter Password")
  2. password = read("*")
  3. if password == "Swordman1" then
  4. print("Password Accepted")
  5. redstone.setOutput("right",true)
  6. sleep(3)
  7. redstone.setOutput("right",false)
  8. os.shutdown()
  9. else
  10. print("Incorrect")
  11. sleep(2)
  12. os.shutdown()
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement