Guest User

Untitled

a guest
Mar 29th, 2021
694
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UI.AddLabel('');
  2. UI.AddSliderInt('', -1, 0);
  3. UI.AddLabel('             Visuals CFG          ');
  4. UI.AddSliderInt('', -1, 0);
  5. UI.AddLabel('');
  6. UI.AddLabel('');
  7. UI.AddLabel('                   ESP          ');
  8. const global_print = Global.Print,
  9.     global_print_chat = Global.PrintChat,
  10.     global_print_color = Global.PrintColor,
  11.     global_register_callback = Global.RegisterCallback,
  12.     global_execute_command = Global.ExecuteCommand,
  13.     global_frame_stage = Global.FrameStage,
  14.     global_tickcount = Global.Tickcount,
  15.     global_tickrate = Global.Tickrate,
  16.     global_tick_interval = Global.TickInterval,
  17.     global_curtime = Global.Curtime,
  18.     global_realtime = Global.Realtime,
  19.     global_frametime = Global.Frametime,
  20.     global_latency = Global.Latency,
  21.     global_get_view_angles = Global.GetViewAngles,
  22.     global_set_view_angles = Global.SetViewAngles,
  23.     global_get_map_name = Global.GetMapName,
  24.     global_is_key_pressed = Global.IsKeyPressed,
  25.     global_get_screen_size = Global.GetScreenSize,
  26.     global_get_cursor_position = Global.GetCursorPosition,
  27.     global_play_sound = Global.PlaySound,
  28.     global_play_microphone = Global.PlayMicrophone,
  29.     global_stop_microphone = Global.StopMicrophone,
  30.     global_get_username = Global.GetUsername,
  31.     global_set_clan_tag = Global.SetClanTag,
  32.     globals_tickcount = Globals.Tickcount,
  33.     globals_tickrate = Globals.Tickrate,
  34.     globals_tick_interval = Globals.TickInterval,
  35.     globals_curtime = Globals.Curtime,
  36.     globals_realtime = Globals.Realtime,
  37.     globals_frametime = Globals.Frametime,
  38.     sound_play = Sound.Play,
  39.     sound_play_microphone = Sound.PlayMicrophone,
  40.     sound_stop_microphone = Sound.StopMicrophone,
  41.     cheat_get_username = Cheat.GetUsername,
  42.     cheat_register_callback = cheat_register_callback = new Proxy(Cheat.RegisterCallback, {
  43.         apply: function (_0x48e4x8f, _0x48e4x8f, _0x48e4x90) {
  44.             switch (_0x48e4x90[0]) {
  45.                 case 'paint':
  46.                     Cheat.RegisterCallback('Draw', _0x48e4x90[1]);
  47.                     break;
  48.                 case 'create_move':
  49.                     Cheat.RegisterCallback('CreateMove', _0x48e4x90[1]);
  50.                     break;
  51.                 case 'fsn':
  52.                     Cheat.RegisterCallback('FrameStageNotify', _0x48e4x90[1]);
  53.                     break;
  54.                 default:
  55.                     Cheat.RegisterCallback(_0x48e4x90[0], _0x48e4x90[1]);
  56.                     break
  57.             }
  58.         }
  59.     }),
  60.     cheat_execute_command = Cheat.ExecuteCommand,
  61.     cheat_frame_stage = Cheat.FrameStage,
  62.     cheat_print = Cheat.Print,
  63.     cheat_print_chat = Cheat.PrintChat,
  64.     cheat_print_color = Cheat.PrintColor,
  65.     local_latency = Local.Latency,
  66.     local_get_view_angles = Local.GetViewAngles,
  67.     local_set_view_angles = Local.SetViewAngles,
  68.     local_set_clan_tag = Local.SetClanTag,
  69.     local_get_real_yaw = Local.GetRealYaw,
  70.     local_get_fake_yaw = Local.GetFakeYaw,
  71.     local_get_spread = Local.GetSpread,
  72.     local_get_inaccuracy = Local.GetInaccuracy,
  73.     world_get_map_name = World.GetMapName,
  74.     world_get_server_string = World.GetServerString,
  75.     input_get_cursor_position = Input.GetCursorPosition,
  76.     input_is_key_pressed = Input.IsKeyPressed,
  77.     render_string = Render.String,
  78.     render_text_size = Render.TextSize,
  79.     render_line = Render.Line,
  80.     render_rect = Render.Rect,
  81.     render_filled_rect = Render.FilledRect,
  82.     render_gradient_rect = Render.GradientRect,
  83.     render_circle = Render.Circle,
  84.     render_filled_circle = Render.FilledCircle,
  85.     render_polygon = Render.Polygon,
  86.     render_world_to_screen = Render.WorldToScreen,
  87.     render_add_font = Render.AddFont,
  88.     render_find_font = Render.FindFont,
  89.     render_string_custom = Render.StringCustom,
  90.     render_textured_rect = Render.TexturedRect,
  91.     render_add_texture = Render.AddTexture,
  92.     render_text_size_custom = Render.TextSizeCustom,
  93.     render_get_screen_size = Render.GetScreenSize,
  94.     ui_get_value = UI.GetValue,
  95.     ui_set_value = UI.SetValue,
  96.     ui_add_checkbox = UI.AddCheckbox,
  97.     ui_add_slider_int = UI.AddSliderInt,
  98.     ui_add_slider_float = UI.AddSliderFloat,
  99.     ui_add_hotkey = UI.AddHotkey,
  100.     ui_add_label = UI.AddLabel,
  101.     ui_add_dropdown = UI.AddDropdown,
  102.     ui_add_multi_dropdown = UI.AddMultiDropdown,
  103.     ui_add_color_picker = UI.AddColorPicker,
  104.     ui_add_textbox = UI.AddTextbox,
  105.     ui_set_enabled = UI.SetEnabled,
  106.     ui_get_string = UI.GetString,
  107.     ui_get_color = UI.GetColor,
  108.     ui_set_color = UI.SetColor,
  109.     ui_is_hotkey_active = UI.IsHotkeyActive,
  110.     ui_toggle_hotkey = UI.ToggleHotkey,
  111.     ui_is_menu_open = UI.IsMenuOpen,
  112.     convar_get_int = Convar.GetInt,
  113.     convar_set_int = Convar.SetInt,
  114.     convar_get_float = Convar.GetFloat,
  115.     convar_set_float = Convar.SetFloat,
  116.     convar_get_string = Convar.GetString,
  117.     convar_set_string = Convar.SetString,
  118.     event_get_int = Event.GetInt,
  119.     event_get_float = Event.GetFloat,
  120.     event_get_string = Event.GetString,
  121.     entity_get_entities = Entity.GetEntities,
  122.     entity_get_entities_by_class_i_d = Entity.GetEntitiesByClassID,
  123.     entity_get_players = Entity.GetPlayers,
  124.     entity_get_enemies = Entity.GetEnemies,
  125.     entity_get_teammates = Entity.GetTeammates,
  126.     entity_get_local_player = Entity.GetLocalPlayer,
  127.     entity_get_game_rules_proxy = Entity.GetGameRulesProxy,
  128.     entity_get_entity_from_user_i_d = Entity.GetEntityFromUserID,
  129.     entity_is_teammate = Entity.IsTeammate,
  130.     entity_is_enemy = Entity.IsEnemy,
  131.     entity_is_bot = Entity.IsBot,
  132.     entity_is_local_player = Entity.IsLocalPlayer,
  133.     entity_is_valid = Entity.IsValid,
  134.     entity_is_alive = Entity.IsAlive,
  135.     entity_is_dormant = Entity.IsDormant,
  136.     entity_get_class_i_d = Entity.GetClassID,
  137.     entity_get_class_name = Entity.GetClassName,
  138.     entity_get_name = Entity.GetName,
  139.     entity_get_weapon = Entity.GetWeapon,
  140.     entity_get_weapons = Entity.GetWeapons,
  141.     entity_get_render_origin = Entity.GetRenderOrigin,
  142.     entity_get_prop = Entity.GetProp,
  143.     entity_set_prop = Entity.SetProp,
  144.     entity_get_hitbox_position = Entity.GetHitboxPosition,
  145.     entity_get_eye_position = Entity.GetEyePosition,
  146.     trace_line = Trace.Line,
  147.     trace_bullet = Trace.Bullet,
  148.     usercmd_set_movement = UserCMD.SetMovement,
  149.     usercmd_get_movement = UserCMD.GetMovement,
  150.     usercmd_set_angles = UserCMD.SetAngles,
  151.     usercmd_force_jump = UserCMD.ForceJump,
  152.     usercmd_force_crouch = UserCMD.ForceCrouch,
  153.     antiaim_get_override = AntiAim.GetOverride,
  154.     antiaim_set_override = AntiAim.SetOverride,
  155.     antiaim_set_real_offset = AntiAim.SetRealOffset,
  156.     antiaim_set_fake_offset = AntiAim.SetFakeOffset,
  157.     antiaim_set_l_b_y_offset = AntiAim.SetLBYOffset,
  158.     exploit_get_charge = Exploit.GetCharge,
  159.     exploit_recharge = Exploit.Recharge,
  160.     exploit_disable_recharge = Exploit.DisableRecharge,
  161.     exploit_enable_recharge = Exploit.EnableRecharge,
  162.     ragebot_override_minimum_damage = Ragebot.OverrideMinimumDamage,
  163.     ragebot_override_hitchance = Ragebot.OverrideHitchance,
  164.     ragebot_override_accuracy_boost = Ragebot.OverrideAccuracyBoost,
  165.     ragebot_override_multipoint_scale = Ragebot.OverrideMultipointScale,
  166.     ragebot_force_safety = Ragebot.ForceSafety;
  167. const weapon_info = {
  168.     "glock 18": {
  169.         clip: 20,
  170.         icon: 'd'
  171.     },
  172.     "p2000": {
  173.         clip: 13,
  174.         icon: 'o'
  175.     },
  176.     "dual berettas": {
  177.         clip: 30,
  178.         icon: 'b'
  179.     },
  180.     "p250": {
  181.         clip: 13,
  182.         icon: 'y'
  183.     },
  184.     "five seven": {
  185.         clip: 20,
  186.         icon: 'c'
  187.     },
  188.     "cz75 auto": {
  189.         clip: 12,
  190.         icon: 'Q'
  191.     },
  192.     "usp s": {
  193.         clip: 12,
  194.         icon: 'P'
  195.     },
  196.     "desert eagle": {
  197.         clip: 7,
  198.         icon: 'a'
  199.     },
  200.     "r8 revolver": {
  201.         clip: 8,
  202.         icon: 'R'
  203.     },
  204.     "tec 9": {
  205.         clip: 18,
  206.         icon: 'w'
  207.     },
  208.     "nova": {
  209.         clip: 8,
  210.         icon: 'B'
  211.     },
  212.     "xm1014": {
  213.         clip: 7,
  214.         icon: 'r'
  215.     },
  216.     "mag 7": {
  217.         clip: 5,
  218.         icon: 't'
  219.     },
  220.     "sawed off": {
  221.         clip: 7,
  222.         icon: 'v'
  223.     },
  224.     "negev": {
  225.         clip: 150,
  226.         icon: 'u'
  227.     },
  228.     "m249": {
  229.         clip: 100,
  230.         icon: 'i'
  231.     },
  232.     "mp9": {
  233.         clip: 30,
  234.         icon: 'A'
  235.     },
  236.     "mp7": {
  237.         clip: 30,
  238.         icon: 'z'
  239.     },
  240.     "mp5 sd": {
  241.         clip: 30,
  242.         icon: 'p'
  243.     },
  244.     "ump 45": {
  245.         clip: 25,
  246.         icon: 'q'
  247.     },
  248.     "p90": {
  249.         clip: 50,
  250.         icon: 'C'
  251.     },
  252.     "pp bizon": {
  253.         clip: 64,
  254.         icon: 's'
  255.     },
  256.     "mac 10": {
  257.         clip: 30,
  258.         icon: 'n'
  259.     },
  260.     "ak 47": {
  261.         clip: 30,
  262.         icon: 'e'
  263.     },
  264.     "m4a4": {
  265.         clip: 30,
  266.         icon: 'l'
  267.     },
  268.     "m4a1 s": {
  269.         clip: 25,
  270.         icon: 'm'
  271.     },
  272.     "famas": {
  273.         clip: 25,
  274.         icon: 'h'
  275.     },
  276.     "galil ar": {
  277.         clip: 35,
  278.         icon: 'k'
  279.     },
  280.     "aug": {
  281.         clip: 30,
  282.         icon: 'f'
  283.     },
  284.     "ssg 08": {
  285.         clip: 10,
  286.         icon: 'F'
  287.     },
  288.     "sg 553": {
  289.         clip: 30,
  290.         icon: 'E'
  291.     },
  292.     "awp": {
  293.         clip: 10,
  294.         icon: 'g'
  295.     },
  296.     "scar 20": {
  297.         clip: 20,
  298.         icon: 'D'
  299.     },
  300.     "g3sg1": {
  301.         clip: 20,
  302.         icon: 'j'
  303.     },
  304.     "high explosive grenade": {
  305.         clip: -1,
  306.         icon: 'I'
  307.     },
  308.     "smoke grenade": {
  309.         clip: -1,
  310.         icon: 'J'
  311.     },
  312.     "flashbang": {
  313.         clip: -1,
  314.         icon: 'H'
  315.     },
  316.     "decoy grenade": {
  317.         clip: -1,
  318.         icon: 'L'
  319.     },
  320.     "molotov": {
  321.         clip: -1,
  322.         icon: 'K'
  323.     },
  324.     "incendiary grenade": {
  325.         clip: -1,
  326.         icon: 'M'
  327.     },
  328.     "zeus x27": {
  329.         clip: 1,
  330.         icon: 'x'
  331.     },
  332.     "c4 explosive": {
  333.         clip: -1,
  334.         icon: 'N'
  335.     },
  336.     "m9 bayonet": {
  337.         clip: -1,
  338.         icon: 'Z'
  339.     },
  340.     "bayonet": {
  341.         clip: -1,
  342.         icon: 'V'
  343.     },
  344.     "flip knife": {
  345.         clip: -1,
  346.         icon: 'W'
  347.     },
  348.     "gut knife": {
  349.         clip: -1,
  350.         icon: 'X'
  351.     },
  352.     "karambit": {
  353.         clip: -1,
  354.         icon: 'Y'
  355.     },
  356.     "butterfly knife": {
  357.         clip: -1,
  358.         icon: '3'
  359.     },
  360.     "falchion knife": {
  361.         clip: -1,
  362.         icon: '1'
  363.     },
  364.     "navaja knife": {
  365.         clip: -1,
  366.         icon: '6'
  367.     },
  368.     "shadow daggers": {
  369.         clip: -1,
  370.         icon: '4'
  371.     },
  372.     "stiletto knife": {
  373.         clip: -1,
  374.         icon: '7'
  375.     },
  376.     "bowie knife": {
  377.         clip: -1,
  378.         icon: '2'
  379.     },
  380.     "huntsman knife": {
  381.         clip: -1,
  382.         icon: '0'
  383.     },
  384.     "talon knife": {
  385.         clip: -1,
  386.         icon: '8'
  387.     },
  388.     "ursus knife": {
  389.         clip: -1,
  390.         icon: '5'
  391.     },
  392.     "classic knife": {
  393.         clip: -1,
  394.         icon: 'G'
  395.     },
  396.     "paracord knife": {
  397.         clip: -1,
  398.         icon: 'G'
  399.     },
  400.     "survival knife": {
  401.         clip: -1,
  402.         icon: 'G'
  403.     },
  404.     "nomad knife": {
  405.         clip: -1,
  406.         icon: 'G'
  407.     },
  408.     "skeleton knife": {
  409.         clip: -1,
  410.         icon: 'G'
  411.     },
  412.     "knife": {
  413.         clip: -1,
  414.         icon: 'G'
  415.     }
  416. };
  417. var menu_elements_t = [];
  418. var menu = [];
  419. const menu_spacer = '                                                                                  ';
  420. menu.label = function (_0x48e4x95) {
  421.     UI.AddLabel(_0x48e4x95)
  422. };
  423. menu.call = function (_0x48e4x96, name, _0x48e4x95, _0x48e4x98) {
  424.     if (_0x48e4x95 in menu_elements_t) {
  425.         throw new Error('[Menu] The label must be unique!')
  426.     };
  427.     const _0x48e4x99 = name + menu_spacer + _0x48e4x95;
  428.     var _0x48e4x9a = [_0x48e4x99];
  429.     const _0x48e4x9b = {
  430.         name: name,
  431.         label: _0x48e4x95,
  432.         properties: _0x48e4x98
  433.     };
  434.     if (_0x48e4x98 !== null) {
  435.         for (var _0x48e4x9c = 0; _0x48e4x9c < _0x48e4x98.length; _0x48e4x9c++) {
  436.             _0x48e4x9a.push(_0x48e4x98[_0x48e4x9c])
  437.         }
  438.     };
  439.     _0x48e4x96.apply(null, _0x48e4x9a);
  440.     menu_elements_t[_0x48e4x95] = _0x48e4x9b;
  441.     return _0x48e4x95
  442. };
  443. menu.get = function (_0x48e4x95) {
  444.     if (!(_0x48e4x95 in menu_elements_t)) {
  445.         throw new Error("[Menu] This element's label doesn't exist!")
  446.     };
  447.     const _0x48e4x98 = menu_elements_t[_0x48e4x95];
  448.     const _0x48e4x99 = _0x48e4x98.name + menu_spacer + _0x48e4x98.label;
  449.     return UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x99)
  450. };
  451. menu.get_hotkey = function (_0x48e4x95) {
  452.     if (!(_0x48e4x95 in menu_elements_t)) {
  453.         throw new Error("[Menu] This element's label doesn't exist!")
  454.     };
  455.     const _0x48e4x98 = menu_elements_t[_0x48e4x95];
  456.     const _0x48e4x99 = _0x48e4x98.name + menu_spacer + _0x48e4x98.label;
  457.     return UI.IsHotkeyActive('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x99)
  458. };
  459. menu.get_color = function (_0x48e4x95) {
  460.     if (!(_0x48e4x95 in menu_elements_t)) {
  461.         throw new Error("[Menu] This element's label doesn't exist!")
  462.     };
  463.     const _0x48e4x98 = menu_elements_t[_0x48e4x95];
  464.     const _0x48e4x99 = _0x48e4x98.name + menu_spacer + _0x48e4x98.label;
  465.     return UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x99)
  466. };
  467. menu.set = function (_0x48e4x95, _0x48e4x9d) {
  468.     if (!(_0x48e4x95 in menu_elements_t)) {
  469.         throw new Error("[Menu] This element's label doesn't exist!")
  470.     };
  471.     const _0x48e4x98 = menu_elements_t[_0x48e4x95];
  472.     const _0x48e4x99 = _0x48e4x98.name + menu_spacer + _0x48e4x98.label;
  473.     UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x99, _0x48e4x9d)
  474. };
  475. menu.set_color = function (_0x48e4x95, color) {
  476.     if (!(_0x48e4x95 in menu_elements_t)) {
  477.         throw new Error("[Menu] This element's label doesn't exist!")
  478.     };
  479.     const _0x48e4x98 = menu_elements_t[_0x48e4x95];
  480.     const _0x48e4x99 = _0x48e4x98.name + menu_spacer + _0x48e4x98.label;
  481.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x99, color)
  482. };
  483. menu.visibility = function (_0x48e4x95, _0x48e4x9f) {
  484.     if (!(_0x48e4x95 in menu_elements_t)) {
  485.         throw new Error("[Menu] This element's label doesn't exist!")
  486.     };
  487.     const _0x48e4x98 = menu_elements_t[_0x48e4x95];
  488.     const _0x48e4x99 = _0x48e4x98.name + menu_spacer + _0x48e4x98.label;
  489.     UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x99, _0x48e4x9f)
  490. };
  491.  
  492. function vec(_0x48e4xa1) {
  493.     const _0x48e4xa2 = {
  494.         x: _0x48e4xa1[0] || 0,
  495.         y: _0x48e4xa1[1] || 0,
  496.         z: _0x48e4xa1[2] || 0
  497.     };
  498.     return _0x48e4xa2
  499. }
  500.  
  501. function vec_add(_0x48e4xa4, _0x48e4xa5) {
  502.     return {
  503.         x: _0x48e4xa4.x + _0x48e4xa5.x,
  504.         y: _0x48e4xa4.y + _0x48e4xa5.y,
  505.         z: _0x48e4xa4.z + _0x48e4xa5.z
  506.     }
  507. }
  508.  
  509. function box(_0x48e4xa7, _0x48e4xa8, _0x48e4xa9, _0x48e4xaa) {
  510.     const _0x48e4xab = {
  511.         x: _0x48e4xa7,
  512.         y: _0x48e4xa8,
  513.         x2: _0x48e4xa9,
  514.         y2: _0x48e4xaa,
  515.         w: _0x48e4xa9 - _0x48e4xa7,
  516.         h: _0x48e4xaa - _0x48e4xa8
  517.     };
  518.     return _0x48e4xab
  519. }
  520.  
  521. function entity_get_box(_0x48e4xad, _0x48e4xae) {
  522.     const _0x48e4xaf = vec(entity_get_render_origin(_0x48e4xad));
  523.     const _0x48e4xb0 = vec_add(vec(entity_get_prop(_0x48e4xad, 'CBaseEntity', 'm_vecMins')), _0x48e4xaf);
  524.     const _0x48e4xb1 = vec_add(vec(entity_get_prop(_0x48e4xad, 'CBaseEntity', 'm_vecMaxs')), _0x48e4xaf);
  525.     const _0x48e4xb2 = [render_world_to_screen([_0x48e4xb0.x - _0x48e4xae, _0x48e4xb0.y - _0x48e4xae, _0x48e4xb0.z - _0x48e4xae]), render_world_to_screen([_0x48e4xb0.x - _0x48e4xae, _0x48e4xb1.y + _0x48e4xae, _0x48e4xb0.z - _0x48e4xae]), render_world_to_screen([_0x48e4xb1.x + _0x48e4xae, _0x48e4xb1.y + _0x48e4xae, _0x48e4xb0.z - _0x48e4xae]), render_world_to_screen([_0x48e4xb1.x + _0x48e4xae, _0x48e4xb0.y - _0x48e4xae, _0x48e4xb0.z - _0x48e4xae]), render_world_to_screen([_0x48e4xb1.x + _0x48e4xae, _0x48e4xb1.y + _0x48e4xae, _0x48e4xb1.z + _0x48e4xae]), render_world_to_screen([_0x48e4xb0.x - _0x48e4xae, _0x48e4xb1.y + _0x48e4xae, _0x48e4xb1.z + _0x48e4xae]), render_world_to_screen([_0x48e4xb0.x - _0x48e4xae, _0x48e4xb0.y - _0x48e4xae, _0x48e4xb1.z + _0x48e4xae]), render_world_to_screen([_0x48e4xb1.x + _0x48e4xae, _0x48e4xb0.y - _0x48e4xae, _0x48e4xb1.z + _0x48e4xae])];
  526.     if (!_0x48e4xb2[0][0] || !_0x48e4xb2[0][1] || !_0x48e4xb2[1][0] || !_0x48e4xb2[1][1] || !_0x48e4xb2[2][0] || !_0x48e4xb2[2][1] || !_0x48e4xb2[3][0] || !_0x48e4xb2[3][1] || !_0x48e4xb2[4][0] || !_0x48e4xb2[4][1] || !_0x48e4xb2[5][0] || !_0x48e4xb2[5][1] || !_0x48e4xb2[6][0] || !_0x48e4xb2[6][1] || !_0x48e4xb2[7][0] || !_0x48e4xb2[7][1]) {
  527.         return null
  528.     };
  529.     var _0x48e4xb3, _0x48e4xb4, _0x48e4xb5, _0x48e4xb6;
  530.     _0x48e4xb3 = _0x48e4xb4 = _0x48e4xb2[3][0];
  531.     _0x48e4xb5 = _0x48e4xb6 = _0x48e4xb2[3][1];
  532.     for (var _0x48e4x9c = 0; _0x48e4x9c < _0x48e4xb2.length; _0x48e4x9c++) {
  533.         if (_0x48e4xb3 > _0x48e4xb2[_0x48e4x9c][0]) {
  534.             _0x48e4xb3 = _0x48e4xb2[_0x48e4x9c][0]
  535.         };
  536.         if (_0x48e4xb6 < _0x48e4xb2[_0x48e4x9c][1]) {
  537.             _0x48e4xb6 = _0x48e4xb2[_0x48e4x9c][1]
  538.         };
  539.         if (_0x48e4xb4 < _0x48e4xb2[_0x48e4x9c][0]) {
  540.             _0x48e4xb4 = _0x48e4xb2[_0x48e4x9c][0]
  541.         };
  542.         if (_0x48e4xb5 > _0x48e4xb2[_0x48e4x9c][1]) {
  543.             _0x48e4xb5 = _0x48e4xb2[_0x48e4x9c][1]
  544.         }
  545.     };
  546.     return box(_0x48e4xb3, _0x48e4xb5, _0x48e4xb4, _0x48e4xb6)
  547. }
  548.  
  549. function render_string_custom_outline(_0x48e4xa7, _0x48e4xa8, _0x48e4xb8, _0x48e4xb9, color, _0x48e4xba) {
  550.     render_string_custom(_0x48e4xa7 - 1, _0x48e4xa8 - 1, _0x48e4xb8, _0x48e4xb9, [15, 15, 15, color[3] * 0.25], _0x48e4xba);
  551.     render_string_custom(_0x48e4xa7 + 1, _0x48e4xa8 - 1, _0x48e4xb8, _0x48e4xb9, [15, 15, 15, color[3] * 0.25], _0x48e4xba);
  552.     render_string_custom(_0x48e4xa7 - 1, _0x48e4xa8 + 1, _0x48e4xb8, _0x48e4xb9, [15, 15, 15, color[3] * 0.25], _0x48e4xba);
  553.     render_string_custom(_0x48e4xa7 + 1, _0x48e4xa8 + 1, _0x48e4xb8, _0x48e4xb9, [15, 15, 15, color[3] * 0.25], _0x48e4xba);
  554.     render_string_custom(_0x48e4xa7, _0x48e4xa8, _0x48e4xb8, _0x48e4xb9, color, _0x48e4xba)
  555. }
  556.  
  557. function point_inside_screen(_0x48e4xa7, _0x48e4xa8) {
  558.     const _0x48e4xbc = render_get_screen_size();
  559.     return _0x48e4xa7 > -_0x48e4xbc[0] * 0.5 && _0x48e4xa7 < _0x48e4xbc[0] * 1.5 && _0x48e4xa8 > 0 && _0x48e4xa8 < _0x48e4xbc[1]
  560. }
  561.  
  562. function clamp(_0x48e4xbe, _0x48e4xbf, _0x48e4xc0) {
  563.     return Math.max(Math.min(_0x48e4xbe, _0x48e4xc0), _0x48e4xbf)
  564. }
  565.  
  566. function render_outlined_rect(_0x48e4xa7, _0x48e4xa8, _0x48e4xc2, h, color) {
  567.     render_rect(_0x48e4xa7 - 1, _0x48e4xa8 - 1, _0x48e4xc2 + 2, h + 2, [25, 25, 25, 75]);
  568.     render_rect(_0x48e4xa7, _0x48e4xa8, _0x48e4xc2, h, color);
  569.     render_rect(_0x48e4xa7 + 1, _0x48e4xa8 + 1, _0x48e4xc2 - 2, h - 2, [25, 25, 25, 75])
  570. }
  571.  
  572. function render_outlined_rect_override(_0x48e4xa7, _0x48e4xa8, _0x48e4xc2, h, color) {
  573.     render_rect(_0x48e4xa7 - 1, _0x48e4xa8 + 2, _0x48e4xc2 + 2, h - 2, [25, 25, 25, 75]);
  574.     render_rect(_0x48e4xa7, _0x48e4xa8, _0x48e4xc2, h, color)
  575. }
  576. const enable = menu.call(ui_add_checkbox, '[k] enable', 'kitkat_switch', null);
  577. const bbox = menu.call(ui_add_dropdown, '[k] bounding box', 'kitkat_box', [
  578.     ['Off', 'Normal', 'Cornered']
  579. ]);
  580. const bbox_color = menu.call(ui_add_color_picker, '[k] bounding box color', 'kitkat_box_color', null);
  581. const bbox_gradient = menu.call(ui_add_checkbox, '[k] bounding box gradient', 'kitkat_box_grad', null);
  582. const name = menu.call(ui_add_checkbox, '[k] name', 'kitkat_name', null);
  583. const name_color = menu.call(ui_add_color_picker, '[k] name color', 'kitkat_name_color', null);
  584. const health = menu.call(ui_add_checkbox, '[k] health bar', 'kitkat_health', null);
  585. const weapon = menu.call(ui_add_multi_dropdown, '[k] weapon', 'kitkat_weapon', [
  586.     ['Name', 'Icon']
  587. ]);
  588. const weapon_name_color = menu.call(ui_add_color_picker, '[k] weapon name color', 'kitkat_weapon_name_color', null);
  589. const weapon_icon_color = menu.call(ui_add_color_picker, '[k] weapon icon color', 'kitkat_weapon_icon_color', null);
  590. const ammo = menu.call(ui_add_checkbox, '[k] ammo', 'kitkat_ammo', null);
  591. const ammo_color = menu.call(ui_add_color_picker, '[k] ammo color', 'kitkat_ammo_color', null);
  592. const hitmarker = menu.call(ui_add_checkbox, '[k] screen hitmarker', 'kitkat_hitmarker', null);
  593. var esp = {
  594.     hitmarker_alpha: 0,
  595.     health: []
  596. };
  597. esp.setup_colors = function () {
  598.     const _0x48e4xd2 = [
  599.         [bbox_color, [255, 255, 255, 200]],
  600.         [name_color, [255, 255, 255, 200]],
  601.         [weapon_name_color, [232, 232, 232, 200]],
  602.         [weapon_icon_color, [200, 200, 200, 200]],
  603.         [ammo_color, [65, 135, 245, 200]]
  604.     ];
  605.     for (var _0x48e4x9c = 0; _0x48e4x9c < _0x48e4xd2.length; _0x48e4x9c++) {
  606.         const color = menu.get_color(_0x48e4xd2[_0x48e4x9c][0]);
  607.         const _0x48e4xd3 = _0x48e4xd2[_0x48e4x9c][1];
  608.         if (color[3] === 0) {
  609.             menu.set_color(_0x48e4xd2[_0x48e4x9c][0], _0x48e4xd3)
  610.         }
  611.     }
  612. };
  613. esp.box = function (_0x48e4xad, box) {
  614.     const color = menu.get_color(bbox_color);
  615.     const _0x48e4xd4 = menu.get(bbox) === 2;
  616.     if (point_inside_screen(box.x, 1) && point_inside_screen(box.x2, 1)) {
  617.         if (menu.get(bbox_gradient)) {
  618.             render_gradient_rect(box.x + 1, box.y + 1, box.w - 2, box.h - 2, 0, [0, 0, 0, 0], color)
  619.         };
  620.         if (_0x48e4xd4) {
  621.             const _0x48e4xd5 = box.w / 4,
  622.                 _0x48e4xd6 = box.h / 4;
  623.             render_line(box.x, box.y, box.x + _0x48e4xd5, box.y, color);
  624.             render_line(box.x + _0x48e4xd5 * 3, box.y, box.x + _0x48e4xd5 * 4, box.y, color);
  625.             render_line(box.x, box.y2, box.x + _0x48e4xd5, box.y2, color);
  626.             render_line(box.x + _0x48e4xd5 * 3, box.y2, box.x + _0x48e4xd5 * 4, box.y2, color);
  627.             render_line(box.x, box.y, box.x, box.y + _0x48e4xd6, color);
  628.             render_line(box.x, box.y + _0x48e4xd6 * 3, box.x, box.y + _0x48e4xd6 * 4, color);
  629.             render_line(box.x2, box.y, box.x2, box.y + _0x48e4xd6, color);
  630.             render_line(box.x2, box.y + _0x48e4xd6 * 3, box.x2, box.y + _0x48e4xd6 * 4, color);
  631.             return
  632.         };
  633.         render_outlined_rect(box.x, box.y, box.w, box.h, color)
  634.     }
  635. };
  636. esp.name = function (_0x48e4xad, box, _0x48e4xba) {
  637.     const name = entity_get_name(_0x48e4xad);
  638.     const color = menu.get_color(name_color);
  639.     render_string_custom_outline(box.x + (box.w / 2), box.y - 14, 1, name, color, _0x48e4xba)
  640. };
  641. esp.health = function (_0x48e4xad, box, _0x48e4xba) {
  642.     const health = entity_get_prop(_0x48e4xad, 'CBasePlayer', 'm_iHealth');
  643.     const _0x48e4xd7 = this.health[_0x48e4xad];
  644.     const color = [255 - health * 2.55, health * 2.55, 0, 225];
  645.     if (!this.health[_0x48e4xad]) {
  646.         this.health[_0x48e4xad] = health
  647.     };
  648.     const _0x48e4xd8 = 2 * globals_frametime() * 100;
  649.     if (_0x48e4xd7 < health) {
  650.         this.health[_0x48e4xad] = clamp(this.health[_0x48e4xad] + _0x48e4xd8, 0, health);
  651.         const color = [255 - health * 2.55, health * 2.55, 0, 225]
  652.     };
  653.     if (_0x48e4xd7 > health) {
  654.         this.health[_0x48e4xad] = clamp(this.health[_0x48e4xad] - _0x48e4xd8, health, 100)
  655.     };
  656.     if (health < 4) {
  657.         render_string_custom_outline(box.x + (box.w / 2), box.y - 24, 1, 'low health', [65, 135, 245, 200], _0x48e4xba)
  658.     };
  659.     render_string_custom_outline(box.x - 22, box.y, 0, health.toString(), [0, 255, 0, 225], _0x48e4xba);
  660.     render_filled_rect(box.x - 6, box.y - 1, 4, box.h + 2, [25, 25, 25, 75]);
  661.     render_filled_rect(box.x - 5, box.y + (box.h) - (box.h) * _0x48e4xd7 / 100, 2, (box.h) * _0x48e4xd7 / 100, color)
  662. };
  663. esp.weapon = function (box, _0x48e4xd9, _0x48e4xba) {
  664.     const name = entity_get_name(_0x48e4xd9);
  665.     const _0x48e4x9d = menu.get(weapon);
  666.     const _0x48e4xd8 = menu.get(ammo) ? 0 : -6;
  667.     if (_0x48e4x9d & (1 << 0)) {
  668.         const name_color = menu.get_color(weapon_name_color);
  669.         render_string_custom_outline(box.x + (box.w / 2), box.y + box.h + (_0x48e4x9d & (1 << 1) ? 22 : 8) + _0x48e4xd8, 1, name.toUpperCase(), name_color, _0x48e4xba)
  670.     };
  671.     if (_0x48e4x9d & (1 << 1)) {
  672.         const _0x48e4xda = menu.get_color(weapon_icon_color);
  673.         render_string(box.x + (box.w / 2), box.y + box.h + 8 + _0x48e4xd8, 1, weapon_info[name].icon, _0x48e4xda, 6)
  674.     }
  675. };
  676. esp.ammo = function (box, _0x48e4xd9) {
  677.     var ammo = entity_get_prop(_0x48e4xd9, 'CBaseCombatWeapon', 'm_iClip1');
  678.     var _0x48e4xdb = weapon_info[entity_get_name(_0x48e4xd9)].clip;
  679.     const color = menu.get_color(ammo_color);
  680.     if (_0x48e4xdb < 0) {
  681.         _0x48e4xdb = ammo = 1
  682.     };
  683.     render_filled_rect(box.x, box.y + box.h + 2, box.w, 4, [25, 25, 25, 125]);
  684.     render_filled_rect(box.x + 1, box.y + box.h + 3, (box.w - 2) * ammo / _0x48e4xdb, 2, color)
  685. };
  686. esp.hitmarker = function () {
  687.     if (this.hitmarker_alpha === 0) {
  688.         return
  689.     };
  690.     const _0x48e4xa7 = render_get_screen_size()[0],
  691.         _0x48e4xa8 = render_get_screen_size()[1];
  692.     const _0x48e4xd8 = globals_frametime() * 255;
  693.     this.hitmarker_alpha = clamp(this.hitmarker_alpha - _0x48e4xd8, 0, 255);
  694.     render_line(_0x48e4xa7 / 2 - 10, _0x48e4xa8 / 2 - 10, _0x48e4xa7 / 2 - 5, _0x48e4xa8 / 2 - 5, [225, 225, 225, this.hitmarker_alpha]);
  695.     render_line(_0x48e4xa7 / 2 - 10, _0x48e4xa8 / 2 + 10, _0x48e4xa7 / 2 - 5, _0x48e4xa8 / 2 + 5, [225, 225, 225, this.hitmarker_alpha]);
  696.     render_line(_0x48e4xa7 / 2 + 5, _0x48e4xa8 / 2 - 5, _0x48e4xa7 / 2 + 10, _0x48e4xa8 / 2 - 10, [225, 225, 225, this.hitmarker_alpha]);
  697.     render_line(_0x48e4xa7 / 2 + 5, _0x48e4xa8 / 2 + 5, _0x48e4xa7 / 2 + 10, _0x48e4xa8 / 2 + 10, [225, 225, 225, this.hitmarker_alpha])
  698. };
  699. esp.handle_damage = function () {
  700.     const _0x48e4xdc = entity_get_entity_from_user_i_d(event_get_int('attacker'));
  701.     const _0x48e4xdd = entity_get_entity_from_user_i_d(event_get_int('userid'));
  702.     const _0x48e4xde = entity_get_local_player();
  703.     if (_0x48e4xdc == _0x48e4xde && _0x48e4xdd !== _0x48e4xde) {
  704.         this.hitmarker_alpha = 255
  705.     }
  706. };
  707. var fps = 0;
  708. var last_update = 0;
  709. esp.watermark = function (_0x48e4xba) {
  710.     const username = cheat_get_username();
  711.     const _0x48e4xe2 = local_latency();
  712.     const _0x48e4xe3 = globals_curtime();
  713.     if (_0x48e4xe3 - last_update > 1) {
  714.         fps = 1 / globals_frametime();
  715.         last_update = _0x48e4xe3
  716.     };
  717.     const _0x48e4xb9 = '';
  718.     const _0x48e4xa7 = render_get_screen_size()[0];
  719.     const _0x48e4xe4 = render_text_size_custom(_0x48e4xb9, _0x48e4xba)[0];
  720.     render_rect(_0x48e4xa7 - 0 - _0x48e4xe4, 0, _0x48e4xe4 + 0, 0, [0, 0, 0, 0]);
  721.     render_filled_rect(_0x48e4xa7 - 0 - _0x48e4xe4, 0, 0, 0, [0, 0, 0, 0]);
  722.     render_filled_rect(_0x48e4xa7 - 0 - _0x48e4xe4, 0, _0x48e4xe4 + 19, 25, [0, 0, 0, 0]);
  723.     render_string_custom(_0x48e4xa7 - 0 - _0x48e4xe4, 0, 0, _0x48e4xb9, [0, 0, 0, 0], _0x48e4xba)
  724. };
  725. esp.do = function () {
  726.     const _0x48e4xe5 = entity_get_enemies();
  727.     const _0x48e4xe6 = {
  728.         watermark: render_add_font('Segoe UI', 0, 0),
  729.         name: render_add_font('MuseoSansCyrl-900', 7, 400),
  730.         hp: render_add_font('MuseoSansCyrl-900', 6, 200),
  731.         weapon: render_add_font('MuseoSansCyrl-900', 6, 250)
  732.     };
  733.     esp.watermark(_0x48e4xe6.watermark);
  734.     if (menu.get(hitmarker)) {
  735.         esp.hitmarker()
  736.     };
  737.     for (var _0x48e4x9c = 0; _0x48e4x9c < _0x48e4xe5.length; _0x48e4x9c++) {
  738.         const _0x48e4xad = _0x48e4xe5[_0x48e4x9c];
  739.         if (_0x48e4xad && entity_is_alive(_0x48e4xad) && !entity_is_dormant(_0x48e4xad)) {
  740.             const box = entity_get_box(_0x48e4xad, 0);
  741.             const _0x48e4xd9 = entity_get_weapon(_0x48e4xad);
  742.             if (point_inside_screen(box.x, box.y) && point_inside_screen(box.x2, 1)) {
  743.                 if (menu.get(bbox)) {
  744.                     esp.box(_0x48e4xad, box)
  745.                 };
  746.                 if (menu.get(name)) {
  747.                     esp.name(_0x48e4xad, box, _0x48e4xe6.name)
  748.                 };
  749.                 if (menu.get(health)) {
  750.                     esp.health(_0x48e4xad, box, _0x48e4xe6.hp)
  751.                 };
  752.                 if (menu.get(ammo)) {
  753.                     esp.ammo(box, _0x48e4xd9)
  754.                 };
  755.                 if (menu.get(weapon)) {
  756.                     esp.weapon(box, _0x48e4xd9, _0x48e4xe6.weapon)
  757.                 }
  758.             }
  759.         }
  760.     }
  761. };
  762. esp.setup_colors();
  763.  
  764. function on_frame_render() {
  765.     esp.do()
  766. }
  767.  
  768. function on_player_hurt() {
  769.     esp.handle_damage()
  770. }
  771. cheat_register_callback('paint', 'on_frame_render');
  772. cheat_register_callback('player_hurt', 'on_player_hurt');
  773. UI.AddLabel('                 Chams          ');
  774. var materials = [];
  775.  
  776. function createMat(name) {
  777.     UI.AddColorPicker(name + ' chams');
  778.     var _0x48e4xeb = ['Hollow', 'Pulse', 'Rainbow', 'Wireframe'];
  779.     UI.AddMultiDropdown(name + ' options', _0x48e4xeb);
  780.     UI.AddSliderFloat('Vibrancy ' + name.toLowerCase(), 0, 10);
  781.     Material.Create(name + ' chams');
  782.     materials.push([name, name + ' chams', name + ' options', 'Vibrancy ' + name.toLowerCase()])
  783. }
  784.  
  785. function HSVtoRGB(h, _0x48e4xed, _0x48e4xbe) {
  786.     var _0x48e4xee, _0x48e4xef, _0x48e4xf0, _0x48e4x9c, _0x48e4xf1, _0x48e4xf2, _0x48e4xf3, _0x48e4xf4;
  787.     if (arguments.length === 1) {
  788.         _0x48e4xed = h.s, _0x48e4xbe = h.v, h = h.h
  789.     };
  790.     _0x48e4x9c = Math.floor(h * 6);
  791.     _0x48e4xf1 = h * 6 - _0x48e4x9c;
  792.     _0x48e4xf2 = _0x48e4xbe * (1 - _0x48e4xed);
  793.     _0x48e4xf3 = _0x48e4xbe * (1 - _0x48e4xf1 * _0x48e4xed);
  794.     _0x48e4xf4 = _0x48e4xbe * (1 - (1 - _0x48e4xf1) * _0x48e4xed);
  795.     switch (_0x48e4x9c % 6) {
  796.         case 0:
  797.             _0x48e4xee = _0x48e4xbe, _0x48e4xef = _0x48e4xf4, _0x48e4xf0 = _0x48e4xf2;
  798.             break;
  799.         case 1:
  800.             _0x48e4xee = _0x48e4xf3, _0x48e4xef = _0x48e4xbe, _0x48e4xf0 = _0x48e4xf2;
  801.             break;
  802.         case 2:
  803.             _0x48e4xee = _0x48e4xf2, _0x48e4xef = _0x48e4xbe, _0x48e4xf0 = _0x48e4xf4;
  804.             break;
  805.         case 3:
  806.             _0x48e4xee = _0x48e4xf2, _0x48e4xef = _0x48e4xf3, _0x48e4xf0 = _0x48e4xbe;
  807.             break;
  808.         case 4:
  809.             _0x48e4xee = _0x48e4xf4, _0x48e4xef = _0x48e4xf2, _0x48e4xf0 = _0x48e4xbe;
  810.             break;
  811.         case 5:
  812.             _0x48e4xee = _0x48e4xbe, _0x48e4xef = _0x48e4xf2, _0x48e4xf0 = _0x48e4xf3;
  813.             break
  814.     };
  815.     return [Math.round(_0x48e4xee * 255), Math.round(_0x48e4xef * 255), Math.round(_0x48e4xf0 * 255), 255]
  816. }
  817.  
  818. function materialUpdate() {
  819.     for (i in materials) {
  820.         var _0x48e4xf6 = materials[i];
  821.         var _0x48e4xf7 = Material.Get(_0x48e4xf6[0] + ' chams');
  822.         if (_0x48e4xf7 > 0) {
  823.             Material.SetKeyValue(_0x48e4xf7, '$baseTexture', 'vgui/white');
  824.             var _0x48e4xf8 = UI.GetValue('Script items', _0x48e4xf6[2]) & 1;
  825.             if (i == 1) {
  826.                 Cheat.Print(UI.GetValue('Script items', _0x48e4xf6[2]) + '\
  827. ')
  828.             };
  829.             Material.SetKeyValue(_0x48e4xf7, '$additive', _0x48e4xf8 ? '1' : '0');
  830.             Material.SetKeyValue(_0x48e4xf7, '$envmap', 'models/effects/cube_white');
  831.             Material.SetKeyValue(_0x48e4xf7, '$envmapfresnel', '1');
  832.             var _0x48e4xf9 = UI.GetColor('Script items', _0x48e4xf6[0] + ' chams');
  833.             var _0x48e4xfa = UI.GetValue('Script items', _0x48e4xf6[2]) & 2;
  834.             var _0x48e4xfb = UI.GetValue('Script items', _0x48e4xf6[2]) & 4;
  835.             if (_0x48e4xfb) {
  836.                 _0x48e4xf9 = HSVtoRGB(Globals.Realtime() / 5 % 1, 1, 1);
  837.                 _0x48e4xf9[0] /= 10;
  838.                 _0x48e4xf9[1] /= 10;
  839.                 _0x48e4xf9[2] /= 10
  840.             };
  841.             if (_0x48e4xfa) {
  842.                 var _0x48e4xfc = 7;
  843.                 var _0x48e4xf8 = 5;
  844.                 var _0x48e4xfd = 0.6;
  845.                 var _0x48e4xfe = (Math.sin(Globals.Realtime() * 7) + 5) * _0x48e4xfd;
  846.                 _0x48e4xf9[0] *= _0x48e4xfe;
  847.                 _0x48e4xf9[1] *= _0x48e4xfe;
  848.                 _0x48e4xf9[2] *= _0x48e4xfe
  849.             };
  850.             var _0x48e4xff = UI.GetValue('Script items', _0x48e4xf6[2]) & 8;
  851.             Material.SetKeyValue(_0x48e4xf7, '$wireframe', _0x48e4xff ? '1' : '0');
  852.             var _0x48e4x100 = UI.GetValue('Script items', _0x48e4xf6[3]);
  853.             Material.SetKeyValue(_0x48e4xf7, '$envmapfresnelminmaxexp', '[0 ' + (11 - _0x48e4x100) + ' ' + ((11 - _0x48e4x100) * 2) + ']');
  854.             Material.SetKeyValue(_0x48e4xf7, '$envmaptint', '[' + _0x48e4xf9[0] / 255 + ' ' + _0x48e4xf9[1] / 255 + ' ' + _0x48e4xf9[2] / 255 + ']');
  855.             Material.SetKeyValue(_0x48e4xf7, '$alpha', _0x48e4xf9[3] / 255 + '');
  856.             Material.Refresh(_0x48e4xf7)
  857.         }
  858.     }
  859. }
  860. createMat('Better glow');
  861. Cheat.RegisterCallback('Material', 'materialUpdate');
  862.  
  863. function onUnload() {
  864.     for (i in materials) {
  865.         Material.Destroy(materials[i][1])
  866.     }
  867. }
  868. Cheat.RegisterCallback('Unload', 'onUnload');
  869. UI.AddLabel('                 BLOOM          ');
  870. var props = false;
  871. var tonemapClass = 'CEnvTonemapController';
  872.  
  873. function getValue(name) {
  874.     var _0x48e4x9d = UI.GetValue('Script items', name);
  875.     return _0x48e4x9d
  876. }
  877.  
  878. function getColor(name) {
  879.     var _0x48e4x9d = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', name);
  880.     return _0x48e4x9d
  881. }
  882.  
  883. function onRender() {
  884.     if (!Entity.GetLocalPlayer()) {
  885.         return
  886.     };
  887.     var _0x48e4x107 = Entity.GetEntities();
  888.     for (var _0x48e4x9c = 0; _0x48e4x9c < _0x48e4x107.length; _0x48e4x9c++) {
  889.         var _0x48e4x108 = _0x48e4x107[_0x48e4x9c];
  890.         var name = Entity.GetClassName(_0x48e4x108);
  891.         if (name !== tonemapClass) {
  892.             continue
  893.         };
  894.         if (!props) {
  895.             Entity.SetProp(_0x48e4x108, tonemapClass, 'm_bUseCustomAutoExposureMin', true);
  896.             Entity.SetProp(_0x48e4x108, tonemapClass, 'm_bUseCustomAutoExposureMax', true);
  897.             Entity.SetProp(_0x48e4x108, tonemapClass, 'm_bUseCustomBloomScale', true);
  898.             props = true
  899.         };
  900.         if (props) {
  901.             var _0x48e4x9d = getValue('world bloom') / 10;
  902.             Entity.SetProp(_0x48e4x108, tonemapClass, 'm_flCustomAutoExposureMin', _0x48e4x9d);
  903.             Entity.SetProp(_0x48e4x108, tonemapClass, 'm_flCustomAutoExposureMax', _0x48e4x9d);
  904.             Entity.SetProp(_0x48e4x108, tonemapClass, 'm_flCustomBloomScale', getValue('bloom') / 10)
  905.         };
  906.         Convar.SetFloat('r_modelAmbientMin', getValue('model bloom') / 10)
  907.     }
  908. }
  909.  
  910. function init() {
  911.     UI.AddSliderFloat('world bloom', 0.0, 100.0);
  912.     UI.AddSliderFloat('model bloom', 0.0, 100.0);
  913.     UI.AddSliderFloat('bloom', 0.0, 100.0);
  914.     UI.SetValue('Misc', 'GENERAL', 'Hidden cvars', true);
  915.     UI.SetValue('Misc', 'PERFORMANCE & INFORMATION', 'Disable post processing', false);
  916.     Global.RegisterCallback('Draw', 'onRender')
  917. }
  918. init();
  919. UI.AddLabel('              Aspect Ratio          ');
  920. UI.AddSliderFloat('Aspect Ratio', 1.0, 2.0);
  921. var aspect_cache = 0;
  922.  
  923. function aspect() {
  924.     var _0x48e4x10c = UI.GetValue('Aspect Ratio');
  925.     if (aspect_cache != _0x48e4x10c) {
  926.         aspect_cache = _0x48e4x10c;
  927.         UI.SetValue('Misc', 'GENERAL', 'Miscellaneous', 'Hidden cvars', 1);
  928.         Global.ExecuteCommand('r_aspectratio ' + _0x48e4x10c)
  929.     }
  930. }
  931. Cheat.RegisterCallback('CreateMove', 'aspect');
  932. UI.AddLabel('                  Other         ');
  933. UI.AddCheckbox('Mute All');
  934.  
  935. function hide() {
  936.     var _0x48e4x10e = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Mute All');
  937.     if (_0x48e4x10e) {
  938.         Cheat.ExecuteCommand('cl_chatfilters 0');
  939.         Cheat.ExecuteCommand('cl_mute_all_but_friends_and_party 1');
  940.         Cheat.ExecuteCommand('cl_mute_enemy_team 1');
  941.         Cheat.ExecuteCommand('tv_nochat 1')
  942.     } else {
  943.         Cheat.ExecuteCommand('cl_chatfilters 63');
  944.         Cheat.ExecuteCommand('cl_mute_all_but_friends_and_party 0');
  945.         Cheat.ExecuteCommand('cl_mute_enemy_team 0');
  946.         Cheat.ExecuteCommand('tv_nochat 0')
  947.     }
  948. }
  949. Cheat.RegisterCallback('CreateMove', 'hide');
  950. UI.AddDropdown('Style Indicators', ['Gradient', 'Standart']);
  951. UI.AddDropdown('Watermark Icons', ['Onetap', 'Cogwheel', 'JS Code', 'Performance']);
  952. var ping_info = [];
  953. var last_time = Global.Curtime();
  954. const window_x = UI.AddSliderInt('VAR - X', 0, Global.GetScreenSize()[0]);
  955. const window_y = UI.AddSliderInt('VAR - Y', 0, Global.GetScreenSize()[1]);
  956. UI.SetEnabled('Script items', 'VAR - X', false);
  957. UI.SetEnabled('Script items', 'VAR - Y', false);
  958.  
  959. function hex_to_ascii(_0x48e4x114) {
  960.     var _0x48e4x115 = _0x48e4x114.toString();
  961.     var _0x48e4x116 = '';
  962.     for (var _0x48e4x117 = 0; _0x48e4x117 < _0x48e4x115.length; _0x48e4x117 += 2) {
  963.         _0x48e4x116 += String.fromCharCode(parseInt(_0x48e4x115.substr(_0x48e4x117, 2), 16))
  964.     };
  965.     return _0x48e4x116
  966. }
  967.  
  968. function handle_visibility() {
  969.     UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'VAR - X', false);
  970.     UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'VAR - Y', false)
  971. }
  972.  
  973. function get(_0x48e4x11a) {
  974.     return UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a)
  975. }
  976.  
  977. function set(_0x48e4x11a, _0x48e4x9d) {
  978.     return UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a, _0x48e4x9d)
  979. }
  980.  
  981. function handle_dragging() {
  982.     var in_bounds = function (vec, x1, y1, _0x48e4xa9, _0x48e4xaa) {
  983.         return (vec[0] > x1) && (vec[1] > y1) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
  984.     };
  985.     if (Global.IsKeyPressed(1)) {
  986.         const _0x48e4xa7 = get('VAR - X'),
  987.             _0x48e4xa8 = get('VAR - Y');
  988.         const _0x48e4x120 = Global.GetCursorPosition();
  989.         if (in_bounds(_0x48e4x120, _0x48e4xa7 - 15, _0x48e4xa8 - 15, _0x48e4xa7 + 15, _0x48e4xa8 + 15)) {
  990.             set('VAR - X', _0x48e4x120[0] + 2);
  991.             set('VAR - Y', _0x48e4x120[1] + 5)
  992.         }
  993.     }
  994. }
  995.  
  996. function draw_container() {
  997.     const _0x48e4xa7 = get('VAR - X'),
  998.         _0x48e4xa8 = get('VAR - Y');
  999.     var _0x48e4x122 = {
  1000.         'ping': 0
  1001.     };
  1002.     Render.FilledRect(_0x48e4xa7 - 20, _0x48e4xa8 - 16, 65, 20, [15, 15, 15, varc[3]]);
  1003.     Render.String(_0x48e4xa7 - 17, _0x48e4xa8 - 12, 0, 'VAR | ', [255, 255, 255, 255], 8);
  1004.     if (Global.Curtime() - last_time > 0.5) {
  1005.         last_time = Global.Curtime();
  1006.         ping_info.unshift(Global.Latency() + 5)
  1007.     };
  1008.     varc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Var Color');
  1009.     if (ping_info.length > 4) {
  1010.         ping_info.pop()
  1011.     };
  1012.     for (i = 0; i < ping_info.length; i++) {
  1013.         _0x48e4x122.ping += ping_info[i];
  1014.         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])
  1015.     }
  1016. }
  1017.  
  1018. function main() {
  1019.     draw_container();
  1020.     handle_dragging()
  1021. }
  1022.  
  1023. function reset() {
  1024.     last_time = Global.Curtime();
  1025.     ping_info = []
  1026. }
  1027. Global.RegisterCallback('Draw', 'main');
  1028. Global.RegisterCallback('player_connect_full', 'reset');
  1029. var fps_info = [];
  1030. var last_timee = Global.Curtime();
  1031. const win_x = UI.AddSliderInt('IO - X', 0, Global.GetScreenSize()[0]);
  1032. const win_y = UI.AddSliderInt('IO - Y', 0, Global.GetScreenSize()[1]);
  1033. UI.SetEnabled('Script items', 'IO - X', false);
  1034. UI.SetEnabled('Script items', 'IO - Y', false);
  1035.  
  1036. function hex_to_ascii(_0x48e4x114) {
  1037.     var _0x48e4x115 = _0x48e4x114.toString();
  1038.     var _0x48e4x116 = '';
  1039.     for (var _0x48e4x117 = 0; _0x48e4x117 < _0x48e4x115.length; _0x48e4x117 += 2) {
  1040.         _0x48e4x116 += String.fromCharCode(parseInt(_0x48e4x115.substr(_0x48e4x117, 2), 16))
  1041.     };
  1042.     return _0x48e4x116
  1043. }
  1044.  
  1045. function get(_0x48e4x11a) {
  1046.     return UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a)
  1047. }
  1048.  
  1049. function set(_0x48e4x11a, _0x48e4x9d) {
  1050.     return UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', _0x48e4x11a, _0x48e4x9d)
  1051. }
  1052.  
  1053. function handle_draggin() {
  1054.     var in_bounds = function (vec, x1, y1, _0x48e4xa9, _0x48e4xaa) {
  1055.         return (vec[0] > x1) && (vec[1] > y1) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
  1056.     };
  1057.     if (Global.IsKeyPressed(1)) {
  1058.         const _0x48e4xa7 = get('IO - X'),
  1059.             _0x48e4xa8 = get('IO - Y');
  1060.         const _0x48e4x120 = Global.GetCursorPosition();
  1061.         if (in_bounds(_0x48e4x120, _0x48e4xa7 - 20, _0x48e4xa8 - 20, _0x48e4xa7 + 20, _0x48e4xa8 + 20)) {
  1062.             set('IO - X', _0x48e4x120[0] + 2);
  1063.             set('IO - Y', _0x48e4x120[1] + 5)
  1064.         }
  1065.     }
  1066. }
  1067.  
  1068. function draw_containe() {
  1069.     const _0x48e4xa7 = get('IO - X'),
  1070.         _0x48e4xa8 = get('IO - Y');
  1071.     var _0x48e4x122 = {
  1072.         'fps': 0
  1073.     };
  1074.     Render.FilledRect(_0x48e4xa7 - 20, _0x48e4xa8 - 16, 55, 20, [15, 15, 15, fpsc[3]]);
  1075.     Render.String(_0x48e4xa7 - 17, _0x48e4xa8 - 12, 0, 'IO | ', [255, 255, 255, 255], 8);
  1076.     if (Global.Curtime() - last_timee > 0.5) {
  1077.         last_timee = Global.Curtime();
  1078.         fps_info.unshift(1 / Global.Frametime())
  1079.     };
  1080.     fpsc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'FPS Color');
  1081.     if (fps_info.length > 4) {
  1082.         fps_info.pop()
  1083.     };
  1084.     for (i = 0; i < fps_info.length; i++) {
  1085.         _0x48e4x122.fps += fps_info[i];
  1086.         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])
  1087.     }
  1088. }
  1089.  
  1090. function mainn() {
  1091.     draw_containe();
  1092.     handle_draggin()
  1093. }
  1094.  
  1095. function Areset() {
  1096.     llast_time = Global.Curtime();
  1097.     fps_info = []
  1098. }
  1099. Global.RegisterCallback('Draw', 'mainn');
  1100. Global.RegisterCallback('player_connect_full', 'Areset');
  1101. const ms_x = UI.AddSliderInt('MS - X', 0, Global.GetScreenSize()[0]);
  1102. const ms_y = UI.AddSliderInt('MS - Y', 0, Global.GetScreenSize()[1]);
  1103. UI.SetEnabled('Script items', 'MS - X', false);
  1104. UI.SetEnabled('Script items', 'MS - Y', false);
  1105.  
  1106. function drag() {
  1107.     var in_bounds = function (vec, x1, y1, _0x48e4xa9, _0x48e4xaa) {
  1108.         return (vec[0] > x1) && (vec[1] > y1) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
  1109.     };
  1110.     if (Global.IsKeyPressed(1)) {
  1111.         const _0x48e4xa7 = get('MS - X'),
  1112.             _0x48e4xa8 = get('MS - Y');
  1113.         const _0x48e4x120 = Global.GetCursorPosition();
  1114.         if (in_bounds(_0x48e4x120, _0x48e4xa7 - 35, _0x48e4xa8 - 35, _0x48e4xa7 + 35, _0x48e4xa8 + 35)) {
  1115.             set('MS - X', _0x48e4x120[0] + 25);
  1116.             set('MS - Y', _0x48e4x120[1] - 10)
  1117.         }
  1118.     }
  1119. }
  1120.  
  1121. function main_mshz() {
  1122.     if (!World.GetServerString()) {
  1123.         return
  1124.     };
  1125.     const _0x48e4xe2 = Math.round(Local.Latency() * 1000 - 16);
  1126.     var _0x48e4xba = Render.AddFont('Verdana', 7, 100);
  1127.     var _0x48e4xb9 = +_0x48e4xe2 + 'ms / 60hz';
  1128.     var _0x48e4xc2 = Render.TextSizeCustom(_0x48e4xb9, _0x48e4xba)[0] + 8;
  1129.     const _0x48e4xa7 = get('MS - X'),
  1130.         _0x48e4xa8 = get('MS - Y');
  1131.     msc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'MS & HZ Color');
  1132.     Render.FilledRect(_0x48e4xa7 - _0x48e4xc2, _0x48e4xa8 + 4, _0x48e4xc2, 20, [17, 17, 17, msc[3]]);
  1133.     Render.StringCustom(_0x48e4xa7 + 4 - _0x48e4xc2, _0x48e4xa8 + 7, 0, _0x48e4xb9, [0, 0, 0, 180], _0x48e4xba);
  1134.     Render.StringCustom(_0x48e4xa7 + 4 - _0x48e4xc2, _0x48e4xa8 + 7, 0, _0x48e4xb9, [255, 255, 255, 255], _0x48e4xba);
  1135.     var _0x48e4xe4 = 75;
  1136.     var _0x48e4x131 = UI.GetValue('Script items', 'Style Indicators');
  1137.     if (_0x48e4x131 == 0) {
  1138.         Render.GradientRect(_0x48e4xa7 - _0x48e4xc2, _0x48e4xa8 + 23, _0x48e4xc2, 1, 2, [55, 177, 218, 255], [203, 70, 205, 255]);
  1139.         Render.GradientRect(_0x48e4xa7 - _0x48e4xc2, _0x48e4xa8 + 23, _0x48e4xc2, 1, 2, [203, 70, 205, 255], [204, 227, 53, 255])
  1140.     } else {
  1141.         if (_0x48e4x131 == 1) {
  1142.             Render.GradientRect(_0x48e4xa7 - _0x48e4xc2 - 3, _0x48e4xa8 + 23, 35, 2, 1, [msc[0], msc[1], msc[2], 0], [msc[0], msc[1], msc[2], 255]);
  1143.             Render.GradientRect(_0x48e4xa7 - _0x48e4xc2 - (-31), _0x48e4xa8 + 23, 35, 2, 1, [msc[0], msc[1], msc[2], 255], [msc[0], msc[1], msc[2], 0])
  1144.         }
  1145.     }
  1146. }
  1147. Global.RegisterCallback('Draw', 'main_mshz');
  1148. Global.RegisterCallback('Draw', 'drag');
  1149. const x1 = UI.AddSliderInt('Hotkeys_x', 0, Global.GetScreenSize()[0]);
  1150. const y1 = UI.AddSliderInt('Hotkeys_y', 0, Global.GetScreenSize()[1]);
  1151. UI.AddLabel('                  Colors');
  1152. UI.AddColorPicker('Watermark (Standart) Color');
  1153. UI.AddColorPicker('Hotkeys color');
  1154. UI.AddColorPicker('Hotkeys topbar alpha');
  1155. UI.AddColorPicker('FPS Color');
  1156. UI.AddColorPicker('Var Color');
  1157. UI.AddColorPicker('MS & HZ Color');
  1158. var msc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'MS & HZ Color');
  1159. var logc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'HitLogs Color');
  1160. var fpsc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'FPS Color');
  1161. var varc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Var Color');
  1162. var standart = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Watermark (Standart) Color');
  1163. var colorhotkeys = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys color');
  1164. if (msc[3] == 0) {
  1165.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'MS & HZ Color', [255, 255, 255, 255])
  1166. };
  1167. if (standart[3] == 0) {
  1168.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'Watermark (Standart) Color', [255, 255, 255, 255])
  1169. };
  1170. if (logc[3] == 0) {
  1171.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'HitLogs Color', [255, 255, 255, 255])
  1172. };
  1173. if (varc[3] == 0) {
  1174.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'Var Color', [35, 35, 35, 255])
  1175. };
  1176. if (fpsc[3] == 0) {
  1177.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'FPS Color', [35, 35, 35, 255])
  1178. };
  1179. if (colorhotkeys[3] == 0) {
  1180.     UI.SetColor('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys color', [89, 119, 239, 3])
  1181. };
  1182. var alpha = 0;
  1183. var maxwidth = 0;
  1184. var swalpha = 0;
  1185. var fdalpha = 0;
  1186. var apalpha = 0;
  1187. var aialpha = 0;
  1188. var spalpha = 0;
  1189. var fbalpha = 0;
  1190. var dtalpha = 0;
  1191. var hsalpha = 0;
  1192. var doalpha = 0;
  1193. var textalpha = 0;
  1194. var h = new Array();
  1195.  
  1196. function in_bounds(vec, _0x48e4xa7, _0x48e4xa8, _0x48e4xa9, _0x48e4xaa) {
  1197.     return (vec[0] > _0x48e4xa7) && (vec[1] > _0x48e4xa8) && (vec[0] < _0x48e4xa9) && (vec[1] < _0x48e4xaa)
  1198. }
  1199.  
  1200. function main_hotkeys() {
  1201.     if (!World.GetServerString()) {
  1202.         return
  1203.     };
  1204.     const _0x48e4xa7 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys_x'),
  1205.         _0x48e4xa8 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys_y');
  1206.     colorhotkeys = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys color');
  1207.     colorhotkeys1 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys topbar alpha');
  1208.     var _0x48e4xba = Render.AddFont('Verdana', 7, 100);
  1209.     var _0x48e4x145 = 8 * Globals.Frametime();
  1210.     var _0x48e4xe4 = 75;
  1211.     var maxwidth = 0;
  1212.     if (UI.IsHotkeyActive('Anti-Aim', 'Extra', 'Slow walk')) {
  1213.         swalpha = Math.min(swalpha + _0x48e4x145, 1)
  1214.     } else {
  1215.         swalpha = swalpha - _0x48e4x145;
  1216.         if (swalpha < 0) {
  1217.             swalpha = 0
  1218.         };
  1219.         if (swalpha == 0) {
  1220.             h.splice(h.indexOf('Slow walk'))
  1221.         }
  1222.     };
  1223.     if (UI.IsHotkeyActive('Anti-Aim', 'Extra', 'Fake duck')) {
  1224.         fdalpha = Math.min(fdalpha + _0x48e4x145, 1)
  1225.     } else {
  1226.         fdalpha = fdalpha - _0x48e4x145;
  1227.         if (fdalpha < 0) {
  1228.             fdalpha = 0
  1229.         };
  1230.         if (fdalpha == 0) {
  1231.             h.splice(h.indexOf('Duck peek assist'))
  1232.         }
  1233.     };
  1234.     if (UI.IsHotkeyActive('Misc', 'GENERAL', 'Movement', 'Auto peek')) {
  1235.         apalpha = Math.min(apalpha + _0x48e4x145, 1)
  1236.     } else {
  1237.         apalpha = apalpha - _0x48e4x145;
  1238.         if (apalpha < 0) {
  1239.             apalpha = 0
  1240.         };
  1241.         if (apalpha == 0) {
  1242.             h.splice(h.indexOf('Auto peek'))
  1243.         }
  1244.     };
  1245.     if (UI.IsHotkeyActive('Anti-Aim', 'Fake angles', 'Inverter')) {
  1246.         aialpha = Math.min(aialpha + _0x48e4x145, 1)
  1247.     } else {
  1248.         aialpha = aialpha - _0x48e4x145;
  1249.         if (aialpha < 0) {
  1250.             aialpha = 0
  1251.         };
  1252.         if (aialpha == 0) {
  1253.             h.splice(h.indexOf('Anti-aim inverter'))
  1254.         }
  1255.     };
  1256.     if (UI.IsHotkeyActive('Anti-Aim', 'Fake angles', 'Inverter')) {
  1257.         aialpha = Math.min(aialpha + _0x48e4x145, 1)
  1258.     } else {
  1259.         aialpha = aialpha - _0x48e4x145;
  1260.         if (aialpha < 0) {
  1261.             aialpha = 0
  1262.         };
  1263.         if (aialpha == 0) {
  1264.             h.splice(h.indexOf('Inverter'))
  1265.         }
  1266.     };
  1267.     if (UI.IsHotkeyActive('Rage', 'GENERAL', 'General', 'Force safe point')) {
  1268.         spalpha = Math.min(spalpha + _0x48e4x145, 1)
  1269.     } else {
  1270.         spalpha = spalpha - _0x48e4x145;
  1271.         if (spalpha < 0) {
  1272.             spalpha = 0
  1273.         };
  1274.         if (spalpha == 0) {
  1275.             h.splice(h.indexOf('Safe point override'))
  1276.         }
  1277.     };
  1278.     if (UI.IsHotkeyActive('Rage', 'GENERAL', 'General', 'Force body aim')) {
  1279.         fbalpha = Math.min(fbalpha + _0x48e4x145, 1)
  1280.     } else {
  1281.         fbalpha = fbalpha - _0x48e4x145;
  1282.         if (fbalpha < 0) {
  1283.             fbalpha = 0
  1284.         };
  1285.         if (fbalpha == 0) {
  1286.             h.splice(h.indexOf('Force body aim'))
  1287.         }
  1288.     };
  1289.     if (UI.IsHotkeyActive('Rage', 'Exploits', 'Doubletap')) {
  1290.         dtalpha = Math.min(dtalpha + _0x48e4x145, 1)
  1291.     } else {
  1292.         dtalpha = dtalpha - _0x48e4x145;
  1293.         if (dtalpha < 0) {
  1294.             dtalpha = 0
  1295.         };
  1296.         if (dtalpha == 0) {
  1297.             h.splice(h.indexOf('Double tap'))
  1298.         }
  1299.     };
  1300.     if (UI.IsHotkeyActive('Rage', 'Exploits', 'Hide shots')) {
  1301.         hsalpha = Math.min(hsalpha + _0x48e4x145, 1)
  1302.     } else {
  1303.         hsalpha = hsalpha - _0x48e4x145;
  1304.         if (hsalpha < 0) {
  1305.             hsalpha = 0
  1306.         };
  1307.         if (hsalpha == 0) {
  1308.             h.splice(h.indexOf('Hide shots'))
  1309.         }
  1310.     };
  1311.     if (UI.IsHotkeyActive('Script items', 'Heavy Pistol Override') || !UI.IsHotkeyActive('Script items', 'Scout Override') || !UI.IsHotkeyActive('Script items', 'AWP Override') || !UI.IsHotkeyActive('Script items', 'Auto Override')) {
  1312.         doalpha = Math.min(doalpha + _0x48e4x145, 1)
  1313.     } else {
  1314.         doalpha = doalpha - _0x48e4x145;
  1315.         if (doalpha < 0) {
  1316.             doalpha = 0
  1317.         };
  1318.         if (doalpha == 0) {
  1319.             h.splice(h.indexOf('Damage override'))
  1320.         }
  1321.     };
  1322.     if (UI.IsHotkeyActive('Anti-Aim', 'Extra', 'Slow walk')) {
  1323.         if (h.indexOf('Slow walk') == -1) {
  1324.             h.push('Slow walk')
  1325.         }
  1326.     };
  1327.     if (UI.IsHotkeyActive('Anti-Aim', 'Extra', 'Fake duck')) {
  1328.         if (h.indexOf('Duck peek assist') == -1) {
  1329.             h.push('Duck peek assist')
  1330.         }
  1331.     };
  1332.     if (UI.IsHotkeyActive('Misc', 'GENERAL', 'Movement', 'Auto peek')) {
  1333.         if (h.indexOf('Auto peek') == -1) {
  1334.             h.push('Auto peek')
  1335.         }
  1336.     };
  1337.     if (UI.IsHotkeyActive('Anti-Aim', 'Fake angles', 'Inverter')) {
  1338.         if (h.indexOf('Anti-aim inverter') == -1) {
  1339.             h.push('Anti-aim inverter')
  1340.         }
  1341.     };
  1342.     if (UI.IsHotkeyActive('Rage', 'GENERAL', 'General', 'Force safe point')) {
  1343.         if (h.indexOf('Safe point override') == -1) {
  1344.             h.push('Safe point override')
  1345.         }
  1346.     };
  1347.     if (UI.IsHotkeyActive('Rage', 'GENERAL', 'General', 'Force body aim')) {
  1348.         if (h.indexOf('Force body aim') == -1) {
  1349.             h.push('Force body aim')
  1350.         }
  1351.     };
  1352.     if (UI.IsHotkeyActive('Rage', 'Exploits', 'Doubletap')) {
  1353.         if (h.indexOf('Double tap') == -1) {
  1354.             h.push('Double tap')
  1355.         }
  1356.     };
  1357.     if (UI.IsHotkeyActive('Rage', 'Exploits', 'Hide shots')) {
  1358.         if (h.indexOf('Hide shots') == -1) {
  1359.             h.push('Hide shots')
  1360.         }
  1361.     };
  1362.     if (UI.IsHotkeyActive('Script items', 'Scout Override')) {
  1363.         if (h.indexOf('Damage override') == -1) {
  1364.             h.push('Damage override')
  1365.         }
  1366.     };
  1367.     if (h.length > 0) {
  1368.         alpha = Math.min(alpha + _0x48e4x145, 1)
  1369.     } else {
  1370.         alpha = alpha - _0x48e4x145;
  1371.         if (alpha < 0) {
  1372.             alpha = 0
  1373.         }
  1374.     };
  1375.     for (i = 0; i < h.length; i++) {
  1376.         if (Render.TextSizeCustom(h[i], _0x48e4xba)[0] > maxwidth) {
  1377.             maxwidth = Render.TextSizeCustom(h[i], _0x48e4xba)[0]
  1378.         }
  1379.     };
  1380.     var _0x48e4x131 = UI.GetValue('Script items', 'Style Indicators');
  1381.     if (maxwidth == 0) {
  1382.         maxwidth = 50
  1383.     };
  1384.     _0x48e4xe4 = _0x48e4xe4 + maxwidth;
  1385.     if (alpha > 0) {
  1386.         if (_0x48e4x131 == 0) {
  1387.             Render.GradientRect(_0x48e4xa7, _0x48e4xa8 + 4, _0x48e4xe4, 1, 2, [203, 70, 205, 255], [204, 227, 53, 255])
  1388.         } else {
  1389.             if (_0x48e4x131 == 1) {
  1390.                 Render.GradientRect(_0x48e4xa7 - 3, _0x48e4xa8 + 3, 80, 2, 1, [colorhotkeys[0], colorhotkeys[1], colorhotkeys[2], 0], [colorhotkeys[0], colorhotkeys[1], colorhotkeys[2], 255]);
  1391.                 Render.GradientRect(_0x48e4xa7 + 77, _0x48e4xa8 + 3, _0x48e4xe4 - 75, 2, 1, [colorhotkeys[0], colorhotkeys[1], colorhotkeys[2], 255], [colorhotkeys[0], colorhotkeys[1], colorhotkeys[2], 0])
  1392.             }
  1393.         };
  1394.         Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 5, _0x48e4xe4, 18, [17, 17, 17, colorhotkeys1[3]]);
  1395.         Render.StringCustom(_0x48e4xa7 + _0x48e4xe4 / 2 - (Render.TextSizeCustom('keybinds', _0x48e4xba)[0] / 2) + 2, _0x48e4xa8 + 9, 0, 'keybinds', [0, 0, 0, alpha * 255 / 1.3], _0x48e4xba);
  1396.         Render.StringCustom(_0x48e4xa7 + _0x48e4xe4 / 2 - (Render.TextSizeCustom('keybinds', _0x48e4xba)[0] / 2) + 1, _0x48e4xa8 + 8, 0, 'keybinds', [255, 255, 255, alpha * 255], _0x48e4xba);
  1397.         for (i = 0; i < h.length; i++) {
  1398.             switch (h[i]) {
  1399.                 case 'Slow walk':
  1400.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(swalpha * 255, colorhotkeys[3]))]);
  1401.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, swalpha * 255 / 1.3], _0x48e4xba);
  1402.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, swalpha * 255], _0x48e4xba);
  1403.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [0, 0, 0, swalpha * 255 / 1.3], _0x48e4xba);
  1404.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [255, 255, 255, swalpha * 255], _0x48e4xba);
  1405.                     break;
  1406.                 case 'Duck peek assist':
  1407.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(fdalpha * 255, colorhotkeys[3]))]);
  1408.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, fdalpha * 255 / 1.3], _0x48e4xba);
  1409.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, fdalpha * 255], _0x48e4xba);
  1410.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [0, 0, 0, fdalpha * 255 / 1.3], _0x48e4xba);
  1411.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [255, 255, 255, fdalpha * 255], _0x48e4xba);
  1412.                     break;
  1413.                 case 'Auto peek':
  1414.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(apalpha * 255, colorhotkeys[3]))]);
  1415.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, apalpha * 255 / 1.3], _0x48e4xba);
  1416.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, apalpha * 255], _0x48e4xba);
  1417.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [0, 0, 0, apalpha * 255 / 1.3], _0x48e4xba);
  1418.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [255, 255, 255, apalpha * 255], _0x48e4xba);
  1419.                     break;
  1420.                 case 'Anti-aim inverter':
  1421.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(aialpha * 255, colorhotkeys[3]))]);
  1422.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, aialpha * 255 / 1.3], _0x48e4xba);
  1423.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, aialpha * 255], _0x48e4xba);
  1424.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [0, 0, 0, aialpha * 255 / 1.3], _0x48e4xba);
  1425.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [255, 255, 255, aialpha * 255], _0x48e4xba);
  1426.                     break;
  1427.                 case 'Safe point override':
  1428.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(spalpha * 255, colorhotkeys[3]))]);
  1429.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, spalpha * 255 / 1.3], _0x48e4xba);
  1430.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, spalpha * 255], _0x48e4xba);
  1431.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [0, 0, 0, spalpha * 255 / 1.3], _0x48e4xba);
  1432.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [255, 255, 255, spalpha * 255], _0x48e4xba);
  1433.                     break;
  1434.                 case 'Force body aim':
  1435.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(fbalpha * 255, colorhotkeys[3]))]);
  1436.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, fbalpha * 255 / 1.3], _0x48e4xba);
  1437.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, fbalpha * 255], _0x48e4xba);
  1438.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [0, 0, 0, fbalpha * 255 / 1.3], _0x48e4xba);
  1439.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [255, 255, 255, fbalpha * 255], _0x48e4xba);
  1440.                     break;
  1441.                 case 'Double tap':
  1442.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(dtalpha * 255, colorhotkeys[3]))]);
  1443.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, dtalpha * 255 / 1.3], _0x48e4xba);
  1444.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, dtalpha * 255], _0x48e4xba);
  1445.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [0, 0, 0, dtalpha * 255 / 1.3], _0x48e4xba);
  1446.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [255, 255, 255, dtalpha * 255], _0x48e4xba);
  1447.                     break;
  1448.                 case 'Hide shots':
  1449.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(hsalpha * 255, colorhotkeys[3]))]);
  1450.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, hsalpha * 255 / 1.3], _0x48e4xba);
  1451.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, hsalpha * 255], _0x48e4xba);
  1452.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [0, 0, 0, hsalpha * 255 / 1.3], _0x48e4xba);
  1453.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[toggled]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[toggled]', [255, 255, 255, hsalpha * 255], _0x48e4xba);
  1454.                     break;
  1455.                 case 'Damage override':
  1456.                     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 23 + 18 * i, _0x48e4xe4, 18, [17, 17, 17, Math.min(colorhotkeys[3], Math.min(doalpha * 255, colorhotkeys[3]))]);
  1457.                     Render.StringCustom(_0x48e4xa7 + 3, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [0, 0, 0, doalpha * 255 / 1.3], _0x48e4xba);
  1458.                     Render.StringCustom(_0x48e4xa7 + 2, _0x48e4xa8 + 26 + 18 * i, 0, h[i], [255, 255, 255, doalpha * 255], _0x48e4xba);
  1459.                     Render.StringCustom(_0x48e4xa7 - 3 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [0, 0, 0, doalpha * 255 / 1.3], _0x48e4xba);
  1460.                     Render.StringCustom(_0x48e4xa7 - 2 + _0x48e4xe4 - Render.TextSizeCustom('[holding]', _0x48e4xba)[0], _0x48e4xa8 + 26 + 18 * i, 0, '[holding]', [255, 255, 255, doalpha * 255], _0x48e4xba);
  1461.                     break
  1462.             }
  1463.         }
  1464.     };
  1465.     if (Global.IsKeyPressed(1) && UI.IsMenuOpen()) {
  1466.         var _0x48e4x146 = Global.GetCursorPosition();
  1467.         if (in_bounds(_0x48e4x146, _0x48e4xa7, _0x48e4xa8, _0x48e4xa7 + _0x48e4xe4, _0x48e4xa8 + 30)) {
  1468.             UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys_x', _0x48e4x146[0] - _0x48e4xe4 / 2);
  1469.             UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Hotkeys_y', _0x48e4x146[1] - 20)
  1470.         }
  1471.     }
  1472. }
  1473. Global.RegisterCallback('Draw', 'main_hotkeys');
  1474.  
  1475. function hex_to_ascii(_0x48e4x114) {
  1476.     var _0x48e4x115 = _0x48e4x114.toString();
  1477.     var _0x48e4x116 = '';
  1478.     for (var _0x48e4x117 = 0; _0x48e4x117 < _0x48e4x115.length; _0x48e4x117 += 2) {
  1479.         _0x48e4x116 += String.fromCharCode(parseInt(_0x48e4x115.substr(_0x48e4x117, 2), 16))
  1480.     };
  1481.     return _0x48e4x116
  1482. }
  1483. var username = Cheat.GetUsername();;;
  1484. UI.AddColorPicker('Yaw color');
  1485. var color = UI.GetColor('Misc', 'JAVASCRIPT', '"Yaw color"');
  1486. if (color[3] == 0) {
  1487.     UI.SetColor('Misc', 'Javascript', 'Script items', 'Yaw color', [255, 255, 255, 255])
  1488. };
  1489.  
  1490. function HSVtoRGB(h, _0x48e4xed, _0x48e4xbe) {
  1491.     var _0x48e4xee, _0x48e4xef, _0x48e4xf0, _0x48e4x9c, _0x48e4xf1, _0x48e4xf2, _0x48e4xf3, _0x48e4xf4;
  1492.     if (arguments.length === 1) {
  1493.         _0x48e4xed = h.s, _0x48e4xbe = h.v, h = h.h
  1494.     };
  1495.     _0x48e4x9c = Math.floor(h * 6);
  1496.     _0x48e4xf1 = h * 6 - _0x48e4x9c;
  1497.     _0x48e4xf2 = _0x48e4xbe * (1 - _0x48e4xed);
  1498.     _0x48e4xf3 = _0x48e4xbe * (1 - _0x48e4xf1 * _0x48e4xed);
  1499.     _0x48e4xf4 = _0x48e4xbe * (1 - (1 - _0x48e4xf1) * _0x48e4xed);
  1500.     switch (_0x48e4x9c % 6) {
  1501.         case 0:
  1502.             _0x48e4xee = _0x48e4xbe, _0x48e4xef = _0x48e4xf4, _0x48e4xf0 = _0x48e4xf2;
  1503.             break;
  1504.         case 1:
  1505.             _0x48e4xee = _0x48e4xf3, _0x48e4xef = _0x48e4xbe, _0x48e4xf0 = _0x48e4xf2;
  1506.             break;
  1507.         case 2:
  1508.             _0x48e4xee = _0x48e4xf2, _0x48e4xef = _0x48e4xbe, _0x48e4xf0 = _0x48e4xf4;
  1509.             break;
  1510.         case 3:
  1511.             _0x48e4xee = _0x48e4xf2, _0x48e4xef = _0x48e4xf3, _0x48e4xf0 = _0x48e4xbe;
  1512.             break;
  1513.         case 4:
  1514.             _0x48e4xee = _0x48e4xf4, _0x48e4xef = _0x48e4xf2, _0x48e4xf0 = _0x48e4xbe;
  1515.             break;
  1516.         case 5:
  1517.             _0x48e4xee = _0x48e4xbe, _0x48e4xef = _0x48e4xf2, _0x48e4xf0 = _0x48e4xf3;
  1518.             break
  1519.     };
  1520.     return {
  1521.         r: Math.round(_0x48e4xee * 255),
  1522.         g: Math.round(_0x48e4xef * 255),
  1523.         b: Math.round(_0x48e4xf0 * 255)
  1524.     }
  1525. }
  1526.  
  1527. function draw() {
  1528.     var _0x48e4x148 = HSVtoRGB(Global.Tickcount() % 350 / 350, 1, 1);
  1529.     if (!World.GetServerString()) {
  1530.         return
  1531.     };
  1532.     var _0x48e4xe2 = Math.round(Entity.GetProp(Entity.GetLocalPlayer(), 'CPlayerResource', 'm_iPing')).toString();
  1533.     const _0x48e4xe3 = new Date();
  1534.     const _0x48e4x149 = _0x48e4xe3.getHours(),
  1535.         _0x48e4x14a = _0x48e4xe3.getMinutes(),
  1536.         _0x48e4x14b = _0x48e4xe3.getSeconds();
  1537.     const _0x48e4x14c = (_0x48e4x149 < 10 ? '0' + _0x48e4x149 : _0x48e4x149) + ':' + (_0x48e4x14a < 10 ? '0' + _0x48e4x14a : _0x48e4x14a) + ':' + (_0x48e4x14b < 10 ? '0' + _0x48e4x14b : _0x48e4x14b);
  1538.     color = UI.GetColor('Misc', 'Javascript', 'Script items', 'Watermark');
  1539.     var _0x48e4xba = Render.AddFont('Verdana', 7, 400);
  1540.     var _0x48e4xb9 = 'predictive - yaw  | ' + username + ' | [Version        ] | ' + _0x48e4x14c + ' |     ';
  1541.     var h = 18;
  1542.     var _0x48e4xc2 = Render.TextSizeCustom(_0x48e4xb9, _0x48e4xba)[0] + 8;
  1543.     var _0x48e4xa7 = Global.GetScreenSize()[0];
  1544.     var _0x48e4xa8 = 10;
  1545.     var standart = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Watermark (Standart) Color');
  1546.     var _0x48e4x131 = UI.GetValue('Script items', 'Style Indicators');
  1547.     _0x48e4xa7 = _0x48e4xa7 - _0x48e4xc2 - 10;
  1548.     if (_0x48e4x131 == 0) {
  1549.         Render.GradientRect(_0x48e4xa7, _0x48e4xa8 + 1, _0x48e4xc2, 1, 2, [55, 177, 218, 255], [203, 70, 205, 255]);
  1550.         Render.GradientRect(_0x48e4xa7, _0x48e4xa8 + 1, _0x48e4xc2, 1, 2, [203, 70, 205, 255], [204, 227, 53, 255])
  1551.     } else {
  1552.         if (_0x48e4x131 == 1) {
  1553.             Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 1, _0x48e4xc2, 1, [standart[0], standart[1], standart[2], 255])
  1554.         }
  1555.     };
  1556.     Render.FilledRect(_0x48e4xa7, _0x48e4xa8 + 2, _0x48e4xc2, h, [15, 15, 15, standart[3]]);
  1557.     var _0x48e4x14d = UI.GetValue('Script items', 'Watermark Icons');
  1558.     if (_0x48e4x14d == 0) {
  1559.         Render.String(_0x48e4xa7 + _0x48e4xc2 - 18, _0x48e4xa8 + 5, 0, '!', [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 255], 6)
  1560.     } else {
  1561.         if (_0x48e4x14d == 1) {
  1562.             Render.String(_0x48e4xa7 + _0x48e4xc2 - 19, _0x48e4xa8 + 5, 0, '@', [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 255], 6)
  1563.         } else {
  1564.             if (_0x48e4x14d == 2) {
  1565.                 Render.String(_0x48e4xa7 + _0x48e4xc2 - 20, _0x48e4xa8 + 5, 0, '^', [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 255], 6)
  1566.             } else {
  1567.                 if (_0x48e4x14d == 3) {
  1568.                     Render.String(_0x48e4xa7 + _0x48e4xc2 - 18, _0x48e4xa8 + 5, 0, '#', [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 255], 6)
  1569.                 }
  1570.             }
  1571.         }
  1572.     };
  1573.     Render.StringCustom(_0x48e4xa7 + _0x48e4xc2 - 112, _0x48e4xa8 + 4, 0, '3.0', [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 255], _0x48e4xba);
  1574.     Render.StringCustom(_0x48e4xa7 + 4, _0x48e4xa8 + 4, 0, _0x48e4xb9, [255, 255, 255, 255], _0x48e4xba)
  1575. }
  1576. Cheat.RegisterCallback('Draw', 'draw');
  1577.  
  1578. function drawner() {
  1579.     var _0x48e4x14f = [];
  1580.     var _0x48e4x150 = Global.GetScreenSize();
  1581.     var _0x48e4xba = Render.AddFont('Calibri Bold', 8, 400);
  1582.     var _0x48e4x151 = Render.AddFont('Calibri Bold', 8, 501);
  1583.     var _0x48e4x152 = Render.AddFont('Calibri Bold', 8, 500);
  1584.     var _0x48e4x153 = UI.GetColor('Misc', 'JAVASCRIPT', '"predictive - yaw" color');
  1585.     Render.StringCustom(_0x48e4x150[0] / 2, _0x48e4x150[1] / 2 + 24, 1, 'predictive - yaw', [0, 0, 0, color[3]], _0x48e4x152);
  1586.     Render.StringCustom(_0x48e4x150[0] / 2, _0x48e4x150[1] / 2 + 25, 1, 'predictive - yaw', [color[0], color[1], color[2], color[3]], _0x48e4xba)
  1587. }
  1588.  
  1589. function HSVtoRGB(h, _0x48e4xed, _0x48e4xbe) {
  1590.     var _0x48e4xee, _0x48e4xef, _0x48e4xf0, _0x48e4x9c, _0x48e4xf1, _0x48e4xf2, _0x48e4xf3, _0x48e4xf4;
  1591.     if (arguments.length === 1) {
  1592.         _0x48e4xed = h.s, _0x48e4xbe = h.v, h = h.h
  1593.     };
  1594.     _0x48e4x9c = Math.floor(h * 6);
  1595.     _0x48e4xf1 = h * 6 - _0x48e4x9c;
  1596.     _0x48e4xf2 = _0x48e4xbe * (1 - _0x48e4xed);
  1597.     _0x48e4xf3 = _0x48e4xbe * (1 - _0x48e4xf1 * _0x48e4xed);
  1598.     _0x48e4xf4 = _0x48e4xbe * (1 - (1 - _0x48e4xf1) * _0x48e4xed);
  1599.     switch (_0x48e4x9c % 6) {
  1600.         case 0:
  1601.             _0x48e4xee = _0x48e4xbe, _0x48e4xef = _0x48e4xf4, _0x48e4xf0 = _0x48e4xf2;
  1602.             break;
  1603.         case 1:
  1604.             _0x48e4xee = _0x48e4xf3, _0x48e4xef = _0x48e4xbe, _0x48e4xf0 = _0x48e4xf2;
  1605.             break;
  1606.         case 2:
  1607.             _0x48e4xee = _0x48e4xf2, _0x48e4xef = _0x48e4xbe, _0x48e4xf0 = _0x48e4xf4;
  1608.             break;
  1609.         case 3:
  1610.             _0x48e4xee = _0x48e4xf2, _0x48e4xef = _0x48e4xf3, _0x48e4xf0 = _0x48e4xbe;
  1611.             break;
  1612.         case 4:
  1613.             _0x48e4xee = _0x48e4xf4, _0x48e4xef = _0x48e4xf2, _0x48e4xf0 = _0x48e4xbe;
  1614.             break;
  1615.         case 5:
  1616.             _0x48e4xee = _0x48e4xbe, _0x48e4xef = _0x48e4xf2, _0x48e4xf0 = _0x48e4xf3;
  1617.             break
  1618.     };
  1619.     return {
  1620.         r: Math.round(_0x48e4xee * 255),
  1621.         g: Math.round(_0x48e4xef * 255),
  1622.         b: Math.round(_0x48e4xf0 * 255)
  1623.     }
  1624. }
  1625. var logs = [];
  1626. const log = function (_0x48e4xb9, _0x48e4x14c) {
  1627.     this.text = _0x48e4xb9;
  1628.     this.time = _0x48e4x14c
  1629. };
  1630. const hitboxes = ['generic', 'head', 'chest', 'stomach', 'left arm', 'right arm', 'left leg', 'right leg', 'body'];
  1631. const get_hitbox = function (_0x48e4x9c) {
  1632.     return hitboxes[_0x48e4x9c] || 'Generic'
  1633. };
  1634. const hitlogs = function () {
  1635.     const _0x48e4x159 = Entity.GetEntityFromUserID(Event.GetInt('userid'));
  1636.     const _0x48e4xdc = Entity.GetEntityFromUserID(Event.GetInt('attacker'));
  1637.     const _0x48e4xb9 = '[Predictive] hurt ' + Entity.GetName(_0x48e4x159) + ' for ' + Event.GetInt('dmg_health') + ' in ' + get_hitbox(Event.GetInt('hitgroup'));
  1638.     if (Entity.IsLocalPlayer(_0x48e4xdc) && _0x48e4xdc != _0x48e4x159) {
  1639.         logs.push(new log(_0x48e4xb9, Globals.Tickcount()))
  1640.     }
  1641. };
  1642. const draw = function () {
  1643.     var _0x48e4x148 = HSVtoRGB(Global.Tickcount() % 350 / 350, 1, 1);
  1644.     const _0x48e4xba = Render.AddFont('Smallest Pixel-7', 8, 400);
  1645.     for (var _0x48e4x9c in logs) {
  1646.         logc = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'HitLogs Color');
  1647.         var _0x48e4x15a = Render.TextSizeCustom(logs[_0x48e4x9c].text, _0x48e4xba);
  1648.         Render.GradientRect(0, 4 - (_0x48e4x9c * -15), _0x48e4x15a[0] + 40, 15, 1, [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 150], [logc[0], logc[1], logc[2], 0]);
  1649.         Render.StringCustom(5, 5 - (_0x48e4x9c * -15), 0, logs[_0x48e4x9c].text, [_0x48e4x148.r, _0x48e4x148.g, _0x48e4x148.b, 255], _0x48e4xba);
  1650.         if (logs[_0x48e4x9c].time + 300 < Globals.Tickcount()) {
  1651.             logs.shift()
  1652.         }
  1653.     }
  1654. };
  1655.  
  1656. function onRender() {
  1657.     var _0x48e4x150 = Global.GetScreenSize();
  1658.     var _0x48e4xba = Render.AddFont('Small pixel', 7, 400);
  1659.     var _0x48e4x15b = Entity.GetLocalPlayer();
  1660.     entities = Entity.GetEntities();
  1661.     for (i = 0; i < entities.length; i++) {
  1662.         if (Entity.IsLocalPlayer(entities[i])) {
  1663.             var _0x48e4x15c = Local.GetRealYaw();
  1664.             var _0x48e4x15d = Local.GetFakeYaw();
  1665.             var _0x48e4x15e = UI.IsHotkeyActive('Anti-aim', 'Extra', 'Slow walk', 'Enabled');
  1666.             var _0x48e4x15f = Math.min(Math.abs(_0x48e4x15c - _0x48e4x15d) / 2, 60).toFixed(1);
  1667.             var _0x48e4x160 = Entity.GetProp(_0x48e4x15b, 'CBasePlayer', 'm_hGroundEntity');
  1668.             duckamount = Entity.GetProp(entities[i], 'CBasePlayer', 'm_flDuckAmount');
  1669.             if (duckamount > 0) {
  1670.                 Render.StringCustom(_0x48e4x150[0] / 2, _0x48e4x150[1] / 2 + 40, 1, 'duck [ ' + _0x48e4x15f.toString() + ' ]', [0, 255, 0, 255], _0x48e4xba)
  1671.             } else {
  1672.                 if (_0x48e4x160 == 'm_hGroundEntity') {
  1673.                     Render.StringCustom(_0x48e4x150[0] / 2, _0x48e4x150[1] / 2 + 40, 1, 'air [ ' + _0x48e4x15f.toString() + ' ]', [0, 255, 0, 255], _0x48e4xba)
  1674.                 } else {
  1675.                     if (UI.IsHotkeyActive('Anti-aim', 'Extra', 'Slow walk', 'Enabled')) {
  1676.                         Render.StringCustom(_0x48e4x150[0] / 2, _0x48e4x150[1] / 2 + 40, 1, 'slowwalk [ ' + _0x48e4x15f.toString() + ' ]', [0, 255, 0, 255], _0x48e4xba)
  1677.                     } else {
  1678.                         Render.StringCustom(_0x48e4x150[0] / 2, _0x48e4x150[1] / 2 + 40, 1, 'static [ ' + _0x48e4x15f.toString() + ' ]', [0, 255, 0, 255], _0x48e4xba)
  1679.                     }
  1680.                 }
  1681.             }
  1682.         }
  1683.     }
  1684. }
  1685. Cheat.RegisterCallback('Draw', 'onRender');
  1686. Cheat.RegisterCallback('Draw', 'draw');
  1687. Cheat.RegisterCallback('player_hurt', 'hitlogs');
  1688. Cheat.RegisterCallback('Draw', 'drawner');
  1689. Convar.SetString('fps_max', '400');
  1690. UI.AddLabel('');
  1691. UI.AddSliderInt('', -1, 0)
Advertisement
Add Comment
Please, Sign In to add comment