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)
- pts = "."
- for i = 3, 1,-1 do
- term.clear()
- print("-----<- DuT Access-Control ->-----")
- print("Reading DuT-Datasafe"..pts)
- pts = pts..pts
- sleep(2)
- end
- print(" ")
- print("Data found!")
- sleep(1)
- print("UserName : Aerophob-DUT")
- sleep(2)
- print("Password: ")
- if read("*") == "3427894" then
- print("Access Granted.")
- sleep(2)
- term.clear()
- term.setCursorPos(1,1)
- break
- else
- print ("Incorrect Login Details.")
- sleep(1)
- end
- end
- --os.pullEvent = oldPull
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement