Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat
- local e = 4
- repeat
- shell.run("clear")
- print("Password ?")
- local mdp = read("*")
- if mdp == ("admin") then
- e = 4
- print("Acces granted")
- redstone.setOutput("top",true)
- sleep(5)
- redstone.setOutput("top",false)
- shell.run("clear")
- else
- e = e - 1
- shell.run("clear")
- print("Try remaining : "..e)
- sleep(2)
- end
- until e < 1
- shell.run("clear")
- print("Computer locked for 25 sec")
- sleep(25)
- until e > 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement