Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- MasterLock by: Rhyleymaster
- user = username -- Username goes here.
- pass = password -- Password goes here.
- term.clear()
- term.setCrusorPos(1,1)
- print "MasterLock V1.3"
- print " "
- while true do
- write"Username:"
- local q = read()
- if q == user
- then
- write"Password"
- local p = read("*")
- if p == pass
- then
- print("Logging in...")
- sleep(3)
- else
- print("Wrong username or password.")
- sleep(3)
- term.clear()
- term.setCrusorPos(1,1)
- end
- else
- write"Password:"
- local f = read("*")
- if f == ("password")
- then
- print("Wrong username or password.")
- sleep(3)
- else
- print("Wrong username or password.")
- sleep(3)
- end
- end
- end
Add Comment
Please, Sign In to add comment