JS-скрипт ♂Slave♂Cord 1.1 [UPD: 09.03] - Скрипт для настоящих ♂Dungeon masters♂

Начинающий
Статус
Оффлайн
Регистрация
30 Ноя 2019
Сообщения
65
Реакции[?]
7
Поинты[?]
0
Товары в продаже
1
♂Slave♂Cord
И так, представляю вам свою первую пасту для настоящих ♂Dungeon masters♂

Watermark(Neverlose)
Keybinds
Min damage
Backshot
Low delta on steroids(Джиттеры с маленьким углом)
Fps boost
Grenade helper v3 by v1pix
Trashtalk
Пожалуйста, авторизуйтесь для просмотра ссылки.
1.0 - Release.
1.1 - Добавил Scout Air HC, Animfucker, Legit AA on key(немного кривой), переделал min damage.

Код:
[/CENTER]
UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");

//Watermark
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Watermark(Neverlose)           ");
UI.AddLabel(" ");
Cheat.CursorInBox = function(x, y, length, height) {
    var cursor = Input.GetCursorPosition()
    if (cursor[0] > x && cursor[0] < x + length && cursor[1] > y && cursor[1] < y + height)
        return true
    return false
}

function drawBoard(x, y, w, h, color, title) {
    var font = Render.AddFont("MuseoSansCyrl-900", 11, 500)

    Render.FilledRect(x, y - 1, w - 2, h, color)
    Render.FilledRect(x - 1, y, w, h - 2, color)

    Render.FilledRect(x + 15, y + 25, w - 30, 2, [27, 27, 29, 255])

    Render.StringCustom(x + 15, y + 5, 0, title, [255, 255, 255, 255], font)
}

var x = "X";
var y = "Y";

X = function () {
    return UI.GetValue("Script items", x)
}
Y = function () {
    return UI.GetValue("Script items", y)
}
function sliders() {
    UI.AddSliderInt(x, -630, Render.GetScreenSize()[0])
    UI.AddSliderInt(y, -600, Render.GetScreenSize()[1])

    UI.SetEnabled("Script items", x, false)
    UI.SetEnabled("Script items", y, false)
}
sliders()

var menumove = false;
var waitforup = false;
var offsetx = 0;
var offsety = 0;

function checkMovement() {
    var cursor = Input.GetCursorPosition()
    var onmenu = Cheat.CursorInBox(X(), Y(), 200, 200)
    if (UI.IsMenuOpen()) {
        if (Input.IsKeyPressed(0x01) && !waitforup && onmenu) {
            menumove = true
            offsetx = cursor[0] - X()
            offsety = cursor[1] - Y()
            waitforup = true
        }
        if (!Input.IsKeyPressed(0x01)) {
            menumove = false
            waitforup = false
        }
        if (menumove) {
            UI.SetValue("Script items", "X", cursor[0] - offsetx)
            UI.SetValue("Script items", "Y", cursor[1] - offsety)
        }
    }
}
Cheat.RegisterCallback("Draw", "checkMovement")

var idCheckbox = 0
var comboOverlapping = false
var comboactive = -1
var wasDown = []

function resetSpacing() {
    idCheckbox = 0
}
resetSpacing()

function checkbox(x, y, name, enable) {
    var size = 8
    var frames = 8 * Globals.Frametime();
    var font = Render.AddFont("MuseoSansCyrl-500", 10, 500)
    var color = [3, 5, 13, 255]
    var color1 = [74, 87, 97, 255]
    var xs = 0

    if (enable) {
        color = [3, 23, 46, 255]
        color1 = [3, 168, 245, 255]
        xs = 28
    } else {
        color = [3, 5, 13, 255]
        color1 = [74, 87, 97, 255]
        xs = 0
    }

    if (!comboOverlapping) {
        Render.FilledCircle(x + 126, y + 15, 7, color)
        Render.FilledCircle(x + 153, y + 15, 7, color)
        Render.FilledRect(x + 125, y + 8, 30, 15, color)

        Render.FilledCircle(x + 126 + xs, y + 15, 9, color1)

        Render.StringCustom(x, y + 5, 0, name, [255, 255, 255, 255], font)
    }
 
    if (UI.IsMenuOpen() && !comboOverlapping) {
        if ((Cheat.CursorInBox(x + 122, y + 8, 42, 15)) && comboactive == -1) {
            if (!wasDown[idCheckbox]) {
                if (Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = true
                    return true
                }
            }
            else if (wasDown[idCheckbox]) {
                if (!Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = false
                    return false
                }
            }
            return false
        }
    }
}

var tab = 0

UI.AddCheckbox("Show ping")
UI.AddCheckbox("Show name")
UI.AddCheckbox("Show time")
UI.AddCheckbox("Show ip")

function watermark() {

    var AddCheckbox = function (x, y, name) {
        if (checkbox(x, y, name, UI.GetValue("Script items", name))) UI.SetValue("Script items", name, !UI.GetValue("Script items", name))
    }

    var username = Cheat.GetUsername()
    var fps = Math.floor(1 / Global.Frametime());
    var today = new Date();
    var ping = Math.floor(Global.Latency() * 1000 / 1.5);
    var ip = World.GetServerString()
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
    var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
    var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;

    var font = Render.AddFont("MuseoSansCyrl-900", 9, 900)
    var font1 = Render.AddFont("MuseoSansCyrl-900", 11, 900)
 
    var text = ""

    if (UI.GetValue("Script items", "Show name")) {
        text += ("| " + username)
    }
    if (UI.GetValue("Script items", "Show ping")) {
        text += (" | " + ping + " ms")
    }
    if (UI.GetValue("Script items", "Show time")) {
        text += (" | " + hours + minutes + seconds)
    }
    if (UI.GetValue("Script items", "Show fps")) {
        text += (" | " + fps + " fps")
    }
    if (UI.GetValue("Script items", "Show ip")) {
        text += (" | " + ip)
    }

    var text1 = "NL"

    var h = 27;
    var w = Render.TextSizeCustom(text, font)[0] + 33;
    var x = Global.GetScreenSize()[0] - 2;
    var y = 12;
    x = x - w - 10;

    Render.FilledRect(x, y - 1, w - 2, h, [0, 20, 20, 255]);
    Render.FilledRect(x - 1, y, w, h - 2, [0, 20, 20, 255]);
    Render.StringCustom(x + 28, y + 5, 0, text, [255, 255, 255, 255], font)

    Render.StringCustom(x + 4, y + 3, 0, text1, [34, 179, 246, 255], font1)
    Render.StringCustom(x + 5, y + 4, 0, text1, [255, 255, 255, 255], font1)


    if (Cheat.CursorInBox(x, y, w, h) && Input.IsKeyPressed(0x02)) {
        tab = 1
    }

    if (!Cheat.CursorInBox(X(), Y(), 200, 200) && Input.IsKeyPressed(0x01)) {
        tab = 0
    }

    if (tab == 1 && UI.IsMenuOpen()) {
        drawBoard(X(), Y(), 200, 200, [11, 11, 14, 255], "Watermark Settings");
        AddCheckbox(X() + 15, Y() + 35, "Show ping")
        AddCheckbox(X() + 15, Y() + 65, "Show name")
        AddCheckbox(X() + 15, Y() + 95, "Show time")
        AddCheckbox(X() + 15, Y() + 155, "Show ip")
    }
}

Cheat.RegisterCallback("Draw", "watermark")
UI.AddLabel(" ");

//keybinds
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Keybinds                  ");
UI.AddLabel(" ");
UI.AddCheckbox("Keybinds")
const keybinds_x = UI.AddSliderInt("keybinds_x", 0, Global.GetScreenSize()[0])
const keybinds_y = UI.AddSliderInt("keybinds_y", 0, Global.GetScreenSize()[1])

function in_bounds(vec, x, y, x2, y2)
{
   return (vec[0] > x) && (vec[1] > y) && (vec[0] < x2) && (vec[1] < y2)
}

function xy()
{
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_x", false)
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_y", false)
}
xy();

function binds()
{

     if (UI.GetValue("Misc","JAVASCRIPT","Script items","Keybinds")){
     var watermark_name = Entity.GetName(Entity.GetLocalPlayer( ));
     var today = new Date();
     var hours1 = today.getHours();
     var minutes1 = today.getMinutes();
     var seconds1 = today.getSeconds();
     var localplayer_index = Entity.GetLocalPlayer();
     var velocity = Entity.GetProp(localplayer_index, "CBasePlayer", "m_vecVelocity[0]");
     var speed = Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
     var finalspeed = Math.min( 9999, speed ) + 0.2
     var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
     var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
     var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;
     const tickrate = Globals.Tickrate();
     const ping = Math.floor(Global.Latency() * 1000 / 1.5);
     const fps = Math.floor( 1 / Global.Frametime() );
     var h = [];
     const fontpixel = Render.AddFont("Segoe ui", 8, 100);

                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk")) {
                            h.push("Slow walk")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
                            h.push("Fake Duck")
                        }
                        if (UI.IsHotkeyActive("Misc", "General", "Movement", "Auto peek")) {
                            h.push("Auto peek")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Legit Anti-Aim", "Direction key")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force safe point")) {
                            h.push("Safe point")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Resolver override")) {
                            h.push("Resolver override")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force body aim")) {
                            h.push("Body aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Double tap")) {
                            h.push("Double tap")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Desync on shot")) {
                            h.push("On shot anti-aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {
                            h.push("Hide shots")
                        }
                        if (UI.IsHotkeyActive("Visual", "World", "View", "Zoom")) {
                            h.push("Zoom")
                        }
                        if (UI.IsHotkeyActive("Visual", "Self", "Freecam", "Enable")) {
                            h.push("Freecam")
                        }
                        if (UI.IsHotkeyActive("Misc", "Movement", "Edge jump")) {
                            h.push("Jump at edge")
                        }
                        if (UI.IsHotkeyActive("Legit", "GENERAL", "Triggerbot", "Enabled")) {
                            h.push("Triggerbot")
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Enable min dmg")) {
                            h.push("Minimum damage")                                                      
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Backshot")) {
                            h.push("Backshot")                                                      
                        }
                      
     const x = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x"),
           y = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y");

     Render.FilledRect(x+1, y+5, 200, 24, [0, 0, 0, 125]);



     Render.StringCustom(x + 80, y + 10 , 0, "keybinds", [255, 255, 255, 255], fontpixel);
     for (i = 0; i < h.length; i++)
     {
        Render.FilledRect(x+1, y + 29 + 18 * i, 200, 18, [0,0,0, 125]);

        Render.StringCustom(x+8, y + 29 + 18 * i, 0, h[i], [255, 255, 255, 255], fontpixel);
        Render.StringCustom(x+162, y + 29 + 18 * i, 0, "toggle", [255, 255, 255, 255], fontpixel);
     }

     if (Global.IsKeyPressed(1)) {
         const mouse_pos = Global.GetCursorPosition();
         if (in_bounds(mouse_pos, x, y, x + 200, y + 30)) {
          if (UI.IsMenuOpen( ) == false)
            return;
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x", mouse_pos[0] - 100);
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y", mouse_pos[1] - 20);
         }
     }
}
}

Global.RegisterCallback("Draw", "binds");
UI.AddLabel(" ");  

//speclist
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
  
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Лишняя хуйня которую я не могу вырезать
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
  
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Min Dmg
UI.AddLabel("------------------------------------------------------")
UI.AddLabel("               Minimum Damage")
UI.AddLabel(" ")
UI.AddCheckbox("Enable mindmg");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))



        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }



    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Verdana", 18, 700);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(18, y - 325, 0, str+"", [ 155, 100, 237, 255 ], font);
         Render.StringCustom(17, y - 325, 0, str+"", [155, 100, 237, 255], font)
}

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");
UI.AddLabel(" ");

//Low delta
UI.AddLabel("-----------------------------------------------------");
UI.AddLabel("                  Low delta");
UI.AddLabel(" ");
UI.AddCheckbox('Lowdelta');
function GetScriptOption(name)
{
    var Value = UI.GetValue("Misc", "JAVASCRIPT", "Script items", name);
    return Value;
}

function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min + 1) ) + min; }

function run() {
    AntiAim.SetOverride(1);

    if(GetScriptOption('Lowdelta')) {
        var real_offset = -20;
        var fake_offset = 0;

        // time to do random lby offset calculations

        var lby_start = getRndInteger(15, 25); // 1st lby stage
        var lby_end = getRndInteger(20, 30); // 2nd lby stage

        AntiAim.SetRealOffset(real_offset); // set the real to -20, if u want to invert it just do 20
        AntiAim.SetFakeOffset(fake_offset); // fake will be 0 as for now, its useless.

        var lby_delta = lby_start + lby_end; // 1st stage + 2nd stage angle

        var fake_delta = lby_start - 20; // first stage - 20

        AntiAim.SetLBYOffset(lby_start); // 1st lby set, 80% of the cases will bring lower angle than the 2nd stage
        AntiAim.SetLBYOffset(lby_end); // 2nd lby set, 80% of the cases will bring higher angle than the 1st stage
        AntiAim.SetLBYOffset(lby_delta) // EXPERIMENTAL: 3nd lby set; set it to a big angle to confuse enemy's resolver
        AntiAim.SetFakeOffset(fake_delta); // first stage - 20 basically lol

        //OVERALL: Your fake will just jitter but in small angles, it really helps tho.
    }
}
function unload() {
    AntiAim.SetOverride(0);
}
UI.AddLabel(" ");

//Fps boost
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Fps boost                 ");
UI.AddLabel(" ");
UI.AddCheckbox("Fps Boost");

function fps_boost()
{
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Fps Boost"))
        {
            // Disable shadows ->
            Convar.SetString("r_shadows", "0");
            Convar.SetString("cl_csm_static_prop_shadows", "0");
            Convar.SetString("cl_csm_shadows", "0");
            Convar.SetString("cl_csm_world_shadows", "0");
            Convar.SetString("cl_foot_contact_shadows", "0");
            Convar.SetString("cl_csm_viewmodel_shadows", "0");
            Convar.SetString("cl_csm_rope_shadows", "0");
            Convar.SetString("cl_csm_sprite_shadows", "0");
            // Disable blood ->
            Convar.SetString("violence_hblood", "0");
      
            // Disable 3dsky ->
            Convar.SetString("r_3dsky", "0");

            // Disable decals ->
            //Convar.SetString("r_drawdecals", "0");

            // Disable rain ->
            Convar.SetString("r_drawrain", "0");
      
            // Disable ropes ->
            Convar.SetString("r_drawropes", "0");

            // Disable sprites ->
            Convar.SetString("r_drawsprites", "0");

            // Disable water fog ->
            Convar.SetString("fog_enable_water_fog", "0");
        }
else
        {
            // Enable shadows ->
            Convar.SetString("r_shadows", "1");
            Convar.SetString("cl_csm_static_prop_shadows", "1");
            Convar.SetString("cl_csm_shadows", "1");
            Convar.SetString("cl_csm_world_shadows", "1");
            Convar.SetString("cl_foot_contact_shadows", "1");
            Convar.SetString("cl_csm_viewmodel_shadows", "1");
            Convar.SetString("cl_csm_rope_shadows", "1");
            Convar.SetString("cl_csm_sprite_shadows", "1");

            // Enable blood ->
            Convar.SetString("violence_hblood", "1");

            // Enable 3dsky ->
            Convar.SetString("r_3dsky", "1");

            // Enable decals ->
            //Convar.SetString("r_drawdecals", "1");

            // Enable rain ->
            Convar.SetString("r_drawrain", "1");

            // Enable ropes ->
            Convar.SetString("r_drawropes", "1");

            // Enable sprites ->
            Convar.SetString("r_drawsprites", "1");

            // Enable water fog ->
            Convar.SetString("fog_enable_water_fog", "1");
        }
    
}
UI.AddLabel(" ");

// Callbacks
Cheat.RegisterCallback( "Draw", "fps_boost" );


//Legit aa
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Legit aa           ");
UI.AddLabel(" ");
var original_aa = true;

UI.AddHotkey("Legit AA Key");

function legit_aa()
{
    if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Legit AA Key"))
    {
        if (original_aa)
        {
            restrictions_cache = UI.GetValue("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions");
            hiderealangle_cache = UI.GetValue ("Anti-Aim", "Fake angles", "Hide real angle");
            yaw_offset_cache = UI.GetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset");
            jitter_offset_cache = UI.GetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset");
            pitch_cache = UI.GetValue ("Anti-Aim", "Extra", "Pitch");
            original_aa = false;
        }
        UI.SetValue ("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", 0);
        UI.SetValue ("Anti-Aim", "Fake angles", "Hide real angle", true);
        UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset", 180);
        UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset", 0);
        UI.SetValue ("Anti-Aim", "Extra", "Pitch", 0);
    }
    else
    {
        if (!original_aa)
        {
            UI.SetValue ("Misc", "PERFORMANCE & INFORMATION", "Information", "Restrictions", restrictions_cache);
            UI.SetValue ("Anti-Aim", "Fake angles", "Hide real angle", hiderealangle_cache);
            UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Yaw offset", yaw_offset_cache);
            UI.SetValue ("Anti-Aim", "Rage Anti-Aim", "Jitter offset", jitter_offset_cache);
            UI.SetValue ("Anti-Aim", "Extra", "Pitch", pitch_cache);
            original_aa = true;
        }
    }
}

Cheat.RegisterCallback("CreateMove", "legit_aa");
UI.AddLabel(" ");

//animfucker
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Animfucker           ");
UI.AddLabel(" ");
UI.AddCheckbox("animfucker");
UI.AddSliderInt("animfucker speed", 1, 10);
var old_tick_count = 0;
function draw()
{
    if (UI.GetValue("Script items", "animfucker") && (Globals.Tickcount() - old_tick_count) > (UI.GetValue("Script items", "animfucker speed")))
    {
        if (UI.GetValue("Misc", "GENERAL", "Movement", "Slide walk"))
            UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 0);
        else
            UI.SetValue("Misc", "GENERAL", "Movement", "Slide walk", 1);
        old_tick_count = Globals.Tickcount();
    }
}
Cheat.RegisterCallback("Draw", "draw");
UI.AddLabel(" ");


//Grenade helper v3 by v1p1x
UI.AddLabel("------------------------------------------");
UI.AddLabel("              Grenade helper              ");
UI.AddLabel(" ");
UI.AddHotkey('Activate helper');
UI.AddMultiDropdown('Type', ['Grenades', 'Wallbangs']);
UI.AddDropdown('Render mode', ['Only visible']);
UI.AddDropdown('Style', ['Default', 'Outline'], 1);
var weapon_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang'
};
var wallbang_console_name = {
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var console_wallbang_grenades = {
    "molotov": true,
    "hegrenade": true,
    "smoke grenade": true,
    "flashbang": true,
    "wallbang": true,
    "weapon_console_name": true,
    "all_console_name": true,
    "v1pix": true,
    "robert": true,
    "Envy": true,
    "Dorian": true,
    "Mased": true,
    "grandmemo": true,
    "xux": true,
    "": true,
    "compin": true,
    "Lazzep": true,
    "nefro": true,
    "hell": true,
    "shanty": true,
    "Nitraitor": true,
    "PikkeR": true,
    "Jester": true,
    "goldness": true,
    "Mayor": true,
    "trill": true,
    "FENDIGLOCK": true,
    "SAVAGE": true,
    "frunza": true,
    "EDGARIX": true,
    "rallen": true,
    "zap": 'true',
    "Iroxy": true,
    "sharkyy": true,
    "proxin": true,
    "bigboss": true,
    "hidfid": true,
    "ogog": true,
    "legend": true,
    "Jasper": true,
    "S0lut1on": true
};
var all_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang',
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var off = {};

function helpersetup() {
    var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 0)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 1)
    };
    var _0x771bx8 = World.GetMapName(),
        _0x771bx9 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off'),
        _0x771bxa = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:'),
        _0x771bxb = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Name:'),
        _0x771bxc = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Move:'),
        _0x771bxd = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:');
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if (_0x771bxa == 0) {
        grenadeddd = 'molotov'
    } else {
        if (_0x771bxa == 1) {
            grenadeddd = 'hegrenade'
        } else {
            if (_0x771bxa == 2) {
                grenadeddd = 'smoke grenade'
            } else {
                if (_0x771bxa == 3) {
                    grenadeddd = 'flashbang'
                } else {
                    if (_0x771bxa == 4) {
                        grenadeddd = 'wallbang'
                    }
                }
            }
        }
    };
    if (_0x771bx9) {
        fakelag = '"fakelag_off"'
    } else {
        fakelag = '"fakelag_on"'
    };
    if (_0x771bxc == 0) {
        moveddd = 'Throw';
        tickstoback = '';
        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
    } else {
        if (_0x771bxc == 1) {
            moveddd = 'Runthrow';
            tickstoback = '';
            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
        } else {
            if (_0x771bxc == 2) {
                moveddd = 'Jumpthrow';
                tickstoback = '';
                tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
            } else {
                if (_0x771bxc == 3) {
                    moveddd = 'RunJumpthrow';
                    tickstoback = '';
                    tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                } else {
                    if (_0x771bxc == 4) {
                        moveddd = 'Half throw';
                        tickstoback = '';
                        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                    } else {
                        if (_0x771bxc == 5) {
                            moveddd = 'Jump+Half throw';
                            tickstoback = '';
                            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                        } else {
                            if (_0x771bxc == 6) {
                                moveddd = 'Runleft';
                                tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                            } else {
                                if (_0x771bxc == 7) {
                                    moveddd = 'Runright';
                                    tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                    tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                } else {
                                    if (_0x771bxc == 8) {
                                        moveddd = 'Runleft jump';
                                        tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                        tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                    } else {
                                        if (_0x771bxc == 9) {
                                            moveddd = 'Runright jump';
                                            tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                            tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                        } else {
                                            if (_0x771bxc == 10) {
                                                moveddd = 'wallbang';
                                                tickst = 0;
                                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    };
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'x', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'y', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'z', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'pitch', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'yaw', 0);
    var _0x771bx10 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x');
    var _0x771bx11 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y');
    var _0x771bx12 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63;
    var _0x771bx13 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z');
    var _0x771bx14 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch');
    var _0x771bx15 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw');
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
    var _0x771bx18 = [0, 0, 0, 125];
    var _0x771bx19 = [155, 0, 0, 255];
    var _0x771bx1a = [155, 0, 0, 255];
    var _0x771bx1b = [155, 0, 0, 255];
    var _0x771bx1c = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z')];
    var _0x771bx1d = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw'), 0];
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Set location')) {
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'x', Entity.GetEyePosition(Entity.GetLocalPlayer())[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'y', Entity.GetEyePosition(Entity.GetLocalPlayer())[1]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'z', Entity.GetEyePosition(Entity.GetLocalPlayer())[2]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch', Local.GetViewAngles()[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw', Local.GetViewAngles()[1]);
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport')) {
        Cheat.ExecuteCommand('setpos' + ' ' + _0x771bx10 + ' ' + _0x771bx11 + ' ' + _0x771bx12);
        Cheat.ExecuteCommand('setang' + ' ' + _0x771bx14 + ' ' + _0x771bx15);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0)
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations')) {
        var _0x771bx1e = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63]);
        if (all_console_name[weapon]) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), _0x771bx1c);
            var _0x771bx20 = angle_to_vec(_0x771bx14, _0x771bx15);
            angle_to_vec22 = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x') + _0x771bx20[0] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y') + _0x771bx20[1] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') + _0x771bx20[2] * 400]);
            var _0x771bx21 = Render.TextSizeCustom(_0x771bxb + ' [Temporary]   ', _0x771bx7);
            Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - _0x771bx21[1] / 1.5, _0x771bx21[0] + 34, _0x771bx21[1] + 8, _0x771bx18);
            Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), _0x771bx1a, 6);
            Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 6, 6, '|', _0x771bx1a, 8);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 35, _0x771bx1e[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
            if (_0x771bx1f > 70 == false) {
                Render.FilledRect(angle_to_vec22[0] - 10, angle_to_vec22[1] - _0x771bx21[1] / 1 + 3, _0x771bx21[0] > _0x771bx21[0] ? _0x771bx21[0] + 7 : _0x771bx21[0] + 32, _0x771bx21[1] > _0x771bx21[1] ? _0x771bx21[1] + 8 : _0x771bx21[1] + 8, _0x771bx18);
                Render.StringCustom(angle_to_vec22[0] + 12, angle_to_vec22[1] - 8, 6, '|', _0x771bx1a, 8);
                Render.StringCustom(angle_to_vec22[0] + 18, angle_to_vec22[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
                Render.StringCustom(angle_to_vec22[0] + 17, angle_to_vec22[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
                Render.FadedCircle(angle_to_vec22[0], angle_to_vec22[1], 8, Math.abs(angle_to_vec22[0] - Render.GetScreenSize()[0] / 2) + Math.abs(angle_to_vec22[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                Render.FilledCircle(angle_to_vec22[0], angle_to_vec22[1], 7, [0, 0, 0, 70]);
                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, angle_to_vec22[0], angle_to_vec22[1], _0x771bx1b)
            }
        }
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location')) {
        Cheat.PrintColor([140, 185, 40, 255], '[GH v2] Your nade:\n');
        Cheat.PrintColor([200, 155, 25, 255], '["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],\n');
        Cheat.PrintChat('[GH v2] Your nade:');
        Cheat.PrintChat('["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],');
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0)
    };
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 1)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color', 0)
    }
}

function shadow(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx25, _0x771bx7, _0x771bx26, _0x771bx27) {
    if (_0x771bx25) {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx7);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx7)
    } else {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx27);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx27)
    }
}
Render.FadedCircle = function (_0x771bx24, _0x771bx28, _0x771bx29, _0x771bx2a) {
    var _0x771bx2b = _0x771bx2a[3] / _0x771bx29;
    var _0x771bx2c = 0;
    for (; _0x771bx2c <= _0x771bx29; _0x771bx2c++) {
        Render.FilledCircle(_0x771bx24, _0x771bx28, _0x771bx2c, [_0x771bx2a[0], _0x771bx2a[1], _0x771bx2a[2], _0x771bx2a[3] - _0x771bx2b * _0x771bx2c])
    }
};
_locations = require('v3_helper.data');
var locations = _locations.locations;
var map_cache = [];
var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
if (weapon == 'incendiary grenade') {
    weapon = 'molotov'
};
map_cache = locations.filter(function (_0x771bx2f) {
    return _0x771bx2f[0] == World.GetMapName() && _0x771bx2f[3].toLowerCase() == weapon_console_name[weapon]
});

function get_icon(_0x771bx31) {
    var _0x771bx32 = '';
    switch (_0x771bx31) {
    case 'high explosive grenade':
        _0x771bx32 = 'I';
        break;
    case 'smoke grenade':
        _0x771bx32 = 'J';
        break;
    case 'molotov':
        _0x771bx32 = 'K';
        break;
    case 'incendiary grenade':
        _0x771bx32 = 'K';
        break;
    case 'ssg 08':
        _0x771bx32 = 'S';
        break;
    case 'awp':
        _0x771bx32 = 'S';
        break;
    case 'r8 revolver':
        _0x771bx32 = 'S';
        break;
    case 'desert eagle':
        _0x771bx32 = 'S';
        break;
    case 'g3sg1':
        _0x771bx32 = 'S';
        break;
    case 'scar 20':
        _0x771bx32 = 'S';
        break;
    default:
        _0x771bx32 = '';
        break
    };
    return _0x771bx32
}

function check_visibility() {
    if (map_cache.length == 0 || World.GetServerString() == '') {
        return
    };
    var _0x771bx34 = Entity.GetLocalPlayer();
    eye_angles = Local.GetViewAngles();
    head = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecOrigin');
    offset = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecViewOffset[2]');
    head = vector_add(head, [0, 0, offset[0]]);
    for (var _0x771bx35 in map_cache) {
        var _0x771bx36 = Trace.Line(_0x771bx34, head, map_cache[_0x771bx35][1]);
        if (map_cache[_0x771bx35][16] == undefined) {
            map_cache[_0x771bx35].push(_0x771bx36[1] == 1)
        } else {
            map_cache[_0x771bx35][16] = _0x771bx36[1] == 1
        }
    }
}
Cheat.RegisterCallback('CreateMove', 'check_visibility');
var alpha_main = 0;
var alpha_text = 0;
var alpha_second = 0;

function animate_alpha() {
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    if (all_console_name[weapon] != undefined) {
        if (alpha_main < 255) {
            alpha_main = alpha_main + 12.75
        };
        if (alpha_second < 122) {
            alpha_second = alpha_second + 6.1
        }
    } else {
        alpha_second = 0;
        alpha_main = 0
    }
}
Render.Filled3DCircle = function (_0x771bx3b, _0x771bx3c, _0x771bx3d, _0x771bx3e, _0x771bx3f, _0x771bx40) {
    var _0x771bx41, _0x771bx42;
    _0x771bx3d = _0x771bx3d < 361 && _0x771bx3d || 360;
    _0x771bx3d = _0x771bx3d > -1 && _0x771bx3d || 0;
    _0x771bx3e += 1;
    for (rot = _0x771bx3e; rot < _0x771bx3d + _0x771bx3e + 1; rot += _0x771bx3e * 8) {
        rot_r = rot * (Math.PI / 180);
        line_x = _0x771bx3c * Math.cos(rot_r) + _0x771bx3b[0], line_y = _0x771bx3c * Math.sin(rot_r) + _0x771bx3b[1];
        var _0x771bx43 = Render.WorldToScreen([line_x, line_y, _0x771bx3b[2]]);
        var _0x771bx44 = Render.WorldToScreen([_0x771bx3b[0], _0x771bx3b[1], _0x771bx3b[2]]);
        if (_0x771bx44[0] != null && _0x771bx43[0] != null && _0x771bx41 != null) {
            Render.Polygon([
                [_0x771bx43[0], _0x771bx43[1]],
                [_0x771bx41, _0x771bx42],
                [_0x771bx44[0], _0x771bx44[1]]
            ], _0x771bx40);
            Render.Line(_0x771bx43[0], _0x771bx43[1], _0x771bx41, _0x771bx42, _0x771bx3f)
        };
        _0x771bx41 = _0x771bx43[0], _0x771bx42 = _0x771bx43[1]
    }
};

function draw() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
        var _0x771bx46 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Style');
        var _0x771bx47 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Icon position');
        var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (_0x771bx17 == 1) {
            type_mode = weapon_console_name
        } else {
            if (_0x771bx17 == 2) {
                type_mode = wallbang_console_name
            } else {
                if (_0x771bx17 == 3) {
                    type_mode = all_console_name
                } else {
                    type_mode = off
                }
            }
        };
        if (weapon == 'incendiary grenade') {
            weapon = 'molotov'
        };
        map_cache = locations.filter(function (_0x771bx48) {
            return _0x771bx48[0] == World.GetMapName() && _0x771bx48[3].toLowerCase() == type_mode[weapon]
        });
        if (map_cache.length == 0) {
            return
        };
        var _0x771bx35;
        for (_0x771bx35 in map_cache) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), map_cache[_0x771bx35][1]);
            var _0x771bx1e = Render.WorldToScreen([map_cache[_0x771bx35][1][0], map_cache[_0x771bx35][1][1], map_cache[_0x771bx35][1][2] - 63]);
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
                if (!map_cache[_0x771bx35][16]) {
                    continue
                }
            } else {
                if (_0x771bx1f > UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance')) {
                    continue
                }
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color')
            } else {
                var _0x771bx19 = [107, 117, 255, 255]
            };
            if (_0x771bx1f > 450 == false) {
                rPairs = Render.TextSizeCustom(map_cache[_0x771bx35][4], _0x771bx7);
                var alpha_text = _0x771bx19[3]
            } else {
                var alpha_text = 0;
                rPairs = [-12, 13]
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color');
                var _0x771bx18 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Background color');
                var _0x771bx49 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Outline color');
                var _0x771bx1a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color');
                var _0x771bx1b = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Line color');
                var _0x771bx4a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color')
            } else {
                var _0x771bx19 = [107, 117, 255, alpha_text];
                var _0x771bx18 = [4, 4, 4, alpha_second];
                var _0x771bx49 = [255, 255, 255, alpha_main];
                var _0x771bx1a = [107, 117, 255, alpha_main];
                var _0x771bx1b = [255, 255, 255, 255];
                var _0x771bx4a = [107, 117, 255, alpha_text]
            };
            var _0x771bx20 = angle_to_vec(map_cache[_0x771bx35][2][0], map_cache[_0x771bx35][2][1]);
            var _0x771bx4b = map_cache[_0x771bx35][1];
            _0x771bx20 = Render.WorldToScreen([_0x771bx4b[0] + _0x771bx20[0] * 400, _0x771bx4b[1] + _0x771bx20[1] * 400, _0x771bx4b[2] + _0x771bx20[2] * 400]);
            if (_0x771bx46 == 0 && _0x771bx47 == 0) {
                Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 34, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                if (_0x771bx1f > 67 == false) {
                    if (!wallbang_console_name[weapon]) {
                        const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                        var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                        var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                        Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                        Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                    };
                    Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                    Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                    Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                    Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                    Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                    Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                }
            } else {
                if (_0x771bx46 == 0 && _0x771bx47 == 1) {
                    Render.FilledRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 52, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                    if (_0x771bx1f > 67 == false) {
                        if (!wallbang_console_name[weapon]) {
                            const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                            var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                            var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                            Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                            Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                        };
                        Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                        Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                        Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                        Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                        Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                        Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                    }
                } else {
                    if (_0x771bx46 == 1 && _0x771bx47 == 0) {
                        Render.RoundRect(_0x771bx1e[0] + 7, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                        Render.FilledRoundRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                        Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                        if (_0x771bx1f > 67 == false) {
                            if (!wallbang_console_name[weapon]) {
                                const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                            };
                            Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                            Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                            Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                            Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                            Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                            Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                        }
                    } else {
                        if (_0x771bx46 == 1 && _0x771bx47 == 1) {
                            Render.RoundRect(_0x771bx1e[0] + 30, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 51, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                            if (_0x771bx1f > 67 == false) {
                                if (!wallbang_console_name[weapon]) {
                                    const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                    var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                    var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                    Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                    Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                                };
                                Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                                Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                                Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                                Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                                Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                                Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                                Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                            }
                        }
                    }
                }
            };
            Render.StringCustom(_0x771bx1e[0] + 37, _0x771bx1e[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 5, 0, map_cache[_0x771bx35][4], [_0x771bx19[0], _0x771bx19[1], _0x771bx19[2], alpha_text], _0x771bx7)
        }
    }
}
Render.FilledRoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - 2, _0x771bx11, _0x771bx26);
    Render.FilledRect(_0x771bx10 + 1, _0x771bx11 + 1, _0x771bx4f - 1, _0x771bx50 - 1, _0x771bx26)
};
Render.RoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx26)
};

function fix_move(_0x771bx53, _0x771bx54, _0x771bx55) {
    var _0x771bx56 = function (_0x771bx31) {
        return _0x771bx31 / 180 * Math.PI
    };
    var _0x771bx57, _0x771bx58, _0x771bx59;
    if (_0x771bx54[1] < 0) {
        _0x771bx57 = 360 + _0x771bx54[1]
    } else {
        _0x771bx57 = _0x771bx54[1]
    };
    if (_0x771bx53[1] < 0) {
        _0x771bx58 = 360 + _0x771bx53[1]
    } else {
        _0x771bx58 = _0x771bx53[1]
    };
    if (_0x771bx58 < _0x771bx57) {
        _0x771bx59 = Math.abs(_0x771bx58 - _0x771bx57)
    } else {
        _0x771bx59 = 360 - Math.abs(_0x771bx57 - _0x771bx58)
    };
    return [Math.cos(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.cos(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], Math.sin(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.sin(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], 0]
}

function move_forward(_0x771bx5b) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx5d = [450, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_forward_back(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [_0x771bx62, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_sideways(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [0, _0x771bx62, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}
var delays = [];

function Delay(_0x771bx66, _0x771bx67, _0x771bx68) {
    this.delay = _0x771bx66;
    this.resume = Globals.Curtime() + _0x771bx66;
    this.func = _0x771bx67;
    this.times = 0;
    this.max = _0x771bx68 || 1;
    delays.push(this)
}
Delay.prototype.run = function () {
    this.func();
    this.times++;
    this.resume += this.delay;
    return this.times >= this.max
};

function checkDelays() {
    currTime = Globals.Curtime();
    delays.forEach(function (_0x771bx66, _0x771bx29) {
        currTime >= _0x771bx66.resume && _0x771bx66.run() && delays.splice(_0x771bx29, 1)
    })
}

function stop_attack() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function stop_attack2() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}
var move_back_t = false;
var alllow_move = false;
var last_ang = [0, 0, 0];
var back_start = 0;
var side = false;
var speed = 0;
var move_back_forward = false;
var last_ang_forward = [0, 0, 0];
var back_start_forward = 0;
var side_forward = false;
var speed_forward = 0;
var grenade_thrown = false;

function on_grenade() {
    if (Entity.GetLocalPlayer() == Entity.GetEntityFromUserID(Event.GetInt('userid'))) {
        grenade_thrown = true
    }
}
Cheat.RegisterCallback('grenade_thrown', 'on_grenade');
var sensitivity = Convar.GetString('sensitivity');

function move_on_key() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (!weapon_console_name[weapon]) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1)
        };
        move_back_t && (0 == back_start && (back_start = Globals.Tickcount()), grenade_thrown && (move_sideways(last_ang, side, 450), Globals.Tickcount() - back_start > speed && (move_back_t = false, back_start = 0, side = false, speed = 0)));
        move_back_forward && (0 == back_start_forward && (back_start_forward = Globals.Tickcount()), grenade_thrown && (move_forward_back(last_ang_forward, side_forward, 450), Globals.Tickcount() - back_start_forward > speed_forward && (move_back_forward = false, back_start_forward = 0, side_forward = false, speed_forward = 0)));
        if (map_cache.length == 0) {
            return
        };
        if (!UI.IsHotkeyActive('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper')) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1), this.running = false, move_back_t = false, back_start = 0, side = false, speed = 0, grenade_thrown = false, move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![], this.start_tick = 0, this.next_tick_ang = [], this.attacked = ![], this.moved_base = ![], this.run_start = 0;
            return
        };
        if (this.next_tick_ang == null) {
            this.next_tick_ang = []
        };
        if (this.ignore_input) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang);
            return
        };
        if (this.next_tick_ang.length) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang)
        };
        if (null == this.delay) {
            this.delay = 0
        };
        if (this.attacked == null) {
            this.attacked = false
        };
        if (this.start_tick == null) {
            this.start_tick = 0
        };
        if (this.running == null) {
            this.running = false
        };
        if (this.closest == null) {
            this.closest = []
        };
        if (this.ignore_input == null) {
            this.ignore_input = false
        };
        if (this.run_start == null) {
            this.run_start = 0
        };
        var _0x771bx7b = Entity.GetRenderOrigin(Entity.GetLocalPlayer());
        var _0x771bx7c = Local.GetViewAngles();
        var _0x771bx7d = map_cache.sort(function (_0x771bx31, _0x771bx7e) {
            return calc_dist(_0x771bx7b, _0x771bx31[1]) - calc_dist(_0x771bx7b, _0x771bx7e[1])
        })[0];
        if (this.closest.length) {
            _0x771bx7d = this.closest
        };
        if (calc_dist(_0x771bx7b, _0x771bx7d[1]) > 100 && !this.running) {
            return
        };
        if (move_to_target(_0x771bx7d[1]) || this.running) {
            if (_0x771bx7d[5] == 'Throw') {
                if (_0x771bx7d[7] == 'fakelag_off') {
                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                };
                Cheat.ExecuteCommand('+attack');
                this.next_tick_ang = _0x771bx7d[2];
                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                this.attacked = true;
                this.ignore_input = true
            } else {
                if (_0x771bx7d[5] == 'Runthrow') {
                    if (!this.closest.length) {
                        this.closest = _0x771bx7d
                    };
                    if (0 == this.start_tick) {
                        this.start_tick = Globals.Tickcount()
                    };
                    this.running = true;
                    if (0 == this.run_start) {
                        this.run_start = Globals.Tickcount()
                    };
                    if (_0x771bx7d[7] == 'fakelag_off') {
                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                    };
                    move_forward(_0x771bx7d[2]);
                    if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                        this.next_tick_ang = _0x771bx7d[2];
                        if (!this.attacked) {
                            Cheat.ExecuteCommand('+attack');
                            new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                            this.attacked = true
                        };
                        if (_0x771bx7d[6] == 0) {
                            var _0x771bx7f = 8
                        } else {
                            var _0x771bx7f = 9
                        };
                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + _0x771bx7f) {
                            this.running = false;
                            this.attacked = false;
                            this.closest = [];
                            this.ignore_input = true;
                            this.run_start = 0
                        }
                    }
                } else {
                    if (_0x771bx7d[5] == 'Jumpthrow') {
                        if (_0x771bx7d[7] == 'fakelag_off') {
                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                        };
                        if (_0x771bx7d[8] > 0) {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            Cheat.ExecuteCommand('+attack');
                            UserCMD.ForceJump();
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[8]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                Cheat.ExecuteCommand('-attack');
                                this.running = false;
                                this.attacked = false;
                                this.closest = [];
                                this.ignore_input = true;
                                this.run_start = 0
                            }
                        } else {
                            Cheat.ExecuteCommand('+attack');
                            this.next_tick_ang = _0x771bx7d[2];
                            UserCMD.ForceJump();
                            new Delay(Global.TickInterval() * 0.25 - Global.TickInterval() / 100, stop_attack);
                            this.ignore_input = !![];
                            this.attacked = !![]
                        }
                    } else {
                        if (_0x771bx7d[5] == 'RunJumpthrow') {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            if (_0x771bx7d[7] == 'fakelag_off') {
                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                            };
                            move_forward(_0x771bx7d[2]);
                            Cheat.ExecuteCommand('+attack');
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                UserCMD.ForceJump();
                                new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                this.attacked = true;
                                this.running = false;
                                this.closest = [];
                                this.ignore_input = true
                            }
                        } else {
                            if (_0x771bx7d[5] == 'RunJumpthrow+Back') {
                                if (!this.closest.length) {
                                    this.closest = _0x771bx7d
                                };
                                if (0 == this.start_tick) {
                                    this.start_tick = Globals.Tickcount()
                                };
                                if (_0x771bx7d[7] == 'fakelag_off') {
                                    UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                };
                                this.running = true;
                                if (0 == this.run_start) {
                                    this.run_start = Globals.Tickcount()
                                };
                                move_forward_back(_0x771bx7d[2], true, 450);
                                Cheat.ExecuteCommand('+attack');
                                if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                    UserCMD.ForceJump();
                                    new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                    move_back_forward = true;
                                    last_ang_forward = _0x771bx7d[2];
                                    speed_forward = 4;
                                    side_forward = false;
                                    this.attacked = true;
                                    this.running = false;
                                    this.closest = [];
                                    this.ignore_input = true;
                                    this.next_tick_ang = _0x771bx7d[2];
                                    this.run_start = 0
                                }
                            } else {
                                if (_0x771bx7d[5] == 'Half throw') {
                                    if (!this.closest.length) {
                                        this.closest = _0x771bx7d
                                    };
                                    if (0 == this.start_tick) {
                                        this.start_tick = Globals.Tickcount()
                                    };
                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                        UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                    };
                                    this.running = true;
                                    if (0 == this.run_start) {
                                        this.run_start = Globals.Tickcount()
                                    };
                                    Cheat.ExecuteCommand('+attack');
                                    Cheat.ExecuteCommand('+attack2');
                                    if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                        this.next_tick_ang = _0x771bx7d[2];
                                        stop_attack2();
                                        this.attacked = !![];
                                        this.ignore_input = !![];
                                        this.running = false;
                                        this.closest = [];
                                        this.run_start = 0
                                    }
                                } else {
                                    if (_0x771bx7d[5] == 'Jump+Half throw') {
                                        if (!this.closest.length) {
                                            this.closest = _0x771bx7d
                                        };
                                        if (0 == this.start_tick) {
                                            this.start_tick = Globals.Tickcount()
                                        };
                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                            UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                        };
                                        this.running = true;
                                        if (0 == this.run_start) {
                                            this.run_start = Globals.Tickcount()
                                        };
                                        Cheat.ExecuteCommand('+attack');
                                        Cheat.ExecuteCommand('+attack2');
                                        if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                            this.next_tick_ang = _0x771bx7d[2];
                                            UserCMD.ForceJump();
                                            stop_attack2();
                                            this.attacked = !![];
                                            this.ignore_input = !![];
                                            this.running = false;
                                            this.closest = [];
                                            this.run_start = 0
                                        }
                                    } else {
                                        if (_0x771bx7d[5] == 'Runright') {
                                            if (!this.closest.length) {
                                                this.closest = _0x771bx7d
                                            };
                                            if (0 == this.start_tick) {
                                                this.start_tick = Globals.Tickcount()
                                            };
                                            this.running = true;
                                            if (0 == this.run_start) {
                                                this.run_start = Globals.Tickcount()
                                            };
                                            if (_0x771bx7d[7] == 'fakelag_off') {
                                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                            };
                                            move_sideways(_0x771bx7d[2], true, 450);
                                            if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                if (!this.attacked) {
                                                    Cheat.ExecuteCommand('+attack');
                                                    this.next_tick_ang = _0x771bx7d[2];
                                                    last_ang = _0x771bx7d[2];
                                                    new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                    this.attacked = true
                                                };
                                                if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                    move_back_t = true;
                                                    speed = _0x771bx7d[8];
                                                    side = false;
                                                    this.running = false;
                                                    this.attacked = false;
                                                    this.closest = [];
                                                    this.ignore_input = true;
                                                    this.run_start = 0
                                                }
                                            }
                                        } else {
                                            if (_0x771bx7d[5] == 'Runleft') {
                                                if (!this.closest.length) {
                                                    this.closest = _0x771bx7d
                                                };
                                                if (0 == this.start_tick) {
                                                    this.start_tick = Globals.Tickcount()
                                                };
                                                this.running = true;
                                                if (0 == this.run_start) {
                                                    this.run_start = Globals.Tickcount()
                                                };
                                                if (_0x771bx7d[7] == 'fakelag_off') {
                                                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                };
                                                move_sideways(_0x771bx7d[2], false, 450);
                                                if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                    if (!this.attacked) {
                                                        Cheat.ExecuteCommand('+attack');
                                                        this.next_tick_ang = _0x771bx7d[2];
                                                        last_ang = _0x771bx7d[2];
                                                        new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                        this.attacked = true
                                                    };
                                                    if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                        move_back_t = true;
                                                        speed = _0x771bx7d[8];
                                                        side = true;
                                                        this.running = false;
                                                        this.attacked = false;
                                                        this.closest = [];
                                                        this.ignore_input = true;
                                                        this.run_start = 0
                                                    }
                                                }
                                            } else {
                                                if ('Runright jump' == _0x771bx7d[5]) {
                                                    if (!this.closest.length) {
                                                        this.closest = _0x771bx7d
                                                    };
                                                    if (0 == this.start_tick) {
                                                        this.start_tick = Globals.Tickcount()
                                                    };
                                                    this.running = true;
                                                    if (0 == this.run_start) {
                                                        this.run_start = Globals.Tickcount()
                                                    };
                                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                    };
                                                    move_sideways(_0x771bx7d[2], true, 450);
                                                    if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                        if (!this.attacked) {
                                                            Cheat.ExecuteCommand('+attack');
                                                            this.next_tick_ang = _0x771bx7d[2];
                                                            last_ang = _0x771bx7d[2];
                                                            UserCMD.ForceJump();
                                                            new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                            this.attacked = true
                                                        };
                                                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                            move_back_t = true;
                                                            speed = _0x771bx7d[8];
                                                            side = false;
                                                            this.running = false;
                                                            this.attacked = false;
                                                            this.closest = [];
                                                            this.ignore_input = true;
                                                            this.run_start = 0
                                                        }
                                                    }
                                                } else {
                                                    if ('Runleft jump' == _0x771bx7d[5]) {
                                                        if (!this.closest.length) {
                                                            this.closest = _0x771bx7d
                                                        };
                                                        if (0 == this.start_tick) {
                                                            this.start_tick = Globals.Tickcount()
                                                        };
                                                        this.running = true;
                                                        if (0 == this.run_start) {
                                                            this.run_start = Globals.Tickcount()
                                                        };
                                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                        };
                                                        move_sideways(_0x771bx7d[2], false, 450);
                                                        if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                            if (!this.attacked) {
                                                                Cheat.ExecuteCommand('+attack');
                                                                this.next_tick_ang = _0x771bx7d[2];
                                                                last_ang = _0x771bx7d[2];
                                                                UserCMD.ForceJump();
                                                                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                                this.attacked = true
                                                            };
                                                            if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                                move_back_t = true;
                                                                speed = _0x771bx7d[8];
                                                                side = true;
                                                                this.running = false;
                                                                this.attacked = false;
                                                                this.closest = [];
                                                                this.ignore_input = true;
                                                                this.run_start = 0
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        } else {
            Convar.SetString('sensitivity', sensitivity);
            this.running = false;
            move_back_t = false;
            back_start = 0;
            side = false;
            speed = 0;
            grenade_thrown = false;
            move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![];
            this.start_tick = 0;
            this.next_tick_ang = [];
            this.attacked = ![];
            this.moved_base = ![];
            this.run_start = 0
        }
    }
}

function on_local_connect() {
    if (Entity.IsLocalPlayer(Entity.GetEntityFromUserID(Event.GetInt('userid')))) {
        map_cache = locations.filter(function (_0x771bx81) {
            return _0x771bx81[0] == World.GetMapName()
        })
    }
}

function getAngles(_0x771bx83, _0x771bx84) {
    newPos = vector_sub(_0x771bx84, _0x771bx83);
    xyDist = Math.sqrt((newPos[0] * newPos[0] + newPos[1] * newPos[1]));
    yaw = Math.atan2(newPos[1], newPos[0]) * 180 / Math.PI;
    pitch = Math.atan2(-newPos[2], xyDist) * 180 / Math.PI;
    roll = 0;
    angles = [pitch, yaw, roll];
    return angles
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function calc_dist(_0x771bx31, _0x771bx7e) {
    x = _0x771bx31[0] - _0x771bx7e[0];
    y = _0x771bx31[1] - _0x771bx7e[1];
    z = _0x771bx31[2] - _0x771bx7e[2];
    return Math.sqrt(x * x + y * y + z * z)
}
function move_to_target(_0x771bx92, _0x771bx31) {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx34 = Entity.GetLocalPlayer();
        var _0x771bx93 = Entity.GetRenderOrigin(_0x771bx34);
        _0x771bx93[2] = Entity.GetEyePosition(_0x771bx34)[2];
        var _0x771bx94 = [_0x771bx92[0] - _0x771bx93[0], _0x771bx92[1] - _0x771bx93[1], _0x771bx92[2] - _0x771bx93[2]];
        var _0x771bx15 = Local.GetViewAngles()[1];
        var _0x771bx95 = [];
        _0x771bx95[0] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[1]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * _0x771bx94[0])) * 10;
        _0x771bx95[1] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[0]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * -_0x771bx94[1])) * 6;
        _0x771bx95[2] = 0;
        var _0x771bx96 = Math.sqrt(_0x771bx94[0] * _0x771bx94[0] + _0x771bx94[1] * _0x771bx94[1] + _0x771bx94[2] * _0x771bx94[2]);
        var _0x771bx97 = Entity.GetProp(_0x771bx34, 'DT_CSPlayer', 'm_vecVelocity[0]');
        var _0x771bx98 = Math.sqrt(_0x771bx97[0] * _0x771bx97[0] + _0x771bx97[1] * _0x771bx97[1] + _0x771bx97[2] * _0x771bx97[2]);
        UserCMD.SetMovement(_0x771bx95);
        return _0x771bx96 < (_0x771bx31 ? _0x771bx31 : 0.5) && (_0x771bx98 < 2 || _0x771bx31)
    }
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function vector_add(_0x771bx9a, _0x771bx87) {
    newVec = [_0x771bx9a[0] + _0x771bx87[0], _0x771bx9a[1] + _0x771bx87[1], _0x771bx9a[2] + _0x771bx87[2]];
    return newVec
}

function vec_mul_fl(_0x771bx31, _0x771bx7e) {
    return [_0x771bx31[0] * _0x771bx7e, _0x771bx31[1] * _0x771bx7e, _0x771bx31[2] * _0x771bx7e]
}

function unload() {
    Convar.SetString('sensitivity', sensitivity);
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function Main() {
    Cheat.RegisterCallback('Unload', 'unload');
    Cheat.RegisterCallback('Draw', 'helpersetup');
    Cheat.RegisterCallback('Draw', 'draw');
    Cheat.RegisterCallback('CreateMove', 'animate_alpha');
    Cheat.RegisterCallback('CreateMove', 'move_on_key');
    Cheat.RegisterCallback('player_connect_full', 'on_local_connect');
    Cheat.RegisterCallback('CreateMove', 'checkDelays')
}
Main()
UI.AddLabel(" ");

//Switch with granade
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Switch with grenade            ");
UI.AddLabel(" ");

UI.AddCheckbox("Switch with granade");



function Switch() {
//var
localplayer_index = Entity.GetLocalPlayer( );
localplayer_weapon = Entity.GetWeapon(localplayer_index);
weapon_name = Entity.GetName(localplayer_weapon);  
  
if (UI.GetValue("Script items", "Switch with granade", true)) {
if ( weapon_name == "high explosive grenade" || weapon_name == "molotov" || weapon_name == "smoke grenade" || weapon_name == "flashbang" || weapon_name == "decoy grenade"  || weapon_name == "incendiary grenade" ) {
     UI.ToggleHotkey("Anti-Aim", "Fake angles", "Inverter");
  }
}  
}

Cheat.RegisterCallback("Draw", "Switch");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                Trashtalk                 ");
UI.AddLabel(" ");

UI.AddCheckbox("Trashtalk");

const normal_killsays = ["а у вас походу умирать это семейное)", "нахуя пидораса убил?", "чао персик дозревай", "уважаемый в тюрьме вы будете водолазом",
    "говори буду плохо говорить буду сосать, буду плохо сосать буду пересасывать", "долбаеб иди башмачки в сундучок школьный собирай", "ботинок ебаный чо слетел", "братик маме привет передай",
    "не противник",
    "а ты че клоун???", "я обоссал тебя (", "ты че там отлетел то?",
    "упал хуета ебаная , но в боди забрал да похуй все равно упал",
    "*DEAD* ливай с хвх (", "до связи башмак",
    "нищета глупейшая играть учись", "опущен сын твари",
    "нищий улетел", "*DEAD* пофикси нищ", "сразу видно кфг иссуе мб конфиг у меня прикупишь ?",
    "животное аддон скачай а то падаешь", "оттарабанен армянская королева", "сука не позорься и ливни",
    "улетел тапочек ебаный", "единицей свалился фуфлыжник",
    "зачем ты играешь тут безмозглый", "иди кумыса попей очередняра",
    "откисай сочняра", "АХАХА ЕБАТЬ У ТЕБЯ ЧЕРЕПНАЯ КОРОБКА ПРЯМ КАК [XML-RPC] No-Spread 24/7 | aim_ag_texture_2 ONLY!",
    "на мыло и веревку то деньги есть????", "ИЩИ СЕБЯ НА pornoeb.cc/sochniki",
    "свежий кабанчик", "до связи на подскоке кабанчик", "скажи маме сухарики купить долбаеб", "ебать ты красиво на бутылку присел , тебе дать альт ?",
    "прости что без смазки)", "алло это скорая? тут такая ситуация пареню который упал нужна скорая)", "ало ты мапу лузаешь дура очнись",
    "тяжело с кряком????", "ЕБУЧЕСТЬ ВТОРОГО РАЗРЯДА ВЫДВИЖЕНЕЦ ОТКИС", "але а противники то где???", "ты по легиту играешь ?", "ХУЕПРЫГАЛО ТУСОВОЧНОЕ КУДА ПОЛЕТЕЛО", "ты куда жертва козьего аборта",
    "iq?", "·٠●•۩۞۩ОтДыХаЙ (ٿ) НуБяРа۩۞۩•●٠·", "ты то куда лезешь сын фантомного стационарного спец изолированого металлформовочного механизма", "╭∩╮( ⚆ ʖ ⚆)╭∩╮ ДоПрыГался(ت)ДрУжоЧеК"
];
  
const hs_killsays = ["держи зонтик ☂, тебя обоссали", "Держи ✈ и лети нахуй !", "слишком сочный для Djamic.technologies",
    "сьебался нахуй таракан усатый", "мать твою ебал", "нахуй ты упал иди вставай и на завод",
    "не по сезону шуршишь фраер",
    "ИЗИ ЧМО ЕБАНОЕ",
    "ливай блять не позорься",
    "AХАХ ПИДОР УПАЛ С ВАНВЕЯ ХАХАХА ОНЛИ БАИМ В БОДИ ПОТЕЕТ НА ФД АХА", "АХАХА УЛЕТЕЛ ЧМОШНИК",
    "1 МАТЬ ЖАЛЬ",
    "тебе права голоса не давали thirdworlder ебаный",
    "на завод иди",
    "не не он опять упал на конлени",
    "вставай заебал , завтра в школу", "гет гуд гет иди нахуй",
    "by SANCHEZj hvh boss",
    "ну нет почему он ложится когда я прохожу", "у тебя ник нейм адео?", "парень тебе ник придумать?",
    "такой тупой :(",
    "хватит получать хс ,лучше возьми свою руку и иди дрочи",
    "нет нет этот крякер такой смешной",
    "1 сын шлюхи",
    "1 мать твою ебал",
    "преобрети мой кфг клоун",
    "об кафель голову разбил?",
    "мать твою ебал",
    "хуесос дальше адайся ко мне",
    "ещё раз позови к себе на бекап",
    "не противник",
    "ник нейм дориан(",
    "iq ?",
    "упал = минус мать", "не пиши мне",
    "жаль конечно что против тебя играю, но куда деваться", "адиничкой упал", "сынок зачем тебе это ?",
    "давно в рот берёшь?", "мне можно", "ты меня так заебал , ливни уже",
    "ничему жизнь не учит (", "я не понял, ты такой жирный потомучто дошики каждый день жрешь?",
    "братка го я тебе бекап позову", "толстяк даже пройти спокойно не может"
];

function on_player_death()
{
    if(UI.GetValue("Misc", "Trashtalk"))
    {
        const victim = Entity.GetEntityFromUserID(Event.GetInt("userid"));
        const attacker = Entity.GetEntityFromUserID(Event.GetInt("attacker"));
        const headshot = Event.GetInt("headshot") == 1;
      
        if(Entity.IsLocalPlayer(attacker) && attacker != victim)
        {
            const normal_say = normal_killsays[Math.floor(Math.random() * normal_killsays.length)];
            const hs_say = hs_killsays[Math.floor(Math.random() * hs_killsays.length)];
          
            if(headshot && Math.random() * 2 > 1) //gamer style randomizer
            {
                Cheat.ExecuteCommand("say " + hs_say);
                return;
            }
            Cheat.ExecuteCommand("say " + normal_say);
        }
    }
}

var killsay_amt = normal_killsays.length + hs_killsays.length;

Cheat.Print("trashtalk js loaded, killsay count: " + killsay_amt + "\n");
Cheat.RegisterCallback("player_death", "on_player_death");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");
UI.AddLabel("------------------------------------------");
[CENTER]
P.S. Не судите строго пожалуйста, там много говнокода
 

Вложения

Последнее редактирование:
На ваш бан.
Эксперт
Статус
Оффлайн
Регистрация
7 Дек 2020
Сообщения
1,454
Реакции[?]
434
Поинты[?]
36K
♂Slave♂Cord
И так, представляю вам свою первую пасту для настоящих ♂Dungeon masters♂

Watermark(Neverlose)
Keybinds
Min damage
Backshot
Low delta on steroids(Джиттеры с маленьким углом)
Fps boost
Grenade helper v3 by v1pix
Trashtalk
Пожалуйста, авторизуйтесь для просмотра ссылки.

Код:
UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");

//Watermark
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Watermark(Neverlose)           ");
UI.AddLabel(" ");
Cheat.CursorInBox = function(x, y, length, height) {
    var cursor = Input.GetCursorPosition()
    if (cursor[0] > x && cursor[0] < x + length && cursor[1] > y && cursor[1] < y + height)
        return true
    return false
}

function drawBoard(x, y, w, h, color, title) {
    var font = Render.AddFont("MuseoSansCyrl-900", 11, 500)

    Render.FilledRect(x, y - 1, w - 2, h, color)
    Render.FilledRect(x - 1, y, w, h - 2, color)

    Render.FilledRect(x + 15, y + 25, w - 30, 2, [27, 27, 29, 255])

    Render.StringCustom(x + 15, y + 5, 0, title, [255, 255, 255, 255], font)
}

var x = "X";
var y = "Y";

X = function () {
    return UI.GetValue("Script items", x)
}
Y = function () {
    return UI.GetValue("Script items", y)
}
function sliders() {
    UI.AddSliderInt(x, -630, Render.GetScreenSize()[0])
    UI.AddSliderInt(y, -600, Render.GetScreenSize()[1])

    UI.SetEnabled("Script items", x, false)
    UI.SetEnabled("Script items", y, false)
}
sliders()

var menumove = false;
var waitforup = false;
var offsetx = 0;
var offsety = 0;

function checkMovement() {
    var cursor = Input.GetCursorPosition()
    var onmenu = Cheat.CursorInBox(X(), Y(), 200, 200)
    if (UI.IsMenuOpen()) {
        if (Input.IsKeyPressed(0x01) && !waitforup && onmenu) {
            menumove = true
            offsetx = cursor[0] - X()
            offsety = cursor[1] - Y()
            waitforup = true
        }
        if (!Input.IsKeyPressed(0x01)) {
            menumove = false
            waitforup = false
        }
        if (menumove) {
            UI.SetValue("Script items", "X", cursor[0] - offsetx)
            UI.SetValue("Script items", "Y", cursor[1] - offsety)
        }
    }
}
Cheat.RegisterCallback("Draw", "checkMovement")

var idCheckbox = 0
var comboOverlapping = false
var comboactive = -1
var wasDown = []

function resetSpacing() {
    idCheckbox = 0
}
resetSpacing()

function checkbox(x, y, name, enable) {
    var size = 8
    var frames = 8 * Globals.Frametime();
    var font = Render.AddFont("MuseoSansCyrl-500", 10, 500)
    var color = [3, 5, 13, 255]
    var color1 = [74, 87, 97, 255]
    var xs = 0

    if (enable) {
        color = [3, 23, 46, 255]
        color1 = [3, 168, 245, 255]
        xs = 28
    } else {
        color = [3, 5, 13, 255]
        color1 = [74, 87, 97, 255]
        xs = 0
    }

    if (!comboOverlapping) {
        Render.FilledCircle(x + 126, y + 15, 7, color)
        Render.FilledCircle(x + 153, y + 15, 7, color)
        Render.FilledRect(x + 125, y + 8, 30, 15, color)

        Render.FilledCircle(x + 126 + xs, y + 15, 9, color1)

        Render.StringCustom(x, y + 5, 0, name, [255, 255, 255, 255], font)
    }

    if (UI.IsMenuOpen() && !comboOverlapping) {
        if ((Cheat.CursorInBox(x + 122, y + 8, 42, 15)) && comboactive == -1) {
            if (!wasDown[idCheckbox]) {
                if (Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = true
                    return true
                }
            }
            else if (wasDown[idCheckbox]) {
                if (!Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = false
                    return false
                }
            }
            return false
        }
    }
}

var tab = 0

UI.AddCheckbox("Show ping")
UI.AddCheckbox("Show name")
UI.AddCheckbox("Show time")
UI.AddCheckbox("Show ip")

function watermark() {

    var AddCheckbox = function (x, y, name) {
        if (checkbox(x, y, name, UI.GetValue("Script items", name))) UI.SetValue("Script items", name, !UI.GetValue("Script items", name))
    }

    var username = Cheat.GetUsername()
    var fps = Math.floor(1 / Global.Frametime());
    var today = new Date();
    var ping = Math.floor(Global.Latency() * 1000 / 1.5);
    var ip = World.GetServerString()
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
    var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
    var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;

    var font = Render.AddFont("MuseoSansCyrl-900", 9, 900)
    var font1 = Render.AddFont("MuseoSansCyrl-900", 11, 900)

    var text = ""

    if (UI.GetValue("Script items", "Show name")) {
        text += ("| " + username)
    }
    if (UI.GetValue("Script items", "Show ping")) {
        text += (" | " + ping + " ms")
    }
    if (UI.GetValue("Script items", "Show time")) {
        text += (" | " + hours + minutes + seconds)
    }
    if (UI.GetValue("Script items", "Show fps")) {
        text += (" | " + fps + " fps")
    }
    if (UI.GetValue("Script items", "Show ip")) {
        text += (" | " + ip)
    }

    var text1 = "NL"

    var h = 27;
    var w = Render.TextSizeCustom(text, font)[0] + 33;
    var x = Global.GetScreenSize()[0] - 2;
    var y = 12;
    x = x - w - 10;

    Render.FilledRect(x, y - 1, w - 2, h, [0, 20, 20, 255]);
    Render.FilledRect(x - 1, y, w, h - 2, [0, 20, 20, 255]);
    Render.StringCustom(x + 28, y + 5, 0, text, [255, 255, 255, 255], font)

    Render.StringCustom(x + 4, y + 3, 0, text1, [34, 179, 246, 255], font1)
    Render.StringCustom(x + 5, y + 4, 0, text1, [255, 255, 255, 255], font1)


    if (Cheat.CursorInBox(x, y, w, h) && Input.IsKeyPressed(0x02)) {
        tab = 1
    }

    if (!Cheat.CursorInBox(X(), Y(), 200, 200) && Input.IsKeyPressed(0x01)) {
        tab = 0
    }

    if (tab == 1 && UI.IsMenuOpen()) {
        drawBoard(X(), Y(), 200, 200, [11, 11, 14, 255], "Watermark Settings");
        AddCheckbox(X() + 15, Y() + 35, "Show ping")
        AddCheckbox(X() + 15, Y() + 65, "Show name")
        AddCheckbox(X() + 15, Y() + 95, "Show time")
        AddCheckbox(X() + 15, Y() + 155, "Show ip")
    }
}

Cheat.RegisterCallback("Draw", "watermark")

//keybinds
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Keybinds                  ");
UI.AddLabel(" ");
UI.AddCheckbox("Keybinds")
const keybinds_x = UI.AddSliderInt("keybinds_x", 0, Global.GetScreenSize()[0])
const keybinds_y = UI.AddSliderInt("keybinds_y", 0, Global.GetScreenSize()[1])

function in_bounds(vec, x, y, x2, y2)
{
   return (vec[0] > x) && (vec[1] > y) && (vec[0] < x2) && (vec[1] < y2)
}

function xy()
{
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_x", false)
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_y", false)
}
xy();

function binds()
{

     if (UI.GetValue("Misc","JAVASCRIPT","Script items","Keybinds")){
     var watermark_name = Entity.GetName(Entity.GetLocalPlayer( ));
     var today = new Date();
     var hours1 = today.getHours();
     var minutes1 = today.getMinutes();
     var seconds1 = today.getSeconds();
     var localplayer_index = Entity.GetLocalPlayer();
     var velocity = Entity.GetProp(localplayer_index, "CBasePlayer", "m_vecVelocity[0]");
     var speed = Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
     var finalspeed = Math.min( 9999, speed ) + 0.2
     var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
     var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
     var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;
     const tickrate = Globals.Tickrate();
     const ping = Math.floor(Global.Latency() * 1000 / 1.5);
     const fps = Math.floor( 1 / Global.Frametime() );
     var h = [];
     const fontpixel = Render.AddFont("Segoe ui", 8, 100);

                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk")) {
                            h.push("Slow walk")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
                            h.push("Fake Duck")
                        }
                        if (UI.IsHotkeyActive("Misc", "General", "Movement", "Auto peek")) {
                            h.push("Auto peek")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Legit Anti-Aim", "Direction key")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force safe point")) {
                            h.push("Safe point")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Resolver override")) {
                            h.push("Resolver override")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force body aim")) {
                            h.push("Body aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Double tap")) {
                            h.push("Double tap")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Desync on shot")) {
                            h.push("On shot anti-aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {
                            h.push("Hide shots")
                        }
                        if (UI.IsHotkeyActive("Visual", "World", "View", "Zoom")) {
                            h.push("Zoom")
                        }
                        if (UI.IsHotkeyActive("Visual", "Self", "Freecam", "Enable")) {
                            h.push("Freecam")
                        }
                        if (UI.IsHotkeyActive("Misc", "Movement", "Edge jump")) {
                            h.push("Jump at edge")
                        }
                        if (UI.IsHotkeyActive("Legit", "GENERAL", "Triggerbot", "Enabled")) {
                            h.push("Triggerbot")
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override")) {
                            h.push("Minimum damage")                                                    
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Backshot")) {
                            h.push("Backshot")                                                    
                        }
                     
     const x = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x"),
           y = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y");

     Render.FilledRect(x+1, y+5, 200, 24, [0, 0, 0, 125]);



     Render.StringCustom(x + 80, y + 10 , 0, "keybinds", [255, 255, 255, 255], fontpixel);
     for (i = 0; i < h.length; i++)
     {
        Render.FilledRect(x+1, y + 29 + 18 * i, 200, 18, [0,0,0, 125]);

        Render.StringCustom(x+8, y + 29 + 18 * i, 0, h[i], [255, 255, 255, 255], fontpixel);
        Render.StringCustom(x+162, y + 29 + 18 * i, 0, "toggle", [255, 255, 255, 255], fontpixel);
     }

     if (Global.IsKeyPressed(1)) {
         const mouse_pos = Global.GetCursorPosition();
         if (in_bounds(mouse_pos, x, y, x + 200, y + 30)) {
          if (UI.IsMenuOpen( ) == false)
            return;
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x", mouse_pos[0] - 100);
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y", mouse_pos[1] - 20);
         }
     }
}
}

