The python aimbot for Aimbooster

The aimbooster is the aim trainer site which gamers use to get their aim right. They practice using this.
I play a lot of games so naturally I tried it as well but alas I was not so good. One day few of my friends challenged me. Obviously they knew that I was not so good but one thing they didn't know was that I was good at coding. What did I do? created a aimbot for it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pyautogui | |
import win32api | |
import win32con | |
import keyboard | |
import time | |
time.sleep(5) | |
def click(x,y): | |
win32api.SetCursorPos((x,y)) | |
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,0,0) | |
win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,0,0) | |
while keyboard.is_pressed('q')==False: | |
if keyboard.is_pressed('q'): | |
break | |
pic=pyautogui.screenshot(region=(370,255,610,430)) | |
width, height=pic.size | |
skip=0 | |
for x in range(0,width,10): | |
for y in range(0,height,3): | |
if skip!=0: | |
r,g,b=pic.getpixel((x,y+skip)) | |
else: | |
r,g,b=pic.getpixel((x,y)) | |
if b==255 and r ==36 and g ==36: | |
click(x+370,y+255) | |
skip=30 | |
else: | |
skip=0 | |
Comments
Post a Comment