Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <windows.h>
- #include <string>
- using namespace std;
- int main()
- {
- string username = "Exceed";
- int password = 990;
- string u;
- int p;
- cout << "Welcome to Project Soar, brought you by Exceed!";
- Sleep(
- 3500);
- system("cls");
- cout << "Please login to continue..\n\nUsername: ";
- cin >> u;
- cout << "Password: ";
- cin >> p;
- if(u==username and p==password){
- cout << "\n//:Authenticating...\n";
- Sleep(1500);
- cout << "\n//:Login Succesful!\n";
- Sleep(1500);
- system("cls");
- }
- if(u!=username or p!=password){
- cout << "\n//:Authenticating...\n";
- Sleep(3000);
- cout << "\n//:Invalid Login...\n";
- exit(EXIT_FAILURE);
- }
- string cmd = "cmds";
- string cmds;
- cout << "Welcome to Project Soar!\n\Type in 'cmds' for a list of commands!\n\n";
- cin >> cmds;
- string ctext;
- if(cmds==cmd){
- cout << "\nkill [P] - Kills Player [P]\nkick [P] - Kicks a Player [P]\nws [P] [N] - Set's Player's walkspeed to [N]\nnoclip [P] - Noclips Player [P]\nban [P] - Bans a Player [P]\nexplode [P] - Explodes a Player [P]\nff [P] - Forcefields Player [P]\nfling [P] - Flings a Player [P]\nairwalk - Airwalks local Player\ngod [P] - Gods Player [P]\nungod [P] - Ungods Player [P]\nsethp [P] - Sets local player's health\nclr - clears CMD Box\n\n"; // Change to your cmds, Idgaf.
- cin >> ctext;
- };
- while (true){
- string cls;
- cin >> cls;
- if(cls=="cls"){
- system("cls");
- }
- string cmds;
- cin >> cmds;
- if(cmds=="cmds"){
- cout << "\nkill [P] - Kills Player [P]\nkick [P] - Kicks a Player [P]\nws [P] [N] - Set's Player's walkspeed to [N]\nnoclip [P] - Noclips Player [P]\nban [P] - Bans a Player [P]\nexplode [P] - Explodes a Player [P]\nff [P] - Forcefields Player [P]\nfling [P] - Flings a Player [P]\nairwalk - Airwalks local Player\ngod [P] - Gods Player [P]\nungod [P] - Ungods Player [P]\nsethp [P] - Sets local player's health\nclr - clears CMD Box\n\n";
- cin >> cmds;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement