Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- side = "back"
- password = "iamthebatman"
- while true do
- shell.run("clear")
- print("")
- print(" Enter password:")
- print(" ~~~~~~~~~~~~~~~")
- if read() == password then
- print("Password correct")
- sleep(1)
- redstone.setOutput(side, true)
- sleep(36)
- redstone.setOutput(side, false)
- else
- print("Password incorrect")
- sleep(6)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement