log("script by t.me/Marser333 ");
log("script version VIP 0.29.1");
var v1 = Point.get(1028,400),
v2 = Point.get(1456,400),
v3 = Point.get(837,515),
v4 = Point.get(678,326),
v5 = Point.get(785,508),
v6 = Point.get(1556,84);
var v7 = 6447699,
v8 = 9731413,
v9 = 6250078;
var v10 = 2,
v11 = 100,
v12 = 5000;
var v13 = Time.getMillis();
var v14 = 13;
var v15 = Point.get(v1.x - v14, v1.y - v14),
v16 = Point.get(v1.x + v14, v1.y + v14);
startScreenCapture(2);
Thread.yield();
while (!EXIT) {
var v17 = getColor(v4.x, v4.y),
v18 = getColor(v5.x, v5.y),
v19 = getColor(v6.x, v6.y);
if (v17 == v7 || v18 == v8 || v19 == v9) {
click(v4.x, v4.y, 3);
if (v18 == v8) {
click(v5.x, v5.y);
}
if (v19 == v9) {
click(v6.x, v6.y);
}
sleep(v17 == v7 ? 1000 : 5);
} else {
for (var i = 0; i < v10; i++) {
var script = v11 * i;
var venomscript = getContoursCount(Point.get(v15.x, v15.y + script), Point.get(v16.x, v16.y + script));
if (venomscript > 2) {
click(v2.x, v2.y + script);
click(v3.x, v3.y);
click(v4.x, v4.y, 3);
break;
}
}
if (Time.getMillis() - v13 >= v12) {
click(v4.x, v4.y, 2);
v13 = Time.getMillis();
}
}
}
Самописный скрипт хочу чтобы он работал быстрее
log("script by t.me/Marser333 ");
log("script version VIP 0.29.1");
var v1 = Point.get(1028,400),
v2 = Point.get(1456,400),
v3 = Point.get(837,515),
v4 = Point.get(678,326),
v5 = Point.get(785,508),
v6 = Point.get(1556,84),
v7 = 6447699,
v8 = 9731413,
v9 = 6250078;
short v10 = 2,
v11 = 100,
v12 = 5000;
//ниже не трогай
var v13 = Time.getMillis();
byte v14 = 13;
var v15 = Point.get(v1.x - v14, v1.y - v14),
v16 = Point.get(v1.x + v14, v1.y + v14);
startScreenCapture(2);
Thread.yield();
while (!EXIT) {
var v17 = getColor(v4.x, v4.y),
v18 = getColor(v5.x, v5.y),
v19 = getColor(v6.x, v6.y);
if (v17 == v7 || v18 == v8 || v19 == v9) {
click(v4.x, v4.y);
if (v18 == v8) {
click(v5.x, v5.y);
}
if (v19 == v9) {
click(v6.x, v6.y);
}
sleep(v17 == v7 ? 1000 : 5);
} else {
for (byte i = 0; i < v10; i++) {
var script = v11 * i;
var free_script = 35;
var venomscript = getContoursCount(Point.get(v15.x, v15.y + script), Point.get(v16.x, v16.y + script));
if (venomscript > 2 && free_script > 34) {
click(v2.x, v2.y + script);
sleep(free_script);
click(v3.x, v3.y);
click(v4.x,v4.y);
sleep(5);
click(v4.x,v4.y);
sleep(5);
click(v4.x,v4.y);
}
}
if (Time.getMillis() - v13 >= v12) {
click(v4.x, v4.y);
sleep(5);
click(v4.x, v4.y);
v13 = Time.getMillis();
}
}
}