1000 cps auto clicker
1000 cps auto clicker from Pastebin
1000 cps auto clicker Pastebin 1000 cps auto clicker download paste 1000 cps auto clicker free details
#include
#include
using namespace std;
//How to make an autoclicker in c++ // 2019!
int x=0, y=0, cps;
bool click=false;
void Menu()
{
cout << "Add CPS (click per second):" << endl;
cin >> cps;
}
void Clicker()
{
while (1)
{
if(GetAsyncKeyState(VK_LBUTTON)) // Left button of the mouse
{
click = true;
}
if(GetAsyncKeyState(VK_RBUTTON)) //Right button of the mouse
{
click = false;
}
if(click == true)
{
mouse_event(MOUSEEVENTF_LEFTDOWN, x, y, 0 , 0);
mouse_event(MOUSEEVENTF_LEFTUP, x, y, 0 , 0);
Sleep(1000/cps);
}
}
}
int main()
{
Menu();
Clicker();
}