I want to make this bot repeat attacking when my xpbar doesn't change
i got this code already
Code:Program AttachMonster; {$I RSPS/srlRSPS.Simba} function differentCount(time:integer): Boolean; var _white_count:integer; begin _white_count := countColorTolerance(16646143, 429, 80, 516, 95, 5); Wait(time); result := (_white_count <> countColorTolerance(16646143, 429, 80, 516, 95, 5)); end; function inCombat:boolean; begin result := differentCount(3300); end; Procedure AttackMonster var X,Y:Integer; begin if FindColorTolerance (X, Y, 10337744, 44, 91, 556, 425, 2) then begin MouseSpeed := 15; Mouse(x, y); end else begin writeln('Couldnt find any monsters') end; end; begin AttackMonster; end.


Reply With Quote








