Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat
- term.clear()
- term.setCursorPos(1,1)
- print("username:")
- username = read()
- print("password:")
- password =read("*")
- correct = username == "LinusAuener" and password == "Let_Me_In!"
- if not correct then
- print("username or password wrong")
- sleep(1)
- end
- until correct
- print("Welcome dude")
- redstone.setOutput("left",true)
- sleep(7) os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement