Files
KOTIKOTappsLegacy/OfficialProjects/BarsAutoBridger/speedLMB.py
BarsTiger 52c9edabe4 1
2021-06-01 17:56:04 +03:00

20 lines
433 B
Python

from pyautogui import *
from keyboard import *
import time
switch = 0
start = 0
while True:
if is_pressed("r") and start == 0:
time.sleep(0.02)
if is_pressed("r") and start == 0:
start = 1
switch = 1
if is_pressed("r") and start == 1:
time.sleep(0.02)
if is_pressed("r") and start == 1:
start = 0
switch = 0
if switch == 1:
click()