Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- shell.run("clear")
- function title()
- print("WriteTheOwnerNameHere Turtle")
- end
- password = "EnterYourPasswordHere"
- count = 0
- run = true
- pwError = false
- while run do
- if pwError then
- print("Passwort Falsch")
- end
- if count == 8 then
- timeout = true
- count = 0
- tcount = 120
- while timeout do
- if tcount == 0 then
- timeout = false
- end
- shell.run("clear")
- write("Du must ")
- write(tcount)
- write(" sek warten bis du dich einloggen kannst")
- os.sleep(1)
- tcount = tcount - 1
- end
- end
- shell.run("clear")
- title()
- write("Passwort: ")
- if password == io.read() then
- run = false
- shell.run("clear")
- title()
- else
- pwError = true
- count = count + 1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement