WilliamHarlow

Bloopclicker- maybe wont crash idk

Aug 25th, 2021
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.34 KB | None | 0 0
  1. #include <iostream>
  2. #include <Windows.h>
  3. #include <string>
  4. using namespace std;
  5. /* colors for rainbow
  6. 0 = Black
  7. 1 = Blue
  8. 2 = Green
  9. 3 = Aqua
  10. 4 = Red
  11. 5 = Purple
  12. 6 = Yellow
  13. 7 = White
  14. 8 = Gray
  15. 9 = Light Blue
  16. A = Light Green
  17. B = Light Aqua
  18. C = Light Red
  19. D = Light Purple
  20. E = Light Yellow
  21. F = Bright White
  22. 7 = F = bright white white
  23. system("color 02");For example, this is black green text
  24.  
  25. so
  26.  
  27. 84
  28. 86
  29. 82
  30. 81
  31. 83
  32. 85
  33. 87
  34.  
  35.  
  36.  
  37. */
  38. int x = 0, y = 0, cps;
  39. bool click = false;
  40. string rl;
  41.  
  42. //added? randomzier
  43.  
  44.  
  45. void BootMenu()
  46. {
  47. cout << " oOOOOo oOo .o000o. .o000o. .oOOOo. \n";
  48. cout << "OO OO OOO OO OO OO OO OO OO \n";
  49. cout << "OO .o OOO OO OO OO OO OO OO \n";
  50. cout << "OO.oo OOO OO OO OO OO OO OO \n";
  51. cout << "OO.oo OOO OO OO OO OO OOoOoO \n";
  52. cout << "OO o. OOO OO OO OO OO OO \n";
  53. cout << "OO OO OOO OO OO OO OO OO \n";
  54. cout << "OO Oo OOO OO OO OO OO OO \n";
  55. cout << " oOOOOo OOO OooooO OoooO OO \n";
  56.  
  57. cout << "\n \n \n";
  58. cout << " " << endl;
  59. cout << " " << endl;
  60. cout << "Booting up";
  61. Sleep(300);
  62. cout << ".";
  63. Sleep(250);
  64. cout << ".";
  65. Sleep(200);
  66. cout << ".\n";
  67. cout << "Bloopclicker v2 \n made by Bloopdog himself. \n";
  68. cout << "Toggle on key is up arrow, toggle off key is down arrow. \n ";
  69.  
  70. system("color 04");
  71.  
  72.  
  73.  
  74. }
  75.  
  76. void LeftClicker() {
  77.  
  78. while (1) {
  79. if (GetAsyncKeyState(VK_DOWN))
  80. {
  81. click = true;
  82. }
  83. if (GetAsyncKeyState(VK_UP))
  84. {
  85. click = false;
  86. }
  87.  
  88. if(click=true) {
  89.  
  90. if (GetAsyncKeyState(VK_LBUTTON & 0x01))
  91. mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0, 0);
  92. mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0, 0);
  93. Sleep(1000 / cps); //randomizes cps with tickspeed of the computer so it doesnt flag as easily
  94. } else {
  95. LeftClicker;
  96. }
  97.  
  98. }
  99.  
  100.  
  101.  
  102. }
  103.  
  104.  
  105.  
  106.  
  107.  
  108. void RightClicker() {
  109.  
  110.  
  111.  
  112. while (1) {
  113. if (GetAsyncKeyState(VK_DOWN))
  114. {
  115. click = true;
  116. }
  117. if (GetAsyncKeyState(VK_UP))
  118. {
  119. click = false;
  120. }
  121.  
  122. if(click=true) {
  123.  
  124. if (GetAsyncKeyState(VK_LBUTTON & 0x01))
  125. mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0, 0);
  126. mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0, 0);
  127. Sleep(1000 / cps); //randomizes cps with tickspeed of the computer so it doesnt flag as easily
  128. } else {
  129. RightClicker;
  130. }
  131.  
  132. }
  133.  
  134.  
  135.  
  136. }
  137.  
  138.  
  139.  
  140.  
  141. void Rl() {
  142.  
  143. cout << "Right or Left Clicker? \n";
  144. cin >> rl;
  145. if (rl == "Left", "left", "l") {
  146.  
  147. cout << "\n Add cps \n>>";
  148. cin >> cps;
  149. LeftClicker;
  150.  
  151. }
  152. else {
  153. cout << "Right it is! \n";
  154. cout << "Add cps \n>>";
  155. cin >> cps;
  156. RightClicker;
  157. }
  158.  
  159. }
  160.  
  161. int main()
  162. {
  163. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  164. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  165. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  166. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  167. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  168. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  169. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  170. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  171. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  172. cout << "Just gave yourself a keylogger bozo have fun removing it lmaoooo \n";
  173. cout << "Sike its just an autoclicker did i scare you? \n";
  174.  
  175. sleep(5);
  176. BootMenu();
  177. Rl();
  178.  
  179. }
Advertisement
Add Comment
Please, Sign In to add comment