Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- import java.util.Random;
- public class Main {
- public static void main(String args[]) {
- Scanner Scanner;
- Random Random;
- Scanner = new Scanner(System.in);
- Random rand = new Random();
- boolean one = true;
- boolean two = false;
- int i = 1;
- int c = 0;
- String[] $table = {"1", "2", "3"};
- int $x = rand.nextInt(3);
- int $b = rand.nextInt(40);
- // To make this work you are going to need to learn how to change booleans in a string command //
- if ((one != false) && (two != true)) {
- try {
- Thread.sleep(0);
- System.out.println("Welcome to DOS/TEST 1.0.0");
- Thread.sleep(1000);
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("[SYS] Please Enter the Given Access Key (GAK) to Continue");
- String $gak = Scanner.next();
- if ($gak.equals("58672525")) {
- if ((one != true) && (two != false)) {
- System.out.println("[SYS] GAK Has been Entered Correctly...");
- Thread.sleep(1000);
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- }
- }
- } catch (InterruptedException ex) {
- }
- }
- if (i == 1) {
- if ((one != true) && (two != false)) {
- try {
- Thread.sleep(0);
- System.out.println("Welcome to DOS/TEST 1.0.0");
- Thread.sleep(1000);
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("[SYS] Please Enter the Given Access Key (GAK) to Continue");
- String $gak1 = Scanner.next();
- if ($gak1.equals("58672525")) {
- if ((one != true) && (two != false)) {
- System.out.println("[SYS] GAK Has been Entered Correctly...");
- Thread.sleep(1000);
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("[SYS] Credentials Found... Please Enter your Username");
- String $userSet = Scanner.next();
- if ($userSet.equals("admin")) {
- if ((one != true) && (two != false)) {
- System.out.println("[SYS] Please Enter your Password");
- String $passSet = Scanner.next();
- if ($passSet.equals("admin")) {
- if ((one != true) && (two != false)) {
- System.out.println("Welcome back " + $userSet);
- Thread.sleep(1000);
- System.out.println("[DB] Calculating Daily Bonus...");
- Thread.sleep(4000);
- System.out.println("[DB] Congratulations! You earned " + $table[$x] +
- " Coins!");
- Thread.sleep(3000);
- if ($x == 0) {
- if ((one != true) && (two != false)) {
- c++;
- }
- }
- if ($x == 1) {
- if ((one != true) && (two != false)) {
- c++;
- c++;
- }
- }
- if ($x == 2) {
- if ((one != true) && (two != false)) {
- c++;
- c++;
- c++;
- }
- }
- System.out.println("[DB] You now have " + c + " Coins!");
- Thread.sleep(1000);
- }
- }
- if ($b == 17) {
- if ((one != true) && (two != false)) {
- System.out.println("[MB] You Struck Gold!");
- Thread.sleep(1000);
- System.out.println("[MB] You Got a Rare Mega Bonus!");
- Thread.sleep(1000);
- System.out.println("+7 Coins");
- Thread.sleep(4000);
- c++;
- c++;
- c++;
- c++;
- c++;
- c++;
- c++;
- System.out.println("You now have " + c + " Coins!");
- Thread.sleep(0);
- }
- }
- }
- } else {
- System.out.println("Invalid Credentials");
- Thread.sleep(1000);
- System.out.println("[SYS] Locking Device...");
- Thread.sleep(4000);
- System.out.println("[SYS] System Fully Locked... [Restart to Proceed]");
- }
- }
- } else {
- System.out.println("Invalid Credentials");
- Thread.sleep(1000);
- System.out.println("[SYS] Locking Device...");
- Thread.sleep(4000);
- System.out.println("[SYS] System Fully Locked... [Restart to Proceed]");
- }
- } catch (InterruptedException ex) {
- System.out.println(" ");
- }
- }
- } else {
- System.out.println("Null, End of String [arg0]");
- }
- if (i == 1) {
- if ((one != false) && (two != true)) {
- try {
- Thread.sleep(0);
- System.out.println("Welcome to DOS/TEST 1.0.0");
- Thread.sleep(1000);
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("[SYS] No Username or Password found! Type 'CLC' to Create Login Credentials");
- String $CLC = Scanner.next();
- if ($CLC.equals("CLC")) {
- if ((one != false) && (two != true)) {
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("Please Enter a Username...");
- String $user = Scanner.next();
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("Please Enter a Password");
- String $pass = Scanner.next();
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("Username: " + $user + " Password: " + $pass + " are these the Correct Credentials you set? [yes] [no]");
- String $choice = Scanner.next();
- if ($choice.equals("yes")) {
- if ((one != false) && (two != true)) {
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("Credentials Saved...");
- Thread.sleep(2000);
- System.out.println("[SYS] Restarting...");
- Thread.sleep(4000);
- System.out.println("Welcome to DOS/TEST 1.0.0");
- Thread.sleep(1000);
- System.out.println("Loading Assets...");
- Thread.sleep(4000);
- System.out.println("Credentials Detected. Please Enter your Username");
- String $user2 = Scanner.next();
- if ($user2.equals($user)) {
- if ((one != false) && (two != true)) {
- System.out.println("Please Enter your Password");
- String $pass2 = Scanner.next();
- if ($pass2.equals($pass)) {
- if ((one != false) && (two != true)) {
- System.out.println("Welcome back " + $user);
- Thread.sleep(1000);
- System.out.println("[DB] Calculating Daily Bonus...");
- Thread.sleep(4000);
- System.out.println("[DB] Congratulations! You earned " + $table[$x] + " Coins!");
- Thread.sleep(3000);
- if ($x == 0) {
- if ((one != true) && (two != false)) {
- c++;
- }
- }
- if ($x == 1) {
- if ((one != true) && (two != false)) {
- c++;
- c++;
- }
- }
- if ($x == 2) {
- if ((one != true) && (two != false)) {
- c++;
- c++;
- c++;
- }
- }
- System.out.println("[DB] You now have " + c + " Coins!");
- Thread.sleep(1000);
- if ($b == 17) {
- if ((one != true) && (two != false)) {
- System.out.println("[MB] You Struck Gold!");
- Thread.sleep(1000);
- System.out.println("[MB] You Got a Rare Mega Bonus!");
- Thread.sleep(1000);
- System.out.println("+7 Coins");
- Thread.sleep(4000);
- c++;
- c++;
- c++;
- c++;
- c++;
- c++;
- c++;
- System.out.println("You now have " + c + " Coins!");
- Thread.sleep(0);
- }
- }
- }
- } else {
- System.out.println("Invalid Credentials");
- Thread.sleep(1000);
- System.out.println("[SYS] Locking Device...");
- Thread.sleep(4000);
- System.out.println("[SYS] System Fully Locked... [Restart to Proceed]");
- }
- }
- } else {
- System.out.println("Invalid Credentials...");
- Thread.sleep(1000);
- System.out.println("[SYS] Locking Device...");
- Thread.sleep(4000);
- System.out.println("[SYS] System Fully Locked... [Restart to Proceed]");
- }
- }
- }
- if ($choice.equals("no")) {
- if ((one != false) && (two != true)) {
- System.out.println("Credentials Revoked...");
- Thread.sleep(0);
- }
- }
- } else {
- System.out.println("null > End of String[arg0]");
- Thread.sleep(0);
- }
- }
- } catch (InterruptedException ex) {
- System.out.println(" ");
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement