function DepositBox(x, y: Integer): Boolean;
var
CTS, I: Integer;
TPA: TPointArray;
ATPA: Array of TPointArray;
begin
CTS := GetColorToleranceSpeed;
ColorToleranceSpeed(2);
SetColorSpeed2Modifiers(0.44, 1.08);
FindColorsSpiralTolerance(MSCX, MSCY, TPA, 8161424, MSX1, MSY1, MSX2, MSY2, 6);
ColorToleranceSpeed(CTS);
ATPA := TPAToATPAEx(TPA, 15, 15);
For I := 0 to High(ATPA) do
begin
MiddleTPAEx(ATPA[i], x, y);
MMouse(x, y, 2, 2);
If(IsUpTextMultiCustom(['ank, eposit, ox'])) then
begin
Result := True;
GetMousePos(x, y);
Break;
end;
end;
end;