Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyautogui, time
- while True:
- # Holds down the alt key
- pyautogui.typewrite('exura')
- pyautogui.press('enter')
- pyautogui.keyDown('ctrl')
- # Presses the tab key once
- pyautogui.press('up')
- pyautogui.press('down')
- # Lets go of the alt key
- pyautogui.keyUp('ctrl')
- x, y = pyautogui.size()
- foodx = x-90
- foody = y / 2 - 150
- y = y / 2 - 180
- leftx = x / 2 - 180
- rightx = x / 2
- pyautogui.moveTo(leftx, y)
- pyautogui.click(button='right')
- pyautogui.moveTo(rightx, y)
- pyautogui.click(button='right')
- pyautogui.moveTo(foodx, foody)
- pyautogui.click(button='right')
- time.sleep(10)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement