Ищу Есть такое на в3?

  • 139
  • 10
JavaScript:
var ping_info = [];
var last_time = Global.Curtime();
const window_x = UI.AddSliderInt('VAR - X', 0, Global.GetScreenSize()[0]);
const window_y = UI.AddSliderInt('VAR - Y', 0, Global.GetScreenSize()[1]);
UI.SetEnabled('Script items', 'VAR - X', false);
UI.SetEnabled('Script items', 'VAR - Y', false);

function hex_to_ascii(_0x48e4x114) {
    var _0x48e4x115 = _0x48e4x114.toString();
    var _0x48e4x116 = '';
    for (var _0x48e4x117 = 0; _0x48e4x117 < _0x48e4x115['length']; _0x48e4x117 += 2) {
        _0x48e4x116 += String['fromCharCode'](parseInt(_0x48e4x115['substr'](_0x48e4x117, 2), 16))
    };
    return _0x48e4x116
}

function handle_visibility() {
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'VAR - X', false);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'VAR - Y', false)
}

function get(_0x48e4x11a) {
    return UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a)
}

function set(_0x48e4x11a, _0x48e4x9d) {
    return UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a, _0x48e4x9d)
}

function handle_dragging() {
    var in_bounds = function (vec, x1, y1, _0x48e4xa9, _0x48e4xaa) {
        return (vec[0] > x1) && (vec[1] > y1) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
    };
    if (Global.IsKeyPressed(1)) {
        const _0x48e4xa7 = get('VAR - X'),
            _0x48e4xa8 = get('VAR - Y');
        const _0x48e4x120 = Global.GetCursorPosition();
        if (in_bounds(_0x48e4x120, _0x48e4xa7 - 15, _0x48e4xa8 - 15, _0x48e4xa7 + 15, _0x48e4xa8 + 15)) {
            set('VAR - X', _0x48e4x120[0] + 2);
            set('VAR - Y', _0x48e4x120[1] + 5)
        }
    }
}

function draw_container() {
    const _0x48e4xa7 = get('VAR - X'),
        _0x48e4xa8 = get('VAR - Y');
    var _0x48e4x122 = {
        'ping': 0
    };
    Render.FilledRect(_0x48e4xa7 - 20, _0x48e4xa8 - 16, 65, 20, [15, 15, 15, varc[3]]);
    Render.String(_0x48e4xa7 - 17, _0x48e4xa8 - 12, 0, 'VAR | ', [255, 255, 255, 255], 8);
    if (Global.Curtime() - last_time > 0.5) {
        last_time = Global.Curtime();
        ping_info['unshift'](Global.Latency() + 5)
    };
    varc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Var Color');
    if (ping_info['length'] > 4) {
        ping_info['pop']()
    };
    for (i = 0; i < ping_info['length']; i++) {
        _0x48e4x122['ping'] += ping_info[i];
        Render.GradientRect(_0x48e4xa7 + -i * 5 + 35, _0x48e4xa8 - ping_info[i] / 100 * 70, 5, ping_info[i] / 100 * 70, 0, [95, 35, 35, 0], [varc[0], varc[1], varc[2], 255])
    }
}

function main() {
    draw_container();
    handle_dragging()
}

function reset() {
    last_time = Global.Curtime();
    ping_info = []
}
Global.RegisterCallback('Draw', 'main');
Global.RegisterCallback('player_connect_full', 'reset');
var fps_info = [];
var last_timee = Global.Curtime();
const win_x = UI.AddSliderInt('IO - X', 0, Global.GetScreenSize()[0]);
const win_y = UI.AddSliderInt('IO - Y', 0, Global.GetScreenSize()[1]);
UI.SetEnabled('Script items', 'IO - X', false);
UI.SetEnabled('Script items', 'IO - Y', false);

function hex_to_ascii(_0x48e4x114) {
    var _0x48e4x115 = _0x48e4x114.toString();
    var _0x48e4x116 = '';
    for (var _0x48e4x117 = 0; _0x48e4x117 < _0x48e4x115['length']; _0x48e4x117 += 2) {
        _0x48e4x116 += String['fromCharCode'](parseInt(_0x48e4x115['substr'](_0x48e4x117, 2), 16))
    };
    return _0x48e4x116
}

function get(_0x48e4x11a) {
    return UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a)
}

function set(_0x48e4x11a, _0x48e4x9d) {
    return UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a, _0x48e4x9d)
}

function handle_draggin() {
    var in_bounds = function (vec, x1, y1, _0x48e4xa9, _0x48e4xaa) {
        return (vec[0] > x1) && (vec[1] > y1) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
    };
    if (Global.IsKeyPressed(1)) {
        const _0x48e4xa7 = get('IO - X'),
            _0x48e4xa8 = get('IO - Y');
        const _0x48e4x120 = Global.GetCursorPosition();
        if (in_bounds(_0x48e4x120, _0x48e4xa7 - 20, _0x48e4xa8 - 20, _0x48e4xa7 + 20, _0x48e4xa8 + 20)) {
            set('IO - X', _0x48e4x120[0] + 2);
            set('IO - Y', _0x48e4x120[1] + 5)
        }
    }
}

function draw_containe() {
    const _0x48e4xa7 = get('IO - X'),
        _0x48e4xa8 = get('IO - Y');
    var _0x48e4x122 = {
        'fps': 0
    };
    Render.FilledRect(_0x48e4xa7 - 20, _0x48e4xa8 - 16, 55, 20, [15, 15, 15, fpsc[3]]);
    Render.String(_0x48e4xa7 - 17, _0x48e4xa8 - 12, 0, 'IO | ', [255, 255, 255, 255], 8);
    if (Global.Curtime() - last_timee > 0.5) {
        last_timee = Global.Curtime();
        fps_info['unshift'](1 / Global.Frametime())
    };
    fpsc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'FPS Color');
    if (fps_info['length'] > 4) {
        fps_info['pop']()
    };
    for (i = 0; i < fps_info['length']; i++) {
        _0x48e4x122['fps'] += fps_info[i];
        Render.GradientRect(_0x48e4xa7 - i * 5 + 25, _0x48e4xa8 - fps_info[i] / Convar.GetInt('fps_max') * 35, 5, fps_info[i] / Convar.GetInt('fps_max') * 35, 0, [35, 35, 95, 0], [fpsc[0], fpsc[1], fpsc[2], 255])
    }
}

function mainn() {
    draw_containe();
    handle_draggin()
}

function Areset() {
    llast_time = Global.Curtime();
    fps_info = []
}
Global.RegisterCallback('Draw', 'mainn');
Global.RegisterCallback('player_connect_full', 'Areset');
const ms_x = UI.AddSliderInt('MS - X', 0, Global.GetScreenSize()[0]);
const ms_y = UI.AddSliderInt('MS - Y', 0, Global.GetScreenSize()[1]);
UI.SetEnabled('Script items', 'MS - X', false);
UI.SetEnabled('Script items', 'MS - Y', false);

function drag() {
    var in_bounds = function (vec, x1, y1, _0x48e4xa9, _0x48e4xaa) {
        return (vec[0] > x1) && (vec[1] > y1) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
    };
    if (Global.IsKeyPressed(1)) {
        const _0x48e4xa7 = get('MS - X'),
            _0x48e4xa8 = get('MS - Y');
        const _0x48e4x120 = Global.GetCursorPosition();
        if (in_bounds(_0x48e4x120, _0x48e4xa7 - 35, _0x48e4xa8 - 35, _0x48e4xa7 + 35, _0x48e4xa8 + 35)) {
            set('MS - X', _0x48e4x120[0] + 25);
            set('MS - Y', _0x48e4x120[1] - 10)
        }
    }
}

function main_mshz() {
    if (!World.GetServerString()) {
        return
    };
    const _0x48e4xe2 = Math['round'](Local.Latency() * 1000 - 16);
    var _0x48e4xba = Render.AddFont('Verdana', 7, 100);
    var _0x48e4xb9 = +_0x48e4xe2 + 'ms / 60hz';
    var _0x48e4xc2 = Render.TextSizeCustom(_0x48e4xb9, _0x48e4xba)[0] + 8;
    const _0x48e4xa7 = get('MS - X'),
        _0x48e4xa8 = get('MS - Y');
    msc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'MS & HZ Color');
    Render.FilledRect(_0x48e4xa7 - _0x48e4xc2, _0x48e4xa8 + 4, _0x48e4xc2, 20, [17, 17, 17, msc[3]]);
    Render.StringCustom(_0x48e4xa7 + 4 - _0x48e4xc2, _0x48e4xa8 + 7, 0, _0x48e4xb9, [0, 0, 0, 180], _0x48e4xba);
    Render.StringCustom(_0x48e4xa7 + 4 - _0x48e4xc2, _0x48e4xa8 + 7, 0, _0x48e4xb9, [255, 255, 255, 255], _0x48e4xba);
    var _0x48e4xe4 = 75;
    var _0x48e4x131 = UI.GetValue('Script items', 'Style Indicators');
    if (_0x48e4x131 == 0) {
        Render.GradientRect(_0x48e4xa7 - _0x48e4xc2, _0x48e4xa8 + 23, _0x48e4xc2, 1, 2, [55, 177, 218, 255], [203, 70, 205, 255]);
        Render.GradientRect(_0x48e4xa7 - _0x48e4xc2, _0x48e4xa8 + 23, _0x48e4xc2, 1, 2, [203, 70, 205, 255], [204, 227, 53, 255])
    } else {
        if (_0x48e4x131 == 1) {
            Render.GradientRect(_0x48e4xa7 - _0x48e4xc2 - 3, _0x48e4xa8 + 23, 35, 2, 1, [msc[0], msc[1], msc[2], 0], [msc[0], msc[1], msc[2], 255]);
            Render.GradientRect(_0x48e4xa7 - _0x48e4xc2 - (-31), _0x48e4xa8 + 23, 35, 2, 1, [msc[0], msc[1], msc[2], 255], [msc[0], msc[1], msc[2], 0])
        }
    }
}
Global.RegisterCallback('Draw', 'main_mshz');
Global.RegisterCallback('Draw', 'drag');
UI.AddColorPicker('FPS Color');
UI.AddColorPicker('Var Color');
UI.AddColorPicker('MS & HZ Color');
var msc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'MS & HZ Color');
var logc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'HitLogs Color');
var fpsc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'FPS Color');
var varc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Var Color');
var standart = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Watermark (Standart) Color');
var colorhotkeys = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys color');
if (msc[3] == 0) {
    UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'MS & HZ Color', [255, 255, 255, 255])
};
if (standart[3] == 0) {
    UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'Watermark (Standart) Color', [255, 255, 255, 255])
};
if (logc[3] == 0) {
    UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'HitLogs Color', [255, 255, 255, 255])
};
if (varc[3] == 0) {
    UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'Var Color', [35, 35, 35, 255])
};
if (fpsc[3] == 0) {
    UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'FPS Color', [35, 35, 35, 255])
};
if (colorhotkeys[3] == 0) {
    UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys color', [89, 119, 239, 3])
};
var alp


это закидываешь visual studio code (noadd) и радуешься
можешь помочь в дс?
 
Сверху Снизу