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 text
- */
- int x = 0, y = 0, cps;
- bool click = false;
- string rl;
- void BootMenu()
- {
- cout << " oOOOOo oOo .o000o. .o000o. .oOOOo. \n";
- cout << "OO OO OOO OO OO OO OO OO OO \n";
- cout << "OO .o OOO OO OO OO OO OO OO \n";
- cout << "OO.oo OOO OO OO OO OO OO OO \n";
- cout << "OO.oo OOO OO OO OO OO OOoOoO \n";
- cout << "OO o. OOO OO OO OO OO OO \n";
- cout << "OO OO OOO OO OO OO OO OO \n";
- cout << "OO Oo OOO OO OO OO OO OO \n";
- cout << " oOOOOo OOO OooooO OoooO OO \n"; //picture art for start.
- cout << "\n \n \n";
- cout << " " << endl;
- cout << " " << endl;
- system("color 04");
- cout << "Booting up";
- Sleep(300);
- system("color 06");
- cout << ".";
- Sleep(250);
- system("color 02");
- cout << ".";
- Sleep(200);
- system("color 03");
- cout << ".\n";
- cout << "Bloopclicker v2 \n made by Bloopdog himself. \n";
- system("color 01");
- cout << "Toggle on key is up arrow, toggle off key is down arrow. \n ";
- system("color 04"); // makes the background black and text red
- }
- void LeftClicker() { // leftclicking function
- while (1) { //while 1, so basically forever
- if (GetAsyncKeyState(VK_DOWN)) //checks for down arrow being pressed
- {
- click = true; //if down arrow pressed, turns click bool to true
- }
- if (GetAsyncKeyState(VK_UP)) //checks for up arrow
- {
- click = false; //if up arrow is pressed, changes "click" bool to false, meaning it restarts function
- }
- if(click=true) { //when click is true, checks for left click, and if left click is pressed, it will start clicking
- // as fast as you set it (probably lower because the cps is the denom for 1000, to get the actual cps)
- if (GetAsyncKeyState(VK_LBUTTON & 0x01))
- mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0); //clicks where your cursor is at the moment
- mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
- Sleep(1000 / cps); //randomizes cps with tickspeed of the computer so it doesnt flag as easily
- cin.ignore(); //press enter to close
- } else {
- LeftClicker; //if nothing else, restarts function to check for up and down arrow again
- // i need to make an exit button so you dont have to click x because who tf wants to do that
- }
- }
- }
- void RightClicker() { //right click function, same as left click so im not labelling what it does.
- while (1) {
- if (GetAsyncKeyState(VK_DOWN))
- {
- click = true;
- }
- if (GetAsyncKeyState(VK_UP))
- {
- click = false;
- }
- if(click=true) {
- if (GetAsyncKeyState(VK_RBUTTON & 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
- cin.ignore(); //press enter to close console/
- } else {
- RightClicker
- }
- }
- }
- void Rl() {
- cout << "Right or Left Clicker? (Left, left or just l) \n";
- cin >> rl; //gets users input for whether they want left or right
- if (rl == "Left", "left", "l", "L","lefy","lwft","lef","let","not right","Left click","left click", "LEFTCLICK","legt","lefr") {
- // if user types any of these strings, it will get the users input for
- // the cps, then goes to the function corresponding with what choice they made.
- cout << "\n Add cps \n>>";
- cin >> cps;
- cout << "cps is taken and divides 1k to get a slightly randomized click speed, it can also be affected by your pc's speed. \n";
- cout << "You'll be clicking around:";
- cout << cps; << " clicks per second";
- LeftClicker;
- }
- else {
- cout << "Right it is! \n"; //if anything other than those certain strings was chosen, gets cps for right click, and goes to right click
- cout << "Add cps \n>>"; //func
- cin >> cps;
- RightClicker;
- }
- }
- int main()
- {
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n"; //just spouts troll before the clicker actually loads.
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
- cout << "Sike its just an autoclicker did I scare you? \n"; //doesnt actually have any keylogging code, im sure its not hard to plant a
- //keylogger in the console but as soon as you closed the console it would stop working
- sleep(5); //waits 5 seconds, using Sleep() function with a capital "S", it goes by milliseconds, however if you use "sleep()" it uses seconds.
- BootMenu(); // goes to bootmenu
- Rl(); //goes ot right or left choice // system("pause") keeps it open until i press any key. //cin.ignore();
- // im not sure if i should add this so im turning it into a comment for now. ((return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment