Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw -- makes it so no one can terminate the program
- pass = "0071" -- replace "norway240" with your password
- while true do
- term.clear()
- term.setCursorPos(12,5)
- print("Veuiller entrer le mots de passe du Bunker :")
- term.setCursorPos(12,6)
- input = read("*")
- if input == pass then
- rs.setOutput("left",true) -- replace "left" with the side the door is connected to
- print("La porte est ouverte pour quelque seconde")
- sleep(5)
- rs.setOutput("left",false) -- once again replace "left with the side the door is connected to
- else
- term.setCursorPos(12,7)
- print("Le mots de passe est incorrect!!!!!")
- sleep(2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement