Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while 1
- if PixelGetColor(1329, 683) = 7259652 Then
- MouseClick("left", 1339, 683, 1, 5)
- sleep(2000)
- if PixelGetColor(1008, 747) = 1603570 Then ;close facebook share window if blue share button is there
- MouseClick("left", 1138, 362, 1, 2)
- EndIf
- sleep(500)
- if PixelGetColor(1024, 719) = 7259652 Then ;close new level screen with bonus
- MouseClick("left", 1034, 719, 1, 2)
- EndIf
- ;race
- while 1
- SLEEP(5)
- if PixelGetColor(957,292) = 16777215 Then
- sleep(1100)
- send("{DOWN down}")
- sleep(340)
- send("{SPACE}")
- send("{DOWN up}")
- sleep(15)
- ExitLoop
- EndIf
- wend
- while 1
- if StringLeft(PixelGetColor(673,770), 2) = "16" Then
- send("{right}")
- sleep(50)
- Else
- if PixelGetColor(1309, 802) = 7259652 Then
- ExitLoop
- EndIf
- EndIf
- WEnd
- EndIf
- if PixelGetColor(1064, 823) = 5592405 Then
- MouseClick("left", 1084, 823, 1, 5)
- MouseMove(0, 0, 0)
- EndIf
- if PixelGetColor(1303, 818) = 7259652 Then
- MouseClick("left", 1323, 818, 1, 5)
- MouseMove(0, 0, 0)
- EndIf
- if PixelGetColor(1008, 747) = 1603570 Then ;close facebook share window if blue share button is there
- MouseClick("left", 1138, 362, 1, 2)
- EndIf
- if PixelGetColor(1024, 719) = 7259652 Then ;close new level screen with bonus
- MouseClick("left", 1034, 719, 1, 2)
- EndIf
- wend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement