Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import autopy
- import pyautogui
- ar = open("autodig.txt", "r+")
- down = ar.read().strip()
- ar.close()
- ar = open("autodig.txt","w")
- if (down == "True"):
- ar.write("False")
- autopy.mouse.toggle(autopy.mouse.Button.LEFT, True)
- while down == "True":
- {
- if (down == "True"):
- pyautogui.moveRel(0, 10)
- else:
- }
- else:
- ar.write("True")
- autopy.mouse.toggle(autopy.mouse.Button.LEFT, False)
- ar.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement