Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ScanMob3= PixelSearch($xBattle_Left3_mob, $yBattle_Left3_mob, $xBattle_Left3_mob + 20, $yBattle_Left3_mob + 20, 0x000000) ; scanning a box to find a not black color
- If Not @error Then
- MouseMove($ScanMob3[0], $ScanMob3[1]) ; if we find a not black color, move there
- MouseDown("left")
- MouseUp("left")
- Sleep (100)
- EndIf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement