Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <Windows.h>
- #include <string>
- using namespace std;
- /* colors for rainbow
- 0 = Black
- 1 = Blue
- 2 = Green
- 3 = Aqua
- 4 = Red
- 5 = Purple
- 6 = Yellow
- 7 = White
- 8 = Gray
- 9 = Light Blue
- A = Light Green
- B = Light Aqua
- C = Light Red
- D = Light Purple
- E = Light Yellow
- F = Bright White
- 7 = F = bright white white
- system("color 02");For example, this is black green words
- so
- 84
- 86
- 82
- 81
- 83
- 85
- 87
- */
- int x=0, y=0, cps;
- bool click=false;
- string rl;
- void BootMenu()
- {
- cout << "BBBBB 88 OOOO OOOO 88888 " << endl;
- cout << "B B 88 O O O O 8 8 " << endl;
- cout << "BBBBB 88 O O O O 8888 " << endl;
- cout << "B B 88 O O O O 8 " << endl;
- cout << "BBBBB 888 OOOO OOOO 8 \n" << endl;
- cout << "\n \n \n"
- cout << " " << endl;
- cout << " " << endl;
- cout << "Booting up ";
- system("color 04");
- cout << "B";
- system("color 06");
- cout << "l";
- system("color 02");
- cout << "o";
- system("color 01");
- cout << "o";
- system("color 03");
- cout << "p";
- system("color 05");
- cout << "C";
- system("color 07");
- cout << "l";
- system("color 04");
- cout << "i";
- system("color 06");
- cout << "c";
- system("color 02");
- cout << "k";
- system("color 01");
- cout << "e";
- system("color 03");
- cout << "r \n";
- system("color 02");
- cout << "NonToggleable Version"
- }
- void Rl() {
- cout << "Right or Left Clicker? \n";
- cin >> rl;
- if (rl=="Left","left","l") {
- cout << "\n Add cps \n>>";
- cin >> cps;
- LeftClicker();
- } else {
- cout << "Right it is! \n";
- cout << "Add cps \n>>";
- cin >> cps;
- RightClicker();
- }
- }
- void LeftClicker()
- {
- while (1) {
- if (GetAsyncKeyState('J'))
- {
- click = true;
- }
- if (GetAsyncKeyState('K'))
- {
- click = false;
- }
- if (click == true)
- {
- while (1)
- {
- if(GetAsyncKeyState(VK_LBUTTON)) // Left button of the mouse
- {
- click = true;
- }
- if(GetAsyncKeyState(VK_RBUTTON)) //Right button of the mouse
- {
- click = false;
- }
- if(click == true)
- {
- mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0 , 0);
- mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0 , 0);
- Sleep(1000/cps);
- }
- }
- }
- }
- void RightClicker()
- {
- while (1) {
- if (GetAsyncKeyState('U'))
- {
- click = true;
- }
- if (GetAsyncKeyState('I'))
- {
- click = false;
- }
- if (click == true)
- {
- while (1)
- {
- if(GetAsyncKeyState(VK_RBUTTON)) // Right button of the mouse
- {
- click = true;
- }
- if(GetAsyncKeyState(VK_LBUTTON)) //Left button of the mouse
- {
- click = false;
- }
- if(click == true)
- {
- mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0 , 0);
- mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0 , 0);
- Sleep(1000/cps);
- }
- }
- }
- int main()
- {
- BootMenu();
- Rl();
- }
Advertisement
Add Comment
Please, Sign In to add comment