Global.RegisterCallback("Draw", "binds");

//speclist
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
 
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Лишняя хуйня которую я не могу вырезать
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
 
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Min Dmg
UI.AddLabel("------------------------------------------------------")
UI.AddLabel("               Minimum Damage")
UI.AddLabel(" ");
UI.AddCheckbox("Enable mindmg");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))



        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }



    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Verdana", 18, 700);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(18, y - 325, 0, str+"", [ 155, 100, 237, 255 ], font);
         Render.StringCustom(17, y - 325, 0, str+"", [155, 100, 237, 255], font)
}
UI.AddLabel(" ");

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");

//Backshot
UI.AddLabel("------------------------------------------------------")
UI.AddLabel(" ");
UI.AddCheckbox( "Wait for on shot" );
UI.AddHotkey( "Backshot" );
var last_shot_time = []
function on_draw()
{
  if(!UI.GetValue("Misc", "Wait for on shot") || !UI.IsHotkeyActive("Misc","Backshot") || !UI.GetValue("Misc","Wait for on shot indicator" )) return;

  var font = Render.AddFont("Verdana Bold",18,800);
  Render.StringCustom(55,600,1,"ONSHOT",[0,255,0,255],font);
}
function on_create_move()
{
  if(!UI.GetValue("Misc", "Wait for on shot") || !UI.IsHotkeyActive("Misc","Backshot")) return;

  var local = Entity.GetLocalPlayer( );
  if(!Entity.IsAlive(local)) return;
  var enemies = Entity.GetEnemies();

  for(var i = 0; i < enemies.length;i++)
  {
    var enemy = enemies[i];
    var dif = Globals.Tickcount() - last_shot_time[enemy]
    var has_shot = dif >= 0 && dif <= 12;
    if(!has_shot)
      Ragebot.IgnoreTarget(enemy)
  }

}
function on_weapon_fire()
{
  var shooter = Entity.GetEntityFromUserID(Event.GetInt("userid"));
  last_shot_time[shooter] = Globals.Tickcount();
}

function on_player_connect()
{
  var entity = Entity.GetEntityFromUserID(Event.GetInt("userid"));
  if(entity == Entity.GetLocalPlayer())
    last_shot_time = []
}
UI.AddLabel(" ");

Cheat.RegisterCallback("weapon_fire", "on_weapon_fire")
Cheat.RegisterCallback("player_connect_full", "on_player_connect")
Cheat.RegisterCallback("CreateMove","on_create_move")
Cheat.RegisterCallback("Draw","on_draw")


//Low delta
UI.AddLabel("-----------------------------------------------------");
UI.AddLabel("                      Low delta");
UI.AddLabel(" ");
UI.AddCheckbox('lowdelta on steroids');
function GetScriptOption(name)
{
    var Value = UI.GetValue("Misc", "JAVASCRIPT", "Script items", name);
    return Value;
}

function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min + 1) ) + min; }

function run() {
    AntiAim.SetOverride(1);

    if(GetScriptOption('lowdelta on steroids')) {
        var real_offset = -20;
        var fake_offset = 0;

        // time to do random lby offset calculations

        var lby_start = getRndInteger(15, 25); // 1st lby stage
        var lby_end = getRndInteger(20, 30); // 2nd lby stage

        AntiAim.SetRealOffset(real_offset); // set the real to -20, if u want to invert it just do 20
        AntiAim.SetFakeOffset(fake_offset); // fake will be 0 as for now, its useless.

        var lby_delta = lby_start + lby_end; // 1st stage + 2nd stage angle

        var fake_delta = lby_start - 20; // first stage - 20

        AntiAim.SetLBYOffset(lby_start); // 1st lby set, 80% of the cases will bring lower angle than the 2nd stage
        AntiAim.SetLBYOffset(lby_end); // 2nd lby set, 80% of the cases will bring higher angle than the 1st stage
        AntiAim.SetLBYOffset(lby_delta) // EXPERIMENTAL: 3nd lby set; set it to a big angle to confuse enemy's resolver
        AntiAim.SetFakeOffset(fake_delta); // first stage - 20 basically lol

        //OVERALL: Your fake will just jitter but in small angles, it really helps tho.
    }
}
function unload() {
    AntiAim.SetOverride(0);
}
UI.AddLabel(" ");

//Fps boost
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Fps boost                 ");
UI.AddLabel(" ");
UI.AddCheckbox("Fps Boost");

function fps_boost()
{
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Fps Boost"))
        {
            // Disable shadows ->
            Convar.SetString("r_shadows", "0");
            Convar.SetString("cl_csm_static_prop_shadows", "0");
            Convar.SetString("cl_csm_shadows", "0");
            Convar.SetString("cl_csm_world_shadows", "0");
            Convar.SetString("cl_foot_contact_shadows", "0");
            Convar.SetString("cl_csm_viewmodel_shadows", "0");
            Convar.SetString("cl_csm_rope_shadows", "0");
            Convar.SetString("cl_csm_sprite_shadows", "0");
            // Disable blood ->
            Convar.SetString("violence_hblood", "0");
     
            // Disable 3dsky ->
            Convar.SetString("r_3dsky", "0");

            // Disable decals ->
            //Convar.SetString("r_drawdecals", "0");

            // Disable rain ->
            Convar.SetString("r_drawrain", "0");
     
            // Disable ropes ->
            Convar.SetString("r_drawropes", "0");

            // Disable sprites ->
            Convar.SetString("r_drawsprites", "0");

            // Disable water fog ->
            Convar.SetString("fog_enable_water_fog", "0");
        }
else
        {
            // Enable shadows ->
            Convar.SetString("r_shadows", "1");
            Convar.SetString("cl_csm_static_prop_shadows", "1");
            Convar.SetString("cl_csm_shadows", "1");
            Convar.SetString("cl_csm_world_shadows", "1");
            Convar.SetString("cl_foot_contact_shadows", "1");
            Convar.SetString("cl_csm_viewmodel_shadows", "1");
            Convar.SetString("cl_csm_rope_shadows", "1");
            Convar.SetString("cl_csm_sprite_shadows", "1");

            // Enable blood ->
            Convar.SetString("violence_hblood", "1");

            // Enable 3dsky ->
            Convar.SetString("r_3dsky", "1");

            // Enable decals ->
            //Convar.SetString("r_drawdecals", "1");

            // Enable rain ->
            Convar.SetString("r_drawrain", "1");

            // Enable ropes ->
            Convar.SetString("r_drawropes", "1");

            // Enable sprites ->
            Convar.SetString("r_drawsprites", "1");

            // Enable water fog ->
            Convar.SetString("fog_enable_water_fog", "1");
        }
   
}
UI.AddLabel(" ");

// Callbacks
Cheat.RegisterCallback( "Draw", "fps_boost" );

//Grenade helper v3 by v1p1x
UI.AddLabel("------------------------------------------");
UI.AddLabel("              Grenade helper              ");
UI.AddLabel(" ");
UI.AddHotkey('Activate helper');
UI.AddMultiDropdown('Type', ['Grenades', 'Wallbangs']);
UI.AddDropdown('Render mode', ['Only visible']);
UI.AddDropdown('Style', ['Default', 'Outline'], 1);
var weapon_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang'
};
var wallbang_console_name = {
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var console_wallbang_grenades = {
    "molotov": true,
    "hegrenade": true,
    "smoke grenade": true,
    "flashbang": true,
    "wallbang": true,
    "weapon_console_name": true,
    "all_console_name": true,
    "v1pix": true,
    "robert": true,
    "Envy": true,
    "Dorian": true,
    "Mased": true,
    "grandmemo": true,
    "xux": true,
    "": true,
    "compin": true,
    "Lazzep": true,
    "nefro": true,
    "hell": true,
    "shanty": true,
    "Nitraitor": true,
    "PikkeR": true,
    "Jester": true,
    "goldness": true,
    "Mayor": true,
    "trill": true,
    "FENDIGLOCK": true,
    "SAVAGE": true,
    "frunza": true,
    "EDGARIX": true,
    "rallen": true,
    "zap": 'true',
    "Iroxy": true,
    "sharkyy": true,
    "proxin": true,
    "bigboss": true,
    "hidfid": true,
    "ogog": true,
    "legend": true,
    "Jasper": true,
    "S0lut1on": true
};
var all_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang',
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var off = {};

function helpersetup() {
    var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 0)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 1)
    };
    var _0x771bx8 = World.GetMapName(),
        _0x771bx9 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off'),
        _0x771bxa = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:'),
        _0x771bxb = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Name:'),
        _0x771bxc = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Move:'),
        _0x771bxd = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:');
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if (_0x771bxa == 0) {
        grenadeddd = 'molotov'
    } else {
        if (_0x771bxa == 1) {
            grenadeddd = 'hegrenade'
        } else {
            if (_0x771bxa == 2) {
                grenadeddd = 'smoke grenade'
            } else {
                if (_0x771bxa == 3) {
                    grenadeddd = 'flashbang'
                } else {
                    if (_0x771bxa == 4) {
                        grenadeddd = 'wallbang'
                    }
                }
            }
        }
    };
    if (_0x771bx9) {
        fakelag = '"fakelag_off"'
    } else {
        fakelag = '"fakelag_on"'
    };
    if (_0x771bxc == 0) {
        moveddd = 'Throw';
        tickstoback = '';
        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
    } else {
        if (_0x771bxc == 1) {
            moveddd = 'Runthrow';
            tickstoback = '';
            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
        } else {
            if (_0x771bxc == 2) {
                moveddd = 'Jumpthrow';
                tickstoback = '';
                tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
            } else {
                if (_0x771bxc == 3) {
                    moveddd = 'RunJumpthrow';
                    tickstoback = '';
                    tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                } else {
                    if (_0x771bxc == 4) {
                        moveddd = 'Half throw';
                        tickstoback = '';
                        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                    } else {
                        if (_0x771bxc == 5) {
                            moveddd = 'Jump+Half throw';
                            tickstoback = '';
                            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                        } else {
                            if (_0x771bxc == 6) {
                                moveddd = 'Runleft';
                                tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                            } else {
                                if (_0x771bxc == 7) {
                                    moveddd = 'Runright';
                                    tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                    tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                } else {
                                    if (_0x771bxc == 8) {
                                        moveddd = 'Runleft jump';
                                        tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                        tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                    } else {
                                        if (_0x771bxc == 9) {
                                            moveddd = 'Runright jump';
                                            tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                            tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                        } else {
                                            if (_0x771bxc == 10) {
                                                moveddd = 'wallbang';
                                                tickst = 0;
                                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    };
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'x', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'y', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'z', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'pitch', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'yaw', 0);
    var _0x771bx10 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x');
    var _0x771bx11 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y');
    var _0x771bx12 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63;
    var _0x771bx13 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z');
    var _0x771bx14 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch');
    var _0x771bx15 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw');
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
    var _0x771bx18 = [0, 0, 0, 125];
    var _0x771bx19 = [155, 0, 0, 255];
    var _0x771bx1a = [155, 0, 0, 255];
    var _0x771bx1b = [155, 0, 0, 255];
    var _0x771bx1c = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z')];
    var _0x771bx1d = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw'), 0];
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Set location')) {
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'x', Entity.GetEyePosition(Entity.GetLocalPlayer())[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'y', Entity.GetEyePosition(Entity.GetLocalPlayer())[1]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'z', Entity.GetEyePosition(Entity.GetLocalPlayer())[2]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch', Local.GetViewAngles()[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw', Local.GetViewAngles()[1]);
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport')) {
        Cheat.ExecuteCommand('setpos' + ' ' + _0x771bx10 + ' ' + _0x771bx11 + ' ' + _0x771bx12);
        Cheat.ExecuteCommand('setang' + ' ' + _0x771bx14 + ' ' + _0x771bx15);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0)
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations')) {
        var _0x771bx1e = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63]);
        if (all_console_name[weapon]) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), _0x771bx1c);
            var _0x771bx20 = angle_to_vec(_0x771bx14, _0x771bx15);
            angle_to_vec22 = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x') + _0x771bx20[0] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y') + _0x771bx20[1] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') + _0x771bx20[2] * 400]);
            var _0x771bx21 = Render.TextSizeCustom(_0x771bxb + ' [Temporary]   ', _0x771bx7);
            Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - _0x771bx21[1] / 1.5, _0x771bx21[0] + 34, _0x771bx21[1] + 8, _0x771bx18);
            Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), _0x771bx1a, 6);
            Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 6, 6, '|', _0x771bx1a, 8);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 35, _0x771bx1e[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
            if (_0x771bx1f > 70 == false) {
                Render.FilledRect(angle_to_vec22[0] - 10, angle_to_vec22[1] - _0x771bx21[1] / 1 + 3, _0x771bx21[0] > _0x771bx21[0] ? _0x771bx21[0] + 7 : _0x771bx21[0] + 32, _0x771bx21[1] > _0x771bx21[1] ? _0x771bx21[1] + 8 : _0x771bx21[1] + 8, _0x771bx18);
                Render.StringCustom(angle_to_vec22[0] + 12, angle_to_vec22[1] - 8, 6, '|', _0x771bx1a, 8);
                Render.StringCustom(angle_to_vec22[0] + 18, angle_to_vec22[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
                Render.StringCustom(angle_to_vec22[0] + 17, angle_to_vec22[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
                Render.FadedCircle(angle_to_vec22[0], angle_to_vec22[1], 8, Math.abs(angle_to_vec22[0] - Render.GetScreenSize()[0] / 2) + Math.abs(angle_to_vec22[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                Render.FilledCircle(angle_to_vec22[0], angle_to_vec22[1], 7, [0, 0, 0, 70]);
                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, angle_to_vec22[0], angle_to_vec22[1], _0x771bx1b)
            }
        }
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location')) {
        Cheat.PrintColor([140, 185, 40, 255], '[GH v2] Your nade:\n');
        Cheat.PrintColor([200, 155, 25, 255], '["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],\n');
        Cheat.PrintChat('[GH v2] Your nade:');
        Cheat.PrintChat('["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],');
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0)
    };
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 1)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color', 0)
    }
}

function shadow(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx25, _0x771bx7, _0x771bx26, _0x771bx27) {
    if (_0x771bx25) {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx7);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx7)
    } else {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx27);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx27)
    }
}
Render.FadedCircle = function (_0x771bx24, _0x771bx28, _0x771bx29, _0x771bx2a) {
    var _0x771bx2b = _0x771bx2a[3] / _0x771bx29;
    var _0x771bx2c = 0;
    for (; _0x771bx2c <= _0x771bx29; _0x771bx2c++) {
        Render.FilledCircle(_0x771bx24, _0x771bx28, _0x771bx2c, [_0x771bx2a[0], _0x771bx2a[1], _0x771bx2a[2], _0x771bx2a[3] - _0x771bx2b * _0x771bx2c])
    }
};
_locations = require('v3_helper.data');
var locations = _locations.locations;
var map_cache = [];
var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
if (weapon == 'incendiary grenade') {
    weapon = 'molotov'
};
map_cache = locations.filter(function (_0x771bx2f) {
    return _0x771bx2f[0] == World.GetMapName() && _0x771bx2f[3].toLowerCase() == weapon_console_name[weapon]
});

function get_icon(_0x771bx31) {
    var _0x771bx32 = '';
    switch (_0x771bx31) {
    case 'high explosive grenade':
        _0x771bx32 = 'I';
        break;
    case 'smoke grenade':
        _0x771bx32 = 'J';
        break;
    case 'molotov':
        _0x771bx32 = 'K';
        break;
    case 'incendiary grenade':
        _0x771bx32 = 'K';
        break;
    case 'ssg 08':
        _0x771bx32 = 'S';
        break;
    case 'awp':
        _0x771bx32 = 'S';
        break;
    case 'r8 revolver':
        _0x771bx32 = 'S';
        break;
    case 'desert eagle':
        _0x771bx32 = 'S';
        break;
    case 'g3sg1':
        _0x771bx32 = 'S';
        break;
    case 'scar 20':
        _0x771bx32 = 'S';
        break;
    default:
        _0x771bx32 = '';
        break
    };
    return _0x771bx32
}

function check_visibility() {
    if (map_cache.length == 0 || World.GetServerString() == '') {
        return
    };
    var _0x771bx34 = Entity.GetLocalPlayer();
    eye_angles = Local.GetViewAngles();
    head = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecOrigin');
    offset = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecViewOffset[2]');
    head = vector_add(head, [0, 0, offset[0]]);
    for (var _0x771bx35 in map_cache) {
        var _0x771bx36 = Trace.Line(_0x771bx34, head, map_cache[_0x771bx35][1]);
        if (map_cache[_0x771bx35][16] == undefined) {
            map_cache[_0x771bx35].push(_0x771bx36[1] == 1)
        } else {
            map_cache[_0x771bx35][16] = _0x771bx36[1] == 1
        }
    }
}
Cheat.RegisterCallback('CreateMove', 'check_visibility');
var alpha_main = 0;
var alpha_text = 0;
var alpha_second = 0;

function animate_alpha() {
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    if (all_console_name[weapon] != undefined) {
        if (alpha_main < 255) {
            alpha_main = alpha_main + 12.75
        };
        if (alpha_second < 122) {
            alpha_second = alpha_second + 6.1
        }
    } else {
        alpha_second = 0;
        alpha_main = 0
    }
}
Render.Filled3DCircle = function (_0x771bx3b, _0x771bx3c, _0x771bx3d, _0x771bx3e, _0x771bx3f, _0x771bx40) {
    var _0x771bx41, _0x771bx42;
    _0x771bx3d = _0x771bx3d < 361 && _0x771bx3d || 360;
    _0x771bx3d = _0x771bx3d > -1 && _0x771bx3d || 0;
    _0x771bx3e += 1;
    for (rot = _0x771bx3e; rot < _0x771bx3d + _0x771bx3e + 1; rot += _0x771bx3e * 8) {
        rot_r = rot * (Math.PI / 180);
        line_x = _0x771bx3c * Math.cos(rot_r) + _0x771bx3b[0], line_y = _0x771bx3c * Math.sin(rot_r) + _0x771bx3b[1];
        var _0x771bx43 = Render.WorldToScreen([line_x, line_y, _0x771bx3b[2]]);
        var _0x771bx44 = Render.WorldToScreen([_0x771bx3b[0], _0x771bx3b[1], _0x771bx3b[2]]);
        if (_0x771bx44[0] != null && _0x771bx43[0] != null && _0x771bx41 != null) {
            Render.Polygon([
                [_0x771bx43[0], _0x771bx43[1]],
                [_0x771bx41, _0x771bx42],
                [_0x771bx44[0], _0x771bx44[1]]
            ], _0x771bx40);
            Render.Line(_0x771bx43[0], _0x771bx43[1], _0x771bx41, _0x771bx42, _0x771bx3f)
        };
        _0x771bx41 = _0x771bx43[0], _0x771bx42 = _0x771bx43[1]
    }
};

function draw() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
        var _0x771bx46 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Style');
        var _0x771bx47 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Icon position');
        var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (_0x771bx17 == 1) {
            type_mode = weapon_console_name
        } else {
            if (_0x771bx17 == 2) {
                type_mode = wallbang_console_name
            } else {
                if (_0x771bx17 == 3) {
                    type_mode = all_console_name
                } else {
                    type_mode = off
                }
            }
        };
        if (weapon == 'incendiary grenade') {
            weapon = 'molotov'
        };
        map_cache = locations.filter(function (_0x771bx48) {
            return _0x771bx48[0] == World.GetMapName() && _0x771bx48[3].toLowerCase() == type_mode[weapon]
        });
        if (map_cache.length == 0) {
            return
        };
        var _0x771bx35;
        for (_0x771bx35 in map_cache) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), map_cache[_0x771bx35][1]);
            var _0x771bx1e = Render.WorldToScreen([map_cache[_0x771bx35][1][0], map_cache[_0x771bx35][1][1], map_cache[_0x771bx35][1][2] - 63]);
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
                if (!map_cache[_0x771bx35][16]) {
                    continue
                }
            } else {
                if (_0x771bx1f > UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance')) {
                    continue
                }
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color')
            } else {
                var _0x771bx19 = [107, 117, 255, 255]
            };
            if (_0x771bx1f > 450 == false) {
                rPairs = Render.TextSizeCustom(map_cache[_0x771bx35][4], _0x771bx7);
                var alpha_text = _0x771bx19[3]
            } else {
                var alpha_text = 0;
                rPairs = [-12, 13]
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color');
                var _0x771bx18 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Background color');
                var _0x771bx49 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Outline color');
                var _0x771bx1a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color');
                var _0x771bx1b = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Line color');
                var _0x771bx4a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color')
            } else {
                var _0x771bx19 = [107, 117, 255, alpha_text];
                var _0x771bx18 = [4, 4, 4, alpha_second];
                var _0x771bx49 = [255, 255, 255, alpha_main];
                var _0x771bx1a = [107, 117, 255, alpha_main];
                var _0x771bx1b = [255, 255, 255, 255];
                var _0x771bx4a = [107, 117, 255, alpha_text]
            };
            var _0x771bx20 = angle_to_vec(map_cache[_0x771bx35][2][0], map_cache[_0x771bx35][2][1]);
            var _0x771bx4b = map_cache[_0x771bx35][1];
            _0x771bx20 = Render.WorldToScreen([_0x771bx4b[0] + _0x771bx20[0] * 400, _0x771bx4b[1] + _0x771bx20[1] * 400, _0x771bx4b[2] + _0x771bx20[2] * 400]);
            if (_0x771bx46 == 0 && _0x771bx47 == 0) {
                Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 34, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                if (_0x771bx1f > 67 == false) {
                    if (!wallbang_console_name[weapon]) {
                        const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                        var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                        var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                        Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                        Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                    };
                    Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                    Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                    Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                    Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                    Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                    Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                }
            } else {
                if (_0x771bx46 == 0 && _0x771bx47 == 1) {
                    Render.FilledRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 52, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                    if (_0x771bx1f > 67 == false) {
                        if (!wallbang_console_name[weapon]) {
                            const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                            var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                            var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                            Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                            Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                        };
                        Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                        Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                        Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                        Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                        Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                        Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                    }
                } else {
                    if (_0x771bx46 == 1 && _0x771bx47 == 0) {
                        Render.RoundRect(_0x771bx1e[0] + 7, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                        Render.FilledRoundRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                        Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                        if (_0x771bx1f > 67 == false) {
                            if (!wallbang_console_name[weapon]) {
                                const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                            };
                            Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                            Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                            Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                            Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                            Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                            Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                        }
                    } else {
                        if (_0x771bx46 == 1 && _0x771bx47 == 1) {
                            Render.RoundRect(_0x771bx1e[0] + 30, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 51, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                            if (_0x771bx1f > 67 == false) {
                                if (!wallbang_console_name[weapon]) {
                                    const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                    var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                    var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                    Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                    Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                                };
                                Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                                Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                                Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                                Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                                Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                                Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                                Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                            }
                        }
                    }
                }
            };
            Render.StringCustom(_0x771bx1e[0] + 37, _0x771bx1e[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 5, 0, map_cache[_0x771bx35][4], [_0x771bx19[0], _0x771bx19[1], _0x771bx19[2], alpha_text], _0x771bx7)
        }
    }
}
Render.FilledRoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - 2, _0x771bx11, _0x771bx26);
    Render.FilledRect(_0x771bx10 + 1, _0x771bx11 + 1, _0x771bx4f - 1, _0x771bx50 - 1, _0x771bx26)
};
Render.RoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx26)
};

function fix_move(_0x771bx53, _0x771bx54, _0x771bx55) {
    var _0x771bx56 = function (_0x771bx31) {
        return _0x771bx31 / 180 * Math.PI
    };
    var _0x771bx57, _0x771bx58, _0x771bx59;
    if (_0x771bx54[1] < 0) {
        _0x771bx57 = 360 + _0x771bx54[1]
    } else {
        _0x771bx57 = _0x771bx54[1]
    };
    if (_0x771bx53[1] < 0) {
        _0x771bx58 = 360 + _0x771bx53[1]
    } else {
        _0x771bx58 = _0x771bx53[1]
    };
    if (_0x771bx58 < _0x771bx57) {
        _0x771bx59 = Math.abs(_0x771bx58 - _0x771bx57)
    } else {
        _0x771bx59 = 360 - Math.abs(_0x771bx57 - _0x771bx58)
    };
    return [Math.cos(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.cos(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], Math.sin(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.sin(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], 0]
}

function move_forward(_0x771bx5b) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx5d = [450, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_forward_back(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [_0x771bx62, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_sideways(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [0, _0x771bx62, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}
var delays = [];

function Delay(_0x771bx66, _0x771bx67, _0x771bx68) {
    this.delay = _0x771bx66;
    this.resume = Globals.Curtime() + _0x771bx66;
    this.func = _0x771bx67;
    this.times = 0;
    this.max = _0x771bx68 || 1;
    delays.push(this)
}
Delay.prototype.run = function () {
    this.func();
    this.times++;
    this.resume += this.delay;
    return this.times >= this.max
};

function checkDelays() {
    currTime = Globals.Curtime();
    delays.forEach(function (_0x771bx66, _0x771bx29) {
        currTime >= _0x771bx66.resume && _0x771bx66.run() && delays.splice(_0x771bx29, 1)
    })
}

function stop_attack() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function stop_attack2() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}
var move_back_t = false;
var alllow_move = false;
var last_ang = [0, 0, 0];
var back_start = 0;
var side = false;
var speed = 0;
var move_back_forward = false;
var last_ang_forward = [0, 0, 0];
var back_start_forward = 0;
var side_forward = false;
var speed_forward = 0;
var grenade_thrown = false;

function on_grenade() {
    if (Entity.GetLocalPlayer() == Entity.GetEntityFromUserID(Event.GetInt('userid'))) {
        grenade_thrown = true
    }
}
Cheat.RegisterCallback('grenade_thrown', 'on_grenade');
var sensitivity = Convar.GetString('sensitivity');

function move_on_key() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (!weapon_console_name[weapon]) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1)
        };
        move_back_t && (0 == back_start && (back_start = Globals.Tickcount()), grenade_thrown && (move_sideways(last_ang, side, 450), Globals.Tickcount() - back_start > speed && (move_back_t = false, back_start = 0, side = false, speed = 0)));
        move_back_forward && (0 == back_start_forward && (back_start_forward = Globals.Tickcount()), grenade_thrown && (move_forward_back(last_ang_forward, side_forward, 450), Globals.Tickcount() - back_start_forward > speed_forward && (move_back_forward = false, back_start_forward = 0, side_forward = false, speed_forward = 0)));
        if (map_cache.length == 0) {
            return
        };
        if (!UI.IsHotkeyActive('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper')) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1), this.running = false, move_back_t = false, back_start = 0, side = false, speed = 0, grenade_thrown = false, move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![], this.start_tick = 0, this.next_tick_ang = [], this.attacked = ![], this.moved_base = ![], this.run_start = 0;
            return
        };
        if (this.next_tick_ang == null) {
            this.next_tick_ang = []
        };
        if (this.ignore_input) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang);
            return
        };
        if (this.next_tick_ang.length) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang)
        };
        if (null == this.delay) {
            this.delay = 0
        };
        if (this.attacked == null) {
            this.attacked = false
        };
        if (this.start_tick == null) {
            this.start_tick = 0
        };
        if (this.running == null) {
            this.running = false
        };
        if (this.closest == null) {
            this.closest = []
        };
        if (this.ignore_input == null) {
            this.ignore_input = false
        };
        if (this.run_start == null) {
            this.run_start = 0
        };
        var _0x771bx7b = Entity.GetRenderOrigin(Entity.GetLocalPlayer());
        var _0x771bx7c = Local.GetViewAngles();
        var _0x771bx7d = map_cache.sort(function (_0x771bx31, _0x771bx7e) {
            return calc_dist(_0x771bx7b, _0x771bx31[1]) - calc_dist(_0x771bx7b, _0x771bx7e[1])
        })[0];
        if (this.closest.length) {
            _0x771bx7d = this.closest
        };
        if (calc_dist(_0x771bx7b, _0x771bx7d[1]) > 100 && !this.running) {
            return
        };
        if (move_to_target(_0x771bx7d[1]) || this.running) {
            if (_0x771bx7d[5] == 'Throw') {
                if (_0x771bx7d[7] == 'fakelag_off') {
                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                };
                Cheat.ExecuteCommand('+attack');
                this.next_tick_ang = _0x771bx7d[2];
                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                this.attacked = true;
                this.ignore_input = true
            } else {
                if (_0x771bx7d[5] == 'Runthrow') {
                    if (!this.closest.length) {
                        this.closest = _0x771bx7d
                    };
                    if (0 == this.start_tick) {
                        this.start_tick = Globals.Tickcount()
                    };
                    this.running = true;
                    if (0 == this.run_start) {
                        this.run_start = Globals.Tickcount()
                    };
                    if (_0x771bx7d[7] == 'fakelag_off') {
                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                    };
                    move_forward(_0x771bx7d[2]);
                    if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                        this.next_tick_ang = _0x771bx7d[2];
                        if (!this.attacked) {
                            Cheat.ExecuteCommand('+attack');
                            new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                            this.attacked = true
                        };
                        if (_0x771bx7d[6] == 0) {
                            var _0x771bx7f = 8
                        } else {
                            var _0x771bx7f = 9
                        };
                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + _0x771bx7f) {
                            this.running = false;
                            this.attacked = false;
                            this.closest = [];
                            this.ignore_input = true;
                            this.run_start = 0
                        }
                    }
                } else {
                    if (_0x771bx7d[5] == 'Jumpthrow') {
                        if (_0x771bx7d[7] == 'fakelag_off') {
                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                        };
                        if (_0x771bx7d[8] > 0) {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            Cheat.ExecuteCommand('+attack');
                            UserCMD.ForceJump();
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[8]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                Cheat.ExecuteCommand('-attack');
                                this.running = false;
                                this.attacked = false;
                                this.closest = [];
                                this.ignore_input = true;
                                this.run_start = 0
                            }
                        } else {
                            Cheat.ExecuteCommand('+attack');
                            this.next_tick_ang = _0x771bx7d[2];
                            UserCMD.ForceJump();
                            new Delay(Global.TickInterval() * 0.25 - Global.TickInterval() / 100, stop_attack);
                            this.ignore_input = !![];
                            this.attacked = !![]
                        }
                    } else {
                        if (_0x771bx7d[5] == 'RunJumpthrow') {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            if (_0x771bx7d[7] == 'fakelag_off') {
                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                            };
                            move_forward(_0x771bx7d[2]);
                            Cheat.ExecuteCommand('+attack');
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                UserCMD.ForceJump();
                                new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                this.attacked = true;
                                this.running = false;
                                this.closest = [];
                                this.ignore_input = true
                            }
                        } else {
                            if (_0x771bx7d[5] == 'RunJumpthrow+Back') {
                                if (!this.closest.length) {
                                    this.closest = _0x771bx7d
                                };
                                if (0 == this.start_tick) {
                                    this.start_tick = Globals.Tickcount()
                                };
                                if (_0x771bx7d[7] == 'fakelag_off') {
                                    UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                };
                                this.running = true;
                                if (0 == this.run_start) {
                                    this.run_start = Globals.Tickcount()
                                };
                                move_forward_back(_0x771bx7d[2], true, 450);
                                Cheat.ExecuteCommand('+attack');
                                if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                    UserCMD.ForceJump();
                                    new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                    move_back_forward = true;
                                    last_ang_forward = _0x771bx7d[2];
                                    speed_forward = 4;
                                    side_forward = false;
                                    this.attacked = true;
                                    this.running = false;
                                    this.closest = [];
                                    this.ignore_input = true;
                                    this.next_tick_ang = _0x771bx7d[2];
                                    this.run_start = 0
                                }
                            } else {
                                if (_0x771bx7d[5] == 'Half throw') {
                                    if (!this.closest.length) {
                                        this.closest = _0x771bx7d
                                    };
                                    if (0 == this.start_tick) {
                                        this.start_tick = Globals.Tickcount()
                                    };
                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                        UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                    };
                                    this.running = true;
                                    if (0 == this.run_start) {
                                        this.run_start = Globals.Tickcount()
                                    };
                                    Cheat.ExecuteCommand('+attack');
                                    Cheat.ExecuteCommand('+attack2');
                                    if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                        this.next_tick_ang = _0x771bx7d[2];
                                        stop_attack2();
                                        this.attacked = !![];
                                        this.ignore_input = !![];
                                        this.running = false;
                                        this.closest = [];
                                        this.run_start = 0
                                    }
                                } else {
                                    if (_0x771bx7d[5] == 'Jump+Half throw') {
                                        if (!this.closest.length) {
                                            this.closest = _0x771bx7d
                                        };
                                        if (0 == this.start_tick) {
                                            this.start_tick = Globals.Tickcount()
                                        };
                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                            UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                        };
                                        this.running = true;
                                        if (0 == this.run_start) {
                                            this.run_start = Globals.Tickcount()
                                        };
                                        Cheat.ExecuteCommand('+attack');
                                        Cheat.ExecuteCommand('+attack2');
                                        if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                            this.next_tick_ang = _0x771bx7d[2];
                                            UserCMD.ForceJump();
                                            stop_attack2();
                                            this.attacked = !![];
                                            this.ignore_input = !![];
                                            this.running = false;
                                            this.closest = [];
                                            this.run_start = 0
                                        }
                                    } else {
                                        if (_0x771bx7d[5] == 'Runright') {
                                            if (!this.closest.length) {
                                                this.closest = _0x771bx7d
                                            };
                                            if (0 == this.start_tick) {
                                                this.start_tick = Globals.Tickcount()
                                            };
                                            this.running = true;
                                            if (0 == this.run_start) {
                                                this.run_start = Globals.Tickcount()
                                            };
                                            if (_0x771bx7d[7] == 'fakelag_off') {
                                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                            };
                                            move_sideways(_0x771bx7d[2], true, 450);
                                            if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                if (!this.attacked) {
                                                    Cheat.ExecuteCommand('+attack');
                                                    this.next_tick_ang = _0x771bx7d[2];
                                                    last_ang = _0x771bx7d[2];
                                                    new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                    this.attacked = true
                                                };
                                                if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                    move_back_t = true;
                                                    speed = _0x771bx7d[8];
                                                    side = false;
                                                    this.running = false;
                                                    this.attacked = false;
                                                    this.closest = [];
                                                    this.ignore_input = true;
                                                    this.run_start = 0
                                                }
                                            }
                                        } else {
                                            if (_0x771bx7d[5] == 'Runleft') {
                                                if (!this.closest.length) {
                                                    this.closest = _0x771bx7d
                                                };
                                                if (0 == this.start_tick) {
                                                    this.start_tick = Globals.Tickcount()
                                                };
                                                this.running = true;
                                                if (0 == this.run_start) {
                                                    this.run_start = Globals.Tickcount()
                                                };
                                                if (_0x771bx7d[7] == 'fakelag_off') {
                                                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                };
                                                move_sideways(_0x771bx7d[2], false, 450);
                                                if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                    if (!this.attacked) {
                                                        Cheat.ExecuteCommand('+attack');
                                                        this.next_tick_ang = _0x771bx7d[2];
                                                        last_ang = _0x771bx7d[2];
                                                        new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                        this.attacked = true
                                                    };
                                                    if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                        move_back_t = true;
                                                        speed = _0x771bx7d[8];
                                                        side = true;
                                                        this.running = false;
                                                        this.attacked = false;
                                                        this.closest = [];
                                                        this.ignore_input = true;
                                                        this.run_start = 0
                                                    }
                                                }
                                            } else {
                                                if ('Runright jump' == _0x771bx7d[5]) {
                                                    if (!this.closest.length) {
                                                        this.closest = _0x771bx7d
                                                    };
                                                    if (0 == this.start_tick) {
                                                        this.start_tick = Globals.Tickcount()
                                                    };
                                                    this.running = true;
                                                    if (0 == this.run_start) {
                                                        this.run_start = Globals.Tickcount()
                                                    };
                                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                    };
                                                    move_sideways(_0x771bx7d[2], true, 450);
                                                    if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                        if (!this.attacked) {
                                                            Cheat.ExecuteCommand('+attack');
                                                            this.next_tick_ang = _0x771bx7d[2];
                                                            last_ang = _0x771bx7d[2];
                                                            UserCMD.ForceJump();
                                                            new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                            this.attacked = true
                                                        };
                                                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                            move_back_t = true;
                                                            speed = _0x771bx7d[8];
                                                            side = false;
                                                            this.running = false;
                                                            this.attacked = false;
                                                            this.closest = [];
                                                            this.ignore_input = true;
                                                            this.run_start = 0
                                                        }
                                                    }
                                                } else {
                                                    if ('Runleft jump' == _0x771bx7d[5]) {
                                                        if (!this.closest.length) {
                                                            this.closest = _0x771bx7d
                                                        };
                                                        if (0 == this.start_tick) {
                                                            this.start_tick = Globals.Tickcount()
                                                        };
                                                        this.running = true;
                                                        if (0 == this.run_start) {
                                                            this.run_start = Globals.Tickcount()
                                                        };
                                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                        };
                                                        move_sideways(_0x771bx7d[2], false, 450);
                                                        if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                            if (!this.attacked) {
                                                                Cheat.ExecuteCommand('+attack');
                                                                this.next_tick_ang = _0x771bx7d[2];
                                                                last_ang = _0x771bx7d[2];
                                                                UserCMD.ForceJump();
                                                                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                                this.attacked = true
                                                            };
                                                            if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                                move_back_t = true;
                                                                speed = _0x771bx7d[8];
                                                                side = true;
                                                                this.running = false;
                                                                this.attacked = false;
                                                                this.closest = [];
                                                                this.ignore_input = true;
                                                                this.run_start = 0
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        } else {
            Convar.SetString('sensitivity', sensitivity);
            this.running = false;
            move_back_t = false;
            back_start = 0;
            side = false;
            speed = 0;
            grenade_thrown = false;
            move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![];
            this.start_tick = 0;
            this.next_tick_ang = [];
            this.attacked = ![];
            this.moved_base = ![];
            this.run_start = 0
        }
    }
}

function on_local_connect() {
    if (Entity.IsLocalPlayer(Entity.GetEntityFromUserID(Event.GetInt('userid')))) {
        map_cache = locations.filter(function (_0x771bx81) {
            return _0x771bx81[0] == World.GetMapName()
        })
    }
}

function getAngles(_0x771bx83, _0x771bx84) {
    newPos = vector_sub(_0x771bx84, _0x771bx83);
    xyDist = Math.sqrt((newPos[0] * newPos[0] + newPos[1] * newPos[1]));
    yaw = Math.atan2(newPos[1], newPos[0]) * 180 / Math.PI;
    pitch = Math.atan2(-newPos[2], xyDist) * 180 / Math.PI;
    roll = 0;
    angles = [pitch, yaw, roll];
    return angles
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function calc_dist(_0x771bx31, _0x771bx7e) {
    x = _0x771bx31[0] - _0x771bx7e[0];
    y = _0x771bx31[1] - _0x771bx7e[1];
    z = _0x771bx31[2] - _0x771bx7e[2];
    return Math.sqrt(x * x + y * y + z * z)
}
function move_to_target(_0x771bx92, _0x771bx31) {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx34 = Entity.GetLocalPlayer();
        var _0x771bx93 = Entity.GetRenderOrigin(_0x771bx34);
        _0x771bx93[2] = Entity.GetEyePosition(_0x771bx34)[2];
        var _0x771bx94 = [_0x771bx92[0] - _0x771bx93[0], _0x771bx92[1] - _0x771bx93[1], _0x771bx92[2] - _0x771bx93[2]];
        var _0x771bx15 = Local.GetViewAngles()[1];
        var _0x771bx95 = [];
        _0x771bx95[0] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[1]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * _0x771bx94[0])) * 10;
        _0x771bx95[1] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[0]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * -_0x771bx94[1])) * 6;
        _0x771bx95[2] = 0;
        var _0x771bx96 = Math.sqrt(_0x771bx94[0] * _0x771bx94[0] + _0x771bx94[1] * _0x771bx94[1] + _0x771bx94[2] * _0x771bx94[2]);
        var _0x771bx97 = Entity.GetProp(_0x771bx34, 'DT_CSPlayer', 'm_vecVelocity[0]');
        var _0x771bx98 = Math.sqrt(_0x771bx97[0] * _0x771bx97[0] + _0x771bx97[1] * _0x771bx97[1] + _0x771bx97[2] * _0x771bx97[2]);
        UserCMD.SetMovement(_0x771bx95);
        return _0x771bx96 < (_0x771bx31 ? _0x771bx31 : 0.5) && (_0x771bx98 < 2 || _0x771bx31)
    }
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function vector_add(_0x771bx9a, _0x771bx87) {
    newVec = [_0x771bx9a[0] + _0x771bx87[0], _0x771bx9a[1] + _0x771bx87[1], _0x771bx9a[2] + _0x771bx87[2]];
    return newVec
}

function vec_mul_fl(_0x771bx31, _0x771bx7e) {
    return [_0x771bx31[0] * _0x771bx7e, _0x771bx31[1] * _0x771bx7e, _0x771bx31[2] * _0x771bx7e]
}

function unload() {
    Convar.SetString('sensitivity', sensitivity);
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function Main() {
    Cheat.RegisterCallback('Unload', 'unload');
    Cheat.RegisterCallback('Draw', 'helpersetup');
    Cheat.RegisterCallback('Draw', 'draw');
    Cheat.RegisterCallback('CreateMove', 'animate_alpha');
    Cheat.RegisterCallback('CreateMove', 'move_on_key');
    Cheat.RegisterCallback('player_connect_full', 'on_local_connect');
    Cheat.RegisterCallback('CreateMove', 'checkDelays')
}
Main()

//Switch with granade
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Switch with grenade            ");
UI.AddLabel(" ");

UI.AddCheckbox("Switch with granade");



function Switch() {
//var
localplayer_index = Entity.GetLocalPlayer( );
localplayer_weapon = Entity.GetWeapon(localplayer_index);
weapon_name = Entity.GetName(localplayer_weapon);
 
if (UI.GetValue("Script items", "Switch with granade", true)) {
if ( weapon_name == "high explosive grenade" || weapon_name == "molotov" || weapon_name == "smoke grenade" || weapon_name == "flashbang" || weapon_name == "decoy grenade"  || weapon_name == "incendiary grenade" ) {
     UI.ToggleHotkey("Anti-Aim", "Fake angles", "Inverter");
  }
}
}

Cheat.RegisterCallback("Draw", "Switch");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                Trashtalk                 ");
UI.AddLabel(" ");

UI.AddCheckbox("Trashtalk");

const normal_killsays = ["а у вас походу умирать это семейное)", "нахуя пидораса убил?", "чао персик дозревай", "уважаемый в тюрьме вы будете водолазом",
    "говори буду плохо говорить буду сосать, буду плохо сосать буду пересасывать", "долбаеб иди башмачки в сундучок школьный собирай", "ботинок ебаный чо слетел", "братик маме привет передай",
    "не противник",
    "а ты че клоун???", "я обоссал тебя (", "ты че там отлетел то?",
    "упал хуета ебаная , но в боди забрал да похуй все равно упал",
    "*DEAD* ливай с хвх (", "до связи башмак",
    "нищета глупейшая играть учись", "опущен сын твари",
    "нищий улетел", "*DEAD* пофикси нищ", "сразу видно кфг иссуе мб конфиг у меня прикупишь ?",
    "животное аддон скачай а то падаешь", "оттарабанен армянская королева", "сука не позорься и ливни",
    "улетел тапочек ебаный", "единицей свалился фуфлыжник",
    "зачем ты играешь тут безмозглый", "иди кумыса попей очередняра",
    "откисай сочняра", "АХАХА ЕБАТЬ У ТЕБЯ ЧЕРЕПНАЯ КОРОБКА ПРЯМ КАК [XML-RPC] No-Spread 24/7 | aim_ag_texture_2 ONLY!",
    "на мыло и веревку то деньги есть????", "ИЩИ СЕБЯ НА pornoeb.cc/sochniki",
    "свежий кабанчик", "до связи на подскоке кабанчик", "скажи маме сухарики купить долбаеб", "ебать ты красиво на бутылку присел , тебе дать альт ?",
    "прости что без смазки)", "алло это скорая? тут такая ситуация пареню который упал нужна скорая)", "ало ты мапу лузаешь дура очнись",
    "тяжело с кряком????", "ЕБУЧЕСТЬ ВТОРОГО РАЗРЯДА ВЫДВИЖЕНЕЦ ОТКИС", "але а противники то где???", "ты по легиту играешь ?", "ХУЕПРЫГАЛО ТУСОВОЧНОЕ КУДА ПОЛЕТЕЛО", "ты куда жертва козьего аборта",
    "iq?", "·٠●•۩۞۩ОтДыХаЙ (ٿ) НуБяРа۩۞۩•●٠·", "ты то куда лезешь сын фантомного стационарного спец изолированого металлформовочного механизма", "╭∩╮( ⚆ ʖ ⚆)╭∩╮ ДоПрыГался(ت)ДрУжоЧеК"
];
 
const hs_killsays = ["держи зонтик ☂, тебя обоссали", "Держи ✈ и лети нахуй !", "слишком сочный для Djamic.technologies",
    "сьебался нахуй таракан усатый", "мать твою ебал", "нахуй ты упал иди вставай и на завод",
    "не по сезону шуршишь фраер",
    "ИЗИ ЧМО ЕБАНОЕ",
    "ливай блять не позорься",
    "AХАХ ПИДОР УПАЛ С ВАНВЕЯ ХАХАХА ОНЛИ БАИМ В БОДИ ПОТЕЕТ НА ФД АХА", "АХАХА УЛЕТЕЛ ЧМОШНИК",
    "1 МАТЬ ЖАЛЬ",
    "тебе права голоса не давали thirdworlder ебаный",
    "на завод иди",
    "не не он опять упал на конлени",
    "вставай заебал , завтра в школу", "гет гуд гет иди нахуй",
    "by SANCHEZj hvh boss",
    "ну нет почему он ложится когда я прохожу", "у тебя ник нейм адео?", "парень тебе ник придумать?",
    "такой тупой :(",
    "хватит получать хс ,лучше возьми свою руку и иди дрочи",
    "нет нет этот крякер такой смешной",
    "1 сын шлюхи",
    "1 мать твою ебал",
    "преобрети мой кфг клоун",
    "об кафель голову разбил?",
    "мать твою ебал",
    "хуесос дальше адайся ко мне",
    "ещё раз позови к себе на бекап",
    "не противник",
    "ник нейм дориан(",
    "iq ?",
    "упал = минус мать", "не пиши мне",
    "жаль конечно что против тебя играю, но куда деваться", "адиничкой упал", "сынок зачем тебе это ?",
    "давно в рот берёшь?", "мне можно", "ты меня так заебал , ливни уже",
    "ничему жизнь не учит (", "я не понял, ты такой жирный потомучто дошики каждый день жрешь?",
    "братка го я тебе бекап позову", "толстяк даже пройти спокойно не может"
];

function on_player_death()
{
    if(UI.GetValue("Misc", "Trashtalk"))
    {
        const victim = Entity.GetEntityFromUserID(Event.GetInt("userid"));
        const attacker = Entity.GetEntityFromUserID(Event.GetInt("attacker"));
        const headshot = Event.GetInt("headshot") == 1;
     
        if(Entity.IsLocalPlayer(attacker) && attacker != victim)
        {
            const normal_say = normal_killsays[Math.floor(Math.random() * normal_killsays.length)];
            const hs_say = hs_killsays[Math.floor(Math.random() * hs_killsays.length)];
         
            if(headshot && Math.random() * 2 > 1) //gamer style randomizer
            {
                Cheat.ExecuteCommand("say " + hs_say);
                return;
            }
            Cheat.ExecuteCommand("say " + normal_say);
        }
    }
}

var killsay_amt = normal_killsays.length + hs_killsays.length;

Cheat.Print("trashtalk js loaded, killsay count: " + killsay_amt + "\n");
Cheat.RegisterCallback("player_death", "on_player_death");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");
UI.AddLabel("------------------------------------------");
P.S. Не судите строго пожалуйста, там много говнокода
Thx ♂ Ma$ter ♂
 
Начинающий
Статус
Оффлайн
Регистрация
1 Май 2019
Сообщения
12
Реакции[?]
1
Поинты[?]
0
♂Slave♂Cord
И так, представляю вам свою первую пасту для настоящих ♂Dungeon masters♂

Watermark(Neverlose)
Keybinds
Min damage
Backshot
Low delta on steroids(Джиттеры с маленьким углом)
Fps boost
Grenade helper v3 by v1pix
Trashtalk
Пожалуйста, авторизуйтесь для просмотра ссылки.

Код:
UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");

//Watermark
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Watermark(Neverlose)           ");
UI.AddLabel(" ");
Cheat.CursorInBox = function(x, y, length, height) {
    var cursor = Input.GetCursorPosition()
    if (cursor[0] > x && cursor[0] < x + length && cursor[1] > y && cursor[1] < y + height)
        return true
    return false
}

function drawBoard(x, y, w, h, color, title) {
    var font = Render.AddFont("MuseoSansCyrl-900", 11, 500)

    Render.FilledRect(x, y - 1, w - 2, h, color)
    Render.FilledRect(x - 1, y, w, h - 2, color)

    Render.FilledRect(x + 15, y + 25, w - 30, 2, [27, 27, 29, 255])

    Render.StringCustom(x + 15, y + 5, 0, title, [255, 255, 255, 255], font)
}

var x = "X";
var y = "Y";

X = function () {
    return UI.GetValue("Script items", x)
}
Y = function () {
    return UI.GetValue("Script items", y)
}
function sliders() {
    UI.AddSliderInt(x, -630, Render.GetScreenSize()[0])
    UI.AddSliderInt(y, -600, Render.GetScreenSize()[1])

    UI.SetEnabled("Script items", x, false)
    UI.SetEnabled("Script items", y, false)
}
sliders()

var menumove = false;
var waitforup = false;
var offsetx = 0;
var offsety = 0;

function checkMovement() {
    var cursor = Input.GetCursorPosition()
    var onmenu = Cheat.CursorInBox(X(), Y(), 200, 200)
    if (UI.IsMenuOpen()) {
        if (Input.IsKeyPressed(0x01) && !waitforup && onmenu) {
            menumove = true
            offsetx = cursor[0] - X()
            offsety = cursor[1] - Y()
            waitforup = true
        }
        if (!Input.IsKeyPressed(0x01)) {
            menumove = false
            waitforup = false
        }
        if (menumove) {
            UI.SetValue("Script items", "X", cursor[0] - offsetx)
            UI.SetValue("Script items", "Y", cursor[1] - offsety)
        }
    }
}
Cheat.RegisterCallback("Draw", "checkMovement")

var idCheckbox = 0
var comboOverlapping = false
var comboactive = -1
var wasDown = []

function resetSpacing() {
    idCheckbox = 0
}
resetSpacing()

function checkbox(x, y, name, enable) {
    var size = 8
    var frames = 8 * Globals.Frametime();
    var font = Render.AddFont("MuseoSansCyrl-500", 10, 500)
    var color = [3, 5, 13, 255]
    var color1 = [74, 87, 97, 255]
    var xs = 0

    if (enable) {
        color = [3, 23, 46, 255]
        color1 = [3, 168, 245, 255]
        xs = 28
    } else {
        color = [3, 5, 13, 255]
        color1 = [74, 87, 97, 255]
        xs = 0
    }

    if (!comboOverlapping) {
        Render.FilledCircle(x + 126, y + 15, 7, color)
        Render.FilledCircle(x + 153, y + 15, 7, color)
        Render.FilledRect(x + 125, y + 8, 30, 15, color)

        Render.FilledCircle(x + 126 + xs, y + 15, 9, color1)

        Render.StringCustom(x, y + 5, 0, name, [255, 255, 255, 255], font)
    }

    if (UI.IsMenuOpen() && !comboOverlapping) {
        if ((Cheat.CursorInBox(x + 122, y + 8, 42, 15)) && comboactive == -1) {
            if (!wasDown[idCheckbox]) {
                if (Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = true
                    return true
                }
            }
            else if (wasDown[idCheckbox]) {
                if (!Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = false
                    return false
                }
            }
            return false
        }
    }
}

var tab = 0

UI.AddCheckbox("Show ping")
UI.AddCheckbox("Show name")
UI.AddCheckbox("Show time")
UI.AddCheckbox("Show ip")

function watermark() {

    var AddCheckbox = function (x, y, name) {
        if (checkbox(x, y, name, UI.GetValue("Script items", name))) UI.SetValue("Script items", name, !UI.GetValue("Script items", name))
    }

    var username = Cheat.GetUsername()
    var fps = Math.floor(1 / Global.Frametime());
    var today = new Date();
    var ping = Math.floor(Global.Latency() * 1000 / 1.5);
    var ip = World.GetServerString()
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
    var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
    var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;

    var font = Render.AddFont("MuseoSansCyrl-900", 9, 900)
    var font1 = Render.AddFont("MuseoSansCyrl-900", 11, 900)

    var text = ""

    if (UI.GetValue("Script items", "Show name")) {
        text += ("| " + username)
    }
    if (UI.GetValue("Script items", "Show ping")) {
        text += (" | " + ping + " ms")
    }
    if (UI.GetValue("Script items", "Show time")) {
        text += (" | " + hours + minutes + seconds)
    }
    if (UI.GetValue("Script items", "Show fps")) {
        text += (" | " + fps + " fps")
    }
    if (UI.GetValue("Script items", "Show ip")) {
        text += (" | " + ip)
    }

    var text1 = "NL"

    var h = 27;
    var w = Render.TextSizeCustom(text, font)[0] + 33;
    var x = Global.GetScreenSize()[0] - 2;
    var y = 12;
    x = x - w - 10;

    Render.FilledRect(x, y - 1, w - 2, h, [0, 20, 20, 255]);
    Render.FilledRect(x - 1, y, w, h - 2, [0, 20, 20, 255]);
    Render.StringCustom(x + 28, y + 5, 0, text, [255, 255, 255, 255], font)

    Render.StringCustom(x + 4, y + 3, 0, text1, [34, 179, 246, 255], font1)
    Render.StringCustom(x + 5, y + 4, 0, text1, [255, 255, 255, 255], font1)


    if (Cheat.CursorInBox(x, y, w, h) && Input.IsKeyPressed(0x02)) {
        tab = 1
    }

    if (!Cheat.CursorInBox(X(), Y(), 200, 200) && Input.IsKeyPressed(0x01)) {
        tab = 0
    }

    if (tab == 1 && UI.IsMenuOpen()) {
        drawBoard(X(), Y(), 200, 200, [11, 11, 14, 255], "Watermark Settings");
        AddCheckbox(X() + 15, Y() + 35, "Show ping")
        AddCheckbox(X() + 15, Y() + 65, "Show name")
        AddCheckbox(X() + 15, Y() + 95, "Show time")
        AddCheckbox(X() + 15, Y() + 155, "Show ip")
    }
}

Cheat.RegisterCallback("Draw", "watermark")

//keybinds
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Keybinds                  ");
UI.AddLabel(" ");
UI.AddCheckbox("Keybinds")
const keybinds_x = UI.AddSliderInt("keybinds_x", 0, Global.GetScreenSize()[0])
const keybinds_y = UI.AddSliderInt("keybinds_y", 0, Global.GetScreenSize()[1])

function in_bounds(vec, x, y, x2, y2)
{
   return (vec[0] > x) && (vec[1] > y) && (vec[0] < x2) && (vec[1] < y2)
}

function xy()
{
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_x", false)
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_y", false)
}
xy();

function binds()
{

     if (UI.GetValue("Misc","JAVASCRIPT","Script items","Keybinds")){
     var watermark_name = Entity.GetName(Entity.GetLocalPlayer( ));
     var today = new Date();
     var hours1 = today.getHours();
     var minutes1 = today.getMinutes();
     var seconds1 = today.getSeconds();
     var localplayer_index = Entity.GetLocalPlayer();
     var velocity = Entity.GetProp(localplayer_index, "CBasePlayer", "m_vecVelocity[0]");
     var speed = Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
     var finalspeed = Math.min( 9999, speed ) + 0.2
     var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
     var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
     var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;
     const tickrate = Globals.Tickrate();
     const ping = Math.floor(Global.Latency() * 1000 / 1.5);
     const fps = Math.floor( 1 / Global.Frametime() );
     var h = [];
     const fontpixel = Render.AddFont("Segoe ui", 8, 100);

                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk")) {
                            h.push("Slow walk")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
                            h.push("Fake Duck")
                        }
                        if (UI.IsHotkeyActive("Misc", "General", "Movement", "Auto peek")) {
                            h.push("Auto peek")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Legit Anti-Aim", "Direction key")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force safe point")) {
                            h.push("Safe point")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Resolver override")) {
                            h.push("Resolver override")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force body aim")) {
                            h.push("Body aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Double tap")) {
                            h.push("Double tap")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Desync on shot")) {
                            h.push("On shot anti-aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {
                            h.push("Hide shots")
                        }
                        if (UI.IsHotkeyActive("Visual", "World", "View", "Zoom")) {
                            h.push("Zoom")
                        }
                        if (UI.IsHotkeyActive("Visual", "Self", "Freecam", "Enable")) {
                            h.push("Freecam")
                        }
                        if (UI.IsHotkeyActive("Misc", "Movement", "Edge jump")) {
                            h.push("Jump at edge")
                        }
                        if (UI.IsHotkeyActive("Legit", "GENERAL", "Triggerbot", "Enabled")) {
                            h.push("Triggerbot")
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override")) {
                            h.push("Minimum damage")                                                     
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Backshot")) {
                            h.push("Backshot")                                                     
                        }
                      
     const x = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x"),
           y = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y");

     Render.FilledRect(x+1, y+5, 200, 24, [0, 0, 0, 125]);



     Render.StringCustom(x + 80, y + 10 , 0, "keybinds", [255, 255, 255, 255], fontpixel);
     for (i = 0; i < h.length; i++)
     {
        Render.FilledRect(x+1, y + 29 + 18 * i, 200, 18, [0,0,0, 125]);

        Render.StringCustom(x+8, y + 29 + 18 * i, 0, h[i], [255, 255, 255, 255], fontpixel);
        Render.StringCustom(x+162, y + 29 + 18 * i, 0, "toggle", [255, 255, 255, 255], fontpixel);
     }

     if (Global.IsKeyPressed(1)) {
         const mouse_pos = Global.GetCursorPosition();
         if (in_bounds(mouse_pos, x, y, x + 200, y + 30)) {
          if (UI.IsMenuOpen( ) == false)
            return;
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x", mouse_pos[0] - 100);
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y", mouse_pos[1] - 20);
         }
     }
}
}

