Advertisement
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;
- char Onkey;
- char Offkey;
- //add randomzier
- void BootMenu()
- {
- cout << " oOOOOo oOOo .o000o. .o000o. .oOOOo. \n";
- cout << "OO OO OOOO OO OO OO OO OO OO \n";
- cout << "OO .o OOOO OO OO OO OO OO OO \n";
- cout << "OO.oo OOOO OO OO OO OO OO OO \n";
- cout << "OO.oo OOOO OO OO OO OO OOoOoO \n";
- cout << "OO o. OOOO OO OO OO OO OO \n";
- cout << "OO OO OOOO OO OO OO OO OO \n";
- cout << "OO Oo OOOO OO OO OO OO OO \n";
- cout << " oOOOOo OOOO OooooO OoooO OO \n";
- cout << "\n \n \n";
- cout << " " << endl;
- cout << " " << endl;
- cout << "Booting up Bloopclicker ";
- system("color 02");
- }
- void LeftClicker() {
- while (1) {
- if (GetAsyncKeyState(VK_DOWN))
- {
- click = true;
- }
- if (GetAsyncKeyState(VK_UP))
- {
- click = false;
- }
- if(click=true) {
- if (GetAsyncKeyState(VK_LBUTTON & 0x01))
- mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
- mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
- Sleep(1000 / cps); //randomizes cps with tickspeed of the computer so it doesnt flag as easily
- } else {
- LeftClicker;
- }
- }
- }
- void RightClicker() {
- while (1) {
- if (GetAsyncKeyState(VK_DOWN))
- {
- click = true;
- }
- if (GetAsyncKeyState(VK_UP))
- {
- click = false;
- }
- if(click=true) {
- if (GetAsyncKeyState(VK_LBUTTON & 0x01))
- mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0, 0);
- mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0, 0);
- Sleep(1000 / cps); //randomizes cps with tickspeed of the computer so it doesnt flag as easily
- } else {
- RightClicker;
- }
- }
- }
- void Rl() {
- cout << "Right or Left Clicker? \n";
- cin >> rl;
- if (rl == "Left", "left", "l") {
- cout << "\n Add cps \n>>";
- cin >> cps;
- }
- else {
- cout << "Right it is! \n";
- cout << "Add cps \n>>";
- cin >> cps;
- }
- cout << "Toggle on key is up arrow \n";
- cout << "Toggle off key is down arrow \n";
- if (rl == "Left", "left", "l") {
- LeftClicker;
- }
- else {
- RightClicker;
- }
- }
- int main()
- {
- BootMenu();
- Rl();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement