0
Can anybody help me about for Oto Clicker ???
I want to that If there is yabbie on the screen after the 3rd click, I want it to go to the next step after 6.5 seconds, otherwise I want it to continue after 0.5 seconds
2 Respuestas
0
You have a while 1 in your for loop, there is no way this is going to continue. Maybe place it after the if?
Hopefully I was able to help but I gotta say it's really hard to understand what you need help with.
0
That code is my traning but ıt is wrong something.
import pyautogui
import time
pyautogui.leftClick(x=375,y=375)
for i in range(5000):
pyautogui.rightClick(x=583,y=711)
time.sleep(0.4)
pyautogui.rightClick(x=583, y=711)
time.sleep(0.4)
pyautogui.rightClick(x=616,y=714)
time.sleep(0.5)
while 1:
if pyautogui.locateOnScreen('yabbie.png') != None:
pyautogui.leftClick(x=436,y=126)
time.sleep(6.5)
else:
pyautogui.leftClick(x=436,y=126)
time.sleep(0.5)
pyautogui.rightClick(x=870,y=435)
time.sleep(0.5)
pyautogui.rightClick(x=870, y=435)
time.sleep(0.5)