Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Setting up the wait function
- local function wait(tick)
- tick = tick or 1
- local delay = os.time() + tick
- while os.time() < delay do end
- end
- -- Login Information
- local Username = {
- "DefeatedPurpose1"
- }
- local Password = {
- "Supernatural354"
- }
- local TwoFactorAuth = {
- "Oreo"
- }
- -- Archives
- archives = {" 'Let's decompile synapse source' ", " 'Qtx is white and SLX is red! ' ", " 'Rocky2u is actually pretty OP ' ", " 'I'm using sk8r not skisploit'"}
- -- Login Process
- print("Defeated's archive's")
- print("Enter the username:")
- Userinput = io.read()
- for w, x in pairs(Username) do
- if Userinput == tostring(x) then
- UserCorrect = true
- else
- UserCorrect = false
- end
- end
- print("Matching... [1/3]")
- wait(1)
- print("Matching... [2/3]")
- wait(1)
- print("Matching... [3/3]")
- wait(1)
- if UserCorrect then
- print("Username is a match!")
- passed = true
- else
- print("Username is not a match.")
- passed = false
- end
- wait(1)
- if passed then
- print("Enter the password:")
- Userinput = io.read()
- for z, y in pairs(Password) do
- if Userinput == tostring(y) then
- PassCorrect = true
- else
- PassCorrect = false
- end
- end
- end
- if passed then
- print("Matching... [1/3]")
- wait(1)
- print("Matching... [2/3]")
- wait(1)
- print("Matching... [3/3]")
- wait(1)
- if PassCorrect then
- print("Password Valid!")
- passed2 = true
- else
- print("Password Invalid.")
- passed2 = false
- end
- end
- wait(1)
- if passed and passed2 then
- print("Two factor Authentication:")
- print("What is your first pet name?")
- Userinput = io.read()
- for i,v in pairs(TwoFactorAuth) do
- if Userinput == tostring(v) then
- twofa = true
- else
- twofa = false
- end
- end
- print("Matching... [1/3]")
- wait(1)
- print("Matching... [2/3]")
- wait(1)
- print("Matching... [3/3]")
- wait(1)
- if twofa then
- print("Correct!")
- loggedin = true
- else
- print("Incorrect")
- loggedin = false
- end
- end
- wait(1)
- if loggedin then
- print("Logging in... [1/4]")
- wait(1)
- print("Logging in... [2/4]")
- wait(1)
- print("Logging in... [3/4]")
- wait(1)
- print("Logging in... [4/4]")
- wait(1)
- print("Login Successful!")
- wait(1)
- print("Welcome defeated, which archive would you like to view?")
- while true do
- print("Options:")
- print("456. Logout")
- print("Archives:")
- print("There are currently ("..#archives..") archives that are available.")
- Userinput = io.read("*n")
- if Userinput > #archives then
- wait(1)
- print("That archive is not listed, Please choose another one.")
- elseif Userinput == 456 then
- wait(1)
- print("Logging out [1/5]")
- wait(1)
- print("Logging out [2/5]")
- wait(1)
- print("Logging out [3/5]")
- wait(1)
- print("Logging out [4/5]")
- wait(1)
- print("Logging out [5/5]")
- wait(1)
- print("Logged out.")
- loggedin = false
- break
- else
- valid = true
- end
- if valid then
- print("----------------------")
- print(archives[math.random(Userinput, Userinput)])
- print("----------------------")
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement