sunstrike = \'sunstrike.png\' def SunstrikeF(): while not keyboard.is_pressed(\'/\'): if pyautogui.locateOnScreen(sunstrike, region=(1970,1887,2081,2003)