Global.RegisterCallback("Draw", "binds");

//speclist
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
  
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Лишняя хуйня которую я не могу вырезать
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
  
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Min Dmg
UI.AddLabel("------------------------------------------------------")
UI.AddLabel("               Minimum Damage")
UI.AddLabel(" ");
UI.AddCheckbox("Enable mindmg");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))



        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }



    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Verdana", 18, 700);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(18, y - 325, 0, str+"", [ 155, 100, 237, 255 ], font);
         Render.StringCustom(17, y - 325, 0, str+"", [155, 100, 237, 255], font)
}
UI.AddLabel(" ");

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");

//Backshot
UI.AddLabel("------------------------------------------------------")
UI.AddLabel(" ");
UI.AddCheckbox( "Wait for on shot" );
UI.AddHotkey( "Backshot" );
var last_shot_time = []
function on_draw()
{
  if(!UI.GetValue("Misc", "Wait for on shot") || !UI.IsHotkeyActive("Misc","Backshot") || !UI.GetValue("Misc","Wait for on shot indicator" )) return;

  var font = Render.AddFont("Verdana Bold",18,800);
  Render.StringCustom(55,600,1,"ONSHOT",[0,255,0,255],font);
}
function on_create_move()
{
  if(!UI.GetValue("Misc", "Wait for on shot") || !UI.IsHotkeyActive("Misc","Backshot")) return;

  var local = Entity.GetLocalPlayer( );
  if(!Entity.IsAlive(local)) return;
  var enemies = Entity.GetEnemies();

  for(var i = 0; i < enemies.length;i++)
  {
    var enemy = enemies[i];
    var dif = Globals.Tickcount() - last_shot_time[enemy]
    var has_shot = dif >= 0 && dif <= 12;
    if(!has_shot)
      Ragebot.IgnoreTarget(enemy)
  }

}
function on_weapon_fire()
{
  var shooter = Entity.GetEntityFromUserID(Event.GetInt("userid"));
  last_shot_time[shooter] = Globals.Tickcount();
}

function on_player_connect()
{
  var entity = Entity.GetEntityFromUserID(Event.GetInt("userid"));
  if(entity == Entity.GetLocalPlayer())
    last_shot_time = []
}
UI.AddLabel(" ");

Cheat.RegisterCallback("weapon_fire", "on_weapon_fire")
Cheat.RegisterCallback("player_connect_full", "on_player_connect")
Cheat.RegisterCallback("CreateMove","on_create_move")
Cheat.RegisterCallback("Draw","on_draw")


//Low delta
UI.AddLabel("-----------------------------------------------------");
UI.AddLabel("                      Low delta");
UI.AddLabel(" ");
UI.AddCheckbox('lowdelta on steroids');
function GetScriptOption(name)
{
    var Value = UI.GetValue("Misc", "JAVASCRIPT", "Script items", name);
    return Value;
}

function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min + 1) ) + min; }

function run() {
    AntiAim.SetOverride(1);

    if(GetScriptOption('lowdelta on steroids')) {
        var real_offset = -20;
        var fake_offset = 0;

        // time to do random lby offset calculations

        var lby_start = getRndInteger(15, 25); // 1st lby stage
        var lby_end = getRndInteger(20, 30); // 2nd lby stage

        AntiAim.SetRealOffset(real_offset); // set the real to -20, if u want to invert it just do 20
        AntiAim.SetFakeOffset(fake_offset); // fake will be 0 as for now, its useless.

        var lby_delta = lby_start + lby_end; // 1st stage + 2nd stage angle

        var fake_delta = lby_start - 20; // first stage - 20

        AntiAim.SetLBYOffset(lby_start); // 1st lby set, 80% of the cases will bring lower angle than the 2nd stage
        AntiAim.SetLBYOffset(lby_end); // 2nd lby set, 80% of the cases will bring higher angle than the 1st stage
        AntiAim.SetLBYOffset(lby_delta) // EXPERIMENTAL: 3nd lby set; set it to a big angle to confuse enemy's resolver
        AntiAim.SetFakeOffset(fake_delta); // first stage - 20 basically lol

        //OVERALL: Your fake will just jitter but in small angles, it really helps tho.
    }
}
function unload() {
    AntiAim.SetOverride(0);
}
UI.AddLabel(" ");

//Fps boost
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Fps boost                 ");
UI.AddLabel(" ");
UI.AddCheckbox("Fps Boost");

function fps_boost()
{
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Fps Boost"))
        {
            // Disable shadows ->
            Convar.SetString("r_shadows", "0");
            Convar.SetString("cl_csm_static_prop_shadows", "0");
            Convar.SetString("cl_csm_shadows", "0");
            Convar.SetString("cl_csm_world_shadows", "0");
            Convar.SetString("cl_foot_contact_shadows", "0");
            Convar.SetString("cl_csm_viewmodel_shadows", "0");
            Convar.SetString("cl_csm_rope_shadows", "0");
            Convar.SetString("cl_csm_sprite_shadows", "0");
            // Disable blood ->
            Convar.SetString("violence_hblood", "0");
      
            // Disable 3dsky ->
            Convar.SetString("r_3dsky", "0");

            // Disable decals ->
            //Convar.SetString("r_drawdecals", "0");

            // Disable rain ->
            Convar.SetString("r_drawrain", "0");
      
            // Disable ropes ->
            Convar.SetString("r_drawropes", "0");

            // Disable sprites ->
            Convar.SetString("r_drawsprites", "0");

            // Disable water fog ->
            Convar.SetString("fog_enable_water_fog", "0");
        }
else
        {
            // Enable shadows ->
            Convar.SetString("r_shadows", "1");
            Convar.SetString("cl_csm_static_prop_shadows", "1");
            Convar.SetString("cl_csm_shadows", "1");
            Convar.SetString("cl_csm_world_shadows", "1");
            Convar.SetString("cl_foot_contact_shadows", "1");
            Convar.SetString("cl_csm_viewmodel_shadows", "1");
            Convar.SetString("cl_csm_rope_shadows", "1");
            Convar.SetString("cl_csm_sprite_shadows", "1");

            // Enable blood ->
            Convar.SetString("violence_hblood", "1");

            // Enable 3dsky ->
            Convar.SetString("r_3dsky", "1");

            // Enable decals ->
            //Convar.SetString("r_drawdecals", "1");

            // Enable rain ->
            Convar.SetString("r_drawrain", "1");

            // Enable ropes ->
            Convar.SetString("r_drawropes", "1");

            // Enable sprites ->
            Convar.SetString("r_drawsprites", "1");

            // Enable water fog ->
            Convar.SetString("fog_enable_water_fog", "1");
        }
    
}
UI.AddLabel(" ");

// Callbacks
Cheat.RegisterCallback( "Draw", "fps_boost" );

//Grenade helper v3 by v1p1x
UI.AddLabel("------------------------------------------");
UI.AddLabel("              Grenade helper              ");
UI.AddLabel(" ");
UI.AddHotkey('Activate helper');
UI.AddMultiDropdown('Type', ['Grenades', 'Wallbangs']);
UI.AddDropdown('Render mode', ['Only visible']);
UI.AddDropdown('Style', ['Default', 'Outline'], 1);
var weapon_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang'
};
var wallbang_console_name = {
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var console_wallbang_grenades = {
    "molotov": true,
    "hegrenade": true,
    "smoke grenade": true,
    "flashbang": true,
    "wallbang": true,
    "weapon_console_name": true,
    "all_console_name": true,
    "v1pix": true,
    "robert": true,
    "Envy": true,
    "Dorian": true,
    "Mased": true,
    "grandmemo": true,
    "xux": true,
    "": true,
    "compin": true,
    "Lazzep": true,
    "nefro": true,
    "hell": true,
    "shanty": true,
    "Nitraitor": true,
    "PikkeR": true,
    "Jester": true,
    "goldness": true,
    "Mayor": true,
    "trill": true,
    "FENDIGLOCK": true,
    "SAVAGE": true,
    "frunza": true,
    "EDGARIX": true,
    "rallen": true,
    "zap": 'true',
    "Iroxy": true,
    "sharkyy": true,
    "proxin": true,
    "bigboss": true,
    "hidfid": true,
    "ogog": true,
    "legend": true,
    "Jasper": true,
    "S0lut1on": true
};
var all_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang',
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var off = {};

function helpersetup() {
    var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 0)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 1)
    };
    var _0x771bx8 = World.GetMapName(),
        _0x771bx9 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off'),
        _0x771bxa = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:'),
        _0x771bxb = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Name:'),
        _0x771bxc = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Move:'),
        _0x771bxd = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:');
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if (_0x771bxa == 0) {
        grenadeddd = 'molotov'
    } else {
        if (_0x771bxa == 1) {
            grenadeddd = 'hegrenade'
        } else {
            if (_0x771bxa == 2) {
                grenadeddd = 'smoke grenade'
            } else {
                if (_0x771bxa == 3) {
                    grenadeddd = 'flashbang'
                } else {
                    if (_0x771bxa == 4) {
                        grenadeddd = 'wallbang'
                    }
                }
            }
        }
    };
    if (_0x771bx9) {
        fakelag = '"fakelag_off"'
    } else {
        fakelag = '"fakelag_on"'
    };
    if (_0x771bxc == 0) {
        moveddd = 'Throw';
        tickstoback = '';
        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
    } else {
        if (_0x771bxc == 1) {
            moveddd = 'Runthrow';
            tickstoback = '';
            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
        } else {
            if (_0x771bxc == 2) {
                moveddd = 'Jumpthrow';
                tickstoback = '';
                tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
            } else {
                if (_0x771bxc == 3) {
                    moveddd = 'RunJumpthrow';
                    tickstoback = '';
                    tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                } else {
                    if (_0x771bxc == 4) {
                        moveddd = 'Half throw';
                        tickstoback = '';
                        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                    } else {
                        if (_0x771bxc == 5) {
                            moveddd = 'Jump+Half throw';
                            tickstoback = '';
                            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                        } else {
                            if (_0x771bxc == 6) {
                                moveddd = 'Runleft';
                                tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                            } else {
                                if (_0x771bxc == 7) {
                                    moveddd = 'Runright';
                                    tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                    tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                } else {
                                    if (_0x771bxc == 8) {
                                        moveddd = 'Runleft jump';
                                        tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                        tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                    } else {
                                        if (_0x771bxc == 9) {
                                            moveddd = 'Runright jump';
                                            tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                            tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                        } else {
                                            if (_0x771bxc == 10) {
                                                moveddd = 'wallbang';
                                                tickst = 0;
                                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    };
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'x', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'y', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'z', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'pitch', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'yaw', 0);
    var _0x771bx10 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x');
    var _0x771bx11 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y');
    var _0x771bx12 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63;
    var _0x771bx13 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z');
    var _0x771bx14 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch');
    var _0x771bx15 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw');
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
    var _0x771bx18 = [0, 0, 0, 125];
    var _0x771bx19 = [155, 0, 0, 255];
    var _0x771bx1a = [155, 0, 0, 255];
    var _0x771bx1b = [155, 0, 0, 255];
    var _0x771bx1c = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z')];
    var _0x771bx1d = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw'), 0];
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Set location')) {
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'x', Entity.GetEyePosition(Entity.GetLocalPlayer())[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'y', Entity.GetEyePosition(Entity.GetLocalPlayer())[1]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'z', Entity.GetEyePosition(Entity.GetLocalPlayer())[2]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch', Local.GetViewAngles()[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw', Local.GetViewAngles()[1]);
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport')) {
        Cheat.ExecuteCommand('setpos' + ' ' + _0x771bx10 + ' ' + _0x771bx11 + ' ' + _0x771bx12);
        Cheat.ExecuteCommand('setang' + ' ' + _0x771bx14 + ' ' + _0x771bx15);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0)
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations')) {
        var _0x771bx1e = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63]);
        if (all_console_name[weapon]) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), _0x771bx1c);
            var _0x771bx20 = angle_to_vec(_0x771bx14, _0x771bx15);
            angle_to_vec22 = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x') + _0x771bx20[0] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y') + _0x771bx20[1] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') + _0x771bx20[2] * 400]);
            var _0x771bx21 = Render.TextSizeCustom(_0x771bxb + ' [Temporary]   ', _0x771bx7);
            Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - _0x771bx21[1] / 1.5, _0x771bx21[0] + 34, _0x771bx21[1] + 8, _0x771bx18);
            Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), _0x771bx1a, 6);
            Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 6, 6, '|', _0x771bx1a, 8);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 35, _0x771bx1e[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
            if (_0x771bx1f > 70 == false) {
                Render.FilledRect(angle_to_vec22[0] - 10, angle_to_vec22[1] - _0x771bx21[1] / 1 + 3, _0x771bx21[0] > _0x771bx21[0] ? _0x771bx21[0] + 7 : _0x771bx21[0] + 32, _0x771bx21[1] > _0x771bx21[1] ? _0x771bx21[1] + 8 : _0x771bx21[1] + 8, _0x771bx18);
                Render.StringCustom(angle_to_vec22[0] + 12, angle_to_vec22[1] - 8, 6, '|', _0x771bx1a, 8);
                Render.StringCustom(angle_to_vec22[0] + 18, angle_to_vec22[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
                Render.StringCustom(angle_to_vec22[0] + 17, angle_to_vec22[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
                Render.FadedCircle(angle_to_vec22[0], angle_to_vec22[1], 8, Math.abs(angle_to_vec22[0] - Render.GetScreenSize()[0] / 2) + Math.abs(angle_to_vec22[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                Render.FilledCircle(angle_to_vec22[0], angle_to_vec22[1], 7, [0, 0, 0, 70]);
                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, angle_to_vec22[0], angle_to_vec22[1], _0x771bx1b)
            }
        }
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location')) {
        Cheat.PrintColor([140, 185, 40, 255], '[GH v2] Your nade:\n');
        Cheat.PrintColor([200, 155, 25, 255], '["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],\n');
        Cheat.PrintChat('[GH v2] Your nade:');
        Cheat.PrintChat('["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],');
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0)
    };
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 1)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color', 0)
    }
}

function shadow(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx25, _0x771bx7, _0x771bx26, _0x771bx27) {
    if (_0x771bx25) {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx7);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx7)
    } else {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx27);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx27)
    }
}
Render.FadedCircle = function (_0x771bx24, _0x771bx28, _0x771bx29, _0x771bx2a) {
    var _0x771bx2b = _0x771bx2a[3] / _0x771bx29;
    var _0x771bx2c = 0;
    for (; _0x771bx2c <= _0x771bx29; _0x771bx2c++) {
        Render.FilledCircle(_0x771bx24, _0x771bx28, _0x771bx2c, [_0x771bx2a[0], _0x771bx2a[1], _0x771bx2a[2], _0x771bx2a[3] - _0x771bx2b * _0x771bx2c])
    }
};
_locations = require('v3_helper.data');
var locations = _locations.locations;
var map_cache = [];
var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
if (weapon == 'incendiary grenade') {
    weapon = 'molotov'
};
map_cache = locations.filter(function (_0x771bx2f) {
    return _0x771bx2f[0] == World.GetMapName() && _0x771bx2f[3].toLowerCase() == weapon_console_name[weapon]
});

function get_icon(_0x771bx31) {
    var _0x771bx32 = '';
    switch (_0x771bx31) {
    case 'high explosive grenade':
        _0x771bx32 = 'I';
        break;
    case 'smoke grenade':
        _0x771bx32 = 'J';
        break;
    case 'molotov':
        _0x771bx32 = 'K';
        break;
    case 'incendiary grenade':
        _0x771bx32 = 'K';
        break;
    case 'ssg 08':
        _0x771bx32 = 'S';
        break;
    case 'awp':
        _0x771bx32 = 'S';
        break;
    case 'r8 revolver':
        _0x771bx32 = 'S';
        break;
    case 'desert eagle':
        _0x771bx32 = 'S';
        break;
    case 'g3sg1':
        _0x771bx32 = 'S';
        break;
    case 'scar 20':
        _0x771bx32 = 'S';
        break;
    default:
        _0x771bx32 = '';
        break
    };
    return _0x771bx32
}

function check_visibility() {
    if (map_cache.length == 0 || World.GetServerString() == '') {
        return
    };
    var _0x771bx34 = Entity.GetLocalPlayer();
    eye_angles = Local.GetViewAngles();
    head = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecOrigin');
    offset = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecViewOffset[2]');
    head = vector_add(head, [0, 0, offset[0]]);
    for (var _0x771bx35 in map_cache) {
        var _0x771bx36 = Trace.Line(_0x771bx34, head, map_cache[_0x771bx35][1]);
        if (map_cache[_0x771bx35][16] == undefined) {
            map_cache[_0x771bx35].push(_0x771bx36[1] == 1)
        } else {
            map_cache[_0x771bx35][16] = _0x771bx36[1] == 1
        }
    }
}
Cheat.RegisterCallback('CreateMove', 'check_visibility');
var alpha_main = 0;
var alpha_text = 0;
var alpha_second = 0;

function animate_alpha() {
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    if (all_console_name[weapon] != undefined) {
        if (alpha_main < 255) {
            alpha_main = alpha_main + 12.75
        };
        if (alpha_second < 122) {
            alpha_second = alpha_second + 6.1
        }
    } else {
        alpha_second = 0;
        alpha_main = 0
    }
}
Render.Filled3DCircle = function (_0x771bx3b, _0x771bx3c, _0x771bx3d, _0x771bx3e, _0x771bx3f, _0x771bx40) {
    var _0x771bx41, _0x771bx42;
    _0x771bx3d = _0x771bx3d < 361 && _0x771bx3d || 360;
    _0x771bx3d = _0x771bx3d > -1 && _0x771bx3d || 0;
    _0x771bx3e += 1;
    for (rot = _0x771bx3e; rot < _0x771bx3d + _0x771bx3e + 1; rot += _0x771bx3e * 8) {
        rot_r = rot * (Math.PI / 180);
        line_x = _0x771bx3c * Math.cos(rot_r) + _0x771bx3b[0], line_y = _0x771bx3c * Math.sin(rot_r) + _0x771bx3b[1];
        var _0x771bx43 = Render.WorldToScreen([line_x, line_y, _0x771bx3b[2]]);
        var _0x771bx44 = Render.WorldToScreen([_0x771bx3b[0], _0x771bx3b[1], _0x771bx3b[2]]);
        if (_0x771bx44[0] != null && _0x771bx43[0] != null && _0x771bx41 != null) {
            Render.Polygon([
                [_0x771bx43[0], _0x771bx43[1]],
                [_0x771bx41, _0x771bx42],
                [_0x771bx44[0], _0x771bx44[1]]
            ], _0x771bx40);
            Render.Line(_0x771bx43[0], _0x771bx43[1], _0x771bx41, _0x771bx42, _0x771bx3f)
        };
        _0x771bx41 = _0x771bx43[0], _0x771bx42 = _0x771bx43[1]
    }
};

function draw() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
        var _0x771bx46 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Style');
        var _0x771bx47 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Icon position');
        var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (_0x771bx17 == 1) {
            type_mode = weapon_console_name
        } else {
            if (_0x771bx17 == 2) {
                type_mode = wallbang_console_name
            } else {
                if (_0x771bx17 == 3) {
                    type_mode = all_console_name
                } else {
                    type_mode = off
                }
            }
        };
        if (weapon == 'incendiary grenade') {
            weapon = 'molotov'
        };
        map_cache = locations.filter(function (_0x771bx48) {
            return _0x771bx48[0] == World.GetMapName() && _0x771bx48[3].toLowerCase() == type_mode[weapon]
        });
        if (map_cache.length == 0) {
            return
        };
        var _0x771bx35;
        for (_0x771bx35 in map_cache) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), map_cache[_0x771bx35][1]);
            var _0x771bx1e = Render.WorldToScreen([map_cache[_0x771bx35][1][0], map_cache[_0x771bx35][1][1], map_cache[_0x771bx35][1][2] - 63]);
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
                if (!map_cache[_0x771bx35][16]) {
                    continue
                }
            } else {
                if (_0x771bx1f > UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance')) {
                    continue
                }
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color')
            } else {
                var _0x771bx19 = [107, 117, 255, 255]
            };
            if (_0x771bx1f > 450 == false) {
                rPairs = Render.TextSizeCustom(map_cache[_0x771bx35][4], _0x771bx7);
                var alpha_text = _0x771bx19[3]
            } else {
                var alpha_text = 0;
                rPairs = [-12, 13]
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color');
                var _0x771bx18 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Background color');
                var _0x771bx49 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Outline color');
                var _0x771bx1a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color');
                var _0x771bx1b = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Line color');
                var _0x771bx4a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color')
            } else {
                var _0x771bx19 = [107, 117, 255, alpha_text];
                var _0x771bx18 = [4, 4, 4, alpha_second];
                var _0x771bx49 = [255, 255, 255, alpha_main];
                var _0x771bx1a = [107, 117, 255, alpha_main];
                var _0x771bx1b = [255, 255, 255, 255];
                var _0x771bx4a = [107, 117, 255, alpha_text]
            };
            var _0x771bx20 = angle_to_vec(map_cache[_0x771bx35][2][0], map_cache[_0x771bx35][2][1]);
            var _0x771bx4b = map_cache[_0x771bx35][1];
            _0x771bx20 = Render.WorldToScreen([_0x771bx4b[0] + _0x771bx20[0] * 400, _0x771bx4b[1] + _0x771bx20[1] * 400, _0x771bx4b[2] + _0x771bx20[2] * 400]);
            if (_0x771bx46 == 0 && _0x771bx47 == 0) {
                Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 34, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                if (_0x771bx1f > 67 == false) {
                    if (!wallbang_console_name[weapon]) {
                        const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                        var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                        var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                        Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                        Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                    };
                    Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                    Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                    Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                    Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                    Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                    Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                }
            } else {
                if (_0x771bx46 == 0 && _0x771bx47 == 1) {
                    Render.FilledRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 52, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                    if (_0x771bx1f > 67 == false) {
                        if (!wallbang_console_name[weapon]) {
                            const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                            var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                            var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                            Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                            Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                        };
                        Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                        Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                        Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                        Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                        Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                        Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                    }
                } else {
                    if (_0x771bx46 == 1 && _0x771bx47 == 0) {
                        Render.RoundRect(_0x771bx1e[0] + 7, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                        Render.FilledRoundRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                        Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                        if (_0x771bx1f > 67 == false) {
                            if (!wallbang_console_name[weapon]) {
                                const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                            };
                            Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                            Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                            Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                            Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                            Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                            Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                        }
                    } else {
                        if (_0x771bx46 == 1 && _0x771bx47 == 1) {
                            Render.RoundRect(_0x771bx1e[0] + 30, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 51, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                            if (_0x771bx1f > 67 == false) {
                                if (!wallbang_console_name[weapon]) {
                                    const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                    var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                    var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                    Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                    Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                                };
                                Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                                Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                                Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                                Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                                Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                                Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                                Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                            }
                        }
                    }
                }
            };
            Render.StringCustom(_0x771bx1e[0] + 37, _0x771bx1e[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 5, 0, map_cache[_0x771bx35][4], [_0x771bx19[0], _0x771bx19[1], _0x771bx19[2], alpha_text], _0x771bx7)
        }
    }
}
Render.FilledRoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - 2, _0x771bx11, _0x771bx26);
    Render.FilledRect(_0x771bx10 + 1, _0x771bx11 + 1, _0x771bx4f - 1, _0x771bx50 - 1, _0x771bx26)
};
Render.RoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx26)
};

function fix_move(_0x771bx53, _0x771bx54, _0x771bx55) {
    var _0x771bx56 = function (_0x771bx31) {
        return _0x771bx31 / 180 * Math.PI
    };
    var _0x771bx57, _0x771bx58, _0x771bx59;
    if (_0x771bx54[1] < 0) {
        _0x771bx57 = 360 + _0x771bx54[1]
    } else {
        _0x771bx57 = _0x771bx54[1]
    };
    if (_0x771bx53[1] < 0) {
        _0x771bx58 = 360 + _0x771bx53[1]
    } else {
        _0x771bx58 = _0x771bx53[1]
    };
    if (_0x771bx58 < _0x771bx57) {
        _0x771bx59 = Math.abs(_0x771bx58 - _0x771bx57)
    } else {
        _0x771bx59 = 360 - Math.abs(_0x771bx57 - _0x771bx58)
    };
    return [Math.cos(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.cos(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], Math.sin(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.sin(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], 0]
}

function move_forward(_0x771bx5b) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx5d = [450, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_forward_back(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [_0x771bx62, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_sideways(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [0, _0x771bx62, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}
var delays = [];

function Delay(_0x771bx66, _0x771bx67, _0x771bx68) {
    this.delay = _0x771bx66;
    this.resume = Globals.Curtime() + _0x771bx66;
    this.func = _0x771bx67;
    this.times = 0;
    this.max = _0x771bx68 || 1;
    delays.push(this)
}
Delay.prototype.run = function () {
    this.func();
    this.times++;
    this.resume += this.delay;
    return this.times >= this.max
};

function checkDelays() {
    currTime = Globals.Curtime();
    delays.forEach(function (_0x771bx66, _0x771bx29) {
        currTime >= _0x771bx66.resume && _0x771bx66.run() && delays.splice(_0x771bx29, 1)
    })
}

function stop_attack() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function stop_attack2() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}
var move_back_t = false;
var alllow_move = false;
var last_ang = [0, 0, 0];
var back_start = 0;
var side = false;
var speed = 0;
var move_back_forward = false;
var last_ang_forward = [0, 0, 0];
var back_start_forward = 0;
var side_forward = false;
var speed_forward = 0;
var grenade_thrown = false;

function on_grenade() {
    if (Entity.GetLocalPlayer() == Entity.GetEntityFromUserID(Event.GetInt('userid'))) {
        grenade_thrown = true
    }
}
Cheat.RegisterCallback('grenade_thrown', 'on_grenade');
var sensitivity = Convar.GetString('sensitivity');

function move_on_key() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (!weapon_console_name[weapon]) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1)
        };
        move_back_t && (0 == back_start && (back_start = Globals.Tickcount()), grenade_thrown && (move_sideways(last_ang, side, 450), Globals.Tickcount() - back_start > speed && (move_back_t = false, back_start = 0, side = false, speed = 0)));
        move_back_forward && (0 == back_start_forward && (back_start_forward = Globals.Tickcount()), grenade_thrown && (move_forward_back(last_ang_forward, side_forward, 450), Globals.Tickcount() - back_start_forward > speed_forward && (move_back_forward = false, back_start_forward = 0, side_forward = false, speed_forward = 0)));
        if (map_cache.length == 0) {
            return
        };
        if (!UI.IsHotkeyActive('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper')) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1), this.running = false, move_back_t = false, back_start = 0, side = false, speed = 0, grenade_thrown = false, move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![], this.start_tick = 0, this.next_tick_ang = [], this.attacked = ![], this.moved_base = ![], this.run_start = 0;
            return
        };
        if (this.next_tick_ang == null) {
            this.next_tick_ang = []
        };
        if (this.ignore_input) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang);
            return
        };
        if (this.next_tick_ang.length) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang)
        };
        if (null == this.delay) {
            this.delay = 0
        };
        if (this.attacked == null) {
            this.attacked = false
        };
        if (this.start_tick == null) {
            this.start_tick = 0
        };
        if (this.running == null) {
            this.running = false
        };
        if (this.closest == null) {
            this.closest = []
        };
        if (this.ignore_input == null) {
            this.ignore_input = false
        };
        if (this.run_start == null) {
            this.run_start = 0
        };
        var _0x771bx7b = Entity.GetRenderOrigin(Entity.GetLocalPlayer());
        var _0x771bx7c = Local.GetViewAngles();
        var _0x771bx7d = map_cache.sort(function (_0x771bx31, _0x771bx7e) {
            return calc_dist(_0x771bx7b, _0x771bx31[1]) - calc_dist(_0x771bx7b, _0x771bx7e[1])
        })[0];
        if (this.closest.length) {
            _0x771bx7d = this.closest
        };
        if (calc_dist(_0x771bx7b, _0x771bx7d[1]) > 100 && !this.running) {
            return
        };
        if (move_to_target(_0x771bx7d[1]) || this.running) {
            if (_0x771bx7d[5] == 'Throw') {
                if (_0x771bx7d[7] == 'fakelag_off') {
                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                };
                Cheat.ExecuteCommand('+attack');
                this.next_tick_ang = _0x771bx7d[2];
                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                this.attacked = true;
                this.ignore_input = true
            } else {
                if (_0x771bx7d[5] == 'Runthrow') {
                    if (!this.closest.length) {
                        this.closest = _0x771bx7d
                    };
                    if (0 == this.start_tick) {
                        this.start_tick = Globals.Tickcount()
                    };
                    this.running = true;
                    if (0 == this.run_start) {
                        this.run_start = Globals.Tickcount()
                    };
                    if (_0x771bx7d[7] == 'fakelag_off') {
                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                    };
                    move_forward(_0x771bx7d[2]);
                    if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                        this.next_tick_ang = _0x771bx7d[2];
                        if (!this.attacked) {
                            Cheat.ExecuteCommand('+attack');
                            new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                            this.attacked = true
                        };
                        if (_0x771bx7d[6] == 0) {
                            var _0x771bx7f = 8
                        } else {
                            var _0x771bx7f = 9
                        };
                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + _0x771bx7f) {
                            this.running = false;
                            this.attacked = false;
                            this.closest = [];
                            this.ignore_input = true;
                            this.run_start = 0
                        }
                    }
                } else {
                    if (_0x771bx7d[5] == 'Jumpthrow') {
                        if (_0x771bx7d[7] == 'fakelag_off') {
                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                        };
                        if (_0x771bx7d[8] > 0) {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            Cheat.ExecuteCommand('+attack');
                            UserCMD.ForceJump();
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[8]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                Cheat.ExecuteCommand('-attack');
                                this.running = false;
                                this.attacked = false;
                                this.closest = [];
                                this.ignore_input = true;
                                this.run_start = 0
                            }
                        } else {
                            Cheat.ExecuteCommand('+attack');
                            this.next_tick_ang = _0x771bx7d[2];
                            UserCMD.ForceJump();
                            new Delay(Global.TickInterval() * 0.25 - Global.TickInterval() / 100, stop_attack);
                            this.ignore_input = !![];
                            this.attacked = !![]
                        }
                    } else {
                        if (_0x771bx7d[5] == 'RunJumpthrow') {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            if (_0x771bx7d[7] == 'fakelag_off') {
                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                            };
                            move_forward(_0x771bx7d[2]);
                            Cheat.ExecuteCommand('+attack');
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                UserCMD.ForceJump();
                                new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                this.attacked = true;
                                this.running = false;
                                this.closest = [];
                                this.ignore_input = true
                            }
                        } else {
                            if (_0x771bx7d[5] == 'RunJumpthrow+Back') {
                                if (!this.closest.length) {
                                    this.closest = _0x771bx7d
                                };
                                if (0 == this.start_tick) {
                                    this.start_tick = Globals.Tickcount()
                                };
                                if (_0x771bx7d[7] == 'fakelag_off') {
                                    UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                };
                                this.running = true;
                                if (0 == this.run_start) {
                                    this.run_start = Globals.Tickcount()
                                };
                                move_forward_back(_0x771bx7d[2], true, 450);
                                Cheat.ExecuteCommand('+attack');
                                if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                    UserCMD.ForceJump();
                                    new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                    move_back_forward = true;
                                    last_ang_forward = _0x771bx7d[2];
                                    speed_forward = 4;
                                    side_forward = false;
                                    this.attacked = true;
                                    this.running = false;
                                    this.closest = [];
                                    this.ignore_input = true;
                                    this.next_tick_ang = _0x771bx7d[2];
                                    this.run_start = 0
                                }
                            } else {
                                if (_0x771bx7d[5] == 'Half throw') {
                                    if (!this.closest.length) {
                                        this.closest = _0x771bx7d
                                    };
                                    if (0 == this.start_tick) {
                                        this.start_tick = Globals.Tickcount()
                                    };
                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                        UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                    };
                                    this.running = true;
                                    if (0 == this.run_start) {
                                        this.run_start = Globals.Tickcount()
                                    };
                                    Cheat.ExecuteCommand('+attack');
                                    Cheat.ExecuteCommand('+attack2');
                                    if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                        this.next_tick_ang = _0x771bx7d[2];
                                        stop_attack2();
                                        this.attacked = !![];
                                        this.ignore_input = !![];
                                        this.running = false;
                                        this.closest = [];
                                        this.run_start = 0
                                    }
                                } else {
                                    if (_0x771bx7d[5] == 'Jump+Half throw') {
                                        if (!this.closest.length) {
                                            this.closest = _0x771bx7d
                                        };
                                        if (0 == this.start_tick) {
                                            this.start_tick = Globals.Tickcount()
                                        };
                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                            UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                        };
                                        this.running = true;
                                        if (0 == this.run_start) {
                                            this.run_start = Globals.Tickcount()
                                        };
                                        Cheat.ExecuteCommand('+attack');
                                        Cheat.ExecuteCommand('+attack2');
                                        if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                            this.next_tick_ang = _0x771bx7d[2];
                                            UserCMD.ForceJump();
                                            stop_attack2();
                                            this.attacked = !![];
                                            this.ignore_input = !![];
                                            this.running = false;
                                            this.closest = [];
                                            this.run_start = 0
                                        }
                                    } else {
                                        if (_0x771bx7d[5] == 'Runright') {
                                            if (!this.closest.length) {
                                                this.closest = _0x771bx7d
                                            };
                                            if (0 == this.start_tick) {
                                                this.start_tick = Globals.Tickcount()
                                            };
                                            this.running = true;
                                            if (0 == this.run_start) {
                                                this.run_start = Globals.Tickcount()
                                            };
                                            if (_0x771bx7d[7] == 'fakelag_off') {
                                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                            };
                                            move_sideways(_0x771bx7d[2], true, 450);
                                            if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                if (!this.attacked) {
                                                    Cheat.ExecuteCommand('+attack');
                                                    this.next_tick_ang = _0x771bx7d[2];
                                                    last_ang = _0x771bx7d[2];
                                                    new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                    this.attacked = true
                                                };
                                                if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                    move_back_t = true;
                                                    speed = _0x771bx7d[8];
                                                    side = false;
                                                    this.running = false;
                                                    this.attacked = false;
                                                    this.closest = [];
                                                    this.ignore_input = true;
                                                    this.run_start = 0
                                                }
                                            }
                                        } else {
                                            if (_0x771bx7d[5] == 'Runleft') {
                                                if (!this.closest.length) {
                                                    this.closest = _0x771bx7d
                                                };
                                                if (0 == this.start_tick) {
                                                    this.start_tick = Globals.Tickcount()
                                                };
                                                this.running = true;
                                                if (0 == this.run_start) {
                                                    this.run_start = Globals.Tickcount()
                                                };
                                                if (_0x771bx7d[7] == 'fakelag_off') {
                                                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                };
                                                move_sideways(_0x771bx7d[2], false, 450);
                                                if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                    if (!this.attacked) {
                                                        Cheat.ExecuteCommand('+attack');
                                                        this.next_tick_ang = _0x771bx7d[2];
                                                        last_ang = _0x771bx7d[2];
                                                        new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                        this.attacked = true
                                                    };
                                                    if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                        move_back_t = true;
                                                        speed = _0x771bx7d[8];
                                                        side = true;
                                                        this.running = false;
                                                        this.attacked = false;
                                                        this.closest = [];
                                                        this.ignore_input = true;
                                                        this.run_start = 0
                                                    }
                                                }
                                            } else {
                                                if ('Runright jump' == _0x771bx7d[5]) {
                                                    if (!this.closest.length) {
                                                        this.closest = _0x771bx7d
                                                    };
                                                    if (0 == this.start_tick) {
                                                        this.start_tick = Globals.Tickcount()
                                                    };
                                                    this.running = true;
                                                    if (0 == this.run_start) {
                                                        this.run_start = Globals.Tickcount()
                                                    };
                                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                    };
                                                    move_sideways(_0x771bx7d[2], true, 450);
                                                    if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                        if (!this.attacked) {
                                                            Cheat.ExecuteCommand('+attack');
                                                            this.next_tick_ang = _0x771bx7d[2];
                                                            last_ang = _0x771bx7d[2];
                                                            UserCMD.ForceJump();
                                                            new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                            this.attacked = true
                                                        };
                                                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                            move_back_t = true;
                                                            speed = _0x771bx7d[8];
                                                            side = false;
                                                            this.running = false;
                                                            this.attacked = false;
                                                            this.closest = [];
                                                            this.ignore_input = true;
                                                            this.run_start = 0
                                                        }
                                                    }
                                                } else {
                                                    if ('Runleft jump' == _0x771bx7d[5]) {
                                                        if (!this.closest.length) {
                                                            this.closest = _0x771bx7d
                                                        };
                                                        if (0 == this.start_tick) {
                                                            this.start_tick = Globals.Tickcount()
                                                        };
                                                        this.running = true;
                                                        if (0 == this.run_start) {
                                                            this.run_start = Globals.Tickcount()
                                                        };
                                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                        };
                                                        move_sideways(_0x771bx7d[2], false, 450);
                                                        if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                            if (!this.attacked) {
                                                                Cheat.ExecuteCommand('+attack');
                                                                this.next_tick_ang = _0x771bx7d[2];
                                                                last_ang = _0x771bx7d[2];
                                                                UserCMD.ForceJump();
                                                                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                                this.attacked = true
                                                            };
                                                            if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                                move_back_t = true;
                                                                speed = _0x771bx7d[8];
                                                                side = true;
                                                                this.running = false;
                                                                this.attacked = false;
                                                                this.closest = [];
                                                                this.ignore_input = true;
                                                                this.run_start = 0
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        } else {
            Convar.SetString('sensitivity', sensitivity);
            this.running = false;
            move_back_t = false;
            back_start = 0;
            side = false;
            speed = 0;
            grenade_thrown = false;
            move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![];
            this.start_tick = 0;
            this.next_tick_ang = [];
            this.attacked = ![];
            this.moved_base = ![];
            this.run_start = 0
        }
    }
}

function on_local_connect() {
    if (Entity.IsLocalPlayer(Entity.GetEntityFromUserID(Event.GetInt('userid')))) {
        map_cache = locations.filter(function (_0x771bx81) {
            return _0x771bx81[0] == World.GetMapName()
        })
    }
}

function getAngles(_0x771bx83, _0x771bx84) {
    newPos = vector_sub(_0x771bx84, _0x771bx83);
    xyDist = Math.sqrt((newPos[0] * newPos[0] + newPos[1] * newPos[1]));
    yaw = Math.atan2(newPos[1], newPos[0]) * 180 / Math.PI;
    pitch = Math.atan2(-newPos[2], xyDist) * 180 / Math.PI;
    roll = 0;
    angles = [pitch, yaw, roll];
    return angles
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function calc_dist(_0x771bx31, _0x771bx7e) {
    x = _0x771bx31[0] - _0x771bx7e[0];
    y = _0x771bx31[1] - _0x771bx7e[1];
    z = _0x771bx31[2] - _0x771bx7e[2];
    return Math.sqrt(x * x + y * y + z * z)
}
function move_to_target(_0x771bx92, _0x771bx31) {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx34 = Entity.GetLocalPlayer();
        var _0x771bx93 = Entity.GetRenderOrigin(_0x771bx34);
        _0x771bx93[2] = Entity.GetEyePosition(_0x771bx34)[2];
        var _0x771bx94 = [_0x771bx92[0] - _0x771bx93[0], _0x771bx92[1] - _0x771bx93[1], _0x771bx92[2] - _0x771bx93[2]];
        var _0x771bx15 = Local.GetViewAngles()[1];
        var _0x771bx95 = [];
        _0x771bx95[0] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[1]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * _0x771bx94[0])) * 10;
        _0x771bx95[1] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[0]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * -_0x771bx94[1])) * 6;
        _0x771bx95[2] = 0;
        var _0x771bx96 = Math.sqrt(_0x771bx94[0] * _0x771bx94[0] + _0x771bx94[1] * _0x771bx94[1] + _0x771bx94[2] * _0x771bx94[2]);
        var _0x771bx97 = Entity.GetProp(_0x771bx34, 'DT_CSPlayer', 'm_vecVelocity[0]');
        var _0x771bx98 = Math.sqrt(_0x771bx97[0] * _0x771bx97[0] + _0x771bx97[1] * _0x771bx97[1] + _0x771bx97[2] * _0x771bx97[2]);
        UserCMD.SetMovement(_0x771bx95);
        return _0x771bx96 < (_0x771bx31 ? _0x771bx31 : 0.5) && (_0x771bx98 < 2 || _0x771bx31)
    }
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function vector_add(_0x771bx9a, _0x771bx87) {
    newVec = [_0x771bx9a[0] + _0x771bx87[0], _0x771bx9a[1] + _0x771bx87[1], _0x771bx9a[2] + _0x771bx87[2]];
    return newVec
}

function vec_mul_fl(_0x771bx31, _0x771bx7e) {
    return [_0x771bx31[0] * _0x771bx7e, _0x771bx31[1] * _0x771bx7e, _0x771bx31[2] * _0x771bx7e]
}

function unload() {
    Convar.SetString('sensitivity', sensitivity);
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function Main() {
    Cheat.RegisterCallback('Unload', 'unload');
    Cheat.RegisterCallback('Draw', 'helpersetup');
    Cheat.RegisterCallback('Draw', 'draw');
    Cheat.RegisterCallback('CreateMove', 'animate_alpha');
    Cheat.RegisterCallback('CreateMove', 'move_on_key');
    Cheat.RegisterCallback('player_connect_full', 'on_local_connect');
    Cheat.RegisterCallback('CreateMove', 'checkDelays')
}
Main()

//Switch with granade
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Switch with grenade            ");
UI.AddLabel(" ");

UI.AddCheckbox("Switch with granade");



function Switch() {
//var
localplayer_index = Entity.GetLocalPlayer( );
localplayer_weapon = Entity.GetWeapon(localplayer_index);
weapon_name = Entity.GetName(localplayer_weapon); 
  
if (UI.GetValue("Script items", "Switch with granade", true)) {
if ( weapon_name == "high explosive grenade" || weapon_name == "molotov" || weapon_name == "smoke grenade" || weapon_name == "flashbang" || weapon_name == "decoy grenade"  || weapon_name == "incendiary grenade" ) {
     UI.ToggleHotkey("Anti-Aim", "Fake angles", "Inverter");
  }
} 
}

Cheat.RegisterCallback("Draw", "Switch");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                Trashtalk                 ");
UI.AddLabel(" ");

UI.AddCheckbox("Trashtalk");

const normal_killsays = ["а у вас походу умирать это семейное)", "нахуя пидораса убил?", "чао персик дозревай", "уважаемый в тюрьме вы будете водолазом",
    "говори буду плохо говорить буду сосать, буду плохо сосать буду пересасывать", "долбаеб иди башмачки в сундучок школьный собирай", "ботинок ебаный чо слетел", "братик маме привет передай",
    "не противник",
    "а ты че клоун???", "я обоссал тебя (", "ты че там отлетел то?",
    "упал хуета ебаная , но в боди забрал да похуй все равно упал",
    "*DEAD* ливай с хвх (", "до связи башмак",
    "нищета глупейшая играть учись", "опущен сын твари",
    "нищий улетел", "*DEAD* пофикси нищ", "сразу видно кфг иссуе мб конфиг у меня прикупишь ?",
    "животное аддон скачай а то падаешь", "оттарабанен армянская королева", "сука не позорься и ливни",
    "улетел тапочек ебаный", "единицей свалился фуфлыжник",
    "зачем ты играешь тут безмозглый", "иди кумыса попей очередняра",
    "откисай сочняра", "АХАХА ЕБАТЬ У ТЕБЯ ЧЕРЕПНАЯ КОРОБКА ПРЯМ КАК [XML-RPC] No-Spread 24/7 | aim_ag_texture_2 ONLY!",
    "на мыло и веревку то деньги есть????", "ИЩИ СЕБЯ НА pornoeb.cc/sochniki",
    "свежий кабанчик", "до связи на подскоке кабанчик", "скажи маме сухарики купить долбаеб", "ебать ты красиво на бутылку присел , тебе дать альт ?",
    "прости что без смазки)", "алло это скорая? тут такая ситуация пареню который упал нужна скорая)", "ало ты мапу лузаешь дура очнись",
    "тяжело с кряком????", "ЕБУЧЕСТЬ ВТОРОГО РАЗРЯДА ВЫДВИЖЕНЕЦ ОТКИС", "але а противники то где???", "ты по легиту играешь ?", "ХУЕПРЫГАЛО ТУСОВОЧНОЕ КУДА ПОЛЕТЕЛО", "ты куда жертва козьего аборта",
    "iq?", "·٠●•۩۞۩ОтДыХаЙ (ٿ) НуБяРа۩۞۩•●٠·", "ты то куда лезешь сын фантомного стационарного спец изолированого металлформовочного механизма", "╭∩╮( ⚆ ʖ ⚆)╭∩╮ ДоПрыГался(ت)ДрУжоЧеК"
];
  
const hs_killsays = ["держи зонтик ☂, тебя обоссали", "Держи ✈ и лети нахуй !", "слишком сочный для Djamic.technologies",
    "сьебался нахуй таракан усатый", "мать твою ебал", "нахуй ты упал иди вставай и на завод",
    "не по сезону шуршишь фраер",
    "ИЗИ ЧМО ЕБАНОЕ",
    "ливай блять не позорься",
    "AХАХ ПИДОР УПАЛ С ВАНВЕЯ ХАХАХА ОНЛИ БАИМ В БОДИ ПОТЕЕТ НА ФД АХА", "АХАХА УЛЕТЕЛ ЧМОШНИК",
    "1 МАТЬ ЖАЛЬ",
    "тебе права голоса не давали thirdworlder ебаный",
    "на завод иди",
    "не не он опять упал на конлени",
    "вставай заебал , завтра в школу", "гет гуд гет иди нахуй",
    "by SANCHEZj hvh boss",
    "ну нет почему он ложится когда я прохожу", "у тебя ник нейм адео?", "парень тебе ник придумать?",
    "такой тупой :(",
    "хватит получать хс ,лучше возьми свою руку и иди дрочи",
    "нет нет этот крякер такой смешной",
    "1 сын шлюхи",
    "1 мать твою ебал",
    "преобрети мой кфг клоун",
    "об кафель голову разбил?",
    "мать твою ебал",
    "хуесос дальше адайся ко мне",
    "ещё раз позови к себе на бекап",
    "не противник",
    "ник нейм дориан(",
    "iq ?",
    "упал = минус мать", "не пиши мне",
    "жаль конечно что против тебя играю, но куда деваться", "адиничкой упал", "сынок зачем тебе это ?",
    "давно в рот берёшь?", "мне можно", "ты меня так заебал , ливни уже",
    "ничему жизнь не учит (", "я не понял, ты такой жирный потомучто дошики каждый день жрешь?",
    "братка го я тебе бекап позову", "толстяк даже пройти спокойно не может"
];

function on_player_death()
{
    if(UI.GetValue("Misc", "Trashtalk"))
    {
        const victim = Entity.GetEntityFromUserID(Event.GetInt("userid"));
        const attacker = Entity.GetEntityFromUserID(Event.GetInt("attacker"));
        const headshot = Event.GetInt("headshot") == 1;
      
        if(Entity.IsLocalPlayer(attacker) && attacker != victim)
        {
            const normal_say = normal_killsays[Math.floor(Math.random() * normal_killsays.length)];
            const hs_say = hs_killsays[Math.floor(Math.random() * hs_killsays.length)];
          
            if(headshot && Math.random() * 2 > 1) //gamer style randomizer
            {
                Cheat.ExecuteCommand("say " + hs_say);
                return;
            }
            Cheat.ExecuteCommand("say " + normal_say);
        }
    }
}

var killsay_amt = normal_killsays.length + hs_killsays.length;

Cheat.Print("trashtalk js loaded, killsay count: " + killsay_amt + "\n");
Cheat.RegisterCallback("player_death", "on_player_death");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");
UI.AddLabel("------------------------------------------");
P.S. Не судите строго пожалуйста, там много говнокода
Все мы знаем, что импоссибл корд пизже)
 
Начинающий
Статус
Оффлайн
Регистрация
30 Ноя 2019
Сообщения
65
Реакции[?]
7
Поинты[?]
0
Товары в продаже
1
Начинающий
Статус
Оффлайн
Регистрация
30 Ноя 2019
Сообщения
65
Реакции[?]
7
Поинты[?]
0
Товары в продаже
1
Последнее редактирование:
eternity - yaw
Забаненный
Статус
Оффлайн
Регистрация
27 Мар 2021
Сообщения
104
Реакции[?]
11
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
мне кажется что самое полезное что тут есть это бекшут
 
Начинающий
Статус
Оффлайн
Регистрация
15 Янв 2021
Сообщения
14
Реакции[?]
3
Поинты[?]
0
♂Slave♂Cord
И так, представляю вам свою первую пасту для настоящих ♂Dungeon masters♂

Watermark(Neverlose)
Keybinds
Min damage
Backshot
Low delta on steroids(Джиттеры с маленьким углом)
Fps boost
Grenade helper v3 by v1pix
Trashtalk
Пожалуйста, авторизуйтесь для просмотра ссылки.

Код:
UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");

//Watermark
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Watermark(Neverlose)           ");
UI.AddLabel(" ");
Cheat.CursorInBox = function(x, y, length, height) {
    var cursor = Input.GetCursorPosition()
    if (cursor[0] > x && cursor[0] < x + length && cursor[1] > y && cursor[1] < y + height)
        return true
    return false
}

function drawBoard(x, y, w, h, color, title) {
    var font = Render.AddFont("MuseoSansCyrl-900", 11, 500)

    Render.FilledRect(x, y - 1, w - 2, h, color)
    Render.FilledRect(x - 1, y, w, h - 2, color)

    Render.FilledRect(x + 15, y + 25, w - 30, 2, [27, 27, 29, 255])

    Render.StringCustom(x + 15, y + 5, 0, title, [255, 255, 255, 255], font)
}

var x = "X";
var y = "Y";

X = function () {
    return UI.GetValue("Script items", x)
}
Y = function () {
    return UI.GetValue("Script items", y)
}
function sliders() {
    UI.AddSliderInt(x, -630, Render.GetScreenSize()[0])
    UI.AddSliderInt(y, -600, Render.GetScreenSize()[1])

    UI.SetEnabled("Script items", x, false)
    UI.SetEnabled("Script items", y, false)
}
sliders()

var menumove = false;
var waitforup = false;
var offsetx = 0;
var offsety = 0;

function checkMovement() {
    var cursor = Input.GetCursorPosition()
    var onmenu = Cheat.CursorInBox(X(), Y(), 200, 200)
    if (UI.IsMenuOpen()) {
        if (Input.IsKeyPressed(0x01) && !waitforup && onmenu) {
            menumove = true
            offsetx = cursor[0] - X()
            offsety = cursor[1] - Y()
            waitforup = true
        }
        if (!Input.IsKeyPressed(0x01)) {
            menumove = false
            waitforup = false
        }
        if (menumove) {
            UI.SetValue("Script items", "X", cursor[0] - offsetx)
            UI.SetValue("Script items", "Y", cursor[1] - offsety)
        }
    }
}
Cheat.RegisterCallback("Draw", "checkMovement")

var idCheckbox = 0
var comboOverlapping = false
var comboactive = -1
var wasDown = []

function resetSpacing() {
    idCheckbox = 0
}
resetSpacing()

function checkbox(x, y, name, enable) {
    var size = 8
    var frames = 8 * Globals.Frametime();
    var font = Render.AddFont("MuseoSansCyrl-500", 10, 500)
    var color = [3, 5, 13, 255]
    var color1 = [74, 87, 97, 255]
    var xs = 0

    if (enable) {
        color = [3, 23, 46, 255]
        color1 = [3, 168, 245, 255]
        xs = 28
    } else {
        color = [3, 5, 13, 255]
        color1 = [74, 87, 97, 255]
        xs = 0
    }

    if (!comboOverlapping) {
        Render.FilledCircle(x + 126, y + 15, 7, color)
        Render.FilledCircle(x + 153, y + 15, 7, color)
        Render.FilledRect(x + 125, y + 8, 30, 15, color)

        Render.FilledCircle(x + 126 + xs, y + 15, 9, color1)

        Render.StringCustom(x, y + 5, 0, name, [255, 255, 255, 255], font)
    }

    if (UI.IsMenuOpen() && !comboOverlapping) {
        if ((Cheat.CursorInBox(x + 122, y + 8, 42, 15)) && comboactive == -1) {
            if (!wasDown[idCheckbox]) {
                if (Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = true
                    return true
                }
            }
            else if (wasDown[idCheckbox]) {
                if (!Input.IsKeyPressed(0x01)) {
                    wasDown[idCheckbox] = false
                    return false
                }
            }
            return false
        }
    }
}

var tab = 0

UI.AddCheckbox("Show ping")
UI.AddCheckbox("Show name")
UI.AddCheckbox("Show time")
UI.AddCheckbox("Show ip")

function watermark() {

    var AddCheckbox = function (x, y, name) {
        if (checkbox(x, y, name, UI.GetValue("Script items", name))) UI.SetValue("Script items", name, !UI.GetValue("Script items", name))
    }

    var username = Cheat.GetUsername()
    var fps = Math.floor(1 / Global.Frametime());
    var today = new Date();
    var ping = Math.floor(Global.Latency() * 1000 / 1.5);
    var ip = World.GetServerString()
    var hours1 = today.getHours();
    var minutes1 = today.getMinutes();
    var seconds1 = today.getSeconds();
    var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
    var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
    var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;

    var font = Render.AddFont("MuseoSansCyrl-900", 9, 900)
    var font1 = Render.AddFont("MuseoSansCyrl-900", 11, 900)

    var text = ""

    if (UI.GetValue("Script items", "Show name")) {
        text += ("| " + username)
    }
    if (UI.GetValue("Script items", "Show ping")) {
        text += (" | " + ping + " ms")
    }
    if (UI.GetValue("Script items", "Show time")) {
        text += (" | " + hours + minutes + seconds)
    }
    if (UI.GetValue("Script items", "Show fps")) {
        text += (" | " + fps + " fps")
    }
    if (UI.GetValue("Script items", "Show ip")) {
        text += (" | " + ip)
    }

    var text1 = "NL"

    var h = 27;
    var w = Render.TextSizeCustom(text, font)[0] + 33;
    var x = Global.GetScreenSize()[0] - 2;
    var y = 12;
    x = x - w - 10;

    Render.FilledRect(x, y - 1, w - 2, h, [0, 20, 20, 255]);
    Render.FilledRect(x - 1, y, w, h - 2, [0, 20, 20, 255]);
    Render.StringCustom(x + 28, y + 5, 0, text, [255, 255, 255, 255], font)

    Render.StringCustom(x + 4, y + 3, 0, text1, [34, 179, 246, 255], font1)
    Render.StringCustom(x + 5, y + 4, 0, text1, [255, 255, 255, 255], font1)


    if (Cheat.CursorInBox(x, y, w, h) && Input.IsKeyPressed(0x02)) {
        tab = 1
    }

    if (!Cheat.CursorInBox(X(), Y(), 200, 200) && Input.IsKeyPressed(0x01)) {
        tab = 0
    }

    if (tab == 1 && UI.IsMenuOpen()) {
        drawBoard(X(), Y(), 200, 200, [11, 11, 14, 255], "Watermark Settings");
        AddCheckbox(X() + 15, Y() + 35, "Show ping")
        AddCheckbox(X() + 15, Y() + 65, "Show name")
        AddCheckbox(X() + 15, Y() + 95, "Show time")
        AddCheckbox(X() + 15, Y() + 155, "Show ip")
    }
}

Cheat.RegisterCallback("Draw", "watermark")

//keybinds
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Keybinds                  ");
UI.AddLabel(" ");
UI.AddCheckbox("Keybinds")
const keybinds_x = UI.AddSliderInt("keybinds_x", 0, Global.GetScreenSize()[0])
const keybinds_y = UI.AddSliderInt("keybinds_y", 0, Global.GetScreenSize()[1])

function in_bounds(vec, x, y, x2, y2)
{
   return (vec[0] > x) && (vec[1] > y) && (vec[0] < x2) && (vec[1] < y2)
}

function xy()
{
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_x", false)
     UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "keybinds_y", false)
}
xy();

function binds()
{

     if (UI.GetValue("Misc","JAVASCRIPT","Script items","Keybinds")){
     var watermark_name = Entity.GetName(Entity.GetLocalPlayer( ));
     var today = new Date();
     var hours1 = today.getHours();
     var minutes1 = today.getMinutes();
     var seconds1 = today.getSeconds();
     var localplayer_index = Entity.GetLocalPlayer();
     var velocity = Entity.GetProp(localplayer_index, "CBasePlayer", "m_vecVelocity[0]");
     var speed = Math.sqrt(velocity[0] * velocity[0] + velocity[1] * velocity[1]);
     var finalspeed = Math.min( 9999, speed ) + 0.2
     var hours = hours1 <= 9 ? "0" + today.getHours() + ":" : today.getHours() + ":";
     var minutes = minutes1 <= 9 ? "0" + today.getMinutes() + ":" : today.getMinutes() + ":";
     var seconds = seconds1 <= 9 ? "0" + today.getSeconds() : today.getSeconds()    ;
     const tickrate = Globals.Tickrate();
     const ping = Math.floor(Global.Latency() * 1000 / 1.5);
     const fps = Math.floor( 1 / Global.Frametime() );
     var h = [];
     const fontpixel = Render.AddFont("Segoe ui", 8, 100);

                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Slow walk")) {
                            h.push("Slow walk")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Extra", "Fake duck")) {
                            h.push("Fake Duck")
                        }
                        if (UI.IsHotkeyActive("Misc", "General", "Movement", "Auto peek")) {
                            h.push("Auto peek")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Legit Anti-Aim", "Direction key")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Inverter")) {
                            h.push("Anti-Aim invert")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force safe point")) {
                            h.push("Safe point")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Resolver override")) {
                            h.push("Resolver override")
                        }
                        if (UI.IsHotkeyActive("Rage", "General", "General", "Force body aim")) {
                            h.push("Body aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Double tap")) {
                            h.push("Double tap")
                        }
                        if (UI.IsHotkeyActive("Anti-Aim", "Fake angles", "Desync on shot")) {
                            h.push("On shot anti-aim")
                        }
                        if (UI.IsHotkeyActive("Rage", "Exploits", "Hide shots")) {
                            h.push("Hide shots")
                        }
                        if (UI.IsHotkeyActive("Visual", "World", "View", "Zoom")) {
                            h.push("Zoom")
                        }
                        if (UI.IsHotkeyActive("Visual", "Self", "Freecam", "Enable")) {
                            h.push("Freecam")
                        }
                        if (UI.IsHotkeyActive("Misc", "Movement", "Edge jump")) {
                            h.push("Jump at edge")
                        }
                        if (UI.IsHotkeyActive("Legit", "GENERAL", "Triggerbot", "Enabled")) {
                            h.push("Triggerbot")
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override")) {
                            h.push("Minimum damage")                                                    
                        }
                        if (UI.IsHotkeyActive("Misc", "JAVASCRIPT", "Script items", "Backshot")) {
                            h.push("Backshot")                                                    
                        }
                     
     const x = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x"),
           y = UI.GetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y");

     Render.FilledRect(x+1, y+5, 200, 24, [0, 0, 0, 125]);



     Render.StringCustom(x + 80, y + 10 , 0, "keybinds", [255, 255, 255, 255], fontpixel);
     for (i = 0; i < h.length; i++)
     {
        Render.FilledRect(x+1, y + 29 + 18 * i, 200, 18, [0,0,0, 125]);

        Render.StringCustom(x+8, y + 29 + 18 * i, 0, h[i], [255, 255, 255, 255], fontpixel);
        Render.StringCustom(x+162, y + 29 + 18 * i, 0, "toggle", [255, 255, 255, 255], fontpixel);
     }

     if (Global.IsKeyPressed(1)) {
         const mouse_pos = Global.GetCursorPosition();
         if (in_bounds(mouse_pos, x, y, x + 200, y + 30)) {
          if (UI.IsMenuOpen( ) == false)
            return;
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_x", mouse_pos[0] - 100);
             UI.SetValue("Misc", "JAVASCRIPT", "Script items", "keybinds_y", mouse_pos[1] - 20);
         }
     }
}
}

Global.RegisterCallback("Draw", "binds");

//speclist
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
 
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Лишняя хуйня которую я не могу вырезать
var observators = [];
function getObservators(){
    if(UI.GetValue("Misc", "Enable Spectator List"))
    var ents = Entity.GetPlayers();
    var local = Entity.GetLocalPlayer();
    var localtarget = Entity.GetProp(local,"DT_BasePlayer","m_hObserverTarget");
    if(!local)return;
    observators = [];
    for(i = 0; i < ents.length;i++){
        if(Entity.IsAlive(local)){
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == local)observators.push(Entity.GetName(ents[i]));
        }
        else{
            if(!ents[i] || Entity.IsAlive(ents[i]))continue;
            var observer = Entity.GetProp(ents[i],"DT_BasePlayer","m_hObserverTarget");
            if(!observer || observer == "m_hObserverTarget")continue;
            if(observer == localtarget)observators.push(Entity.GetName(ents[i]));
        }
    }
}
function drawObservators(){
    var screen = Render.GetScreenSize();
    var type = UI.GetValue("Script items");
    var font = Render.AddFont("Verdana",8,100);
    for(i = 0; i < observators.length; i++){
        var name = observators[i];
        var size = Render.TextSizeCustom(name,font);
        Render.StringCustom(screen[0]-size[0]-15,(i*20)+550,0,name,[255,255,255,255],font);
    }
 
}
function onRoundStart(){
    observators = [];
}
Global.RegisterCallback("Draw","getObservators");
Global.RegisterCallback("Draw","drawObservators");
Global.RegisterCallback("round_start","onRoundStart");

//Min Dmg
UI.AddLabel("------------------------------------------------------")
UI.AddLabel("               Minimum Damage")
UI.AddLabel(" ");
UI.AddCheckbox("Enable mindmg");
UI.AddCheckbox("Show currently mindamage");
UI.AddHotkey("Minimum Damage Override");
UI.AddSliderInt("General Mindmg", 0, 130);
UI.AddSliderInt("Pistol Mindmg", 0, 130);
UI.AddSliderInt("Heavy Pistol Mindmg", 0, 130);
UI.AddSliderInt("Scout Mindmg", 0, 130);
UI.AddSliderInt("AWP Mindmg", 0, 130);
UI.AddSliderInt("Auto Mindmg", 0, 130);


setDMG_auto = false
setDMG_auto_return = true

setDMG_awp = false
setDMG_awp_return = true

setDMG_scout = false
setDMG_scout_return = true

setDMG_HVpistol = false
setDMG_HVpistol_return = true

setDMG_pistol = false
setDMG_pistol_return = true

setDMG_general = false
setDMG_general_return = true

function SetEnabled()
{

    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind"))
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 1);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 1);
    }
    else
    {
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Minimum Damage Override", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "General Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Heavy Pistol Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Scout Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "AWP Mindmg", 0);
        UI.SetEnabled("Misc", "JAVASCRIPT", "Script items", "Auto Mindmg", 0);
    }
}

