Untitled

 avatar
unknown
plain_text
a year ago
413 B
13
Indexable
import pyautogui
import keyboard
from time import sleep

while keyboard.is_pressed('1') == False:
    if pyautogui.pixelMatchesColor(921,636,(0,152,0)):
        pyautogui.press('a')
        sleep(0.05)
    if pyautogui.pixelMatchesColor(1013,635,(255,0,0)):
        pyautogui.press('s')
        sleep(0.05)
    if pyautogui.pixelMatchesColor(1105,637,(244,244,2)):
        pyautogui.press('j')
        sleep(0.05)
Editor is loading...
Leave a Comment