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;
- //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");
- char Onkey;
- char Offkey;
- }
- void Onoff() {
- cout << "State on key (must be a character) : ";
- cin << Onkey;
- cout << "On key is: '";
- cout << Onkey;
- cout << "'!";
- cout << "State off key (must be a character) : ";
- cin << Offkey;
- cout << "Off key is: '";
- cout << Offkey;
- cout << "'!";
- }
- // this is a fucking mess jesus christ i should stop working on this right now.
- void LeftClicker() {
- cout << "'";
- cout << Onkey;
- cout << "' turns clicker on, '";
- cout << Offkey;
- cout << "' turns the clicker off.";
- cin >> cps;
- while (1) {
- if (GetAsyncKeyState(Onkey))
- {
- click = true;
- }
- if (GetAsyncKeyState(Offkey))
- {
- click = false;
- }
- if (click == true)
- {
- 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
- }
- }
- }
- void RightClicker() {
- cout << "'";
- cout << Onkey;
- cout << "' turns clicker on, '";
- cout << Offkey;
- cout << "' turns the clicker off.";
- cin >> cps;
- while (1) {
- if (GetAsyncKeyState(Onkey))
- {
- click = true;
- }
- if (GetAsyncKeyState(Offkey))
- {
- click = false;
- }
- if (click == true)
- {
- mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0, 0);
- mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0, 0);
- Sleep(1000 / cps);
- }
- }
- }
- 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;
- }
- }
- int main()
- {
- BootMenu();
- Rl();
- }
Add Comment
Please, Sign In to add comment