WilliamHarlow

BloopClicker0.3

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