SHARE
TWEET

Untitled

a guest Jun 16th, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while True:        
  2.     if detect_green(screen):
  3.         colors_detected.append("1")
  4.     if detect_red(screen):
  5.         colors_detected.append("2")
  6.     if detect_yellow(screen):
  7.         colors_detected.append("3")
  8.     if detect_blue(screen):
  9.         colors_detected.append("9")
  10.     if detect_orange(screen):
  11.         colors_detected.append("0")
  12.     if active_special(screen):
  13.         colors_detected.append("space")
  14.  
  15.     pyautogui.press(*colors_detected)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top