Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pyautogui
- from time import sleep
- def startGame ():
- x, y = pyautogui.locateCenterOnScreen('playButton.png')
- pyautogui.click(x, y)
- def quickDrop ():
- pyautogui.press('space')
- def holdSwap ():
- pyautogui.press('shift')
- def spin ():
- pyautogui.press('up')
- def moveLeft():
- pyautogui.press('left')
- def moveRight():
- pyautogui.press('right')
- startGame()
- sleep(3.2)
- for x in range (0,4):
- moveLeft()
- quickDrop()
- holdSwap()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement