JS [weave] Grenade helper

  • 147
  • 41
JavaScript:
var _0x3d3873 = _0x3af6;
(function (_0x405e60, _0x33a3a3) {
    var _0x2be34b = _0x3af6,
        _0x40d01f = _0x405e60();
    while (!![]) {
        try {
            var _0x106ecd = -parseInt(_0x2be34b(0xd8)) / 0x1 * (parseInt(_0x2be34b(0xf8)) / 0x2) + -parseInt(_0x2be34b(0x11f)) / 0x3 * (parseInt(_0x2be34b(0xd0)) / 0x4) + -parseInt(_0x2be34b(0x111)) / 0x5 * (-parseInt(_0x2be34b(0xdc)) / 0x6) + parseInt(_0x2be34b(0xe3)) / 0x7 * (parseInt(_0x2be34b(0xc5)) / 0x8) + -parseInt(_0x2be34b(0xce)) / 0x9 + parseInt(_0x2be34b(0x11c)) / 0xa * (-parseInt(_0x2be34b(0xcc)) / 0xb) + parseInt(_0x2be34b(0xee)) / 0xc * (parseInt(_0x2be34b(0x10c)) / 0xd);
            if (_0x106ecd === _0x33a3a3) break;
            else _0x40d01f['push'](_0x40d01f['shift']());
        } catch (_0x389a45) {
            _0x40d01f['push'](_0x40d01f['shift']());
        }
    }
}(_0x6bb7, 0x25019));
var locations = {
    "de_mirage": [
        ["HE Grenade, Molotov", "A Palace", "throw+forward", "Anti-Push", [63.99, -1503.83, -135.97], [-16.32, -93.96], 0, 1, 0, 0, false, 0, 14],
        ["Molotov", "B Palace", "throw", "Anti-Oneway", [-1039.11, 277.70, -327.97], [-34.26, 48.03], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Box FD", "throw+forward+jump", "Anti-Oneway", [372.92, -1711.76, -158.42], [17.23, 124.46], 0, 1, 0, 0, false, 0, 20],
        ["HE Grenade, Molotov", "Stairs", "throw", "Position", [-24.76, -1545.77, -127.97], [-32.72, 170.69], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Tetris", "throw+forward", "Position", [-783.68, -1627.47, -128.32], [-20.23, 8.82], 0, 1, 0, 0, false, 0, 14],
        ["HE Grenade, Molotov", "Fakeduck Box", "throw+jump", "Anti-Oneway", [-917.12, -380.41, -8.09], [6.01, -149.89], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "CT Stairs", "throw+forward+jump", "From T Stairs", [-91.10, -1418.00, -75.97], [-13.64, -63.86], 0, 1, 0, 0, false, 0, 14],
        ["HE Grenade, Molotov", "Box FD", "throw+forward", "Position", [16.17, -2238.85, 0.03], [-8.81, 17.60], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Box FD", "throw+forward", "Anti-Oneway", [146.38, -2376.00, 0.03], [-4.27, 108.80], 0, 1, 0, 0, false, 0, 9],
        ["Molotov", "Chair", "throw+forward+jump", "Anti-Highground", [-698.63, -903.67, -192.14], [-1, 71.41], 0, 1, 0, 0, false, 0, 10],
        ["Molotov", "Roof", "throw+forward+jump", "Anti-Highground", [-28.12, -1917.11, 0.03], [2.18, 69.89], 0, 1, 0, 0, false, 0, 20],
        ["Molotov", "Window", "throw+forward+jump", "Position", [324.05, -181.90, -125.29], [6.05, -152.72], 0, 1, 0, 0, false, 0, 20],
        ["HE Grenade, Molotov", "Box", "throw+forward", "Position", [-526.51, -1415.61, -56.28], [6.85, -67.11], 0, 1, 0, 0, false, 0, 5],
        ["Molotov", "Connector", "throw+forward", "Position", [-307.50, -934.99, -125.89], [-11.41, 109.12], 0, 1, 0, 0, false, 0, 10],
        ["HE Grenade, Molotov", "Middle", "throw+jump", "Anti-Oneway", [-1000.51, 291.61, -126.47], [9.87, -64.84], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Under T Spawn", "throw+forward", "Position", [1256.00, -1460.52, -127.97], [-12.65, 60.17], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Push Palace", "throw+forward", "Position", [446.43, -2290.79, 0.03], [-0.60, -168.94], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Anti-Push T Spawn", "throw+forward", "Position", [1159.14, 299.72, -215.24], [-14.74, 138.71], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Push T Spawn", "throw+forward", "Position", [307.02, 324.83, -221.52], [-16.11, 38.94], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Middle", "throw+jump", "Anti-Oneway", [-1000.51, 291.61, -126.47], [9.87, -64.84], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Under", "throw+forward", "Position", [-539.27, -1014.77, -127.97], [13.92, 130.32], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Tetris", "throw+forward", "Position", [-1093.67, -1525.75, -118.45], [-10.94, -1.01], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Under", "throw", "Position", [-1178.61, -780.20, -127.97], [9.58, 48.44], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Push", "throw+forward", "Position", [-1108.11, -680.34, -94.97], [-9.51, 56.69], 0, 1, 0, 0, false, 0, 0],
    ],
    "de_overpass": [
        ["HE Grenade, Molotov", "Lists", "throw", "Anti-Oneway", [-1581.80, -774.83, 176.03], [-6.65, 65.36], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Barrels", "throw", "Anti-Oneway", [-870.75, -574.71, 136.03], [-14.65, 87.30], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Water/Pillar", "throw", "Position", [-856.13, -638.41, 136.03], [-3.76, 104.20], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Water", "throw+jump", "Anti-Oneway", [-1558.53, -1045.42, 43.31], [3, 70.58], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Balcony", "throw+jump", "Anti-Oneway", [-945.65, -638.91, 136.03], [0, 120.48], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Barrels", "throw+jump+forward", "Anti-Oneway", [-601.82, -1129.47, 99.91], [2, 98.15], 0, 1, 0, 0, false, 0, 10],
        ["HE Grenade, Molotov", "Barrels", "throw+forward", "Anti-Highground", [-431.98, 362.70, 58.33], [-20.61, -153.89], 0, 1, 0, 0, false, 0, 5],
        ["HE Grenade, Molotov", "Water", "throw", "Anti-Oneway", [-1247.94, -202.65, 140.81], [-39.35, 84.43], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Short", "throw", "Position", [-1202.62, -157.55, 181.03], [-8.85, -77.42], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Barrels", "throw+jump", "Anti-Oneway", [-1586.66, -667.21, 176.03], [1.17, -43.50], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Trash can", "throw+jump", "Anti-Oneway", [-509.75, -1357.57, 184.03], [10.16, -91.09], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Lists", "throw+jump+forward", "Anti-Oneway", [-1071.89, -533.96, 136.03], [-7.00, -110.34], 0, 1, 0, 0, false, 0, 8],
        ["Molotov", "Pit", "throw+jump+forward", "Anti-Oneway", [-753.58, 46.61, 104.82], [-1.30, 123.74], 0, 1, 0, 0, false, 0, 10],
        ["HE Grenade, Molotov", "Bridge", "throw", "Anti-Highground", [-1202.89, 363.58, 81.04], [-48.21, -96.06], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Pit", "throw+forward+jump", "Anti-Oneway", [-1111.97, -982.21, 40.03], [2.41, 157.69], 0, 1, 0, 0, false, 0, 15],
    ],
    "de_dust2": [
        
    ],
    "de_train": [
        
    ],
    "de_inferno": [
        
    ],
    "de_vertigo": [
        
    ],
    "de_cobblestone": [
        
    ],
    "de_nuke": [
        
    ],
    "de_bank": [
        
    ],
},
    color = [0xff, 0x78, 0x8c];
ui[_0x3d3873(0xf9)]('Map select', 'map_select', 0x1, 0x9), ui['add_slider'](_0x3d3873(0xc6), _0x3d3873(0xfa), 0x64, 0x3e8), ui[_0x3d3873(0xf9)](_0x3d3873(0xcd), _0x3d3873(0x11b), 0x2d, 0x3c), ui['add_slider'](_0x3d3873(0x10d), _0x3d3873(0xdd), 0xa, 0xb4), ui[_0x3d3873(0xe7)](_0x3d3873(0xdf), _0x3d3873(0x119)), vars['set_int'](_0x3d3873(0xed), 0x12c), vars[_0x3d3873(0xe1)](_0x3d3873(0xd3), 0x32), vars['set_int']('js.nade_fov', 0x28);

function _0x3af6(_0x31ab57, _0x16b33b) {
    var _0x6bb736 = _0x6bb7();
    return _0x3af6 = function (_0x3af631, _0x59df00) {
        _0x3af631 = _0x3af631 - 0xc3;
        var _0x1639a5 = _0x6bb736[_0x3af631];
        return _0x1639a5;
    }, _0x3af6(_0x31ab57, _0x16b33b);
}

function _0x6bb7() {
    var _0x1053cf = ['Sponsored by IDEAL.YAW', 'render_map', 'set_movement', 'get_int', 'get_local_player', '], 0, 1, 0, 0, false, 0, 0],', 'get_map', 'right', 'filled_circle', 'text', 'Smoke', 'de_bank', 'molotov.png', '13RvqOqc', 'Fov', 'print_to_console', 'abs', 'createmove', '205MbxREd', 'jump', 'includes', 'okey lets go', 'split', 'cos', 'get_menu_position', 'toFixed', 'get_pos', 'get_view_angles', 'active_distance', '20icTlms', 'de_dust2', '-jump', '145941usRsPl', 'render_positions', '], [', 'de_cobblestone', 'get_menu_alpha', 'de_inferno', 'Molotov', '3232zqVzEg', 'Render distance', 'atv', 'get_bool', '+jump', 'go_to', 'get_screen_size', '936221rhKCeJ', 'Active distance', '121896UkkWga', 'line', '8gFuAYY', 'lerp', 'distance', 'js.active_distance', 'backward', 'left', 'frametime', 'get_text_size', '214787YilmjT', 'filled_rect', 'render', 'circle', '43788FTuGFu', 'nade_fov', 'sqrt', 'Get nade position (for devs)', 'rect', 'set_int', 'set_bool', '2345hhfriW', 'forward', 'js.nade_fov', 'de_mirage', 'add_checkbox', 'js.map_select', 'set_sidemove', 'set_forwardmove', 'de_vertigo', 'C:\\GrenadeHelper\\', 'js.render_distance', '2554392vVYjQv', 'get_origin', 'execute_command', 'get_buttons', 'picture', '|> ', 'sin', 'world_to_screen', 'HE Grenade', 'length', '2BHNpQH', 'add_slider', 'render_distance', 'js.get_pos', 'throw', 'set_view_angles', 'de_train'];
    _0x6bb7 = function () {
        return _0x1053cf;
    };
    return _0x6bb7();
}
var helpers = {
        'get_text_size': function (_0x14ae09) {
            var _0x157196 = _0x3d3873,
                _0xf295da = _0x14ae09[_0x157196(0x115)]('\x0a'),
                _0x2bc728 = 0x0;
            if (_0xf295da['length'] - 0x1 > 0x1)
                for (var _0x573f9f = 0x0; _0x573f9f < _0xf295da[_0x157196(0xf7)]; _0x573f9f++) {
                    if (_0x2bc728 < _0xf295da[_0x573f9f][_0x157196(0xf7)] * 5.3) _0x2bc728 = _0xf295da[_0x573f9f]['length'] * 5.3;
                } else _0x2bc728 = _0x14ae09[_0x157196(0xf7)] * 5.3;
            return _0x2bc728;
        },
        'distance': function (_0x12e094, _0x4520ac) {
            var _0x14269f = _0x3d3873,
                _0x4b7b15 = _0x12e094[0x0],
                _0x4a014e = _0x12e094[0x1],
                _0x2ae750 = _0x12e094[0x2],
                _0x47e617 = _0x4520ac[0x0],
                _0xf173ce = _0x4520ac[0x1],
                _0x5edcab = _0x4520ac[0x2],
                _0x454705 = _0x4b7b15 - _0x47e617,
                _0xe6ab24 = _0x4a014e - _0xf173ce,
                _0x55ac05 = _0x2ae750 - _0x5edcab;
            return Math[_0x14269f(0xde)](_0x454705 * _0x454705 + _0xe6ab24 * _0xe6ab24 + _0x55ac05 * _0x55ac05);
        },
        'lerp': function (_0x2d18cc, _0x967d6a, _0x289759) {
            return _0x2d18cc + (_0x967d6a - _0x2d18cc) * _0x289759;
        },
        'atv': function (_0x229c69, _0x366dbf) {
            var _0x59dd6b = _0x3d3873;
            return [Math[_0x59dd6b(0x116)](_0x229c69 * Math['PI'] / 0xb4) * Math[_0x59dd6b(0x116)](_0x366dbf * Math['PI'] / 0xb4), Math['cos'](_0x229c69 * Math['PI'] / 0xb4) * Math[_0x59dd6b(0xf4)](_0x366dbf * Math['PI'] / 0xb4), -Math[_0x59dd6b(0xf4)](_0x229c69 * Math['PI'] / 0xb4)];
        }
    },
    usercmd = {
        'set_movement': function (_0x4f35be, _0x5efa19) {
            var _0x5d1d6d = _0x3d3873;
            user_cmd[_0x5d1d6d(0xea)](_0x4f35be), user_cmd[_0x5d1d6d(0xe9)](_0x5efa19);
        },
        'go_to': function (_0x1ab237) {
            var _0x323dd6 = _0x3d3873,
                _0x42abb7 = entity[_0x323dd6(0x103)](),
                _0x25eea0 = entity[_0x323dd6(0xef)](_0x42abb7),
                _0x2b292f = user_cmd['get_view_angles'](),
                _0x3e6bc8 = _0x25eea0[0x0] - _0x1ab237[0x0],
                _0x2f546c = _0x25eea0[0x1] - _0x1ab237[0x1],
                _0x1aeee9 = _0x3e6bc8 * Math[_0x323dd6(0x116)](_0x2b292f[0x1] / 0xb4 * Math['PI']) + _0x2f546c * Math[_0x323dd6(0xf4)](_0x2b292f[0x1] / 0xb4 * Math['PI']),
                _0x190015 = _0x2f546c * Math[_0x323dd6(0x116)](_0x2b292f[0x1] / 0xb4 * Math['PI']) - _0x3e6bc8 * Math['sin'](_0x2b292f[0x1] / 0xb4 * Math['PI']);
            usercmd[_0x323dd6(0x101)](-_0x1aeee9 * 0x14, _0x190015 * 0x14);
        }
    },
    grenade_helper = {
        'get_map': function () {
            var _0x2e1572 = _0x3d3873;
            switch (vars['get_int'](_0x2e1572(0xe8))) {
            case 0x1:
                return _0x2e1572(0xe6);
            case 0x2:
                return 'de_overpass';
            case 0x3:
                return _0x2e1572(0x11d);
            case 0x4:
                return _0x2e1572(0xfe);
            case 0x5:
                return _0x2e1572(0xc3);
            case 0x6:
                return _0x2e1572(0xeb);
            case 0x7:
                return _0x2e1572(0x122);
            case 0x8:
                return 'de_nuke';
            case 0x9:
                return _0x2e1572(0x10a);
            };
            return _0x2e1572(0xe6);
        },
        'render_map': function () {
            var _0x3e448e = _0x3d3873,
                _0xea7a0 = ui[_0x3e448e(0x117)](),
                _0x48a161 = ui[_0x3e448e(0x123)](),
                _0x134136 = [_0xea7a0[0x0], _0xea7a0[0x1] - 0xd];
            render[_0x3e448e(0x108)](_0x134136, [0xff, 0xff, 0xff, 0xff * _0x48a161], 0xc, 0x0, grenade_helper[_0x3e448e(0x105)]());
        },
        'render_positions': function () {
            var _0x5b7ffe = _0x3d3873,
                _0x256d38 = locations[grenade_helper[_0x5b7ffe(0x105)]()];
            for (var _0x238078 = 0x0; _0x238078 < _0x256d38[_0x5b7ffe(0xf7)]; _0x238078++) {
                var _0x3391ed = _0x256d38[_0x238078],
                    _0x37510f = render[_0x5b7ffe(0xf5)](_0x3391ed[0x4]),
                    _0x1026ee = entity['get_local_player']();
                helpers[_0x5b7ffe(0xd2)](_0x3391ed[0x4], entity[_0x5b7ffe(0xef)](_0x1026ee)) > vars[_0x5b7ffe(0x102)]('js.render_distance') ? _0x3391ed[0x6] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x6], 0x0, 0x6 * global_vars['frametime']()) : _0x3391ed[0x6] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x6], 0xff, 0x6 * global_vars[_0x5b7ffe(0xd6)]());
                if (!_0x3391ed[0x6]) continue;
                helpers[_0x5b7ffe(0xd2)](_0x3391ed[0x4], entity[_0x5b7ffe(0xef)](_0x1026ee)) > vars[_0x5b7ffe(0x102)](_0x5b7ffe(0xd3)) ? _0x3391ed[0x7] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x7], 0x1, 0x6 * global_vars['frametime']()) : _0x3391ed[0x7] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x7], 0x0, 0x6 * global_vars[_0x5b7ffe(0xd6)]());
                render['filled_rect'](_0x37510f, [helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x1]) + 0xf, 0xf], [0xf, 0xf, 0xf, _0x3391ed[0x6] / 6.3 * _0x3391ed[0x7]], 0x5), render[_0x5b7ffe(0xe0)](_0x37510f, [helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x1]) + 0xf, 0xf], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x6] * _0x3391ed[0x7]], 0x5), render[_0x5b7ffe(0x108)]([_0x37510f[0x0] + 0x5, _0x37510f[0x1] + 0x8], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x6] * _0x3391ed[0x7]], 0xc, 0x0, _0x3391ed[0x1]);
                var _0x5be00b = _0x3391ed[0x0][_0x5b7ffe(0x115)](', ');
                for (var _0x62c544 = 0x0; _0x62c544 < _0x5be00b[_0x5b7ffe(0xf7)]; _0x62c544++) {
                    var _0x52e2ee = _0x5b7ffe(0xec);
                    switch (_0x5be00b[_0x62c544]) {
                    case _0x5b7ffe(0xc4): {
                        _0x52e2ee += _0x5b7ffe(0x10b);
                        break;
                    }
                    case _0x5b7ffe(0xf6): {
                        _0x52e2ee += 'he.png';
                        break;
                    }
                    case _0x5b7ffe(0x109): {
                        _0x52e2ee += 'smoke.png';
                        break;
                    }
                    }
                    render[_0x5b7ffe(0xf2)](_0x52e2ee, [_0x37510f[0x0] - 0x14 * (_0x62c544 + 0x1), _0x37510f[0x1]], [0xf, 0xf], _0x3391ed[0x6] * _0x3391ed[0x7]);
                }
                if (_0x3391ed[0x7] <= 0.9) {
                    var _0x3d39ba = 0x1 - _0x3391ed[0x7],
                        _0x490725 = helpers[_0x5b7ffe(0xc7)](_0x3391ed[0x5][0x0], _0x3391ed[0x5][0x1]),
                        _0x422973 = render[_0x5b7ffe(0xf5)]([_0x3391ed[0x4][0x0] + _0x490725[0x0] * 0xc8, _0x3391ed[0x4][0x1] + _0x490725[0x1] * 0xc8, _0x3391ed[0x4][0x2] + 0x17 + _0x490725[0x2] * 0xc8]);
                    Math[_0x5b7ffe(0x10f)](_0x422973[0x0] - render[_0x5b7ffe(0xcb)]()[0x0] / 0x2) + Math[_0x5b7ffe(0x10f)](_0x422973[0x1] - render[_0x5b7ffe(0xcb)]()[0x1] / 0x2) > vars[_0x5b7ffe(0x102)](_0x5b7ffe(0xe5)) * 0xa ? _0x3391ed[0x8] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x8], 0x0, 0x6 * global_vars[_0x5b7ffe(0xd6)]()) : _0x3391ed[0x8] = helpers['lerp'](_0x3391ed[0x8], 0xff, 0x6 * global_vars[_0x5b7ffe(0xd6)]());
                    var _0x4358a7 = helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x2]) > helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x3]) ? helpers['get_text_size'](_0x3391ed[0x2]) : helpers[_0x5b7ffe(0xd7)](_0x5b7ffe(0xf3) + _0x3391ed[0x3]);
                    render['filled_rect'](_0x422973, [_0x4358a7 + 0xf, 0x1e], [0xf, 0xf, 0xf, _0x3391ed[0x8] / 6.3 * _0x3d39ba], 0x5), render[_0x5b7ffe(0xe0)](_0x422973, [_0x4358a7 + 0xf, 0x1e], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0x5), render[_0x5b7ffe(0xd9)]([_0x422973[0x0] + 0x5, _0x422973[0x1] + 0xf], [_0x4358a7 + 0x5, 0x1], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0x0), render[_0x5b7ffe(0xcf)]([_0x422973[0x0] - 0xf, _0x422973[0x1] + 0xf], [render[_0x5b7ffe(0xcb)]()[0x0] / 0x2, render[_0x5b7ffe(0xcb)]()[0x1] / 0x2], [color[0x0], color[0x1], color[0x2], 0xff - _0x3391ed[0x8] * _0x3d39ba], 0x1), render[_0x5b7ffe(0x107)]([_0x422973[0x0] - 0xf, _0x422973[0x1] + 0xf], 0x5, [0x82, 0xe6, 0x82, _0x3391ed[0x8] * _0x3d39ba], 0x14), render[_0x5b7ffe(0xdb)]([_0x422973[0x0] - 0xf, _0x422973[0x1] + 0xf], 0xa, [color[0x0], color[0x1], color[0x2], 0xff * _0x3d39ba], 0x14), render[_0x5b7ffe(0x108)]([_0x422973[0x0] + 0x5, _0x422973[0x1] + 0x8], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0xc, 0x0, _0x3391ed[0x2]), render['text']([_0x422973[0x0] + 0x5, _0x422973[0x1] + 0x15], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0xc, 0x0, _0x3391ed[0x3]);
                }
            };
            render['text']([render['get_screen_size']()[0x0] / 0x2, render[_0x5b7ffe(0xcb)]()[0x1] - 0x1b], [0xff, 0xff, 0xff, 0xff], 0xe, 0x4, _0x5b7ffe(0xff)), render[_0x5b7ffe(0x108)]([render[_0x5b7ffe(0xcb)]()[0x0] / 0x2, render[_0x5b7ffe(0xcb)]()[0x1] - 0xe], [0xff, 0xff, 0xff, 0xff], 0xe, 0x4, 'Buy: magma#0292');
        },
        'createmove': function () {
            var _0x7c6274 = _0x3d3873,
                _0x5334d6 = locations[grenade_helper[_0x7c6274(0x105)]()];
            for (var _0x9bec36 = 0x0; _0x9bec36 < _0x5334d6[_0x7c6274(0xf7)]; _0x9bec36++) {
                var _0x3d2552 = _0x5334d6[_0x9bec36],
                    _0x12aac8 = helpers[_0x7c6274(0xc7)](_0x3d2552[0x5][0x0], _0x3d2552[0x5][0x1]),
                    _0x3bef50 = render[_0x7c6274(0xf5)]([_0x3d2552[0x4][0x0] + _0x12aac8[0x0] * 0xc8, _0x3d2552[0x4][0x1] + _0x12aac8[0x1] * 0xc8, _0x3d2552[0x4][0x2] + 0x17 + _0x12aac8[0x2] * 0xc8]),
                    _0x1ad9c9 = entity[_0x7c6274(0x103)](),
                    _0x25123c = entity[_0x7c6274(0xef)](_0x1ad9c9),
                    _0xbca383 = _0x3d2552[0x7] <= 0.9 && Math[_0x7c6274(0x10f)](_0x3bef50[0x0] - render[_0x7c6274(0xcb)]()[0x0] / 0x2) + Math[_0x7c6274(0x10f)](_0x3bef50[0x1] - render['get_screen_size']()[0x1] / 0x2) < vars[_0x7c6274(0x102)](_0x7c6274(0xe5)) * 0xa;
                if (_0xbca383) {
                    var _0x4e1d66 = user_cmd[_0x7c6274(0xf1)]();
                    if (_0x4e1d66 & 0x1) {
                        if (helpers[_0x7c6274(0xd2)](_0x3d2552[0x4], entity['get_origin'](_0x1ad9c9)) > 40.005 && !_0x3d2552[0xa]) {
                            usercmd[_0x7c6274(0xca)](_0x3d2552[0x4]);
                            continue;
                        }
                        _0x3d2552[0xa] = !![];
                    }
                }
                var _0x5d5bef = -(_0x3d2552[0x5][0x1] - user_cmd[_0x7c6274(0x11a)]()[0x1]) * 0xa;
                if (_0x3d2552[0xa]) {
                    _0x3d2552[0x9]++;
                    var _0x2441c9 = _0x3d2552[0x2];
                    user_cmd[_0x7c6274(0xfd)]([_0x3d2552[0x5][0x0], _0x3d2552[0x5][0x1], 0x0]);
                    if (_0x2441c9['includes'](_0x7c6274(0xe4))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xc] && (user_cmd[_0x7c6274(0xea)](0x1c2), user_cmd[_0x7c6274(0xe9)](_0x5d5bef));
                    if (_0x2441c9[_0x7c6274(0x113)](_0x7c6274(0xd4))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xc] && (user_cmd['set_forwardmove'](-0x1c2), user_cmd[_0x7c6274(0xe9)](_0x5d5bef));
                    if (_0x2441c9['includes'](_0x7c6274(0xd5))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xb] && (user_cmd[_0x7c6274(0xe9)](-0x1c2), user_cmd[_0x7c6274(0xea)](_0x5d5bef));
                    if (_0x2441c9['includes'](_0x7c6274(0x106))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xb] && (user_cmd[_0x7c6274(0xe9)](0x1c2), user_cmd[_0x7c6274(0xea)](_0x5d5bef));
                    if (_0x2441c9[_0x7c6274(0x113)](_0x7c6274(0x112))) {
                        if (_0x3d2552[0x9] > 0x13) cheat[_0x7c6274(0xf0)](_0x7c6274(0xc9));
                    }
                    if (_0x2441c9[_0x7c6274(0x113)](_0x7c6274(0xfc))) {
                        if (_0x3d2552[0x9] > 0x13) cheat[_0x7c6274(0xf0)]('-attack');
                    }
                    _0x3d2552[0x9] > 0x28 && (cheat[_0x7c6274(0xf0)](_0x7c6274(0x11e)), _0x3d2552[0x9] = 0x0, _0x3d2552[0xa] = ![]);
                }
            };
        },
        'get_pos': function () {
            var _0x179d54 = _0x3d3873,
                _0x1a83de = entity[_0x179d54(0x103)]();
            localPos = entity[_0x179d54(0xef)](_0x1a83de), headPos = entity[_0x179d54(0xef)](_0x1a83de)[0x2] + 0x28, curAngle = user_cmd[_0x179d54(0x11a)](), vars[_0x179d54(0xc8)](_0x179d54(0xfb)) && (cheat[_0x179d54(0x10e)]('[\"Grenade\", \"Position\", \"Addlites\", \"Type\", [' + localPos[0x0][_0x179d54(0x118)](0x2) + ', ' + localPos[0x1][_0x179d54(0x118)](0x2) + ', ' + headPos[_0x179d54(0x118)](0x2) + _0x179d54(0x121) + curAngle[0x0][_0x179d54(0x118)](0x2) + ', ' + curAngle[0x1]['toFixed'](0x2) + _0x179d54(0x104), [0x7f, 0x7f, 0x7f]), cheat[_0x179d54(0x10e)]('\x0a', [0x7f, 0x7f, 0x7f]), vars[_0x179d54(0xe2)](_0x179d54(0xfb), ![]));
        }
    };
register_callback(_0x3d3873(0xda), function () {
    var _0x3cea6f = _0x3d3873;
    grenade_helper[_0x3cea6f(0x100)](), grenade_helper[_0x3cea6f(0x120)]();
}), register_callback('createmove', function () {
    var _0x1d6f25 = _0x3d3873;
    grenade_helper[_0x1d6f25(0x110)](), grenade_helper[_0x1d6f25(0x119)]();
});

Ну вот кароче.
Надеюсь на объективную критику и благодарносить.
Разархивировать архив в диск C:/

Покупайте Ideal.Yaw: magma#0292 (no ad, на всякий)
Author: Magma
 

Вложения

  • GrenadeHelper.rar
    45.1 KB · Просмотры: 268
  • 245
  • 50
JavaScript:
var _0x3d3873 = _0x3af6;
(function (_0x405e60, _0x33a3a3) {
    var _0x2be34b = _0x3af6,
        _0x40d01f = _0x405e60();
    while (!![]) {
        try {
            var _0x106ecd = -parseInt(_0x2be34b(0xd8)) / 0x1 * (parseInt(_0x2be34b(0xf8)) / 0x2) + -parseInt(_0x2be34b(0x11f)) / 0x3 * (parseInt(_0x2be34b(0xd0)) / 0x4) + -parseInt(_0x2be34b(0x111)) / 0x5 * (-parseInt(_0x2be34b(0xdc)) / 0x6) + parseInt(_0x2be34b(0xe3)) / 0x7 * (parseInt(_0x2be34b(0xc5)) / 0x8) + -parseInt(_0x2be34b(0xce)) / 0x9 + parseInt(_0x2be34b(0x11c)) / 0xa * (-parseInt(_0x2be34b(0xcc)) / 0xb) + parseInt(_0x2be34b(0xee)) / 0xc * (parseInt(_0x2be34b(0x10c)) / 0xd);
            if (_0x106ecd === _0x33a3a3) break;
            else _0x40d01f['push'](_0x40d01f['shift']());
        } catch (_0x389a45) {
            _0x40d01f['push'](_0x40d01f['shift']());
        }
    }
}(_0x6bb7, 0x25019));
var locations = {
    "de_mirage": [
        ["HE Grenade, Molotov", "A Palace", "throw+forward", "Anti-Push", [63.99, -1503.83, -135.97], [-16.32, -93.96], 0, 1, 0, 0, false, 0, 14],
        ["Molotov", "B Palace", "throw", "Anti-Oneway", [-1039.11, 277.70, -327.97], [-34.26, 48.03], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Box FD", "throw+forward+jump", "Anti-Oneway", [372.92, -1711.76, -158.42], [17.23, 124.46], 0, 1, 0, 0, false, 0, 20],
        ["HE Grenade, Molotov", "Stairs", "throw", "Position", [-24.76, -1545.77, -127.97], [-32.72, 170.69], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Tetris", "throw+forward", "Position", [-783.68, -1627.47, -128.32], [-20.23, 8.82], 0, 1, 0, 0, false, 0, 14],
        ["HE Grenade, Molotov", "Fakeduck Box", "throw+jump", "Anti-Oneway", [-917.12, -380.41, -8.09], [6.01, -149.89], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "CT Stairs", "throw+forward+jump", "From T Stairs", [-91.10, -1418.00, -75.97], [-13.64, -63.86], 0, 1, 0, 0, false, 0, 14],
        ["HE Grenade, Molotov", "Box FD", "throw+forward", "Position", [16.17, -2238.85, 0.03], [-8.81, 17.60], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Box FD", "throw+forward", "Anti-Oneway", [146.38, -2376.00, 0.03], [-4.27, 108.80], 0, 1, 0, 0, false, 0, 9],
        ["Molotov", "Chair", "throw+forward+jump", "Anti-Highground", [-698.63, -903.67, -192.14], [-1, 71.41], 0, 1, 0, 0, false, 0, 10],
        ["Molotov", "Roof", "throw+forward+jump", "Anti-Highground", [-28.12, -1917.11, 0.03], [2.18, 69.89], 0, 1, 0, 0, false, 0, 20],
        ["Molotov", "Window", "throw+forward+jump", "Position", [324.05, -181.90, -125.29], [6.05, -152.72], 0, 1, 0, 0, false, 0, 20],
        ["HE Grenade, Molotov", "Box", "throw+forward", "Position", [-526.51, -1415.61, -56.28], [6.85, -67.11], 0, 1, 0, 0, false, 0, 5],
        ["Molotov", "Connector", "throw+forward", "Position", [-307.50, -934.99, -125.89], [-11.41, 109.12], 0, 1, 0, 0, false, 0, 10],
        ["HE Grenade, Molotov", "Middle", "throw+jump", "Anti-Oneway", [-1000.51, 291.61, -126.47], [9.87, -64.84], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Under T Spawn", "throw+forward", "Position", [1256.00, -1460.52, -127.97], [-12.65, 60.17], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Push Palace", "throw+forward", "Position", [446.43, -2290.79, 0.03], [-0.60, -168.94], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Anti-Push T Spawn", "throw+forward", "Position", [1159.14, 299.72, -215.24], [-14.74, 138.71], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Push T Spawn", "throw+forward", "Position", [307.02, 324.83, -221.52], [-16.11, 38.94], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Middle", "throw+jump", "Anti-Oneway", [-1000.51, 291.61, -126.47], [9.87, -64.84], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Under", "throw+forward", "Position", [-539.27, -1014.77, -127.97], [13.92, 130.32], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Tetris", "throw+forward", "Position", [-1093.67, -1525.75, -118.45], [-10.94, -1.01], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Under", "throw", "Position", [-1178.61, -780.20, -127.97], [9.58, 48.44], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Push", "throw+forward", "Position", [-1108.11, -680.34, -94.97], [-9.51, 56.69], 0, 1, 0, 0, false, 0, 0],
    ],
    "de_overpass": [
        ["HE Grenade, Molotov", "Lists", "throw", "Anti-Oneway", [-1581.80, -774.83, 176.03], [-6.65, 65.36], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Barrels", "throw", "Anti-Oneway", [-870.75, -574.71, 136.03], [-14.65, 87.30], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Water/Pillar", "throw", "Position", [-856.13, -638.41, 136.03], [-3.76, 104.20], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Water", "throw+jump", "Anti-Oneway", [-1558.53, -1045.42, 43.31], [3, 70.58], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Balcony", "throw+jump", "Anti-Oneway", [-945.65, -638.91, 136.03], [0, 120.48], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Barrels", "throw+jump+forward", "Anti-Oneway", [-601.82, -1129.47, 99.91], [2, 98.15], 0, 1, 0, 0, false, 0, 10],
        ["HE Grenade, Molotov", "Barrels", "throw+forward", "Anti-Highground", [-431.98, 362.70, 58.33], [-20.61, -153.89], 0, 1, 0, 0, false, 0, 5],
        ["HE Grenade, Molotov", "Water", "throw", "Anti-Oneway", [-1247.94, -202.65, 140.81], [-39.35, 84.43], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Short", "throw", "Position", [-1202.62, -157.55, 181.03], [-8.85, -77.42], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Barrels", "throw+jump", "Anti-Oneway", [-1586.66, -667.21, 176.03], [1.17, -43.50], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Trash can", "throw+jump", "Anti-Oneway", [-509.75, -1357.57, 184.03], [10.16, -91.09], 0, 1, 0, 0, false, 0, 0],
        ["HE Grenade, Molotov", "Lists", "throw+jump+forward", "Anti-Oneway", [-1071.89, -533.96, 136.03], [-7.00, -110.34], 0, 1, 0, 0, false, 0, 8],
        ["Molotov", "Pit", "throw+jump+forward", "Anti-Oneway", [-753.58, 46.61, 104.82], [-1.30, 123.74], 0, 1, 0, 0, false, 0, 10],
        ["HE Grenade, Molotov", "Bridge", "throw", "Anti-Highground", [-1202.89, 363.58, 81.04], [-48.21, -96.06], 0, 1, 0, 0, false, 0, 0],
        ["Molotov", "Pit", "throw+forward+jump", "Anti-Oneway", [-1111.97, -982.21, 40.03], [2.41, 157.69], 0, 1, 0, 0, false, 0, 15],
    ],
    "de_dust2": [
       
    ],
    "de_train": [
       
    ],
    "de_inferno": [
       
    ],
    "de_vertigo": [
       
    ],
    "de_cobblestone": [
       
    ],
    "de_nuke": [
       
    ],
    "de_bank": [
       
    ],
},
    color = [0xff, 0x78, 0x8c];
ui[_0x3d3873(0xf9)]('Map select', 'map_select', 0x1, 0x9), ui['add_slider'](_0x3d3873(0xc6), _0x3d3873(0xfa), 0x64, 0x3e8), ui[_0x3d3873(0xf9)](_0x3d3873(0xcd), _0x3d3873(0x11b), 0x2d, 0x3c), ui['add_slider'](_0x3d3873(0x10d), _0x3d3873(0xdd), 0xa, 0xb4), ui[_0x3d3873(0xe7)](_0x3d3873(0xdf), _0x3d3873(0x119)), vars['set_int'](_0x3d3873(0xed), 0x12c), vars[_0x3d3873(0xe1)](_0x3d3873(0xd3), 0x32), vars['set_int']('js.nade_fov', 0x28);

function _0x3af6(_0x31ab57, _0x16b33b) {
    var _0x6bb736 = _0x6bb7();
    return _0x3af6 = function (_0x3af631, _0x59df00) {
        _0x3af631 = _0x3af631 - 0xc3;
        var _0x1639a5 = _0x6bb736[_0x3af631];
        return _0x1639a5;
    }, _0x3af6(_0x31ab57, _0x16b33b);
}

function _0x6bb7() {
    var _0x1053cf = ['Sponsored by IDEAL.YAW', 'render_map', 'set_movement', 'get_int', 'get_local_player', '], 0, 1, 0, 0, false, 0, 0],', 'get_map', 'right', 'filled_circle', 'text', 'Smoke', 'de_bank', 'molotov.png', '13RvqOqc', 'Fov', 'print_to_console', 'abs', 'createmove', '205MbxREd', 'jump', 'includes', 'okey lets go', 'split', 'cos', 'get_menu_position', 'toFixed', 'get_pos', 'get_view_angles', 'active_distance', '20icTlms', 'de_dust2', '-jump', '145941usRsPl', 'render_positions', '], [', 'de_cobblestone', 'get_menu_alpha', 'de_inferno', 'Molotov', '3232zqVzEg', 'Render distance', 'atv', 'get_bool', '+jump', 'go_to', 'get_screen_size', '936221rhKCeJ', 'Active distance', '121896UkkWga', 'line', '8gFuAYY', 'lerp', 'distance', 'js.active_distance', 'backward', 'left', 'frametime', 'get_text_size', '214787YilmjT', 'filled_rect', 'render', 'circle', '43788FTuGFu', 'nade_fov', 'sqrt', 'Get nade position (for devs)', 'rect', 'set_int', 'set_bool', '2345hhfriW', 'forward', 'js.nade_fov', 'de_mirage', 'add_checkbox', 'js.map_select', 'set_sidemove', 'set_forwardmove', 'de_vertigo', 'C:\\GrenadeHelper\\', 'js.render_distance', '2554392vVYjQv', 'get_origin', 'execute_command', 'get_buttons', 'picture', '|> ', 'sin', 'world_to_screen', 'HE Grenade', 'length', '2BHNpQH', 'add_slider', 'render_distance', 'js.get_pos', 'throw', 'set_view_angles', 'de_train'];
    _0x6bb7 = function () {
        return _0x1053cf;
    };
    return _0x6bb7();
}
var helpers = {
        'get_text_size': function (_0x14ae09) {
            var _0x157196 = _0x3d3873,
                _0xf295da = _0x14ae09[_0x157196(0x115)]('\x0a'),
                _0x2bc728 = 0x0;
            if (_0xf295da['length'] - 0x1 > 0x1)
                for (var _0x573f9f = 0x0; _0x573f9f < _0xf295da[_0x157196(0xf7)]; _0x573f9f++) {
                    if (_0x2bc728 < _0xf295da[_0x573f9f][_0x157196(0xf7)] * 5.3) _0x2bc728 = _0xf295da[_0x573f9f]['length'] * 5.3;
                } else _0x2bc728 = _0x14ae09[_0x157196(0xf7)] * 5.3;
            return _0x2bc728;
        },
        'distance': function (_0x12e094, _0x4520ac) {
            var _0x14269f = _0x3d3873,
                _0x4b7b15 = _0x12e094[0x0],
                _0x4a014e = _0x12e094[0x1],
                _0x2ae750 = _0x12e094[0x2],
                _0x47e617 = _0x4520ac[0x0],
                _0xf173ce = _0x4520ac[0x1],
                _0x5edcab = _0x4520ac[0x2],
                _0x454705 = _0x4b7b15 - _0x47e617,
                _0xe6ab24 = _0x4a014e - _0xf173ce,
                _0x55ac05 = _0x2ae750 - _0x5edcab;
            return Math[_0x14269f(0xde)](_0x454705 * _0x454705 + _0xe6ab24 * _0xe6ab24 + _0x55ac05 * _0x55ac05);
        },
        'lerp': function (_0x2d18cc, _0x967d6a, _0x289759) {
            return _0x2d18cc + (_0x967d6a - _0x2d18cc) * _0x289759;
        },
        'atv': function (_0x229c69, _0x366dbf) {
            var _0x59dd6b = _0x3d3873;
            return [Math[_0x59dd6b(0x116)](_0x229c69 * Math['PI'] / 0xb4) * Math[_0x59dd6b(0x116)](_0x366dbf * Math['PI'] / 0xb4), Math['cos'](_0x229c69 * Math['PI'] / 0xb4) * Math[_0x59dd6b(0xf4)](_0x366dbf * Math['PI'] / 0xb4), -Math[_0x59dd6b(0xf4)](_0x229c69 * Math['PI'] / 0xb4)];
        }
    },
    usercmd = {
        'set_movement': function (_0x4f35be, _0x5efa19) {
            var _0x5d1d6d = _0x3d3873;
            user_cmd[_0x5d1d6d(0xea)](_0x4f35be), user_cmd[_0x5d1d6d(0xe9)](_0x5efa19);
        },
        'go_to': function (_0x1ab237) {
            var _0x323dd6 = _0x3d3873,
                _0x42abb7 = entity[_0x323dd6(0x103)](),
                _0x25eea0 = entity[_0x323dd6(0xef)](_0x42abb7),
                _0x2b292f = user_cmd['get_view_angles'](),
                _0x3e6bc8 = _0x25eea0[0x0] - _0x1ab237[0x0],
                _0x2f546c = _0x25eea0[0x1] - _0x1ab237[0x1],
                _0x1aeee9 = _0x3e6bc8 * Math[_0x323dd6(0x116)](_0x2b292f[0x1] / 0xb4 * Math['PI']) + _0x2f546c * Math[_0x323dd6(0xf4)](_0x2b292f[0x1] / 0xb4 * Math['PI']),
                _0x190015 = _0x2f546c * Math[_0x323dd6(0x116)](_0x2b292f[0x1] / 0xb4 * Math['PI']) - _0x3e6bc8 * Math['sin'](_0x2b292f[0x1] / 0xb4 * Math['PI']);
            usercmd[_0x323dd6(0x101)](-_0x1aeee9 * 0x14, _0x190015 * 0x14);
        }
    },
    grenade_helper = {
        'get_map': function () {
            var _0x2e1572 = _0x3d3873;
            switch (vars['get_int'](_0x2e1572(0xe8))) {
            case 0x1:
                return _0x2e1572(0xe6);
            case 0x2:
                return 'de_overpass';
            case 0x3:
                return _0x2e1572(0x11d);
            case 0x4:
                return _0x2e1572(0xfe);
            case 0x5:
                return _0x2e1572(0xc3);
            case 0x6:
                return _0x2e1572(0xeb);
            case 0x7:
                return _0x2e1572(0x122);
            case 0x8:
                return 'de_nuke';
            case 0x9:
                return _0x2e1572(0x10a);
            };
            return _0x2e1572(0xe6);
        },
        'render_map': function () {
            var _0x3e448e = _0x3d3873,
                _0xea7a0 = ui[_0x3e448e(0x117)](),
                _0x48a161 = ui[_0x3e448e(0x123)](),
                _0x134136 = [_0xea7a0[0x0], _0xea7a0[0x1] - 0xd];
            render[_0x3e448e(0x108)](_0x134136, [0xff, 0xff, 0xff, 0xff * _0x48a161], 0xc, 0x0, grenade_helper[_0x3e448e(0x105)]());
        },
        'render_positions': function () {
            var _0x5b7ffe = _0x3d3873,
                _0x256d38 = locations[grenade_helper[_0x5b7ffe(0x105)]()];
            for (var _0x238078 = 0x0; _0x238078 < _0x256d38[_0x5b7ffe(0xf7)]; _0x238078++) {
                var _0x3391ed = _0x256d38[_0x238078],
                    _0x37510f = render[_0x5b7ffe(0xf5)](_0x3391ed[0x4]),
                    _0x1026ee = entity['get_local_player']();
                helpers[_0x5b7ffe(0xd2)](_0x3391ed[0x4], entity[_0x5b7ffe(0xef)](_0x1026ee)) > vars[_0x5b7ffe(0x102)]('js.render_distance') ? _0x3391ed[0x6] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x6], 0x0, 0x6 * global_vars['frametime']()) : _0x3391ed[0x6] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x6], 0xff, 0x6 * global_vars[_0x5b7ffe(0xd6)]());
                if (!_0x3391ed[0x6]) continue;
                helpers[_0x5b7ffe(0xd2)](_0x3391ed[0x4], entity[_0x5b7ffe(0xef)](_0x1026ee)) > vars[_0x5b7ffe(0x102)](_0x5b7ffe(0xd3)) ? _0x3391ed[0x7] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x7], 0x1, 0x6 * global_vars['frametime']()) : _0x3391ed[0x7] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x7], 0x0, 0x6 * global_vars[_0x5b7ffe(0xd6)]());
                render['filled_rect'](_0x37510f, [helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x1]) + 0xf, 0xf], [0xf, 0xf, 0xf, _0x3391ed[0x6] / 6.3 * _0x3391ed[0x7]], 0x5), render[_0x5b7ffe(0xe0)](_0x37510f, [helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x1]) + 0xf, 0xf], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x6] * _0x3391ed[0x7]], 0x5), render[_0x5b7ffe(0x108)]([_0x37510f[0x0] + 0x5, _0x37510f[0x1] + 0x8], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x6] * _0x3391ed[0x7]], 0xc, 0x0, _0x3391ed[0x1]);
                var _0x5be00b = _0x3391ed[0x0][_0x5b7ffe(0x115)](', ');
                for (var _0x62c544 = 0x0; _0x62c544 < _0x5be00b[_0x5b7ffe(0xf7)]; _0x62c544++) {
                    var _0x52e2ee = _0x5b7ffe(0xec);
                    switch (_0x5be00b[_0x62c544]) {
                    case _0x5b7ffe(0xc4): {
                        _0x52e2ee += _0x5b7ffe(0x10b);
                        break;
                    }
                    case _0x5b7ffe(0xf6): {
                        _0x52e2ee += 'he.png';
                        break;
                    }
                    case _0x5b7ffe(0x109): {
                        _0x52e2ee += 'smoke.png';
                        break;
                    }
                    }
                    render[_0x5b7ffe(0xf2)](_0x52e2ee, [_0x37510f[0x0] - 0x14 * (_0x62c544 + 0x1), _0x37510f[0x1]], [0xf, 0xf], _0x3391ed[0x6] * _0x3391ed[0x7]);
                }
                if (_0x3391ed[0x7] <= 0.9) {
                    var _0x3d39ba = 0x1 - _0x3391ed[0x7],
                        _0x490725 = helpers[_0x5b7ffe(0xc7)](_0x3391ed[0x5][0x0], _0x3391ed[0x5][0x1]),
                        _0x422973 = render[_0x5b7ffe(0xf5)]([_0x3391ed[0x4][0x0] + _0x490725[0x0] * 0xc8, _0x3391ed[0x4][0x1] + _0x490725[0x1] * 0xc8, _0x3391ed[0x4][0x2] + 0x17 + _0x490725[0x2] * 0xc8]);
                    Math[_0x5b7ffe(0x10f)](_0x422973[0x0] - render[_0x5b7ffe(0xcb)]()[0x0] / 0x2) + Math[_0x5b7ffe(0x10f)](_0x422973[0x1] - render[_0x5b7ffe(0xcb)]()[0x1] / 0x2) > vars[_0x5b7ffe(0x102)](_0x5b7ffe(0xe5)) * 0xa ? _0x3391ed[0x8] = helpers[_0x5b7ffe(0xd1)](_0x3391ed[0x8], 0x0, 0x6 * global_vars[_0x5b7ffe(0xd6)]()) : _0x3391ed[0x8] = helpers['lerp'](_0x3391ed[0x8], 0xff, 0x6 * global_vars[_0x5b7ffe(0xd6)]());
                    var _0x4358a7 = helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x2]) > helpers[_0x5b7ffe(0xd7)](_0x3391ed[0x3]) ? helpers['get_text_size'](_0x3391ed[0x2]) : helpers[_0x5b7ffe(0xd7)](_0x5b7ffe(0xf3) + _0x3391ed[0x3]);
                    render['filled_rect'](_0x422973, [_0x4358a7 + 0xf, 0x1e], [0xf, 0xf, 0xf, _0x3391ed[0x8] / 6.3 * _0x3d39ba], 0x5), render[_0x5b7ffe(0xe0)](_0x422973, [_0x4358a7 + 0xf, 0x1e], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0x5), render[_0x5b7ffe(0xd9)]([_0x422973[0x0] + 0x5, _0x422973[0x1] + 0xf], [_0x4358a7 + 0x5, 0x1], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0x0), render[_0x5b7ffe(0xcf)]([_0x422973[0x0] - 0xf, _0x422973[0x1] + 0xf], [render[_0x5b7ffe(0xcb)]()[0x0] / 0x2, render[_0x5b7ffe(0xcb)]()[0x1] / 0x2], [color[0x0], color[0x1], color[0x2], 0xff - _0x3391ed[0x8] * _0x3d39ba], 0x1), render[_0x5b7ffe(0x107)]([_0x422973[0x0] - 0xf, _0x422973[0x1] + 0xf], 0x5, [0x82, 0xe6, 0x82, _0x3391ed[0x8] * _0x3d39ba], 0x14), render[_0x5b7ffe(0xdb)]([_0x422973[0x0] - 0xf, _0x422973[0x1] + 0xf], 0xa, [color[0x0], color[0x1], color[0x2], 0xff * _0x3d39ba], 0x14), render[_0x5b7ffe(0x108)]([_0x422973[0x0] + 0x5, _0x422973[0x1] + 0x8], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0xc, 0x0, _0x3391ed[0x2]), render['text']([_0x422973[0x0] + 0x5, _0x422973[0x1] + 0x15], [color[0x0], color[0x1], color[0x2], _0x3391ed[0x8] * _0x3d39ba], 0xc, 0x0, _0x3391ed[0x3]);
                }
            };
            render['text']([render['get_screen_size']()[0x0] / 0x2, render[_0x5b7ffe(0xcb)]()[0x1] - 0x1b], [0xff, 0xff, 0xff, 0xff], 0xe, 0x4, _0x5b7ffe(0xff)), render[_0x5b7ffe(0x108)]([render[_0x5b7ffe(0xcb)]()[0x0] / 0x2, render[_0x5b7ffe(0xcb)]()[0x1] - 0xe], [0xff, 0xff, 0xff, 0xff], 0xe, 0x4, 'Buy: magma#0292');
        },
        'createmove': function () {
            var _0x7c6274 = _0x3d3873,
                _0x5334d6 = locations[grenade_helper[_0x7c6274(0x105)]()];
            for (var _0x9bec36 = 0x0; _0x9bec36 < _0x5334d6[_0x7c6274(0xf7)]; _0x9bec36++) {
                var _0x3d2552 = _0x5334d6[_0x9bec36],
                    _0x12aac8 = helpers[_0x7c6274(0xc7)](_0x3d2552[0x5][0x0], _0x3d2552[0x5][0x1]),
                    _0x3bef50 = render[_0x7c6274(0xf5)]([_0x3d2552[0x4][0x0] + _0x12aac8[0x0] * 0xc8, _0x3d2552[0x4][0x1] + _0x12aac8[0x1] * 0xc8, _0x3d2552[0x4][0x2] + 0x17 + _0x12aac8[0x2] * 0xc8]),
                    _0x1ad9c9 = entity[_0x7c6274(0x103)](),
                    _0x25123c = entity[_0x7c6274(0xef)](_0x1ad9c9),
                    _0xbca383 = _0x3d2552[0x7] <= 0.9 && Math[_0x7c6274(0x10f)](_0x3bef50[0x0] - render[_0x7c6274(0xcb)]()[0x0] / 0x2) + Math[_0x7c6274(0x10f)](_0x3bef50[0x1] - render['get_screen_size']()[0x1] / 0x2) < vars[_0x7c6274(0x102)](_0x7c6274(0xe5)) * 0xa;
                if (_0xbca383) {
                    var _0x4e1d66 = user_cmd[_0x7c6274(0xf1)]();
                    if (_0x4e1d66 & 0x1) {
                        if (helpers[_0x7c6274(0xd2)](_0x3d2552[0x4], entity['get_origin'](_0x1ad9c9)) > 40.005 && !_0x3d2552[0xa]) {
                            usercmd[_0x7c6274(0xca)](_0x3d2552[0x4]);
                            continue;
                        }
                        _0x3d2552[0xa] = !![];
                    }
                }
                var _0x5d5bef = -(_0x3d2552[0x5][0x1] - user_cmd[_0x7c6274(0x11a)]()[0x1]) * 0xa;
                if (_0x3d2552[0xa]) {
                    _0x3d2552[0x9]++;
                    var _0x2441c9 = _0x3d2552[0x2];
                    user_cmd[_0x7c6274(0xfd)]([_0x3d2552[0x5][0x0], _0x3d2552[0x5][0x1], 0x0]);
                    if (_0x2441c9['includes'](_0x7c6274(0xe4))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xc] && (user_cmd[_0x7c6274(0xea)](0x1c2), user_cmd[_0x7c6274(0xe9)](_0x5d5bef));
                    if (_0x2441c9[_0x7c6274(0x113)](_0x7c6274(0xd4))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xc] && (user_cmd['set_forwardmove'](-0x1c2), user_cmd[_0x7c6274(0xe9)](_0x5d5bef));
                    if (_0x2441c9['includes'](_0x7c6274(0xd5))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xb] && (user_cmd[_0x7c6274(0xe9)](-0x1c2), user_cmd[_0x7c6274(0xea)](_0x5d5bef));
                    if (_0x2441c9['includes'](_0x7c6274(0x106))) _0x3d2552[0x9] > 0x14 - _0x3d2552[0xb] && (user_cmd[_0x7c6274(0xe9)](0x1c2), user_cmd[_0x7c6274(0xea)](_0x5d5bef));
                    if (_0x2441c9[_0x7c6274(0x113)](_0x7c6274(0x112))) {
                        if (_0x3d2552[0x9] > 0x13) cheat[_0x7c6274(0xf0)](_0x7c6274(0xc9));
                    }
                    if (_0x2441c9[_0x7c6274(0x113)](_0x7c6274(0xfc))) {
                        if (_0x3d2552[0x9] > 0x13) cheat[_0x7c6274(0xf0)]('-attack');
                    }
                    _0x3d2552[0x9] > 0x28 && (cheat[_0x7c6274(0xf0)](_0x7c6274(0x11e)), _0x3d2552[0x9] = 0x0, _0x3d2552[0xa] = ![]);
                }
            };
        },
        'get_pos': function () {
            var _0x179d54 = _0x3d3873,
                _0x1a83de = entity[_0x179d54(0x103)]();
            localPos = entity[_0x179d54(0xef)](_0x1a83de), headPos = entity[_0x179d54(0xef)](_0x1a83de)[0x2] + 0x28, curAngle = user_cmd[_0x179d54(0x11a)](), vars[_0x179d54(0xc8)](_0x179d54(0xfb)) && (cheat[_0x179d54(0x10e)]('[\"Grenade\", \"Position\", \"Addlites\", \"Type\", [' + localPos[0x0][_0x179d54(0x118)](0x2) + ', ' + localPos[0x1][_0x179d54(0x118)](0x2) + ', ' + headPos[_0x179d54(0x118)](0x2) + _0x179d54(0x121) + curAngle[0x0][_0x179d54(0x118)](0x2) + ', ' + curAngle[0x1]['toFixed'](0x2) + _0x179d54(0x104), [0x7f, 0x7f, 0x7f]), cheat[_0x179d54(0x10e)]('\x0a', [0x7f, 0x7f, 0x7f]), vars[_0x179d54(0xe2)](_0x179d54(0xfb), ![]));
        }
    };
register_callback(_0x3d3873(0xda), function () {
    var _0x3cea6f = _0x3d3873;
    grenade_helper[_0x3cea6f(0x100)](), grenade_helper[_0x3cea6f(0x120)]();
}), register_callback('createmove', function () {
    var _0x1d6f25 = _0x3d3873;
    grenade_helper[_0x1d6f25(0x110)](), grenade_helper[_0x1d6f25(0x119)]();
});

Ну вот кароче.
Надеюсь на объективную критику и благодарносить.
Разархивировать архив в диск C:/

Покупайте Ideal.Yaw: magma#0292 (no ad, на всякий)
Author: Magma
щас шкила будет хоть грены кидать
 
  • Acrados
  • Дурашка, ты что делаешь?)
  • 208
  • 39
Контакты для связи отсутствуют.
Какие карты под какими номерами?
Вроде норм кодер, почему не зашифровал текст рекламы?
 
Последнее редактирование:
Сверху Снизу