JS-скрипт [OTC3] RGB fake indicator and watermark (lovesync) (пс код не мой)

Эксперт
Статус
Оффлайн
Регистрация
22 Мар 2020
Сообщения
2,187
Реакции[?]
484
Поинты[?]
3K
КОД НЕ МОЙ , Я ПРОСТО ПЕРЕПИСАЛ СКРИПТ.
мб кому надо
Код:
var screen_size = Render.GetScreenSize();
UI.AddSliderInt("Skeet_x", 0, screen_size[0]);
UI.AddSliderInt("Skeet_y", 0, screen_size[1]);
UI.AddColorPicker("Skeet")
UI.AddCheckbox("Fake Gradient")
UI.AddCheckbox("Watermark Gradient")
var color = UI.GetColor("Script items","Skeet");
if (color[3] == 0){
    UI.SetColor("Script items","Skeet", [96,255,193, 0]); }
function HSVtoRGB(h, s, v) {
    var r, g, b, i, f, p, q, t;
    if (arguments.length === 1) {
        s = h.s, v = h.v, h = h.h;
    }
    i = Math.floor(h * 6);
    f = h * 6 - i;
    p = v * (1 - s);
    q = v * (1 - f * s);
    t = v * (1 - (1 - f) * s);
    switch (i % 6) {
        case 0: r = v, g = t, b = p; break;
        case 1: r = q, g = v, b = p; break;
        case 2: r = p, g = v, b = t; break;
        case 3: r = p, g = q, b = v; break;
        case 4: r = t, g = p, b = v; break;
        case 5: r = v, g = p, b = q; break;
    }
    return {
        r: Math.round(r * 255),
        g: Math.round(g * 255),
        b: Math.round(b * 255)
    };
}
function in_bounds(vec, x, y, x2, y2) {
    return (vec[0] > x) && (vec[1] > y) && (vec[0] < x2) && (vec[1] < y2)
}
function draw_arc(x, y, radius, start_angle, percent, thickness, color) {
        var precision = (2 * Math.PI) / 30;
        var step = Math.PI / 180;
        var inner = radius - thickness;
        var end_angle = (start_angle + percent) * step;
        var start_angle = (start_angle * Math.PI) / 180;
        for (; radius > inner; --radius) {
            for (var angle = start_angle; angle < end_angle; angle += precision) {
                var cx = Math.round(x + radius * Math.cos(angle));
                var cy = Math.round(y + radius * Math.sin(angle));
                var cx2 = Math.round(x + radius * Math.cos(angle + precision));
                var cy2 = Math.round(y + radius * Math.sin(angle + precision));
                Render.Line(cx, cy, cx2, cy2, color);
            }
        }
}
function main_aa() {
    const x = UI.GetValue("Script items", "Skeet_x"), y = UI.GetValue("Script items", "Skeet_y");
    var font = Render.AddFont("Verdana", 7, 400);
    var RealYaw = Local.GetRealYaw();
    var FakeYaw = Local.GetFakeYaw();
    var delta = Math.min(Math.abs(RealYaw - FakeYaw) / 2, 60).toFixed(1);
    var safety = Math.min(Math.round(1.7 * Math.abs(delta)), 100);
    var fGradient = UI.GetValue("Script items", "Fake Gradient")
    var rgb = HSVtoRGB(Global.Tickcount() % 350 / 350,1,1);
    var side = UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter")? "<--" : "-->";
    var text = "    FAKE (" + delta.toString() + "  ) | safety: " + safety.toString() + "% | side: " + side;
    var w = Render.TextSizeCustom(text, font)[0] + 8;
    if (fGradient){
        Render.GradientRect(x - 4 - w, y + 2, 2, 18,0, [rgb.r,rgb.g,rgb.b,255] , [rgb.g,rgb.b,rgb.r,255]);
        Render.FilledRect(x - 2 - w, y + 2, w + 2 , 18, [17, 17, 17, color[3]]);
        Render.Circle(x + 18 - w + Render.TextSize("FAKE (" + delta.toString(), font)[0], y + 8, 1, [255, 255, 255, 255]);
        draw_arc(x + 7 - w, y + 10, 5, 0, delta * 6, 2, [rgb.g,rgb.b,rgb.r, 255]);
    }else{
        Render.FilledRect(x - 4 - w, y + 2, 2, 18, [ color[0], color[1], color[2], 255]);
        Render.FilledRect(x - 2 - w, y + 2, w + 2 , 18, [17, 17, 17, color[3]]);
        Render.Circle(x + 18 - w + Render.TextSize("FAKE (" + delta.toString(), font)[0], y + 8, 1, [255, 255, 255, 255]);
        draw_arc(x + 7 - w, y + 10, 5, 0, delta * 6, 2, [color[0], color[1], color[2], 255]);
    }
    Render.StringCustom(x + 5 - w, y + 5, 0, text, [0, 0, 0, 180], font);
    Render.StringCustom(x + 4 - w, y + 4, 0, text, [255, 255, 255, 255], font);
    if (Global.IsKeyPressed(1) && UI.IsMenuOpen()) {
        const mouse_pos = Global.GetCursorPosition();
        if (in_bounds(mouse_pos, x - w, y, x + w, y + 30)) {
            UI.SetValue("Script items", "Skeet_x", mouse_pos[0] + w / 2);
            UI.SetValue("Script items", "Skeet_y", mouse_pos[1] - 20);
        }
    }
}
function draw() {
    if(!World.GetServerString()) return;
    var today = new Date();
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0"+hours1+":" : hours1+":";
    var minutes = minutes1 <= 9 ? "0" + minutes1+":" : minutes1+":";
    var seconds = seconds1 <= 9 ? "0" + seconds1 : seconds1;
    var server_tickrate = Globals.Tickrate().toString()
    var ebanaya_hueta = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), "CPlayerResource", "m_iPing")).toString() // кто это сделал - контуженный на всю голову ебаный хуесос
    color = UI.GetColor("Script items", "Skeet");
    var font = Render.AddFont("Verdana", 7, 400);
    var wGradient = UI.GetValue("Script items", "Watermark Gradient")
    var rgb = HSVtoRGB(Global.Tickcount() % 350 / 350,1,1);
    var text = "gamesense [beta] | " + Cheat.GetUsername() + " | delay: " + ebanaya_hueta + "ms | " + server_tickrate + "tick | " + hours + minutes + seconds;
    var w = Render.TextSizeCustom(text, font)[0] + 8;
    var x = Global.GetScreenSize()[0];
    x = x - w - 10;
    if(wGradient){
        Render.GradientRect(x - 4, 12, 2, 18,0, [rgb.r,rgb.g,rgb.b,255] , [rgb.g,rgb.b,rgb.r,255]);
        Render.FilledRect(x - 2, 12, w + 2 , 18, [ 17, 17, 17, color[3] ]);
    }else{
        Render.FilledRect(x - 2, 10, w + 2 , 2, [ color[0], color[1], color[2], 255 ]);
        Render.FilledRect(x - 2, 12, w + 2 , 18, [ 17, 17, 17, color[3] ]);
    }
    Render.StringCustom(x + 5, 10 + 5, 0, text, [0, 0, 0, 180], font);
    Render.StringCustom(x + 4, 10 + 4, 0, text, [ 255, 255, 255, 255 ], font);
}
Cheat.RegisterCallback("Draw", "draw"),
Global.RegisterCallback("Draw", "main_aa");
1632785529149.png
 
Сверху Снизу