Global \$left = 309 Global \$top = 133 Global \$right = 798 Global \$bottom = 454 Global \$leftInv = 840 Global \$topInv = 332 Global \$rightInv = 1026 Global \$bottomInv = 590 While 1 Local \$q = random(1, 14, 1) Local \$herbX = Random(370, 380, 1) Local \$herbY = Random(210, 230, 1) Local \$VialX = Random(420, 440, 1) Local \$VialY = Random(210, 230, 1) Local \$FirstColumnX = Random(861, 878, 1) Local \$SecondColumnX = Random(905, 915, 1) Local \$ThirdColumnX = Random(948, 958, 1) Local \$FourthColumnX = Random(989, 999, 1) Local \$FirstRowY = Random(347, 350, 1) Local \$SecondRowY = Random(382, 392, 1) Local \$ThirdRowY = Random(420, 423, 1) Local \$FourthRowY = Random(460, 464, 1) Local \$fillX = Random(500, 580, 1) Local \$fillY = Random(510, 570, 1) Local \$exitX = Random(769, 782, 1) Local \$exitY = Random(142, 155, 1) Local \$p = Random(1, 50, 1) \$coord1 = PixelSearch (\$left, \$top, \$right, \$bottom, 0x432D1E, 2) If not @error Then MouseClick("left", \$coord1[0], \$coord1[1]) EndIf sleep(random(250, 1250, 1)) WithdrawHerb() sleep(random(250, 1750, 1)) If \$q = 1 Then DepositUnf1() If \$q = 2 Then DepositUnf2() If \$q = 3 Then DepositUnf3() If \$q = 4 Then DepositUnf4() If \$q = 5 Then DepositUnf5() If \$q = 6 Then DepositUnf6() If \$q = 7 Then DepositUnf7() If \$q = 8 Then DepositUnf8() If \$q = 9 Then DepositUnf9() If \$q = 10 Then DepositUnf10() If \$q = 11 Then DepositUnf11() If \$q = 12 Then DepositUnf12() If \$q = 13 Then DepositUnf13() If \$q = 14 Then DepositUnf14() Sleep(random(500, 1500, 1)) WithdrawVial() sleep(random(100, 750, 1)) ExitBank() sleep(random(500, 1750, 1)) \$coord1 = PixelSearch (\$leftInv, \$topInv, \$rightInv, \$bottomInv, 0x9DA1BD, 5) If not @error Then MouseClick("left", \$coord1[0], \$coord1[1]) EndIf sleep(random(250, 400, 1)) \$coord2 = PixelSearch (\$leftInv, \$topInv, \$rightInv, \$bottomInv, 0x385905, 5) If not @error Then MouseClick("left", \$coord2[0], \$coord2[1]) EndIf sleep(random(250, 750, 1)) Fill() If \$p = 100 Then sleep(random(15000, 20000, 1)) If \$p < 100 Then sleep(random(9500, 14000, 1)) WEnd