```py try: import keyboard, pyautogui while True: if keyboard.is_pressed('`'): while keyboard.is_pressed('`'): pyautogui.click() except KeyboardInterrupt: print("welp you exited it so bye") ``` simple autoclicker
The if is not needed