Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- i=1
- while i==1 == true do
- term.clear()
- term.setCursorPos(22,8)
- print "PASSWORT EINGEBEN"
- i=2
- term.setCursorPos(22,11)
- input = read("*")
- if input == "12345" then
- redstone.setOutput("right" , true)
- os.sleep(2)
- redstone.setOutput("right" , false)
- term.clear()
- term.setCursorPos(1,1)
- else
- term.clear()
- term.setCursorPos(22,8)
- print "FALSCHES PASSWORT,DU ******"
- os.sleep(1,3)
- term.clear()
- i=1
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement