WilliamHarlow

BloopclickerNoRAndom

Oct 24th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 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 words
  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. //add randomzier
  43.  
  44.  
  45. void BootMenu()
  46. {
  47. cout << "BBBBB 88 OOOO OOOO 88888 " << endl;
  48. cout << "B B 88 O O O O 8 8 " << endl;
  49. cout << "BBBBB 88 O O O O 8888 " << endl;
  50. cout << "B B 88 O O O O 8 " << endl;
  51. cout << "BBBBB 888 OOOO OOOO 8 \n" << endl;
  52. cout << "\n \n \n";
  53. cout << " " << endl;
  54. cout << " " << endl;
  55. cout << "Booting up Bloopclicker ";
  56.  
  57. system("color 02");
  58.  
  59.  
  60.  
  61.  
  62. }
  63.  
  64.  
  65.  
  66.  
  67. void LeftClicker() {
  68. cin >> cps;
  69.  
  70. while (1) {
  71. if (GetAsyncKeyState('J'))
  72. {
  73. click = true;
  74. }
  75. if (GetAsyncKeyState('K'))
  76. {
  77. click = false;
  78. }
  79. if (click == true)
  80. {
  81.  
  82. mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0 , 0);
  83. mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0 , 0);
  84. Sleep(1000/cps);
  85. }
  86. }
  87. }
  88.  
  89. void RightClicker() {
  90. cin >> cps;
  91. while (1) {
  92. if (GetAsyncKeyState('U'))
  93. {
  94. click = true;
  95. }
  96. if (GetAsyncKeyState('I'))
  97. {
  98. click = false;
  99. }
  100. if (click == true)
  101. {
  102.  
  103. mouse_event(MOUSEEVENTF_RIGHTDOWN, x, y, 0 , 0);
  104. mouse_event(MOUSEEVENTF_RIGHTUP, x, y, 0 , 0);
  105. Sleep(1000/cps);
  106. }
  107. }
  108. }
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121. void Rl() {
  122.  
  123. cout << "Right or Left Clicker? \n";
  124. cin >> rl;
  125. if (rl=="Left","left","l") {
  126.  
  127. cout << "\n Add cps \n>>";
  128. LeftClicker();
  129.  
  130. } else {
  131. cout << "Right it is! \n";
  132. cout << "Add cps \n>>";
  133. RightClicker();
  134. }
  135. }
  136.  
  137. int main()
  138. {
  139. BootMenu();
  140. Rl();
  141.  
  142. }
Advertisement
Add Comment
Please, Sign In to add comment