function isActive(a)
{
    return UI.IsHotkeyActive("Script items", a)
}
function setValue(cat, value)
{
    UI.SetValue("Rage", cat.toUpperCase(), "Targeting", "Minimum damage", value)
}


function isHeavyPistol(name)
{
    if (name == "r8 revolver" || name == "desert eagle")
    {
        return true
    }
}

function isPistol(name)
{
    if (name == "glock 18" || name == "five seven" || name == "dual berettas" || name == "p250" || name == "tec 9" || name == "usp s" || name == "cz75 auto" || name == "p2000")
    {
        return true
    }
}

function isAutoSniper(name)
{
    if(name == "scar 20" || name == "g3sg1")
    {
        return true
    }
}

function onCM()
{
    var general_value = UI.GetValue("Script items", "General Mindmg")
    var pistol_value = UI.GetValue("Script items", "Pistol Mindmg")
    var heavy_value = UI.GetValue("Script items", "Heavy Pistol Mindmg")
    var scout_value = UI.GetValue("Script items", "Scout Mindmg")
    var awp_value = UI.GetValue("Script items", "AWP Mindmg")
    var auto_value = UI.GetValue("Script items", "Auto Mindmg")
    local_weapon_name =  Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))



        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_general)
            {
               general_cache = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
               setValue("GENERAL", general_value)
               setDMG_general = true
               setDMG_general_return = false
            }
        }
        else
        {
            if (!setDMG_general_return)
            {
               setValue("GENERAL", general_cache)
               setDMG_general = false
               setDMG_general_return = true
            }
        }



    if (isPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_pistol)
            {
               pistol_cache = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
               setValue("PISTOL", pistol_value)
               setDMG_pistol = true
               setDMG_pistol_return = false
            }
        }
        else
        {
            if (!setDMG_pistol_return)
            {
               setValue("PISTOL", pistol_cache)
               setDMG_pistol = false
               setDMG_pistol_return = true
            }
        }
    }



    if (isHeavyPistol(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_HVpistol)
            {
               HVpistol_cache = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
               setValue("HEAVY PISTOL", heavy_value)
               setDMG_HVpistol = true
               setDMG_HVpistol_return = false
            }
        }
        else
        {
            if (!setDMG_HVpistol_return)
            {
               setValue("HEAVY PISTOL", HVpistol_cache)
               setDMG_HVpistol = false
               setDMG_HVpistol_return = true
            }
        }
    }

    // SCOUT

    if (local_weapon_name == "ssg 08")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_scout)
            {
               scout_cache = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
               setValue("SCOUT", scout_value)
               setDMG_scout = true
               setDMG_scout_return = false
            }
        }
        else
        {
            if (!setDMG_scout_return)
            {
               setValue("SCOUT", scout_cache)
               setDMG_scout = false
               setDMG_scout_return = true
            }
        }
    }



    if (local_weapon_name == "awp")
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_awp)
            {
               awp_cache = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
               setValue("AWP", awp_value)
               setDMG_awp = true
               setDMG_awp_return = false
            }
        }
        else
        {
            if (!setDMG_awp_return)
            {
               setValue("AWP", awp_cache)
               setDMG_awp = false
               setDMG_awp_return = true
            }
        }
    }



    if (isAutoSniper(local_weapon_name))
    {
        if (isActive("Minimum Damage Override"))
        {
            if (!setDMG_auto)
            {
               auto_cache = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
               setValue("AUTOSNIPER", auto_value)
               setDMG_auto = true
               setDMG_auto_return = false
            }
        }
        else
        {
            if (!setDMG_auto_return)
            {
               setValue("AUTOSNIPER", auto_cache)
               setDMG_auto = false
               setDMG_auto_return = true
            }
        }
    }
}

function indicator()
{
    render_get_screen_size = Render.GetScreenSize
    const y = render_get_screen_size()[1];
    wep = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()))
    general = UI.GetValue("Rage", "GENERAL", "Targeting", "Minimum damage")
    pistol = UI.GetValue("Rage", "PISTOL", "Targeting", "Minimum damage")
    heavy = UI.GetValue("Rage", "HEAVY PISTOL", "Targeting", "Minimum damage")
    scout = UI.GetValue("Rage", "SCOUT", "Targeting", "Minimum damage")
    awp = UI.GetValue("Rage", "AWP", "Targeting", "Minimum damage")
    auto = UI.GetValue("Rage", "AUTOSNIPER", "Targeting", "Minimum damage")
    font = Render.AddFont("Verdana", 18, 700);

    var str = ""
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Enable mind") && UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Show currently mindamage") && Entity.IsValid(Entity.GetLocalPlayer()) && Entity.IsAlive(Entity.GetLocalPlayer()))
    {
        if (isPistol(wep))
        {
            str = pistol
        }
        else if (isHeavyPistol(wep))
        {
            str = heavy
        }
        else if(wep == "ssg 08")
        {
            str = scout
        }
        else if(wep == "awp")
        {
            str = awp
        }
        else if (isAutoSniper(wep))
        {
            str = auto
        }
        else
        {
            str = general
        }
    }
         Render.StringCustom(18, y - 325, 0, str+"", [ 155, 100, 237, 255 ], font);
         Render.StringCustom(17, y - 325, 0, str+"", [155, 100, 237, 255], font)
}
UI.AddLabel(" ");

Global.RegisterCallback("Draw", "SetEnabled");
Cheat.RegisterCallback("CreateMove", "onCM");
Cheat.RegisterCallback("Draw", "indicator");

//Backshot
UI.AddLabel("------------------------------------------------------")
UI.AddLabel(" ");
UI.AddCheckbox( "Wait for on shot" );
UI.AddHotkey( "Backshot" );
var last_shot_time = []
function on_draw()
{
  if(!UI.GetValue("Misc", "Wait for on shot") || !UI.IsHotkeyActive("Misc","Backshot") || !UI.GetValue("Misc","Wait for on shot indicator" )) return;

  var font = Render.AddFont("Verdana Bold",18,800);
  Render.StringCustom(55,600,1,"ONSHOT",[0,255,0,255],font);
}
function on_create_move()
{
  if(!UI.GetValue("Misc", "Wait for on shot") || !UI.IsHotkeyActive("Misc","Backshot")) return;

  var local = Entity.GetLocalPlayer( );
  if(!Entity.IsAlive(local)) return;
  var enemies = Entity.GetEnemies();

  for(var i = 0; i < enemies.length;i++)
  {
    var enemy = enemies[i];
    var dif = Globals.Tickcount() - last_shot_time[enemy]
    var has_shot = dif >= 0 && dif <= 12;
    if(!has_shot)
      Ragebot.IgnoreTarget(enemy)
  }

}
function on_weapon_fire()
{
  var shooter = Entity.GetEntityFromUserID(Event.GetInt("userid"));
  last_shot_time[shooter] = Globals.Tickcount();
}

function on_player_connect()
{
  var entity = Entity.GetEntityFromUserID(Event.GetInt("userid"));
  if(entity == Entity.GetLocalPlayer())
    last_shot_time = []
}
UI.AddLabel(" ");

Cheat.RegisterCallback("weapon_fire", "on_weapon_fire")
Cheat.RegisterCallback("player_connect_full", "on_player_connect")
Cheat.RegisterCallback("CreateMove","on_create_move")
Cheat.RegisterCallback("Draw","on_draw")


//Low delta
UI.AddLabel("-----------------------------------------------------");
UI.AddLabel("                      Low delta");
UI.AddLabel(" ");
UI.AddCheckbox('lowdelta on steroids');
function GetScriptOption(name)
{
    var Value = UI.GetValue("Misc", "JAVASCRIPT", "Script items", name);
    return Value;
}

function getRndInteger(min, max) { return Math.floor(Math.random() * (max - min + 1) ) + min; }

function run() {
    AntiAim.SetOverride(1);

    if(GetScriptOption('lowdelta on steroids')) {
        var real_offset = -20;
        var fake_offset = 0;

        // time to do random lby offset calculations

        var lby_start = getRndInteger(15, 25); // 1st lby stage
        var lby_end = getRndInteger(20, 30); // 2nd lby stage

        AntiAim.SetRealOffset(real_offset); // set the real to -20, if u want to invert it just do 20
        AntiAim.SetFakeOffset(fake_offset); // fake will be 0 as for now, its useless.

        var lby_delta = lby_start + lby_end; // 1st stage + 2nd stage angle

        var fake_delta = lby_start - 20; // first stage - 20

        AntiAim.SetLBYOffset(lby_start); // 1st lby set, 80% of the cases will bring lower angle than the 2nd stage
        AntiAim.SetLBYOffset(lby_end); // 2nd lby set, 80% of the cases will bring higher angle than the 1st stage
        AntiAim.SetLBYOffset(lby_delta) // EXPERIMENTAL: 3nd lby set; set it to a big angle to confuse enemy's resolver
        AntiAim.SetFakeOffset(fake_delta); // first stage - 20 basically lol

        //OVERALL: Your fake will just jitter but in small angles, it really helps tho.
    }
}
function unload() {
    AntiAim.SetOverride(0);
}
UI.AddLabel(" ");

//Fps boost
UI.AddLabel("------------------------------------------");
UI.AddLabel("                Fps boost                 ");
UI.AddLabel(" ");
UI.AddCheckbox("Fps Boost");

function fps_boost()
{
    if (UI.GetValue("Misc", "JAVASCRIPT", "Script items", "Fps Boost"))
        {
            // Disable shadows ->
            Convar.SetString("r_shadows", "0");
            Convar.SetString("cl_csm_static_prop_shadows", "0");
            Convar.SetString("cl_csm_shadows", "0");
            Convar.SetString("cl_csm_world_shadows", "0");
            Convar.SetString("cl_foot_contact_shadows", "0");
            Convar.SetString("cl_csm_viewmodel_shadows", "0");
            Convar.SetString("cl_csm_rope_shadows", "0");
            Convar.SetString("cl_csm_sprite_shadows", "0");
            // Disable blood ->
            Convar.SetString("violence_hblood", "0");
     
            // Disable 3dsky ->
            Convar.SetString("r_3dsky", "0");

            // Disable decals ->
            //Convar.SetString("r_drawdecals", "0");

            // Disable rain ->
            Convar.SetString("r_drawrain", "0");
     
            // Disable ropes ->
            Convar.SetString("r_drawropes", "0");

            // Disable sprites ->
            Convar.SetString("r_drawsprites", "0");

            // Disable water fog ->
            Convar.SetString("fog_enable_water_fog", "0");
        }
else
        {
            // Enable shadows ->
            Convar.SetString("r_shadows", "1");
            Convar.SetString("cl_csm_static_prop_shadows", "1");
            Convar.SetString("cl_csm_shadows", "1");
            Convar.SetString("cl_csm_world_shadows", "1");
            Convar.SetString("cl_foot_contact_shadows", "1");
            Convar.SetString("cl_csm_viewmodel_shadows", "1");
            Convar.SetString("cl_csm_rope_shadows", "1");
            Convar.SetString("cl_csm_sprite_shadows", "1");

            // Enable blood ->
            Convar.SetString("violence_hblood", "1");

            // Enable 3dsky ->
            Convar.SetString("r_3dsky", "1");

            // Enable decals ->
            //Convar.SetString("r_drawdecals", "1");

            // Enable rain ->
            Convar.SetString("r_drawrain", "1");

            // Enable ropes ->
            Convar.SetString("r_drawropes", "1");

            // Enable sprites ->
            Convar.SetString("r_drawsprites", "1");

            // Enable water fog ->
            Convar.SetString("fog_enable_water_fog", "1");
        }
   
}
UI.AddLabel(" ");

// Callbacks
Cheat.RegisterCallback( "Draw", "fps_boost" );

//Grenade helper v3 by v1p1x
UI.AddLabel("------------------------------------------");
UI.AddLabel("              Grenade helper              ");
UI.AddLabel(" ");
UI.AddHotkey('Activate helper');
UI.AddMultiDropdown('Type', ['Grenades', 'Wallbangs']);
UI.AddDropdown('Render mode', ['Only visible']);
UI.AddDropdown('Style', ['Default', 'Outline'], 1);
var weapon_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang'
};
var wallbang_console_name = {
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var console_wallbang_grenades = {
    "molotov": true,
    "hegrenade": true,
    "smoke grenade": true,
    "flashbang": true,
    "wallbang": true,
    "weapon_console_name": true,
    "all_console_name": true,
    "v1pix": true,
    "robert": true,
    "Envy": true,
    "Dorian": true,
    "Mased": true,
    "grandmemo": true,
    "xux": true,
    "": true,
    "compin": true,
    "Lazzep": true,
    "nefro": true,
    "hell": true,
    "shanty": true,
    "Nitraitor": true,
    "PikkeR": true,
    "Jester": true,
    "goldness": true,
    "Mayor": true,
    "trill": true,
    "FENDIGLOCK": true,
    "SAVAGE": true,
    "frunza": true,
    "EDGARIX": true,
    "rallen": true,
    "zap": 'true',
    "Iroxy": true,
    "sharkyy": true,
    "proxin": true,
    "bigboss": true,
    "hidfid": true,
    "ogog": true,
    "legend": true,
    "Jasper": true,
    "S0lut1on": true
};
var all_console_name = {
    "incendiary grenade": 'incendiary grenade',
    "high explosive grenade": 'hegrenade',
    "molotov": 'molotov',
    "smoke grenade": 'smoke grenade',
    "flashbang": 'flashbang',
    "awp": 'wallbang',
    "scar 20": 'wallbang',
    "g3sg1": 'wallbang',
    "ssg 08": 'wallbang',
    "desert eagle": 'wallbang',
    "r8 revolver": 'wallbang'
};
var off = {};

function helpersetup() {
    var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 0)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance', 1)
    };
    var _0x771bx8 = World.GetMapName(),
        _0x771bx9 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off'),
        _0x771bxa = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:'),
        _0x771bxb = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Name:'),
        _0x771bxc = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Move:'),
        _0x771bxd = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:');
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if (_0x771bxa == 0) {
        grenadeddd = 'molotov'
    } else {
        if (_0x771bxa == 1) {
            grenadeddd = 'hegrenade'
        } else {
            if (_0x771bxa == 2) {
                grenadeddd = 'smoke grenade'
            } else {
                if (_0x771bxa == 3) {
                    grenadeddd = 'flashbang'
                } else {
                    if (_0x771bxa == 4) {
                        grenadeddd = 'wallbang'
                    }
                }
            }
        }
    };
    if (_0x771bx9) {
        fakelag = '"fakelag_off"'
    } else {
        fakelag = '"fakelag_on"'
    };
    if (_0x771bxc == 0) {
        moveddd = 'Throw';
        tickstoback = '';
        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
    } else {
        if (_0x771bxc == 1) {
            moveddd = 'Runthrow';
            tickstoback = '';
            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
        } else {
            if (_0x771bxc == 2) {
                moveddd = 'Jumpthrow';
                tickstoback = '';
                tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
            } else {
                if (_0x771bxc == 3) {
                    moveddd = 'RunJumpthrow';
                    tickstoback = '';
                    tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                } else {
                    if (_0x771bxc == 4) {
                        moveddd = 'Half throw';
                        tickstoback = '';
                        tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                    } else {
                        if (_0x771bxc == 5) {
                            moveddd = 'Jump+Half throw';
                            tickstoback = '';
                            tickst = _0x771bxd + ', ' + fakelag + ', "", [-999999.0, -999999.0, -999999.0]';
                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                        } else {
                            if (_0x771bxc == 6) {
                                moveddd = 'Runleft';
                                tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                            } else {
                                if (_0x771bxc == 7) {
                                    moveddd = 'Runright';
                                    tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                    tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                } else {
                                    if (_0x771bxc == 8) {
                                        moveddd = 'Runleft jump';
                                        tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                        tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                    } else {
                                        if (_0x771bxc == 9) {
                                            moveddd = 'Runright jump';
                                            tickstoback = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:');
                                            tickst = _0x771bxd + ', ' + fakelag + ', ' + tickstoback + ', [-999999.0, -999999.0, -999999.0]';
                                            UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1)
                                        } else {
                                            if (_0x771bxc == 10) {
                                                moveddd = 'wallbang';
                                                tickst = 0;
                                                UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0)
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    };
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'x', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'y', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'z', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'pitch', 0);
    UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'yaw', 0);
    var _0x771bx10 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x');
    var _0x771bx11 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y');
    var _0x771bx12 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63;
    var _0x771bx13 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z');
    var _0x771bx14 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch');
    var _0x771bx15 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw');
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
    var _0x771bx18 = [0, 0, 0, 125];
    var _0x771bx19 = [155, 0, 0, 255];
    var _0x771bx1a = [155, 0, 0, 255];
    var _0x771bx1b = [155, 0, 0, 255];
    var _0x771bx1c = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z')];
    var _0x771bx1d = [UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw'), 0];
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Set location')) {
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'x', Entity.GetEyePosition(Entity.GetLocalPlayer())[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'y', Entity.GetEyePosition(Entity.GetLocalPlayer())[1]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'z', Entity.GetEyePosition(Entity.GetLocalPlayer())[2]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'pitch', Local.GetViewAngles()[0]);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'yaw', Local.GetViewAngles()[1]);
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport')) {
        Cheat.ExecuteCommand('setpos' + ' ' + _0x771bx10 + ' ' + _0x771bx11 + ' ' + _0x771bx12);
        Cheat.ExecuteCommand('setang' + ' ' + _0x771bx14 + ' ' + _0x771bx15);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0)
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations')) {
        var _0x771bx1e = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y'), UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') - 63]);
        if (all_console_name[weapon]) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), _0x771bx1c);
            var _0x771bx20 = angle_to_vec(_0x771bx14, _0x771bx15);
            angle_to_vec22 = Render.WorldToScreen([UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'x') + _0x771bx20[0] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'y') + _0x771bx20[1] * 400, UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'z') + _0x771bx20[2] * 400]);
            var _0x771bx21 = Render.TextSizeCustom(_0x771bxb + ' [Temporary]   ', _0x771bx7);
            Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - _0x771bx21[1] / 1.5, _0x771bx21[0] + 34, _0x771bx21[1] + 8, _0x771bx18);
            Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), _0x771bx1a, 6);
            Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 6, 6, '|', _0x771bx1a, 8);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 35, _0x771bx1e[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
            if (_0x771bx1f > 70 == false) {
                Render.FilledRect(angle_to_vec22[0] - 10, angle_to_vec22[1] - _0x771bx21[1] / 1 + 3, _0x771bx21[0] > _0x771bx21[0] ? _0x771bx21[0] + 7 : _0x771bx21[0] + 32, _0x771bx21[1] > _0x771bx21[1] ? _0x771bx21[1] + 8 : _0x771bx21[1] + 8, _0x771bx18);
                Render.StringCustom(angle_to_vec22[0] + 12, angle_to_vec22[1] - 8, 6, '|', _0x771bx1a, 8);
                Render.StringCustom(angle_to_vec22[0] + 18, angle_to_vec22[1] - 4, 0, _0x771bxb + ' [Temporary]', [0, 0, 0, 255], _0x771bx7);
                Render.StringCustom(angle_to_vec22[0] + 17, angle_to_vec22[1] - 5, 0, _0x771bxb + ' [Temporary]', _0x771bx19, _0x771bx7);
                Render.FadedCircle(angle_to_vec22[0], angle_to_vec22[1], 8, Math.abs(angle_to_vec22[0] - Render.GetScreenSize()[0] / 2) + Math.abs(angle_to_vec22[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                Render.FilledCircle(angle_to_vec22[0], angle_to_vec22[1], 7, [0, 0, 0, 70]);
                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, angle_to_vec22[0], angle_to_vec22[1], _0x771bx1b)
            }
        }
    };
    if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location')) {
        Cheat.PrintColor([140, 185, 40, 255], '[GH v2] Your nade:\n');
        Cheat.PrintColor([200, 155, 25, 255], '["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],\n');
        Cheat.PrintChat('[GH v2] Your nade:');
        Cheat.PrintChat('["' + _0x771bx8 + '", ' + '[' + _0x771bx10 + ', ' + _0x771bx11 + ', ' + _0x771bx13 + '], [' + _0x771bx14 + ', ' + _0x771bx15 + ', 0], ' + '"' + grenadeddd + '", "' + _0x771bxb + '", "' + moveddd + '", ' + tickst + '],');
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0)
    };
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 1)
    } else {
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Login', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Password', 1);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Grenade Helper 2.0', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Type', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '  ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Locations manager', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Adder custom locations', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Weapon type:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Name:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Move:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Fakelag off', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Ticks to back:', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Set location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Teleport', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Print location', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', '    ', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Design', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Style', 0);
        UI.SetEnabled('Misc', 'JAVASCRIPT', 'Script items', 'Icon position', 0);
        UI.SetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color', 0)
    }
}

function shadow(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx25, _0x771bx7, _0x771bx26, _0x771bx27) {
    if (_0x771bx25) {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx7);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx7)
    } else {
        Render.StringCustom(_0x771bx10 + ((_0x771bx27 / 7)), _0x771bx11 + ((_0x771bx27 / 7)), _0x771bx23, _0x771bx24, [0, 0, 0, _0x771bx26[3]], _0x771bx27);
        Render.StringCustom(_0x771bx10, _0x771bx11, _0x771bx23, _0x771bx24, _0x771bx26, _0x771bx27)
    }
}
Render.FadedCircle = function (_0x771bx24, _0x771bx28, _0x771bx29, _0x771bx2a) {
    var _0x771bx2b = _0x771bx2a[3] / _0x771bx29;
    var _0x771bx2c = 0;
    for (; _0x771bx2c <= _0x771bx29; _0x771bx2c++) {
        Render.FilledCircle(_0x771bx24, _0x771bx28, _0x771bx2c, [_0x771bx2a[0], _0x771bx2a[1], _0x771bx2a[2], _0x771bx2a[3] - _0x771bx2b * _0x771bx2c])
    }
};
_locations = require('v3_helper.data');
var locations = _locations.locations;
var map_cache = [];
var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
if (weapon == 'incendiary grenade') {
    weapon = 'molotov'
};
map_cache = locations.filter(function (_0x771bx2f) {
    return _0x771bx2f[0] == World.GetMapName() && _0x771bx2f[3].toLowerCase() == weapon_console_name[weapon]
});

function get_icon(_0x771bx31) {
    var _0x771bx32 = '';
    switch (_0x771bx31) {
    case 'high explosive grenade':
        _0x771bx32 = 'I';
        break;
    case 'smoke grenade':
        _0x771bx32 = 'J';
        break;
    case 'molotov':
        _0x771bx32 = 'K';
        break;
    case 'incendiary grenade':
        _0x771bx32 = 'K';
        break;
    case 'ssg 08':
        _0x771bx32 = 'S';
        break;
    case 'awp':
        _0x771bx32 = 'S';
        break;
    case 'r8 revolver':
        _0x771bx32 = 'S';
        break;
    case 'desert eagle':
        _0x771bx32 = 'S';
        break;
    case 'g3sg1':
        _0x771bx32 = 'S';
        break;
    case 'scar 20':
        _0x771bx32 = 'S';
        break;
    default:
        _0x771bx32 = '';
        break
    };
    return _0x771bx32
}

function check_visibility() {
    if (map_cache.length == 0 || World.GetServerString() == '') {
        return
    };
    var _0x771bx34 = Entity.GetLocalPlayer();
    eye_angles = Local.GetViewAngles();
    head = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecOrigin');
    offset = Entity.GetProp(_0x771bx34, 'CBasePlayer', 'm_vecViewOffset[2]');
    head = vector_add(head, [0, 0, offset[0]]);
    for (var _0x771bx35 in map_cache) {
        var _0x771bx36 = Trace.Line(_0x771bx34, head, map_cache[_0x771bx35][1]);
        if (map_cache[_0x771bx35][16] == undefined) {
            map_cache[_0x771bx35].push(_0x771bx36[1] == 1)
        } else {
            map_cache[_0x771bx35][16] = _0x771bx36[1] == 1
        }
    }
}
Cheat.RegisterCallback('CreateMove', 'check_visibility');
var alpha_main = 0;
var alpha_text = 0;
var alpha_second = 0;

function animate_alpha() {
    var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
    if (all_console_name[weapon] != undefined) {
        if (alpha_main < 255) {
            alpha_main = alpha_main + 12.75
        };
        if (alpha_second < 122) {
            alpha_second = alpha_second + 6.1
        }
    } else {
        alpha_second = 0;
        alpha_main = 0
    }
}
Render.Filled3DCircle = function (_0x771bx3b, _0x771bx3c, _0x771bx3d, _0x771bx3e, _0x771bx3f, _0x771bx40) {
    var _0x771bx41, _0x771bx42;
    _0x771bx3d = _0x771bx3d < 361 && _0x771bx3d || 360;
    _0x771bx3d = _0x771bx3d > -1 && _0x771bx3d || 0;
    _0x771bx3e += 1;
    for (rot = _0x771bx3e; rot < _0x771bx3d + _0x771bx3e + 1; rot += _0x771bx3e * 8) {
        rot_r = rot * (Math.PI / 180);
        line_x = _0x771bx3c * Math.cos(rot_r) + _0x771bx3b[0], line_y = _0x771bx3c * Math.sin(rot_r) + _0x771bx3b[1];
        var _0x771bx43 = Render.WorldToScreen([line_x, line_y, _0x771bx3b[2]]);
        var _0x771bx44 = Render.WorldToScreen([_0x771bx3b[0], _0x771bx3b[1], _0x771bx3b[2]]);
        if (_0x771bx44[0] != null && _0x771bx43[0] != null && _0x771bx41 != null) {
            Render.Polygon([
                [_0x771bx43[0], _0x771bx43[1]],
                [_0x771bx41, _0x771bx42],
                [_0x771bx44[0], _0x771bx44[1]]
            ], _0x771bx40);
            Render.Line(_0x771bx43[0], _0x771bx43[1], _0x771bx41, _0x771bx42, _0x771bx3f)
        };
        _0x771bx41 = _0x771bx43[0], _0x771bx42 = _0x771bx43[1]
    }
};

function draw() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx17 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Type');
        var _0x771bx46 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Style');
        var _0x771bx47 = UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Icon position');
        var _0x771bx7 = Render.AddFont('Verdana', 7, 100);
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (_0x771bx17 == 1) {
            type_mode = weapon_console_name
        } else {
            if (_0x771bx17 == 2) {
                type_mode = wallbang_console_name
            } else {
                if (_0x771bx17 == 3) {
                    type_mode = all_console_name
                } else {
                    type_mode = off
                }
            }
        };
        if (weapon == 'incendiary grenade') {
            weapon = 'molotov'
        };
        map_cache = locations.filter(function (_0x771bx48) {
            return _0x771bx48[0] == World.GetMapName() && _0x771bx48[3].toLowerCase() == type_mode[weapon]
        });
        if (map_cache.length == 0) {
            return
        };
        var _0x771bx35;
        for (_0x771bx35 in map_cache) {
            var _0x771bx1f = calc_dist(Entity.GetRenderOrigin(Entity.GetLocalPlayer()), map_cache[_0x771bx35][1]);
            var _0x771bx1e = Render.WorldToScreen([map_cache[_0x771bx35][1][0], map_cache[_0x771bx35][1][1], map_cache[_0x771bx35][1][2] - 63]);
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render mode') == 0) {
                if (!map_cache[_0x771bx35][16]) {
                    continue
                }
            } else {
                if (_0x771bx1f > UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Render Distance')) {
                    continue
                }
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color')
            } else {
                var _0x771bx19 = [107, 117, 255, 255]
            };
            if (_0x771bx1f > 450 == false) {
                rPairs = Render.TextSizeCustom(map_cache[_0x771bx35][4], _0x771bx7);
                var alpha_text = _0x771bx19[3]
            } else {
                var alpha_text = 0;
                rPairs = [-12, 13]
            };
            if (UI.GetValue('Misc', 'JAVASCRIPT', 'Script items', 'Custom color')) {
                var _0x771bx19 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Text color');
                var _0x771bx18 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Background color');
                var _0x771bx49 = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Outline color');
                var _0x771bx1a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color');
                var _0x771bx1b = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Line color');
                var _0x771bx4a = UI.GetColor('Misc', 'JAVASCRIPT', 'Script items', 'Icon color')
            } else {
                var _0x771bx19 = [107, 117, 255, alpha_text];
                var _0x771bx18 = [4, 4, 4, alpha_second];
                var _0x771bx49 = [255, 255, 255, alpha_main];
                var _0x771bx1a = [107, 117, 255, alpha_main];
                var _0x771bx1b = [255, 255, 255, 255];
                var _0x771bx4a = [107, 117, 255, alpha_text]
            };
            var _0x771bx20 = angle_to_vec(map_cache[_0x771bx35][2][0], map_cache[_0x771bx35][2][1]);
            var _0x771bx4b = map_cache[_0x771bx35][1];
            _0x771bx20 = Render.WorldToScreen([_0x771bx4b[0] + _0x771bx20[0] * 400, _0x771bx4b[1] + _0x771bx20[1] * 400, _0x771bx4b[2] + _0x771bx20[2] * 400]);
            if (_0x771bx46 == 0 && _0x771bx47 == 0) {
                Render.FilledRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 34, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                if (_0x771bx1f > 67 == false) {
                    if (!wallbang_console_name[weapon]) {
                        const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                        var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                        var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                        Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                        Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                    };
                    Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                    Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                    Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                    Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                    Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                    Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                }
            } else {
                if (_0x771bx46 == 0 && _0x771bx47 == 1) {
                    Render.FilledRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 52, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                    Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                    if (_0x771bx1f > 67 == false) {
                        if (!wallbang_console_name[weapon]) {
                            const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                            var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                            var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                            Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                            Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                        };
                        Render.FilledRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1 + 3, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, rPairs[1] > rPairs[1] ? rPairs[1] + 8 : rPairs[1] + 8, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                        Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                        Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                        Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                        Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                        Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                    }
                } else {
                    if (_0x771bx46 == 1 && _0x771bx47 == 0) {
                        Render.RoundRect(_0x771bx1e[0] + 7, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                        Render.FilledRoundRect(_0x771bx1e[0] + 8, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                        Render.StringCustom(_0x771bx1e[0] + 19, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                        Render.StringCustom(_0x771bx1e[0] + 31, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                        if (_0x771bx1f > 67 == false) {
                            if (!wallbang_console_name[weapon]) {
                                const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                            };
                            Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                            Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                            Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                            Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                            Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                            Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                        }
                    } else {
                        if (_0x771bx46 == 1 && _0x771bx47 == 1) {
                            Render.RoundRect(_0x771bx1e[0] + 30, _0x771bx1e[1] - rPairs[1] / 1.5, rPairs[0] + 32, 21, 3.25, _0x771bx49);
                            Render.FilledRoundRect(_0x771bx1e[0] + 31, _0x771bx1e[1] - rPairs[1] / 1.5 + 2, rPairs[0] + 30, 18, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 51, _0x771bx1e[1] - 7, 6, get_icon(weapon), [_0x771bx1a[0], _0x771bx1a[1], _0x771bx1a[2], alpha_main], 6);
                            Render.StringCustom(_0x771bx1e[0] + rPairs[0] + 41, _0x771bx1e[1] - 7, 6, '|', [_0x771bx4a[0], _0x771bx4a[1], _0x771bx4a[2], alpha_text], 8);
                            if (_0x771bx1f > 67 == false) {
                                if (!wallbang_console_name[weapon]) {
                                    const _0x771bx4c = Math.sin(Math.abs(-Math.PI + (Globals.Curtime() * (1 / 0.5)) % (Math.PI * 2))) * 255;
                                    var _0x771bx4d = [map_cache[_0x771bx35][9][0], map_cache[_0x771bx35][9][1], map_cache[_0x771bx35][9][2] - 63];
                                    var _0x771bx4e = Render.WorldToScreen(_0x771bx4d);
                                    Render.StringCustom(_0x771bx4e[0], _0x771bx4e[1] - 52, 6, get_icon(weapon), [255, 255, 255, _0x771bx4c], 5);
                                    Render.Filled3DCircle(_0x771bx4d, 45, 360, 0, [225, 225, 225, 235], 1 ? [255, 255, 255, 255] : [255, 255, 255, 200])
                                };
                                Render.RoundRect(_0x771bx20[0] - 10, _0x771bx20[1] - rPairs[1] / 1.5 - 1, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 32, 22, 3.25, _0x771bx49);
                                Render.FilledRoundRect(_0x771bx20[0] - 9, _0x771bx20[1] - rPairs[1] / 1.5, rPairs[0] > rPairs[0] ? rPairs[0] + 7 : rPairs[0] + 30, 19, 2.25, [_0x771bx18[0], _0x771bx18[1], _0x771bx18[2], alpha_second]);
                                Render.StringCustom(_0x771bx20[0] + 12, _0x771bx20[1] - 8, 6, '|', _0x771bx1a, 8);
                                Render.StringCustom(_0x771bx20[0] + 18, _0x771bx20[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
                                Render.StringCustom(_0x771bx20[0] + 17, _0x771bx20[1] - 5, 0, map_cache[_0x771bx35][4], _0x771bx19, _0x771bx7);
                                Render.FadedCircle(_0x771bx20[0], _0x771bx20[1], 8, Math.abs(_0x771bx20[0] - Render.GetScreenSize()[0] / 2) + Math.abs(_0x771bx20[1] - Render.GetScreenSize()[1] / 2) <= 3 ? [0, 255, 0, 100] : [255, 0, 0, 255]);
                                Render.FilledCircle(_0x771bx20[0], _0x771bx20[1], 7, [0, 0, 0, 70]);
                                Render.Line(Render.GetScreenSize()[0] / 2, Render.GetScreenSize()[1] / 2, _0x771bx20[0], _0x771bx20[1], _0x771bx1b)
                            }
                        }
                    }
                }
            };
            Render.StringCustom(_0x771bx1e[0] + 37, _0x771bx1e[1] - 4, 0, map_cache[_0x771bx35][4], [0, 0, 0, alpha_text], _0x771bx7);
            Render.StringCustom(_0x771bx1e[0] + 36, _0x771bx1e[1] - 5, 0, map_cache[_0x771bx35][4], [_0x771bx19[0], _0x771bx19[1], _0x771bx19[2], alpha_text], _0x771bx7)
        }
    }
}
Render.FilledRoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - 2, _0x771bx11, _0x771bx26);
    Render.FilledRect(_0x771bx10 + 1, _0x771bx11 + 1, _0x771bx4f - 1, _0x771bx50 - 1, _0x771bx26)
};
Render.RoundRect = function (_0x771bx10, _0x771bx11, _0x771bx4f, _0x771bx50, _0x771bx51, _0x771bx26) {
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10, _0x771bx11 + _0x771bx50, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx50 + 1, _0x771bx26);
    Render.Line(_0x771bx10, _0x771bx11 + _0x771bx51, _0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx26);
    Render.Line(_0x771bx10 + _0x771bx4f - _0x771bx51, _0x771bx11, _0x771bx10 + _0x771bx4f, _0x771bx11 + _0x771bx51, _0x771bx26)
};

function fix_move(_0x771bx53, _0x771bx54, _0x771bx55) {
    var _0x771bx56 = function (_0x771bx31) {
        return _0x771bx31 / 180 * Math.PI
    };
    var _0x771bx57, _0x771bx58, _0x771bx59;
    if (_0x771bx54[1] < 0) {
        _0x771bx57 = 360 + _0x771bx54[1]
    } else {
        _0x771bx57 = _0x771bx54[1]
    };
    if (_0x771bx53[1] < 0) {
        _0x771bx58 = 360 + _0x771bx53[1]
    } else {
        _0x771bx58 = _0x771bx53[1]
    };
    if (_0x771bx58 < _0x771bx57) {
        _0x771bx59 = Math.abs(_0x771bx58 - _0x771bx57)
    } else {
        _0x771bx59 = 360 - Math.abs(_0x771bx57 - _0x771bx58)
    };
    return [Math.cos(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.cos(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], Math.sin(_0x771bx56(_0x771bx59)) * _0x771bx55[0] + Math.sin(_0x771bx56(_0x771bx59 + 90)) * _0x771bx55[1], 0]
}

function move_forward(_0x771bx5b) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx5d = [450, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_forward_back(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [_0x771bx62, 0, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}

function move_sideways(_0x771bx5b, _0x771bx60, _0x771bx61) {
    var _0x771bx5c = Local.GetViewAngles();
    var _0x771bx62 = _0x771bx60 ? _0x771bx61 : -_0x771bx61;
    var _0x771bx5d = [0, _0x771bx62, 0];
    var _0x771bx5e = fix_move(_0x771bx5b, _0x771bx5c, _0x771bx5d);
    UserCMD.SetMovement(_0x771bx5e)
}
var delays = [];

function Delay(_0x771bx66, _0x771bx67, _0x771bx68) {
    this.delay = _0x771bx66;
    this.resume = Globals.Curtime() + _0x771bx66;
    this.func = _0x771bx67;
    this.times = 0;
    this.max = _0x771bx68 || 1;
    delays.push(this)
}
Delay.prototype.run = function () {
    this.func();
    this.times++;
    this.resume += this.delay;
    return this.times >= this.max
};

function checkDelays() {
    currTime = Globals.Curtime();
    delays.forEach(function (_0x771bx66, _0x771bx29) {
        currTime >= _0x771bx66.resume && _0x771bx66.run() && delays.splice(_0x771bx29, 1)
    })
}

function stop_attack() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function stop_attack2() {
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}
var move_back_t = false;
var alllow_move = false;
var last_ang = [0, 0, 0];
var back_start = 0;
var side = false;
var speed = 0;
var move_back_forward = false;
var last_ang_forward = [0, 0, 0];
var back_start_forward = 0;
var side_forward = false;
var speed_forward = 0;
var grenade_thrown = false;

function on_grenade() {
    if (Entity.GetLocalPlayer() == Entity.GetEntityFromUserID(Event.GetInt('userid'))) {
        grenade_thrown = true
    }
}
Cheat.RegisterCallback('grenade_thrown', 'on_grenade');
var sensitivity = Convar.GetString('sensitivity');

function move_on_key() {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var weapon = Entity.GetName(Entity.GetWeapon(Entity.GetLocalPlayer()));
        if (!weapon_console_name[weapon]) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1)
        };
        move_back_t && (0 == back_start && (back_start = Globals.Tickcount()), grenade_thrown && (move_sideways(last_ang, side, 450), Globals.Tickcount() - back_start > speed && (move_back_t = false, back_start = 0, side = false, speed = 0)));
        move_back_forward && (0 == back_start_forward && (back_start_forward = Globals.Tickcount()), grenade_thrown && (move_forward_back(last_ang_forward, side_forward, 450), Globals.Tickcount() - back_start_forward > speed_forward && (move_back_forward = false, back_start_forward = 0, side_forward = false, speed_forward = 0)));
        if (map_cache.length == 0) {
            return
        };
        if (!UI.IsHotkeyActive('Misc', 'JAVASCRIPT', 'Script items', 'Activate helper')) {
            Convar.SetString('sensitivity', sensitivity);
            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 1), this.running = false, move_back_t = false, back_start = 0, side = false, speed = 0, grenade_thrown = false, move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![], this.start_tick = 0, this.next_tick_ang = [], this.attacked = ![], this.moved_base = ![], this.run_start = 0;
            return
        };
        if (this.next_tick_ang == null) {
            this.next_tick_ang = []
        };
        if (this.ignore_input) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang);
            return
        };
        if (this.next_tick_ang.length) {
            Convar.SetString('sensitivity', '0');
            UserCMD.SetAngles(this.next_tick_ang)
        };
        if (null == this.delay) {
            this.delay = 0
        };
        if (this.attacked == null) {
            this.attacked = false
        };
        if (this.start_tick == null) {
            this.start_tick = 0
        };
        if (this.running == null) {
            this.running = false
        };
        if (this.closest == null) {
            this.closest = []
        };
        if (this.ignore_input == null) {
            this.ignore_input = false
        };
        if (this.run_start == null) {
            this.run_start = 0
        };
        var _0x771bx7b = Entity.GetRenderOrigin(Entity.GetLocalPlayer());
        var _0x771bx7c = Local.GetViewAngles();
        var _0x771bx7d = map_cache.sort(function (_0x771bx31, _0x771bx7e) {
            return calc_dist(_0x771bx7b, _0x771bx31[1]) - calc_dist(_0x771bx7b, _0x771bx7e[1])
        })[0];
        if (this.closest.length) {
            _0x771bx7d = this.closest
        };
        if (calc_dist(_0x771bx7b, _0x771bx7d[1]) > 100 && !this.running) {
            return
        };
        if (move_to_target(_0x771bx7d[1]) || this.running) {
            if (_0x771bx7d[5] == 'Throw') {
                if (_0x771bx7d[7] == 'fakelag_off') {
                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                };
                Cheat.ExecuteCommand('+attack');
                this.next_tick_ang = _0x771bx7d[2];
                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                this.attacked = true;
                this.ignore_input = true
            } else {
                if (_0x771bx7d[5] == 'Runthrow') {
                    if (!this.closest.length) {
                        this.closest = _0x771bx7d
                    };
                    if (0 == this.start_tick) {
                        this.start_tick = Globals.Tickcount()
                    };
                    this.running = true;
                    if (0 == this.run_start) {
                        this.run_start = Globals.Tickcount()
                    };
                    if (_0x771bx7d[7] == 'fakelag_off') {
                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                    };
                    move_forward(_0x771bx7d[2]);
                    if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                        this.next_tick_ang = _0x771bx7d[2];
                        if (!this.attacked) {
                            Cheat.ExecuteCommand('+attack');
                            new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                            this.attacked = true
                        };
                        if (_0x771bx7d[6] == 0) {
                            var _0x771bx7f = 8
                        } else {
                            var _0x771bx7f = 9
                        };
                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + _0x771bx7f) {
                            this.running = false;
                            this.attacked = false;
                            this.closest = [];
                            this.ignore_input = true;
                            this.run_start = 0
                        }
                    }
                } else {
                    if (_0x771bx7d[5] == 'Jumpthrow') {
                        if (_0x771bx7d[7] == 'fakelag_off') {
                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                        };
                        if (_0x771bx7d[8] > 0) {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            Cheat.ExecuteCommand('+attack');
                            UserCMD.ForceJump();
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[8]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                Cheat.ExecuteCommand('-attack');
                                this.running = false;
                                this.attacked = false;
                                this.closest = [];
                                this.ignore_input = true;
                                this.run_start = 0
                            }
                        } else {
                            Cheat.ExecuteCommand('+attack');
                            this.next_tick_ang = _0x771bx7d[2];
                            UserCMD.ForceJump();
                            new Delay(Global.TickInterval() * 0.25 - Global.TickInterval() / 100, stop_attack);
                            this.ignore_input = !![];
                            this.attacked = !![]
                        }
                    } else {
                        if (_0x771bx7d[5] == 'RunJumpthrow') {
                            if (!this.closest.length) {
                                this.closest = _0x771bx7d
                            };
                            if (0 == this.start_tick) {
                                this.start_tick = Globals.Tickcount()
                            };
                            this.running = true;
                            if (0 == this.run_start) {
                                this.run_start = Globals.Tickcount()
                            };
                            if (_0x771bx7d[7] == 'fakelag_off') {
                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                            };
                            move_forward(_0x771bx7d[2]);
                            Cheat.ExecuteCommand('+attack');
                            if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                this.next_tick_ang = _0x771bx7d[2];
                                UserCMD.ForceJump();
                                new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                this.attacked = true;
                                this.running = false;
                                this.closest = [];
                                this.ignore_input = true
                            }
                        } else {
                            if (_0x771bx7d[5] == 'RunJumpthrow+Back') {
                                if (!this.closest.length) {
                                    this.closest = _0x771bx7d
                                };
                                if (0 == this.start_tick) {
                                    this.start_tick = Globals.Tickcount()
                                };
                                if (_0x771bx7d[7] == 'fakelag_off') {
                                    UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                };
                                this.running = true;
                                if (0 == this.run_start) {
                                    this.run_start = Globals.Tickcount()
                                };
                                move_forward_back(_0x771bx7d[2], true, 450);
                                Cheat.ExecuteCommand('+attack');
                                if (this.running && Globals.Tickcount() - this.run_start > _0x771bx7d[6]) {
                                    UserCMD.ForceJump();
                                    new Delay(Global.TickInterval() * 0.5 - Global.TickInterval() / 100, stop_attack);
                                    move_back_forward = true;
                                    last_ang_forward = _0x771bx7d[2];
                                    speed_forward = 4;
                                    side_forward = false;
                                    this.attacked = true;
                                    this.running = false;
                                    this.closest = [];
                                    this.ignore_input = true;
                                    this.next_tick_ang = _0x771bx7d[2];
                                    this.run_start = 0
                                }
                            } else {
                                if (_0x771bx7d[5] == 'Half throw') {
                                    if (!this.closest.length) {
                                        this.closest = _0x771bx7d
                                    };
                                    if (0 == this.start_tick) {
                                        this.start_tick = Globals.Tickcount()
                                    };
                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                        UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                    };
                                    this.running = true;
                                    if (0 == this.run_start) {
                                        this.run_start = Globals.Tickcount()
                                    };
                                    Cheat.ExecuteCommand('+attack');
                                    Cheat.ExecuteCommand('+attack2');
                                    if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                        this.next_tick_ang = _0x771bx7d[2];
                                        stop_attack2();
                                        this.attacked = !![];
                                        this.ignore_input = !![];
                                        this.running = false;
                                        this.closest = [];
                                        this.run_start = 0
                                    }
                                } else {
                                    if (_0x771bx7d[5] == 'Jump+Half throw') {
                                        if (!this.closest.length) {
                                            this.closest = _0x771bx7d
                                        };
                                        if (0 == this.start_tick) {
                                            this.start_tick = Globals.Tickcount()
                                        };
                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                            UI.SetValue(['Rage', 'Fake Lag', 'Enabled'], 0)
                                        };
                                        this.running = true;
                                        if (0 == this.run_start) {
                                            this.run_start = Globals.Tickcount()
                                        };
                                        Cheat.ExecuteCommand('+attack');
                                        Cheat.ExecuteCommand('+attack2');
                                        if (this.running && Globals.Tickcount() - this.run_start > 24) {
                                            this.next_tick_ang = _0x771bx7d[2];
                                            UserCMD.ForceJump();
                                            stop_attack2();
                                            this.attacked = !![];
                                            this.ignore_input = !![];
                                            this.running = false;
                                            this.closest = [];
                                            this.run_start = 0
                                        }
                                    } else {
                                        if (_0x771bx7d[5] == 'Runright') {
                                            if (!this.closest.length) {
                                                this.closest = _0x771bx7d
                                            };
                                            if (0 == this.start_tick) {
                                                this.start_tick = Globals.Tickcount()
                                            };
                                            this.running = true;
                                            if (0 == this.run_start) {
                                                this.run_start = Globals.Tickcount()
                                            };
                                            if (_0x771bx7d[7] == 'fakelag_off') {
                                                UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                            };
                                            move_sideways(_0x771bx7d[2], true, 450);
                                            if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                if (!this.attacked) {
                                                    Cheat.ExecuteCommand('+attack');
                                                    this.next_tick_ang = _0x771bx7d[2];
                                                    last_ang = _0x771bx7d[2];
                                                    new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                    this.attacked = true
                                                };
                                                if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                    move_back_t = true;
                                                    speed = _0x771bx7d[8];
                                                    side = false;
                                                    this.running = false;
                                                    this.attacked = false;
                                                    this.closest = [];
                                                    this.ignore_input = true;
                                                    this.run_start = 0
                                                }
                                            }
                                        } else {
                                            if (_0x771bx7d[5] == 'Runleft') {
                                                if (!this.closest.length) {
                                                    this.closest = _0x771bx7d
                                                };
                                                if (0 == this.start_tick) {
                                                    this.start_tick = Globals.Tickcount()
                                                };
                                                this.running = true;
                                                if (0 == this.run_start) {
                                                    this.run_start = Globals.Tickcount()
                                                };
                                                if (_0x771bx7d[7] == 'fakelag_off') {
                                                    UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                };
                                                move_sideways(_0x771bx7d[2], false, 450);
                                                if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 2)) {
                                                    if (!this.attacked) {
                                                        Cheat.ExecuteCommand('+attack');
                                                        this.next_tick_ang = _0x771bx7d[2];
                                                        last_ang = _0x771bx7d[2];
                                                        new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                        this.attacked = true
                                                    };
                                                    if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                        move_back_t = true;
                                                        speed = _0x771bx7d[8];
                                                        side = true;
                                                        this.running = false;
                                                        this.attacked = false;
                                                        this.closest = [];
                                                        this.ignore_input = true;
                                                        this.run_start = 0
                                                    }
                                                }
                                            } else {
                                                if ('Runright jump' == _0x771bx7d[5]) {
                                                    if (!this.closest.length) {
                                                        this.closest = _0x771bx7d
                                                    };
                                                    if (0 == this.start_tick) {
                                                        this.start_tick = Globals.Tickcount()
                                                    };
                                                    this.running = true;
                                                    if (0 == this.run_start) {
                                                        this.run_start = Globals.Tickcount()
                                                    };
                                                    if (_0x771bx7d[7] == 'fakelag_off') {
                                                        UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                    };
                                                    move_sideways(_0x771bx7d[2], true, 450);
                                                    if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                        if (!this.attacked) {
                                                            Cheat.ExecuteCommand('+attack');
                                                            this.next_tick_ang = _0x771bx7d[2];
                                                            last_ang = _0x771bx7d[2];
                                                            UserCMD.ForceJump();
                                                            new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                            this.attacked = true
                                                        };
                                                        if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                            move_back_t = true;
                                                            speed = _0x771bx7d[8];
                                                            side = false;
                                                            this.running = false;
                                                            this.attacked = false;
                                                            this.closest = [];
                                                            this.ignore_input = true;
                                                            this.run_start = 0
                                                        }
                                                    }
                                                } else {
                                                    if ('Runleft jump' == _0x771bx7d[5]) {
                                                        if (!this.closest.length) {
                                                            this.closest = _0x771bx7d
                                                        };
                                                        if (0 == this.start_tick) {
                                                            this.start_tick = Globals.Tickcount()
                                                        };
                                                        this.running = true;
                                                        if (0 == this.run_start) {
                                                            this.run_start = Globals.Tickcount()
                                                        };
                                                        if (_0x771bx7d[7] == 'fakelag_off') {
                                                            UI.SetValue('Anti-Aim', 'Fake-Lag', 'Enabled', 0)
                                                        };
                                                        move_sideways(_0x771bx7d[2], false, 450);
                                                        if (this.running && Globals.Tickcount() - this.run_start > (_0x771bx7d[6] - 3)) {
                                                            if (!this.attacked) {
                                                                Cheat.ExecuteCommand('+attack');
                                                                this.next_tick_ang = _0x771bx7d[2];
                                                                last_ang = _0x771bx7d[2];
                                                                UserCMD.ForceJump();
                                                                new Delay(Global.TickInterval() * 2 - Global.TickInterval() / 100, stop_attack);
                                                                this.attacked = true
                                                            };
                                                            if (Globals.Tickcount() - this.run_start > _0x771bx7d[6] + 10) {
                                                                move_back_t = true;
                                                                speed = _0x771bx7d[8];
                                                                side = true;
                                                                this.running = false;
                                                                this.attacked = false;
                                                                this.closest = [];
                                                                this.ignore_input = true;
                                                                this.run_start = 0
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        } else {
            Convar.SetString('sensitivity', sensitivity);
            this.running = false;
            move_back_t = false;
            back_start = 0;
            side = false;
            speed = 0;
            grenade_thrown = false;
            move_back_forward = false;
            back_start_forward = 0;
            side_forward = false;
            speed_forward = 0;
            this.delay = 0;
            this.started_throwing = 0;
            this.ignore_input = ![];
            this.start_tick = 0;
            this.next_tick_ang = [];
            this.attacked = ![];
            this.moved_base = ![];
            this.run_start = 0
        }
    }
}

function on_local_connect() {
    if (Entity.IsLocalPlayer(Entity.GetEntityFromUserID(Event.GetInt('userid')))) {
        map_cache = locations.filter(function (_0x771bx81) {
            return _0x771bx81[0] == World.GetMapName()
        })
    }
}

function getAngles(_0x771bx83, _0x771bx84) {
    newPos = vector_sub(_0x771bx84, _0x771bx83);
    xyDist = Math.sqrt((newPos[0] * newPos[0] + newPos[1] * newPos[1]));
    yaw = Math.atan2(newPos[1], newPos[0]) * 180 / Math.PI;
    pitch = Math.atan2(-newPos[2], xyDist) * 180 / Math.PI;
    roll = 0;
    angles = [pitch, yaw, roll];
    return angles
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function calc_dist(_0x771bx31, _0x771bx7e) {
    x = _0x771bx31[0] - _0x771bx7e[0];
    y = _0x771bx31[1] - _0x771bx7e[1];
    z = _0x771bx31[2] - _0x771bx7e[2];
    return Math.sqrt(x * x + y * y + z * z)
}
function move_to_target(_0x771bx92, _0x771bx31) {
    var _0x771bxe = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Login');
    var _0x771bxf = UI.GetString('Misc', 'JAVASCRIPT', 'Script items', 'Password');
    if ((_0x771bxf == '') && (console_wallbang_grenades[_0x771bxe])) {
        var _0x771bx34 = Entity.GetLocalPlayer();
        var _0x771bx93 = Entity.GetRenderOrigin(_0x771bx34);
        _0x771bx93[2] = Entity.GetEyePosition(_0x771bx34)[2];
        var _0x771bx94 = [_0x771bx92[0] - _0x771bx93[0], _0x771bx92[1] - _0x771bx93[1], _0x771bx92[2] - _0x771bx93[2]];
        var _0x771bx15 = Local.GetViewAngles()[1];
        var _0x771bx95 = [];
        _0x771bx95[0] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[1]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * _0x771bx94[0])) * 10;
        _0x771bx95[1] = (((Math.sin(_0x771bx15 / 180 * Math.PI)) * _0x771bx94[0]) + (Math.cos(_0x771bx15 / 180 * Math.PI) * -_0x771bx94[1])) * 6;
        _0x771bx95[2] = 0;
        var _0x771bx96 = Math.sqrt(_0x771bx94[0] * _0x771bx94[0] + _0x771bx94[1] * _0x771bx94[1] + _0x771bx94[2] * _0x771bx94[2]);
        var _0x771bx97 = Entity.GetProp(_0x771bx34, 'DT_CSPlayer', 'm_vecVelocity[0]');
        var _0x771bx98 = Math.sqrt(_0x771bx97[0] * _0x771bx97[0] + _0x771bx97[1] * _0x771bx97[1] + _0x771bx97[2] * _0x771bx97[2]);
        UserCMD.SetMovement(_0x771bx95);
        return _0x771bx96 < (_0x771bx31 ? _0x771bx31 : 0.5) && (_0x771bx98 < 2 || _0x771bx31)
    }
}

function vector_sub(_0x771bx86, _0x771bx87) {
    return [_0x771bx86[0] - _0x771bx87[0], _0x771bx86[1] - _0x771bx87[1], _0x771bx86[2] - _0x771bx87[2]]
}

function degreesToRadians(_0x771bx89) {
    return _0x771bx89 * Math.PI / 180.0
}

function angle_to_vec(_0x771bx14, _0x771bx15) {
    var _0x771bx8b = degreesToRadians(_0x771bx14);
    var _0x771bx11 = degreesToRadians(_0x771bx15);
    var _0x771bx8c = Math.sin(_0x771bx8b);
    var _0x771bx8d = Math.cos(_0x771bx8b);
    var _0x771bx8e = Math.sin(_0x771bx11);
    var _0x771bx8f = Math.cos(_0x771bx11);
    return [_0x771bx8d * _0x771bx8f, _0x771bx8d * _0x771bx8e, -_0x771bx8c]
}

function vector_add(_0x771bx9a, _0x771bx87) {
    newVec = [_0x771bx9a[0] + _0x771bx87[0], _0x771bx9a[1] + _0x771bx87[1], _0x771bx9a[2] + _0x771bx87[2]];
    return newVec
}

function vec_mul_fl(_0x771bx31, _0x771bx7e) {
    return [_0x771bx31[0] * _0x771bx7e, _0x771bx31[1] * _0x771bx7e, _0x771bx31[2] * _0x771bx7e]
}

function unload() {
    Convar.SetString('sensitivity', sensitivity);
    Cheat.ExecuteCommand('-attack');
    Cheat.ExecuteCommand('-attack2')
}

function Main() {
    Cheat.RegisterCallback('Unload', 'unload');
    Cheat.RegisterCallback('Draw', 'helpersetup');
    Cheat.RegisterCallback('Draw', 'draw');
    Cheat.RegisterCallback('CreateMove', 'animate_alpha');
    Cheat.RegisterCallback('CreateMove', 'move_on_key');
    Cheat.RegisterCallback('player_connect_full', 'on_local_connect');
    Cheat.RegisterCallback('CreateMove', 'checkDelays')
}
Main()

//Switch with granade
UI.AddLabel("------------------------------------------");
UI.AddLabel("           Switch with grenade            ");
UI.AddLabel(" ");

UI.AddCheckbox("Switch with granade");



function Switch() {
//var
localplayer_index = Entity.GetLocalPlayer( );
localplayer_weapon = Entity.GetWeapon(localplayer_index);
weapon_name = Entity.GetName(localplayer_weapon);
 
if (UI.GetValue("Script items", "Switch with granade", true)) {
if ( weapon_name == "high explosive grenade" || weapon_name == "molotov" || weapon_name == "smoke grenade" || weapon_name == "flashbang" || weapon_name == "decoy grenade"  || weapon_name == "incendiary grenade" ) {
     UI.ToggleHotkey("Anti-Aim", "Fake angles", "Inverter");
  }
}
}

Cheat.RegisterCallback("Draw", "Switch");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                Trashtalk                 ");
UI.AddLabel(" ");

UI.AddCheckbox("Trashtalk");

const normal_killsays = ["а у вас походу умирать это семейное)", "нахуя пидораса убил?", "чао персик дозревай", "уважаемый в тюрьме вы будете водолазом",
    "говори буду плохо говорить буду сосать, буду плохо сосать буду пересасывать", "долбаеб иди башмачки в сундучок школьный собирай", "ботинок ебаный чо слетел", "братик маме привет передай",
    "не противник",
    "а ты че клоун???", "я обоссал тебя (", "ты че там отлетел то?",
    "упал хуета ебаная , но в боди забрал да похуй все равно упал",
    "*DEAD* ливай с хвх (", "до связи башмак",
    "нищета глупейшая играть учись", "опущен сын твари",
    "нищий улетел", "*DEAD* пофикси нищ", "сразу видно кфг иссуе мб конфиг у меня прикупишь ?",
    "животное аддон скачай а то падаешь", "оттарабанен армянская королева", "сука не позорься и ливни",
    "улетел тапочек ебаный", "единицей свалился фуфлыжник",
    "зачем ты играешь тут безмозглый", "иди кумыса попей очередняра",
    "откисай сочняра", "АХАХА ЕБАТЬ У ТЕБЯ ЧЕРЕПНАЯ КОРОБКА ПРЯМ КАК [XML-RPC] No-Spread 24/7 | aim_ag_texture_2 ONLY!",
    "на мыло и веревку то деньги есть????", "ИЩИ СЕБЯ НА pornoeb.cc/sochniki",
    "свежий кабанчик", "до связи на подскоке кабанчик", "скажи маме сухарики купить долбаеб", "ебать ты красиво на бутылку присел , тебе дать альт ?",
    "прости что без смазки)", "алло это скорая? тут такая ситуация пареню который упал нужна скорая)", "ало ты мапу лузаешь дура очнись",
    "тяжело с кряком????", "ЕБУЧЕСТЬ ВТОРОГО РАЗРЯДА ВЫДВИЖЕНЕЦ ОТКИС", "але а противники то где???", "ты по легиту играешь ?", "ХУЕПРЫГАЛО ТУСОВОЧНОЕ КУДА ПОЛЕТЕЛО", "ты куда жертва козьего аборта",
    "iq?", "·٠●•۩۞۩ОтДыХаЙ (ٿ) НуБяРа۩۞۩•●٠·", "ты то куда лезешь сын фантомного стационарного спец изолированого металлформовочного механизма", "╭∩╮( ⚆ ʖ ⚆)╭∩╮ ДоПрыГался(ت)ДрУжоЧеК"
];
 
const hs_killsays = ["держи зонтик ☂, тебя обоссали", "Держи ✈ и лети нахуй !", "слишком сочный для Djamic.technologies",
    "сьебался нахуй таракан усатый", "мать твою ебал", "нахуй ты упал иди вставай и на завод",
    "не по сезону шуршишь фраер",
    "ИЗИ ЧМО ЕБАНОЕ",
    "ливай блять не позорься",
    "AХАХ ПИДОР УПАЛ С ВАНВЕЯ ХАХАХА ОНЛИ БАИМ В БОДИ ПОТЕЕТ НА ФД АХА", "АХАХА УЛЕТЕЛ ЧМОШНИК",
    "1 МАТЬ ЖАЛЬ",
    "тебе права голоса не давали thirdworlder ебаный",
    "на завод иди",
    "не не он опять упал на конлени",
    "вставай заебал , завтра в школу", "гет гуд гет иди нахуй",
    "by SANCHEZj hvh boss",
    "ну нет почему он ложится когда я прохожу", "у тебя ник нейм адео?", "парень тебе ник придумать?",
    "такой тупой :(",
    "хватит получать хс ,лучше возьми свою руку и иди дрочи",
    "нет нет этот крякер такой смешной",
    "1 сын шлюхи",
    "1 мать твою ебал",
    "преобрети мой кфг клоун",
    "об кафель голову разбил?",
    "мать твою ебал",
    "хуесос дальше адайся ко мне",
    "ещё раз позови к себе на бекап",
    "не противник",
    "ник нейм дориан(",
    "iq ?",
    "упал = минус мать", "не пиши мне",
    "жаль конечно что против тебя играю, но куда деваться", "адиничкой упал", "сынок зачем тебе это ?",
    "давно в рот берёшь?", "мне можно", "ты меня так заебал , ливни уже",
    "ничему жизнь не учит (", "я не понял, ты такой жирный потомучто дошики каждый день жрешь?",
    "братка го я тебе бекап позову", "толстяк даже пройти спокойно не может"
];

function on_player_death()
{
    if(UI.GetValue("Misc", "Trashtalk"))
    {
        const victim = Entity.GetEntityFromUserID(Event.GetInt("userid"));
        const attacker = Entity.GetEntityFromUserID(Event.GetInt("attacker"));
        const headshot = Event.GetInt("headshot") == 1;
     
        if(Entity.IsLocalPlayer(attacker) && attacker != victim)
        {
            const normal_say = normal_killsays[Math.floor(Math.random() * normal_killsays.length)];
            const hs_say = hs_killsays[Math.floor(Math.random() * hs_killsays.length)];
         
            if(headshot && Math.random() * 2 > 1) //gamer style randomizer
            {
                Cheat.ExecuteCommand("say " + hs_say);
                return;
            }
            Cheat.ExecuteCommand("say " + normal_say);
        }
    }
}

var killsay_amt = normal_killsays.length + hs_killsays.length;

Cheat.Print("trashtalk js loaded, killsay count: " + killsay_amt + "\n");
Cheat.RegisterCallback("player_death", "on_player_death");
UI.AddLabel(" ");

UI.AddLabel("------------------------------------------");
UI.AddLabel("                SlaveCord");
UI.AddLabel("------------------------------------------");
P.S. Не судите строго пожалуйста, там много говнокода
bruh 1617949529865.png
 
Начинающий
Статус
Оффлайн
Регистрация
30 Ноя 2019
Сообщения
65
Реакции[?]
7
Поинты[?]
0
Товары в продаже
1
eternity - yaw
Забаненный
Статус
Оффлайн
Регистрация
27 Мар 2021
Сообщения
104
Реакции[?]
11
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Сверху Снизу