UI.AddLabel('  d3c0de by Js-terrorist');
UI.AddLabel('  brokencore/clearScript');
const msg = [
    'по ебалу за тупость',
    'by best js * cuteyaw *',
    'Вступай в клуб больших членов ! покупай cuteyaw',
    'вахвзахвахва найс с кряком жмякнул',
    'ХАХАЗВАЗХВЗАХВХА НИЩЕНКА В ЧЕСТЬ ТЕБЯ РЕКУ НАЗВАЛИ',
    'про тебя даже песня есть, там типо А СОСАТЬ ЭТО ТАЛАНТ',
    'ты че не с cuteyaw\'ов играешь ? ты че мамонт ???',
    'РНБ КЛУБ! КУРИМ ЖИРНЫЙ ЧЛЕН И ЕБЕМ ТВОЮ МАТЬ!',
    'вахвазхвазхвахв изи лошок от кряка отлетел',
    'фикс брейн баг',
    'Освежись! t.me/cuteyaw_bot',
    'оНо жЕ мНе ВсЕ пРоЛузАлО',
    'оправдайся в чате',
    'изи нищая',
    'одной ногой играю ',
    'ебаный мамонт',
    'твой ник не бустит, меняй !',
    'уПал мОкРыЙ кА6аН4иК',
    'Почему твоя мать подписана у меня как \'Дроп\' ?',
    'Я твоей мамке потолок обоссал ХАХАХАХАХА',
    'Конфигов не важно сколько, ты на них сосала :)',
    'Это так, да, это так, сосать это талант',
    'Меф, кокс, героин, гашик, эксзи, амф, лучшие закладки вашего города писать в тг - fipp1337'
], get = {
    'value'(o) {
        return UI['GetValue']('Script items', o);
    },
    'text'(o) {
        return UI['GetString']('Script items', o);
    },
    'color'(o) {
        return UI['GetColor']('Script items', o);
    },
    'on_map'() {
        return World['GetServerString']();
    },
    'is_menu'() {
        return UI['IsMenuOpen']();
    },
    'inverter'() {
        return UI['IsHotkeyActive']('Anti-Aim', 'Fake angels', 'Inverter');
    }
}, set = {
    'enabled'(o, n) {
        return UI['SetEnabled']('Script items', o, n);
    },
    'value'(o, n) {
        return UI['SetValue']('Script items', o, n);
    },
    'color'(o, n) {
        return UI['SetColor']('Script items', o, n);
    }
}, add = {
    'hotkey'(o) {
        return UI['AddHotkey'](o);
    },
    'checkbox'(o) {
        return UI['AddCheckbox'](o);
    },
    'textbox'(o) {
        return UI['AddTextbox'](o);
    },
    'colorpicker'(o) {
        return UI['AddColorPicker'](o);
    },
    'slider_int'(o, n, V) {
        return UI['AddSliderInt'](o, n, V);
    },
    'slider_float'(o, n, V) {
        return UI['AddSliderFloat'](o, n, V);
    },
    'drowpown'(o, n) {
        return UI['AddDropdown'](o, n);
    },
    'multi_drowpown'(o, n) {
        return UI['AddMultiDropdown'](o, n);
    }
}, cheat = {
    'register_callback'(o, n) {
        return Cheat['RegisterCallback'](o, n);
    }
}, menu_setup = function () {
    const o = get['value']('         CUTE - YAW'), n = o == 0, V = o == 1, I = o == 2, P = o == 3;
    set['enabled']('Ping Spike Key', n), set['enabled']('Override Damage Key', n), set['enabled']('Override Damage Val', n), set['enabled']('Override Noscope Hitchance Val', n), set['enabled']('Override Air Hitchance [ssg, r8] Val', n), set['enabled']('Turn Speed Val', n), set['enabled']('Faster DT Recharge', n), set['enabled']('Safe Point on Limbs', n), set['enabled']('DT Peek Helper [ssg, awp]', n), set['enabled']('Noscope if [scar20, g3sg1]', n);
    const w = get['value']('Custom Anti-Aim');
    set['enabled']('Custom Anti-Aim', V), set['enabled']('Yaw Base', V && w), set['enabled']('Yaw', V && w), set['enabled']('Yaw Jitter', V && w), set['enabled']('Yaw Jitter Value', V && w && get['value']('Yaw Jitter')), set['enabled']('LBY Mode', V && w), set['enabled']('LBY Jitter', V && w && get['value']('LBY Mode')), set['enabled']('LBY Jitter Speed', V && w && get['value']('LBY Mode')), set['enabled']('LBY Yaw Value', V && w), set['enabled']('Real Yaw Value', V && w), set['enabled']('Peek real / fake', V), set['enabled']('Jitter', V), set['enabled']('Jitter Fake-Lag', V), set['enabled']('Low delta on slow-mo', V && w), set['enabled']('Left Key', V), set['enabled']('Right Key', V), set['enabled']('Back Key', V), set['enabled']('Thirdperson Val', I), set['enabled']('Manual Arrows & Real Lines', I), set['enabled']('Hitlogs & Buylogs', I), set['enabled']('CuteYaw Indicator Under Crosshair', I), set['enabled']('Keybinds Under Crosshair', I), set['enabled']('Watermark Username', I && get_dropdown(get['value']('Windows'), 0)), set['enabled']('Windows Theme', I), set['enabled']('Windows', I), set['enabled']('Weapon in Scope', I), set['enabled']('Watermark Pos', I && get_dropdown(get['value']('Windows'), 0)), set['enabled']('Hitmarker', I), set['enabled']('VIP Trashtalk', I), set['enabled']('Adaptive Silent', I), set['enabled']('Hitmarker color', P && get['value']('Hitmarker')), set['enabled']('Main color', P), set['enabled']('[Manuals] Arrows', P && get['value']('Manual Arrows & Real Lines')), set['enabled']('[Manuals] Lines', P && get['value']('Manual Arrows & Real Lines')), set['enabled']('[Manuals] Background alpha', P && get['value']('Manual Arrows & Real Lines')), set['enabled']('[Custom Line] Color 1', P && get['value']('Windows Theme') == 3), set['enabled']('[Custom Line] Color 2', P && get['value']('Windows Theme') == 3), set['enabled']('[Custom Line] Color 3', P && get['value']('Windows Theme') == 3), set['enabled']('Load Preset', P), set['enabled']('watermark_x', ![]), set['enabled']('watermark_y', ![]), set['enabled']('fake_x', ![]), set['enabled']('fake_y', ![]), set['enabled']('binds_x', ![]), set['enabled']('binds_y', ![]), set['enabled']('spect_x', ![]), set['enabled']('spect_y', ![]);
}, screen = Global['GetScreenSize'](), preset = function () {
    get['value']('Load Preset') && (set['color']('Hitmarker color', [
        255,
        255,
        255,
        255
    ]), set['color']('Main color', [
        122,
        112,
        250,
        255
    ]), set['color']('[Manuals] Lines', [
        255,
        255,
        255,
        255
    ]), set['color']('[Manuals] Arrows', [
        155,
        255,
        1,
        255
    ]), set['color']('[Manuals] Background alpha', [
        0,
        0,
        0,
        75
    ]), set['color']('Hitmarker color', [
        255,
        255,
        255,
        255
    ]), set['value']('Watermark Pos', 0), set['value']('Faster DT Recharge', !![]), set['value']('Safe Point on Limbs', ![]), set['value']('DT Peek Helper [ssg, awp]', !![]), set['value']('Noscope if [scar20, g3sg1]', !![]), set['value']('Override Damage Val', 7), set['value']('Override Noscope Hitchance Val', 30), set['value']('Override Air Hitchance [ssg, r8] Val', 39), set['value']('Turn Speed Val', 290), set['value']('Jitter Fake-Lag', !![]), set['value']('Windows Theme', 2), set['value']('Windows', 1), set['value']('Manual Arrows & Real Lines', ![]), set['value']('Hitlogs & Buylogs', !![]), set['value']('CuteYaw Indicator Under Crosshair', !![]), set['value']('Keybinds Under Crosshair', !![]), set['value']('Hitmarker', !![]), set['value']('VIP Trashtalk', !![]), set['value']('Thirdperson Val', 82), set['value']('Custom Anti-Aim', !![]), set['value']('Yaw Base', 1), set['value']('Yaw', -6), set['value']('Yaw Jitter', 1), set['value']('Yaw Jitter Value', 5), set['value']('LBY Mode', 1), set['value']('LBY Jitter', 40), set['value']('LBY Jitter Speed', 25), set['value']('LBY Yaw Value', 60), set['value']('Real Yaw Value', 60), set['value']('Peek real / fake', 2), set['value']('Jitter', 0), set['value']('Jitter Fake-Lag', !![]), set['value']('Low delta on slow-mo', !![])), set['value']('Load Preset', ![]);
};
var logs = [];
const log = function (o, n, V, I) {
this['icon'] = o, this['text'] = n, this['time'] = V, this['alpha'] = I;
};
var hitmarker = [], impact = 0;
function tracer(o, n, V) {
this['eyepos'] = o, this['position'] = n, this['time'] = V;
}
const wep_in_scope = function (o) {
    Cheat['ExecuteCommand']('fov_cs_debug ' + o);
}, get_dropdown = function (o, n) {
    const V = 1 << n;
    return o & V ? !![] : ![];
}, hitboxes = [
    'generic',
    'head',
    'chest',
    'stomach',
    'left arm',
    'right arm',
    'left leg',
    'right leg',
    'body'
], get_hitbox = function (o) {
    return hitboxes[o] || 'Generic';
}, get_velocity = function (o) {
    const n = Entity['GetProp'](o, 'CBasePlayer', 'm_vecVelocity[0]');
    return Math['sqrt'](n[0] * n[0] + n[1] * n[1]);
}, Inair = function () {
    return !(Entity['GetProp'](Entity['GetLocalPlayer'](), 'CBasePlayer', 'm_fFlags') & 1 << 0) ? !![] : ![];
}, time_to_ticks = function (o) {
    return Math['floor'](0.5 + o / Globals['TickInterval']());
}, adaptive_renderbox = function (o, n, V, I, P, v, X, i, E) {
    const j = get['color']('Main color');
    var R = !o ? 5 : I / 2;
    Render['FilledRect'](n, V + 2, I - 0.5, P, [
        10,
        10,
        10,
        i
    ]), Render['StringCustom'](n + R, V + 3, o ? 1 : 0, v, [
        255,
        255,
        255,
        X
    ], E);
    if (get['value']('Windows Theme') == 0)
        Render['FilledRect'](n, V, I - 0.5, 2, [
            j[0],
            j[1],
            j[2],
            X
        ]);
    else {
        if (get['value']('Windows Theme') == 1)
            Render['GradientRect'](n, V, I / 2, 2, 1, [
                55,
                177,
                218,
                X
            ], [
                203,
                70,
                205,
                X
            ]), Render['GradientRect'](n + I / 2 - 0.5, V, I / 2, 2, 1, [
                203,
                70,
                205,
                X
            ], [
                204,
                227,
                53,
                X
            ]);
        else {
            if (get['value']('Windows Theme') == 2)
                Render['GradientRect'](n, V, I / 2, 2, 1, [
                    0,
                    0,
                    0,
                    X
                ], [
                    j[0],
                    j[1],
                    j[2],
                    X
                ]), Render['GradientRect'](n + I / 2 - 0.5, V, I / 2, 2, 1, [
                    j[0],
                    j[1],
                    j[2],
                    X
                ], [
                    0,
                    0,
                    0,
                    X
                ]);
            else {
                if (get['value']('Windows Theme') == 3) {
                    const a = get['color']('[Custom Line] Color 1'), C = get['color']('[Custom Line] Color 2'), N = get['color']('[Custom Line] Color 3');
                    Render['GradientRect'](n, V, I / 2, 2, 1, [
                        a[0],
                        a[1],
                        a[2],
                        X
                    ], [
                        C[0],
                        C[1],
                        C[2],
                        X
                    ]), Render['GradientRect'](n + I / 2 - 0.5, V, I / 2, 2, 1, [
                        C[0],
                        C[1],
                        C[2],
                        X
                    ], [
                        N[0],
                        N[1],
                        N[2],
                        X
                    ]);
                }
            }
        }
    }
};
var stored = ![], x_offs = 0, y_offs = 0;
const in_bounds = function (o, n, V, I, P) {
    return o[0] > n && o[1] > V && o[0] < I && o[1] < P;
}, move = function (o, n, V, I, P) {
    if (UI['IsMenuOpen']() && Input['IsKeyPressed'](1)) {
        const v = Global['GetCursorPosition']();
        in_bounds(v, o, n, o + V, n + I) && (!stored && (x_offs = v[0] - o, y_offs = v[1] - n, stored = !![]), UI['SetValue']('Script items', P + '_x', v[0] - x_offs), UI['SetValue']('Script items', P + '_y', v[1] - y_offs));
    } else {
        if (stored)
            stored = ![];
    }
}, dt_peek_helper = function (o) {
    if (o != 'ssg 08' && o != 'awp')
        return;
    const n = UI['IsHotkeyActive']('Rage', 'Exploits', 'Double tap') && UI['IsHotkeyActive']('Misc', 'GENERAL', 'Movement', 'Auto peek');
    UI['SetValue']('Anti-Aim', 'Rage Anti-Aim', 'Auto direction', n);
}, override_damage = function () {
    const o = Entity['GetEnemies']();
    for (i = 0; i < o['length']; i++) {
        Ragebot['ForceTargetMinimumDamage'](o[i], get['value']('Override Damage Val'));
    }
}, noscope_hitchance = function (o) {
    if (o != 'scar 20' && o != 'g3sg1')
        return;
    const n = Entity['GetProp'](Entity['GetLocalPlayer'](), 'CCSPlayer', 'm_bIsScoped');
    if (!n)
        Ragebot['ForceTargetHitchance'](Ragebot['GetTarget'](), get['value']('Override Noscope Hitchance Val'));
}, air_hitchance = function (o) {
    if (o != 'ssg 08' && o != 'r8 revolver')
        return;
    if (Inair())
        Ragebot['ForceTargetHitchance'](Ragebot['GetTarget'](), get['value']('Override Air Hitchance [ssg, r8] Val'));
}, only_noscope = function (o) {
    o != 'scar 20' && o != 'g3sg1' ? UI['SetValue']('Rage', 'GENERAL', 'General', 'Auto scope', !![]) : UI['SetValue']('Rage', 'GENERAL', 'General', 'Auto scope', ![]);
}, can_shot = function (o) {
    const n = Entity['GetLocalPlayer'](), V = Entity['GetWeapon'](n);
    if (n == null || V == null)
        return ![];
    const I = Entity['GetProp'](n, 'CCSPlayer', 'm_nTickBase'), P = Globals['TickInterval']() * (I - o);
    if (P < Entity['GetProp'](n, 'CCSPlayer', 'm_flNextAttack'))
        return ![];
    if (P < Entity['GetProp'](V, 'CBaseCombatWeapon', 'm_flNextPrimaryAttack'))
        return ![];
    return !![];
}, onBulletImpact = function () {
    if (Globals['Tickcount']() > impact) {
        if (Entity['GetEntityFromUserID'](Event['GetInt']('userid')) == Entity['GetLocalPlayer']()) {
            var o = [
                    Event['GetFloat']('x'),
                    Event['GetFloat']('y'),
                    Event['GetFloat']('z')
                ], n = Entity['GetEyePosition'](Entity['GetLocalPlayer']());
            hitmarker['push'](new tracer(n, o, Globals['Tickcount']())), impact = Globals['Tickcount']();
        }
    }
}, local_hitmarker = function () {
    var o = get['color']('Hitmarker color');
    for (var n in hitmarker) {
        var V = Render['WorldToScreen'](hitmarker[n]['position']);
        Render['FilledRect'](V[0] - 4.5, V[1], 10, 1, o), Render['FilledRect'](V[0], V[1] - 4.5, 1, 10, o);
        if (hitmarker[n]['time'] + 150 < Globals['Tickcount']())
            hitmarker['shift']();
    }
}, better_recharge = function () {
    const o = Exploit['GetCharge']();
    Exploit[(o != 1 ? 'Enable' : 'Disable') + 'Recharge'](), can_shot(16) && o != 1 && (Exploit['DisableRecharge'](), Exploit['Recharge']());
}, hitlogs = function () {
    const o = Entity['GetEntityFromUserID'](Event['GetInt']('userid')), n = Entity['GetEntityFromUserID'](Event['GetInt']('attacker')), V = 'hurt  ' + Entity['GetName'](o) + '  for  ' + Event['GetInt']('dmg_health') + '  in  ' + get_hitbox(Event['GetInt']('hitgroup')) + '\n';
    if (Entity['IsLocalPlayer'](n) && n != o)
        logs['push'](new log('e', V, Globals['Tickcount'](), 255)), Cheat['PrintColor']([
            255,
            255,
            255,
            255
        ], V);
}, on_item_purchase = function () {
    if (Event['GetInt']('team') != Entity['GetProp'](Entity['GetLocalPlayer'](), 'CBaseEntity', 'm_iTeamNum')) {
        var o = Event['GetString']('weapon');
        o = o['replace']('weapon_', ''), o = o['replace']('item_', ''), o = o['replace']('assaultsuit', 'kevlar + helmet'), o = o['replace']('incgrenade', 'molotov');
        if (o != 'unknown') {
            const n = '' + Entity['GetName'](Entity['GetEntityFromUserID'](Event['GetInt']('userid'))) + ' bought ' + o + '\n';
            logs['push'](new log('a', n, Globals['Tickcount'](), 255)), Cheat['PrintColor']([
                255,
                255,
                255,
                255
            ], n);
        }
    }
}, kill_say = function () {
    const o = Entity['GetEntityFromUserID'](Event['GetInt']('userid')), n = Entity['GetEntityFromUserID'](Event['GetInt']('attacker')), V = msg[Math['floor'](Math['random']() * msg['length'])];
    if (Entity['IsLocalPlayer'](n) && n != o)
        Cheat['ExecuteCommand']('say ' + V);
};
function safe_on_limbs() {
Ragebot['ForceHitboxSafety'](12), Ragebot['ForceHitboxSafety'](11), Ragebot['ForceHitboxSafety'](10), Ragebot['ForceHitboxSafety'](9);
}
const Outlined = function (o, n, V, I, P, w) {
    Render['StringCustom'](o + 1, n, V, I, [
        0,
        0,
        0,
        255
    ], w), Render['StringCustom'](o, n + 1, V, I, [
        0,
        0,
        0,
        255
    ], w), Render['StringCustom'](o - 1, n, V, I, [
        0,
        0,
        0,
        255
    ], w), Render['StringCustom'](o, n - 1, V, I, [
        0,
        0,
        0,
        255
    ], w), Render['StringCustom'](o, n, V, I, P, w);
}, get_spectators = function () {
    var o = [];
    const n = Entity['GetPlayers']();
    for (var V = 0; V < n['length']; V++) {
        const I = Entity['GetProp'](n[V], 'CBasePlayer', 'm_hObserverTarget');
        if (I !== 'm_hObserverTarget') {
            if (I === Entity['GetLocalPlayer']()) {
                const P = Entity['GetName'](n[V]);
                o['push'](P['length'] >= 15 ? P['substr'](0, 13) + '...' : P);
            }
        }
    }
    return o;
};
var alphaSP = [];
const draw_spectators = function (o, n, V) {
    const I = get_spectators();
    if (I['length'] > 0 || UI['IsMenuOpen']())
        alphaSP = Math['min'](alphaSP + 7 * Globals['Frametime'](), 1);
    else {
        alphaSP = alphaSP - 7 * Globals['Frametime']();
        if (alphaSP < 0)
            alphaSP = 0;
    }
    adaptive_renderbox(1, o, n, 155, 16, 'spectators (' + I['length'] + ')', alphaSP * 255, alphaSP * 90, V);
    for (var P in I) {
        Render['StringCustom'](o + 17, n + 20 + 15 * P, 0, I[P], [
            255,
            255,
            255,
            alphaSP * 255
        ], V), Render['FilledRect'](o, n + 20 + 15 * P, 13, 13, [
            35,
            35,
            35,
            alphaSP * 200
        ]), Render['StringCustom'](o + 4, n + 20 + 15 * P, 0, '?', [
            255,
            255,
            255,
            alphaSP * 255
        ], V), Render['StringCustom'](o + 101, n + 20 + 15 * P, 0, '[watching]', [
            255,
            255,
            255,
            alphaSP * 255
        ], V);
    }
    move(o, n, 155, 20, 'spect');
}, watermark = function (o, n, V) {
    const I = get['text']('Watermark Username') == '' ? Cheat['GetUsername']() : get['text']('Watermark Username'), P = get['on_map'](), h = Math['round'](Local['Latency']() * 1000 - 16)['toString'](), v = new Date(), X = v['getHours'](), i = v['getMinutes'](), E = v['getSeconds'](), j = (X < 10 ? '0' + X : X) + ':' + (i < 10 ? '0' + i : i) + ':' + (E < 10 ? '0' + E : E);
    if (h < 1)
        h = 0;
    if (!P != '')
        P = 'offline';
    const R = 'cute yaw | ' + I + ' | ' + h + ' ms | ' + P + ' | ' + j + '', a = Render['TextSizeCustom'](R, V)[0] + 10;
    var C, N;
    if (get['value']('Watermark Pos') == 0)
        C = screen[0] / 2 - a / 2, N = screen[1] - 20;
    else
        get['value']('Watermark Pos') == 1 ? (C = screen[0] - a - 10, N = 10) : (C = o, N = n);
    adaptive_renderbox(0, C, N, a, 16, R, 255, 90, V), move(o, n, a, 20, 'watermark');
}, render_shadow = function (o, n, V, I, P, v) {
    Render['FilledRect'](o, n, I + 2, P + 2, [
        0,
        0,
        0,
        155
    ]), Render['FilledRect'](o + 1, n + 1, V, P, [
        v[0],
        v[1],
        v[2],
        255
    ]);
}, render_circle = function (o, n, V, I, P, w, h) {
    for (var v = P; v < P + w; v++) {
        const X = v * Math['PI'] / 180;
        Render['Line'](o + Math['cos'](X) * V, n + Math['sin'](X) * V, o + Math['cos'](X) * I, n + Math['sin'](X) * I, h);
    }
}, fake = function (o, n, V, I) {
    const P = Math['min'](Math['abs'](Local['GetRealYaw']() - Local['GetFakeYaw']()) / 2, 60)['toFixed'](1), h = '    FAKE (' + P + ')', v = Render['TextSizeCustom'](h, V)[0] + 10;
    if (P > 60)
        P = 60;
    adaptive_renderbox(0, o, n, v, 16, h, 255, 90, V), render_circle(o + 8, n + 10, 3.2, 4.2, 0, 360 / 60 * P, [
        I[0],
        I[1],
        I[2],
        255
    ]), move(o, n, v, 20, 'fake');
};
var alpha = [];
const hotkey = function (o, n, V) {
    var I = [];
    const P = Math['round'](Local['Latency']() * 1000 - 16)['toString']();
    if (P < 0)
        P = 0;
    info = [
        [
            'Double-tap',
            [
                'Rage',
                'Exploits',
                'Double tap'
            ],
            'on'
        ],
        [
            'Hide-shots',
            [
                'Rage',
                'Exploits',
                'Hide shots'
            ],
            'on'
        ],
        [
            'Fake-duck',
            [
                'Anti-Aim',
                'Extra',
                'Fake duck'
            ],
            'on'
        ],
        [
            'Ping-spike',
            [
                'Script items',
                'Ping Spike Key'
            ],
            '' + P
        ],
        [
            'Body-aim',
            [
                'Rage',
                'General',
                'General',
                'Force body aim'
            ],
            'force'
        ],
        [
            'Safe-point',
            [
                'Rage',
                'General',
                'General',
                'Force safe point'
            ],
            'force'
        ],
        [
            'Minimum damage',
            [
                'Script items',
                'Override Damage Key'
            ],
            '' + get['value']('Override Damage Val')
        ]
    ];
    for (var h in info) {
        UI['IsHotkeyActive']['apply'](null, info[h][1]) && I['push'](h);
    }
    if (I['length'] > 0 || UI['IsMenuOpen']())
        alpha = Math['min'](alpha + 7 * Globals['Frametime'](), 1);
    else {
        alpha = alpha - 7 * Globals['Frametime']();
        if (alpha < 0)
            alpha = 0;
    }
    adaptive_renderbox(1, o, n, 141, 16, 'keybinds', alpha * 255, alpha * 90, V);
    for (var v in I) {
        var X = Render['TextSizeCustom'](info[I[v]][2], V)[0];
        Render['StringCustom'](o + 2, n + 20 + 15 * v, 0, info[I[v]][0], [
            255,
            255,
            255,
            alpha * 255
        ], V), Render['StringCustom'](o + 137 - X, n + 20 + 15 * v, 0, '' + info[I[v]][2], [
            255,
            255,
            255,
            alpha * 255
        ], V);
    }
    move(o, n, 141, 20, 'binds');
}, arrows = function (o, n) {
    const V = UI['IsHotkeyActive']('Anti-Aim', 'Fake angels', 'Inverter'), I = UI['GetValue']('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset'), P = V ? 27 : -29, w = [], h = get['color']('[Manuals] Arrows'), v = get['color']('[Manuals] Lines'), X = get['color']('[Manuals] Background alpha'), i = [
            [
                o + 43,
                n
            ],
            [
                o + 30,
                n + 7
            ],
            [
                o + 30,
                n - 7
            ]
        ], E = [
            [
                o - 43,
                n
            ],
            [
                o - 30,
                n - 7
            ],
            [
                o - 30,
                n + 7
            ]
        ];
    if (I == 90)
        w = i;
    else
        I == -90 && (w = E);
    ;
    Render['FilledRect'](o + 27, n - 7, 2, 15, [
        0,
        0,
        0,
        X[3]
    ]), Render['FilledRect'](o - 29, n - 7, 2, 15, [
        0,
        0,
        0,
        X[3]
    ]), Render['Polygon'](i, [
        0,
        0,
        0,
        X[3]
    ]), Render['Polygon'](E, [
        0,
        0,
        0,
        X[3]
    ]), Render['Polygon'](w, [
        h[0],
        h[1],
        h[2],
        255
    ]), Render['FilledRect'](o + P, n - 7, 2, 15, [
        v[0],
        v[1],
        v[2],
        255
    ]);
}, set_inverter = function () {
    return UI['ToggleHotkey']('Anti-Aim', 'Fake angels', 'Inverter');
}, deg2rad = function (o) {
    return o * Math['PI'] / 180;
}, angle_to_vec = function (o, n) {
    var V = deg2rad(o), I = deg2rad(n), P = Math['sin'](V), w = Math['cos'](V), h = Math['sin'](I), v = Math['cos'](I);
    return [
        w * v,
        w * h,
        -P
    ];
}, trace = function (o, n) {
    var V = angle_to_vec(n[0], n[1]), I = Entity['GetRenderOrigin'](o);
    I[2] += 50;
    var P = [
            I[0] + V[0] * 8192,
            I[1] + V[1] * 8192,
            I[2] + V[2] * 8192
        ], w = Trace['Line'](o, I, P);
    if (w[1] == 1)
        return;
    P = [
        I[0] + V[0] * w[1] * 8192,
        I[1] + V[1] * w[1] * 8192,
        I[2] + V[2] * w[1] * 8192
    ];
    var h = Math['sqrt']((I[0] - P[0]) * (I[0] - P[0]) + (I[1] - P[1]) * (I[1] - P[1]) + (I[2] - P[2]) * (I[2] - P[2]));
    I = Render['WorldToScreen'](I), P = Render['WorldToScreen'](P);
    if (P[2] != 1 || I[2] != 1)
        return;
    return h;
}, auto_dir = function () {
    var o = Entity['GetLocalPlayer'](), n = Local['GetViewAngles']();
    left_distance = trace(o, [
        0,
        n[1] - 22
    ]), right_distance = trace(o, [
        0,
        n[1] + 22
    ]), left_distance < 600 && right_distance < 600 && (get['value']('Peek real / fake') == 1 && (left_distance < right_distance && (get['inverter']() && set_inverter())), get['value']('Peek real / fake') == 2 && (left_distance > right_distance && (!get['inverter']() && set_inverter())));
};
var old_fakelag = 0;
const alternative_fakelag = function () {
if (Globals['Tickcount']() - old_fakelag > 5) {
    if (UI['GetValue']('Anti-Aim', 'Fake-lag', 'Limit') != 16)
        UI['SetValue']('Anti-Aim', 'Fake-lag', 'Limit', 16);
    else
        UI['SetValue']('Anti-Aim', 'Fake-lag', 'Limit', 4);
    old_fakelag = Globals['Tickcount']();
}
};
var old_inverter = 0;
const animfuck = function () {
if (Globals['Tickcount']() - old_inverter > 3) {
    if (UI['IsHotkeyActive']('Anti-Aim', 'Fake angels', 'Inverter'))
        UI['ToggleHotkey']('Anti-Aim', 'Fake angels', 'Inverter');
    else
        UI['ToggleHotkey']('Anti-Aim', 'Fake angels', 'Inverter');
    old_inverter = Globals['Tickcount']();
}
};
var old_silent = 0;
const alternative_silent = function () {
if (Globals['Tickcount']() - old_silent > 3) {
    if (UI['GetValue']('Rage', 'GENERAL', 'General', 'Silent'))
        UI['SetValue']('Rage', 'GENERAL', 'General', 'Silent', ![]);
    else
        UI['SetValue']('Rage', 'GENERAL', 'General', 'Silent', !![]);
    old_silent = Globals['Tickcount']();
}
};
var old = 0;
const jitter = function (o, n, V) {
    if (Globals['Tickcount']() - old > o) {
        if (get['value'](n) != 60)
            UI['SetValue']('Script items', n, 60);
        else
            UI['SetValue']('Script items', n, V);
        old = Globals['Tickcount']();
    }
}, Font = function (o, n, V) {
    return Render['AddFont'](o, n, V);
}, draw = function () {
    const o = get['color']('Main color'), n = Math['min'](Math['abs'](Local['GetRealYaw']() - Local['GetFakeYaw']()) / 2, 60)['toFixed'](0);
    get['value']('Manual Arrows & Real Lines') && get['on_map']() && arrows(screen[0] / 2, screen[1] / 2);
    if (get_dropdown(get['value']('Windows'), 0))
        watermark(get['value']('watermark_x'), get['value']('watermark_y'), Font('Verdana', 7, 100));
    if (get_dropdown(get['value']('Windows'), 1))
        hotkey(get['value']('binds_x'), get['value']('binds_y'), Font('Verdana', 7, 100));
    if (get_dropdown(get['value']('Windows'), 2))
        fake(get['value']('fake_x'), get['value']('fake_y'), Font('Verdana', 7, 100), o);
    if (get_dropdown(get['value']('Windows'), 3))
        draw_spectators(get['value']('spect_x'), get['value']('spect_y'), Font('Verdana', 7, 100));
    if (get['value']('Hitmarker'))
        local_hitmarker();
    get['value']('CuteYaw Indicator Under Crosshair') && get['on_map']() && (Render['StringCustom'](screen[0] / 2 - 11, screen[1] / 2 + 17, 1, 'cute', get['inverter']() ? [
        255,
        255,
        255,
        255
    ] : [
        o[0],
        o[1],
        o[2],
        255
    ], Font('Verdana', 7, 600)), Render['StringCustom'](screen[0] / 2 + 11, screen[1] / 2 + 17, 1, 'yaw', get['inverter']() ? [
        o[0],
        o[1],
        o[2],
        255
    ] : [
        255,
        255,
        255,
        255
    ], Font('Verdana', 7, 600)), Render['FilledRect'](screen[0] / 2, screen[1] / 2 + 32, 30 / 60 * n, 2, [
        o[0],
        o[1],
        o[2],
        255
    ]), Render['FilledRect'](screen[0] / 2 - 30 / 60 * n + 2, screen[1] / 2 + 32, 30 / 60 * n, 2, [
        o[0],
        o[1],
        o[2],
        255
    ]));
    if (get['value']('Hitlogs & Buylogs') && get['on_map']())
        for (var V in logs) {
            Render['StringCustom'](5, 5 - V * -20, 0, logs[V]['icon'], [
                100,
                155,
                255,
                logs[V]['alpha']
            ], Font('untitled-font-1', 10, 100)), Render['StringCustom'](22, 5 - V * -20, 0, logs[V]['text'], [
                255,
                255,
                255,
                logs[V]['alpha']
            ], Font('Verdana', 7, 100));
            if (logs[V]['time'] + 200 < Globals['Tickcount']())
                logs[V]['alpha'] -= Globals['Frametime']() * 600;
            if (logs[V]['alpha'] < 0)
                logs['shift']();
        }
    if (get['value']('Keybinds Under Crosshair') && get['on_map']()) {
        var I = [];
        const P = Exploit['GetCharge'](), w = UI['IsHotkeyActive']('Anti-Aim', 'Extra', 'Fake duck'), h = [
                157 + (255 - 0) * P / 1,
                0 + (255 - 0) * P / 1,
                20 + (0 - 20) * P / 1,
                255
            ];
        UI['IsHotkeyActive']('Rage', 'Exploits', 'Double tap') && I['push']({
            'name': w ? 'DT (fd)' : 'DT',
            'color': h
        });
        ;
        UI['IsHotkeyActive']('Rage', 'Exploits', 'Hide shots') && I['push']({
            'name': 'HIDE',
            'color': [
                255,
                255,
                255,
                255
            ]
        });
        ;
        UI['IsHotkeyActive']('Rage', 'General', 'General', 'Force safe point') && I['push']({
            'name': 'SAFE',
            'color': [
                155,
                155,
                255,
                255
            ]
        });
        ;
        UI['IsHotkeyActive']('Rage', 'General', 'General', 'Force body aim') && I['push']({
            'name': 'BAIM',
            'color': [
                155,
                155,
                255,
                255
            ]
        });
        ;
        UI['IsHotkeyActive']('Script items', 'Override Damage Key') && I['push']({
            'name': 'DMG',
            'color': [
                255,
                207,
                105,
                255
            ]
        });
        ;
        for (V = 0; V < I['length']; V++) {
            Outlined(screen[0] / 2, screen[1] / 2 + 38 - V * -13, 1, I[V]['name'], I[V]['color'], Font('Small Fonts', 5, 100));
        }
    }
    if (get['is_menu']())
        menu_setup(), preset();
};
var at_target = !![];
const set_yaw = function (o) {
    return UI['SetValue']('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset', o);
}, set_jitter = function (o) {
    return UI['SetValue']('Anti-Aim', 'Rage Anti-Aim', 'Jitter offset', o);
}, create_move = function () {
    const o = get['inverter'](), n = get_velocity(Entity['GetLocalPlayer']()), V = Math['round'](n), I = UI['GetValue']('Anti-Aim', 'Rage Anti-Aim', 'Yaw offset');
    UI['SetValue']('Anti-Aim', 'Rage Anti-Aim', 'At targets', at_target);
    get['value']('Custom Anti-Aim') ? (set_jitter(get['value']('Yaw Jitter') ? get['value']('Yaw Jitter Value') : 0), AntiAim['SetOverride'](1), get['value']('LBY Mode') && jitter(get['value']('LBY Jitter Speed'), 'LBY Yaw Value', get['value']('LBY Jitter')), get['value']('Low delta on slow-mo') && UI['IsHotkeyActive']('Anti-Aim', 'Extra', 'Slow walk') ? (AntiAim['SetRealOffset'](-18), AntiAim['SetFakeOffset'](-6), AntiAim['SetLBYOffset'](0), set_jitter(0)) : (o ? AntiAim['SetRealOffset'](get['value']('Real Yaw Value')) : AntiAim['SetRealOffset'](-get['value']('Real Yaw Value')), o ? AntiAim['SetLBYOffset'](-get['value']('LBY Yaw Value')) : AntiAim['SetLBYOffset'](get['value']('LBY Yaw Value')))) : AntiAim['SetOverride'](0);
    UI['IsHotkeyActive']('Script items', 'Back Key') && set_yaw(get['value']('Yaw'));
    ;
    UI['IsHotkeyActive']('Script items', 'Left Key') && set_yaw(-90);
    ;
    UI['IsHotkeyActive']('Script items', 'Right Key') && set_yaw(90);
    ;
    I == 90 || I == -90 ? at_target = ![] : at_target = get['value']('Yaw Base');
    const P = Entity['GetName'](Entity['GetWeapon'](Entity['GetLocalPlayer']()));
    noscope_hitchance(P), air_hitchance(P), UI['SetValue']('Misc', 'GENERAL', 'Movement', 'Turn speed', get['value']('Turn Speed Val'));
    get_dropdown(get['value']('Jitter'), 0) && V > 6 && !Inair() && !UI['IsHotkeyActive']('Anti-Aim', 'Extra', 'Slow walk') && animfuck();
    get_dropdown(get['value']('Jitter'), 1) && Inair() && animfuck();
    get['value']('Weapon in Scope') ? (wep_in_scope(90), UI['SetValue']('Misc', 'GENERAL', 'Miscellaneous', 'Force sv_cheats', !![])) : wep_in_scope(0);
    if (!get['value']('Peek real / fake') == 0)
        auto_dir();
    if (get['value']('Adaptive Silent'))
        alternative_silent();
    if (get['value']('Jitter Fake-Lag'))
        alternative_fakelag();
    if (get['value']('Thirdperson Val') > 51)
        UI['SetValue']('Visual', 'WORLD', 'View', 'Thirdperson', get['value']('Thirdperson Val'));
    UI['SetValue']('Misc', 'GENERAL', 'Miscellaneous', 'Extended backtracking', UI['IsHotkeyActive']('Script items', 'Ping Spike Key'));
    if (UI['IsHotkeyActive']('Script items', 'Override Damage Key'))
        override_damage();
    if (get['value']('DT Peek Helper [ssg, awp]'))
        dt_peek_helper(P);
    if (get['value']('Noscope if [scar20, g3sg1]'))
        only_noscope(P);
    if (get['value']('Safe Point on Limbs'))
        safe_on_limbs();
    get['value']('Faster DT Recharge') ? better_recharge() : Exploit['EnableRecharge']();
}, on_player_death = function () {
    if (get['value']('VIP Trashtalk'))
        kill_say();
}, reset = function () {
    old_inverter = 0, old_fakelag = 0, old_silent = 0, old = 0;
}, on_unload = function () {
    Exploit['EnableRecharge'](), AntiAim['SetOverride'](0), wep_in_scope(0);
};
add['drowpown']('         CUTE - YAW', [
'Rage',
'Anti-Aim',
'Visual',
'Settings'
]), add['checkbox']('Faster DT Recharge'), add['checkbox']('Safe Point on Limbs'), add['checkbox']('DT Peek Helper [ssg, awp]'), add['checkbox']('Noscope if [scar20, g3sg1]'), add['hotkey']('Ping Spike Key'), add['hotkey']('Override Damage Key'), add['slider_int']('Override Damage Val', 1, 130), add['slider_int']('Override Noscope Hitchance Val', 1, 130), add['slider_int']('Override Air Hitchance [ssg, r8] Val', 1, 130), add['slider_int']('Turn Speed Val', 1, 350), add['checkbox']('Custom Anti-Aim'), add['drowpown']('Yaw Base', [
'Local view',
'At targets'
]), add['slider_int']('Yaw', -180, 180), add['drowpown']('Yaw Jitter', [
'Off',
'Offset'
]), add['slider_int']('Yaw Jitter Value', -180, 180), add['drowpown']('LBY Mode', [
'Static',
'Jitter'
]), add['slider_int']('LBY Jitter', 0, 60), add['slider_int']('LBY Jitter Speed', 5, 60), add['slider_int']('LBY Yaw Value', 0, 60), add['slider_int']('Real Yaw Value', 0, 60), add['drowpown']('Peek real / fake', [
'Off',
'Real',
'Fake'
]), add['multi_drowpown']('Jitter', [
'Move',
'Air'
]), add['checkbox']('Jitter Fake-Lag'), add['checkbox']('Low delta on slow-mo'), add['hotkey']('Left Key'), add['hotkey']('Right Key'), add['hotkey']('Back Key'), add['multi_drowpown']('Windows', [
'Watermark',
'Keybinds',
'Fake',
'Spectators'
]), add['drowpown']('Windows Theme', [
'Static line',
'Gradient line',
'Fade line',
'Custom Gradiend line'
]), add['drowpown']('Watermark Pos', [
'Center at the bottom',
'Top right',
'Free pos'
]), add['textbox']('Watermark Username'), add['checkbox']('CuteYaw Indicator Under Crosshair'), add['checkbox']('Manual Arrows & Real Lines'), add['checkbox']('Keybinds Under Crosshair'), add['checkbox']('Hitlogs & Buylogs'), add['checkbox']('Weapon in Scope'), add['checkbox']('Adaptive Silent'), add['checkbox']('VIP Trashtalk'), add['checkbox']('Hitmarker'), add['slider_int']('Thirdperson Val', 50, 300), add['colorpicker']('Main color'), add['colorpicker']('Hitmarker color'), add['colorpicker']('[Manuals] Arrows'), add['colorpicker']('[Manuals] Lines'), add['colorpicker']('[Manuals] Background alpha'), add['colorpicker']('[Custom Line] Color 1'), add['colorpicker']('[Custom Line] Color 2'), add['colorpicker']('[Custom Line] Color 3'), add['checkbox']('Load Preset'), add['slider_int']('watermark_x', 0, screen[0]), add['slider_int']('watermark_y', 0, screen[1]), add['slider_int']('fake_x', 0, screen[0]), add['slider_int']('fake_y', 0, screen[1]), add['slider_int']('binds_x', 0, screen[0]), add['slider_int']('binds_y', 0, screen[1]), add['slider_int']('spect_x', 0, screen[0]), add['slider_int']('spect_y', 0, screen[1]), cheat['register_callback']('player_hurt', 'hitlogs'), cheat['register_callback']('item_purchase', 'on_item_purchase'), cheat['register_callback']('CreateMove', 'create_move'), cheat['register_callback']('Draw', 'draw'), cheat['register_callback']('player_death', 'on_player_death'), cheat['register_callback']('bullet_impact', 'onBulletImpact'), cheat['register_callback']('player_connect_full', 'reset'), cheat['register_callback']('Unload', 'on_unload');