Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- local password = "pollo"
- textutils.slowPrint("Insert the password: ")
- local input = read("*")
- if input == password then
- term.clear()
- term.setCursorPos(1,1)
- textutils.slowPrint("Insert your nickname: ")
- local name = read()
- term.clear()
- term.setCursorPos(1,7)
- print(" 00000 ...Loading... 00000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 0000 ...Loading... 0000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 000 ...Loading... 000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 00 ...Loading... 00")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 0 ...Loading... 0")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 00 ...Loading... 00")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 000 ...Loading... 000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 0000 ...Loading... 0000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 00000 ...Loading... 00000")
- sleep(1)
- term.clear()
- term.setCursorPos(1,7)
- print(" 0000 ...Loading... 0000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 000 ...Loading... 000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 00 ...Loading... 00")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 0 ...Loading... 0")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 00 ...Loading... 00")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 000 ...Loading... 000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 0000 ...Loading... 0000")
- sleep(0,5)
- term.clear()
- term.setCursorPos(1,7)
- print(" 00000 ...Loading... 00000")
- sleep(1)
- term.clear()
- term.setCursorPos(1,7)
- textutils.slowPrint(" Access Granted. Welcome "..name.." ")
- sleep(3)
- term.setCursorPos(1,1)
- term.clear()
- else
- textutils.slowPrint(" ACCESS DENIED - Incorrect password, try again.")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- shell.run("reboot")
- end
Advertisement
Add Comment
Please, Sign In to add comment