Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- oldPull = os.pullEvent
- os.pullEvent = os.pullEventRaw
- while true do
- term.clear()
- term.setCursorPos(1,1)
- print("Munch Corp Computer Security 2.0")
- print("UserName: Munchin")
- write("Password: ")
- if read("*") == "Munch" then
- print ("Access Granted.")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- print("Hi Munchin. How can i help?")
- break
- else
- print("Incorrect Login Details.")
- sleep(30)
- end
- end
- os.pullEvent = oldPull
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement