SCAR Code:
function Kill(colors: TIntegerArray): boolean;
var
CowTPA: TPointArray;
k: integer;
begin
if not LoggedIn or FindDead then Exit;
for k := 0 to High(colors) do
if FindColorsTolerance(CowTPA, colors[k], MSX1, MSY1, MSX2, MSY2, 10) then
begin
repeat
MMouse(CowTPA[k].x, CowTPA[k].y, 5, 5);
Wait(1000 + random(500));
until IsUpText('ow');
if IsUpText('ow') then
begin
GetMousePos(x, y);
case random(2) of
0, 1: begin
Mouse(x, y, 5, 5, true);
Flag;
end;
2: begin
Mouse(x, y, 5, 5, false);
ChooseOption('ttack');
Flag;
end;
end;
Result := True;
end;
end;
end;
when i run this it clicks the cow and then the mouse just twitches on the grass. how can i get rid of that?