import pyautogui from pynput import keyboard import time #/ #Configs pyautogui.PAUSE = 0 #/ #functions def spam(): if r == 1: back = pyautogui.position()