Advertisement
Guest User

startup

a guest
Apr 24th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. print("Input Password")
  2. password = read()
  3. if password == "kingeli" then
  4.    print("Correct")
  5.    redstone.setOutput("right",true)
  6.    sleep(5)
  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