Skip to content

showdamagebr1/lol-auto-accept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

lol-auto-accept opencv-python - pyautogui

import time, pyautogui
accept = 'template.png'
while 1:
    try:
        button7location = pyautogui.locateOnScreen(accept, confidence=0.9)
        print(f"MATCH FOUND: BOX[left={button7location[0]}, top={button7location[1]}, w={button7location[2]}, h={button7location[3]}]")
        pyautogui.click(button7location)
        time.sleep(2)
    except:
        pass
    time.sleep(1)

template