Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- localoldPull = os.pullEvent
- os.pullEvent = os.pullEventRaw
- local p = "Tornado"
- local u = "Admin"
- while true do
- sleep(0.1)
- term.clear()
- term.setCursorPos(12,1)
- write("Vault Door Security Console")
- term.setCursorPos(1,2)
- write("---------------------------------------------------")
- term.setCursorPos(15,7)
- write("Username: ")
- input = read()
- if input == u then
- term.setCursorPos(15,8)
- write("Password: ")
- input = read("*")
- if input == p then
- term.clear()
- term.setCursorPos(13,7)
- shell.run("Door")
- break
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement