Crack Lua Neverlose какая-то из моих 20 пастерских луашек

Забаненный
Статус
Оффлайн
Регистрация
16 Фев 2022
Сообщения
51
Реакции[?]
27
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.

Данный скрипт не проверялся модераторами, так как является кряком приватной LUA и в нём может присутствовать обфускация. Даже известные пользователи могут выложить вредоносный скрипт под видом крякнутого, поэтому любое использование исключительно на свой страх и риск.

- Солус от принца
- кфг система
- кастом аа
и прочее говно

Код:
globaltabs = Menu.Combo("KILLAURA.LUA", "Select Tab", {"Info","Ragebot", "Anti Aim","Visuals", "Misc", "Configs"},0)
local username = Cheat.GetCheatUserName()

    i    = Menu.Text("", " Welcome back, ".. username .. "!")
    i2 =  Menu.Text("", " Thanks for purchasing KILLAURA!")
     i3 =  Menu.Text("", " Build Date: 11/01/2022")
    i4  =  Menu.Text("", " Current Version: 1.0.0")
     i5 =  Menu.Text("", " Contact with owner - k1mbor#1052")
     i6 =  Menu.Text("", " Find bug? - Hellfish#9343")
    i7 =    Menu.Text("", " All rights reserved.")
        

local gui = {
    doubletap = Menu.Switch("Ragebot", "DT improvements",false),
    cross = Menu.Switch("Ragebot", "Cross Teleport", false),
    antidef = Menu.Switch("Ragebot", "Anti-Defensive", false),
    checkns = Menu.Switch("Ragebot", "Override Hitchance", false),
    scout_noscope_hc = Menu.SliderInt("Ragebot", "Scout noscope hc", 0, 0, 100),
    auto_noscope_hc = Menu.SliderInt("Ragebot", "Auto noscope hc", 0,  0, 100),
    hitsound = Menu.Switch("Misc", "Custom Hitsound", false),
    dir = Menu.TextBox("Misc", "Sound directory", 128, "killaura/hit"),
    vol = Menu.SliderFloat("Misc", "Volume", 1, 0, 1),
    trashtalk = Menu.Switch("Misc", "Killsay", false),
    legbreaker = Menu.Switch("Misc", "Break Leg Animation", false),

}

c = Menu.Switch("Anti Aim", "Enable Anti Aim Tab", false)
c1  = Menu.Text("Anti Aim",'-----------------------------------------------')
c2 = Menu.Text("Anti Aim",'                                    Custom AA')
local neverlosecondit = Menu.Combo("Anti Aim", "Type Conditions", {"Standing", "Running", "Slow Walking", "Air", "Crouch"}, 0)
c3 = Menu.Text("Anti Aim",'-----------------------------------------------')
local antiaim = {
-- Standing
 syaw2 = Menu.SliderInt("Anti Aim", "[S] Yaw Add Left", 0, -180, 180),
 syaw = Menu.SliderInt("Anti Aim", "[S] Yaw Add Right", 0, -180, 180),
 sdeg = Menu.Combo("Anti Aim", "[S] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
 smod = Menu.SliderInt("Anti Aim", "[S] Modifier Degree", 0, -180, 180),
 sfake = Menu.Combo("Anti Aim", "[S] Fake Limit Type ", {"Static", "Dynamic"}, 0),
 sleft = Menu.SliderInt("Anti Aim", "[S] Fake Left Limit", 0, 0, 60),
 sright = Menu.SliderInt("Anti Aim", "[S] Fake Right Limit", 0, 0, 60),
 sfkopt = Menu.MultiCombo("Anti Aim", "[S] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
 slby = Menu.Combo("Anti Aim", "[S] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
 sfr = Menu.Combo("Anti Aim", "[S] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
 sdes = Menu.Combo("Anti Aim", "[S] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Walking,
 wyaw2 = Menu.SliderInt("Anti Aim", "[W] Yaw Add Left", 0, -180, 180),
 wyaw = Menu.SliderInt("Anti Aim", "[W] Yaw Add Right", 0, -180, 180),
 wdeg = Menu.Combo("Anti Aim", "[W] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
 wmod = Menu.SliderInt("Anti Aim", "[W] Modifier Degree", 0, -180, 180),
 wfake = Menu.Combo("Anti Aim", "[W] Fake Limit Type ", {"Static", "Dynamic"}, 0),
 wleft = Menu.SliderInt("Anti Aim", "[W] Fake Left Limit", 0, 0, 60),
 wright = Menu.SliderInt("Anti Aim", "[W] Fake Right Limit", 0, 0, 60),
 wfkopt = Menu.MultiCombo("Anti Aim", "[W] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
 wlby = Menu.Combo("Anti Aim", "[W] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
 wfr = Menu.Combo("Anti Aim", "[W] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
 wdes = Menu.Combo("Anti Aim", "[W] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),
 
-- Slow Walking
 swyaw2 = Menu.SliderInt("Anti Aim", "[SW] Yaw Add Left", 0, -180, 180),
  swyaw = Menu.SliderInt("Anti Aim", "[SW] Yaw Add Right", 0, -180, 180),
swdeg = Menu.Combo("Anti Aim", "[SW] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
 swmod = Menu.SliderInt("Anti Aim", "[SW] Modifier Degree", 0, -180, 180),
 swfake = Menu.Combo("Anti Aim", "[SW] Fake Limit Type ", {"Static", "Dynamic"}, 0),
 swleft = Menu.SliderInt("Anti Aim", "[SW] Fake Left Limit", 0, 0, 60),
 swright = Menu.SliderInt("Anti Aim", "[SW] Fake Right Limit", 0, 0, 60),
 swfkopt = Menu.MultiCombo("Anti Aim", "[SW] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
 swlby = Menu.Combo("Anti Aim", "[SW] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
 swfr = Menu.Combo("Anti Aim", "[SW] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
 swdes = Menu.Combo("Anti Aim", "[SW] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Air
 ayaw2 = Menu.SliderInt("Anti Aim", "[A] Yaw Add Left", 0, -180, 180),
 ayaw = Menu.SliderInt("Anti Aim", "[A] Yaw Add Right", 0, -180, 180),
 adeg = Menu.Combo("Anti Aim", "[A] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
 amod = Menu.SliderInt("Anti Aim", "[A] Modifier Degree", 0, -180, 180),
 afake = Menu.Combo("Anti Aim", "[A] Fake Limit Type ", {"Static", "Dynamic"}, 0),
 aleft = Menu.SliderInt("Anti Aim", "[A] Fake Left Limit", 0, 0, 60),
 aright = Menu.SliderInt("Anti Aim", "[A] Fake Right Limit", 0, 0, 60),
 afkopt = Menu.MultiCombo("Anti Aim", "[A] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
 alby = Menu.Combo("Anti Aim", "[A] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
 afr = Menu.Combo("Anti Aim", "[A] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
 ades = Menu.Combo("Anti Aim", "[A] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Crouch
 cyaw2 = Menu.SliderInt("Anti Aim", "[C] Yaw Add Left", 0, -180, 180),
 cyaw = Menu.SliderInt("Anti Aim", "[C] Yaw Add Right", 0, -180, 180),
 cdeg = Menu.Combo("Anti Aim", "[C] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
 cmod = Menu.SliderInt("Anti Aim", "[C] Modifier Degree", 0, -180, 180),
 cfake = Menu.Combo("Anti Aim", "[C] Fake Limit Type ", {"Static", "Dynamic"}, 0),
 cleft = Menu.SliderInt("Anti Aim", "[C] Fake Left Limit", 0, 0, 60),
 cright = Menu.SliderInt("Anti Aim", "[C] Fake Right Limit", 0, 0, 60),
 cfkopt = Menu.MultiCombo("Anti Aim", "[C] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
 clby = Menu.Combo("Anti Aim", "[C] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
 cfr = Menu.Combo("Anti Aim", "[C] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
 cdes = Menu.Combo("Anti Aim", "[C] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),
 c666 = Menu.Text("Anti Aim",'-----------------------------------------------'),
 refEnabled = Menu.Switch('Anti Aim', 'Edge Yaw', false),
 
}--aa
local reference_pitch = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch")
local reference_yawbase = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local old_pitch = reference_pitch:Get()
local old_yawbase = reference_yawbase:Get()
local override_legitAA = true
local legitaa =  Menu.Switch("Anti Aim", "Legit AA", false)
local at_target_on_legitAA = Menu.Switch("Anti Aim", "At Target On Legit AA", false)
local function a_def()
    if gui.antidef:Get() then
        EngineClient.ExecuteClientCmd("jointeam 1")
        local lagcomp = CVar.FindVar("cl_lagcompensation")
        lagcomp:SetInt(1)
    elseif gui.antidef:Get() == false then
        EngineClient.ExecuteClientCmd("jointeam 1")
        local lagcomp = CVar.FindVar("cl_lagcompensation")
        lagcomp:SetInt(0)
    end
end 
gui.antidef:RegisterCallback(a_def)
buttoncheck = Menu.Button("Anti Aim", "Killaura Preset", "",function()
            c:Set(true)
            antiaim.syaw2:Set(-15)
            antiaim.sleft:Set(55)
            antiaim.sright:Set(55)
            antiaim.sfkopt:Set(3)
            antiaim.slby:Set(2)   
            antiaim.sfr:Set(1)
            antiaim.sdes:Set(1) 
            antiaim.smod:Set(22) 
            antiaim.sdeg:Set(1) 
            antiaim.syaw:Set(25)

            antiaim.wyaw2:Set(-15)
            antiaim.wleft:Set(55)
            antiaim.wright:Set(55)
            antiaim.wfkopt:Set(2)
            antiaim.wlby:Set(1)   
            antiaim.wfr:Set(1)
            antiaim.wdes:Set(3) 
            antiaim.wmod:Set(48) 
            antiaim.wdeg:Set(1)
            antiaim.wyaw:Set(25)

            antiaim.swyaw2:Set(-15)
            antiaim.swleft:Set(55)
            antiaim.swright:Set(55)
            antiaim.swfkopt:Set(3)
            antiaim.swlby:Set(1)       
            antiaim.swfr:Set(1)
            antiaim.swdes:Set(3)
            antiaim.swmod:Set(29)
            antiaim.swdeg:Set(0)
            antiaim.swyaw:Set(25)

            antiaim.ayaw2:Set(-15)
            antiaim.aleft:Set(55)
            antiaim.aright:Set(55)
            antiaim.afkopt:Set(2)
            antiaim.alby:Set(1)   
            antiaim.afr:Set(0)
            antiaim.ades:Set(1)   
            antiaim.amod:Set(1) 
            antiaim.adeg:Set(1)
            antiaim.ayaw:Set(-7)

            antiaim.cyaw2:Set(-15)
            antiaim.cleft:Set(25)
            antiaim.cright:Set(25)
            antiaim.cfkopt:Set(2)
            antiaim.clby:Set(1)   
            antiaim.cfr:Set(1)
            antiaim.cdes:Set(4)   
            antiaim.cmod:Set(22)
            antiaim.cdeg:Set(1)
           antiaim.cyaw:Set(25)


end)
local logs = {
        color = Color.RGBA(255,255,255,255),
    font = Render.InitFont('Verdana',11,{'r'}),
    screen = EngineClient.GetScreenSize(),
    logs = {
        stuff = {},
        num = 0,
        reason = {
            [1] = '?',
            [2] = 'spread',
            [3] = 'occlusion',
            [4] = 'prediction error'
        },   
        hitgroups = {
            [0] = "generic",
            [1] = "head",
            [2] = "chest",
            [3] = "stomach",
            [4] = "left arm",
            [5] = "right arm",
            [6] = "left leg",
            [7] = "right leg",
            [10] = "gear"
        }
    }
}
local lua = {
    watermark = {
        enablevis = Menu.Switch('Visuals', "Enable Visuals", false, ""),
        el = Menu.MultiCombo('Visuals', 'Elements', { 'Fake°', 'FL', 'IO', 'HZ', 'Keybinds' , 'Watermark' }, 0),
        transp = Menu.SliderInt('Visuals', 'Global alpha', 75, 0, 255),
        fl_line = Menu.ColorEdit('Visuals', 'FL Line color', Color.RGBA(255, 255, 255, 255)),
        io_speed = Menu.SliderFloat('Visuals', 'IO Animation speed', 4.1, 0.1, 10.0, 'In seconds, more = slower'),
        hz_line = Menu.ColorEdit('Visuals', 'HZ Line color', Color.RGBA(255, 255, 255, 255)),
        hz = Menu.Combo('Visuals', 'HZ', { '30', '59', '60', '75', '95', '120', '144', '165', '240', '280', '340' }, 3),
        theme = Menu.Combo('Visuals', 'Watermark theme', { 'Gradient', 'Static' }, 0),
        theme_custom = Menu.ColorEdit('Visuals', 'Static color', Color.RGBA(142, 165, 229, 255)),
        prefix = Menu.Combo('Visuals', 'Watermark prefix', { 'neverlose', 'nl', 'neverlose.cc', 'Custom' }, 2),
        prefix_custom = Menu.TextBox('Visuals', 'Custom prefix', 666, 'neverlose.cc'),
        name = Menu.Combo('Visuals', 'Watermark name', { 'Cheat username', 'Hide name', 'Custom' }, 0),
        name_custom = Menu.TextBox('Visuals', 'Custom name', 666, 'Floppa'),
        keybindstheme = Menu.Combo('Visuals', 'Keybinds theme', { 'Gradient', 'Static' }, 0),
        keybindstheme_custom = Menu.ColorEdit('Visuals', 'Static color ', Color.RGBA(142, 165, 229, 255)),
    }
}

local math_lib = {
    clamp = function(val, lower, upper)
        if lower > upper then lower, upper = upper, lower end
        return math.max(lower, math.min(upper, val))
    end
}
local render = {
    box = function(string,y,alpha)
        local stringsize = Render.CalcTextSize(string,11,logs.font).x
        Render.BoxFilled(Vector2.new(logs.screen.x/2-stringsize/2-6.5,logs.screen.y-150-y),Vector2.new(logs.screen.x/2+stringsize/2+6.5,logs.screen.y-120-y),Color.RGBA(0,0,0,255))
        Render.BoxFilled(Vector2.new(logs.screen.x/2-stringsize/2-6.5,logs.screen.y-152-y),Vector2.new(logs.screen.x/2+stringsize/2+6.5,logs.screen.y-150-y),logs.color)
        Render.Text(string,Vector2.new(logs.screen.x/2,logs.screen.y-136-y),Color.RGBA(255,255,255,255),11,logs.font,true,true)
    end
}
local indi = Menu.MultiCombo("Visuals", "Skeet Indicators", {"Fake With Circle", "FL With Circle", "AA With Line", "Shot/Miss Percent", "FL Text indicator", "FOV", "AW (Autowall)", "BUY (Buy Zone Indicator)", "Body Aim", "Safe Points", "Damage", "Hitchance", "Freestand", "At Targets", "Hide Shots", "Dormant Aimbot", "Fake Ping", "Lag Compensation", "Fake Duck", "Bomb Info", "Double Tap"}, 0)
local da_style = Menu.Switch("Visuals", "Dormant Aimbot Indicator", false)
local hs_style = Menu.Combo("Visuals", "Hide Shots Style", {"ONSHOT", "HS", "OSAA", "HIDE"}, 0)
local fs_style = Menu.Combo("Visuals", "Freestand Style", {"FREESTAND", "FS"}, 0)
local dmg_style = Menu.Combo("Visuals", "Damage Style", {"Damage: ", "DMG: ", "DMG", "Damage Value", ": DMG"}, 0)
local dmgs = Menu.Switch("Visuals", "Show Damage", false)
local hc_style = Menu.Combo("Visuals", "Hitchance Style", {"Hitchance: ", "HC: ", "HC", "Hitchance Value", ": HC%"}, 0)
local hcs = Menu.Switch("Visuals", "Hitchance Indicator ", false)
local ba_style = Menu.Combo("Visuals", "BAIM Indicator", {"BODY", "BAIM", "FB", "BA"}, 0)
local sp_style = Menu.Combo("Visuals", "Safe Points Style", {"SAFE", "SP"}, 0)
local hit_style = Menu.Combo("Visuals", "Shot/Miss Style", {"Style 1", "Style 2", "Style 3"}, 0)
local fake_style = Menu.Combo("Visuals", "Fake Circle", {"DSY", "FAKE", "AA"}, 1)
local fl_style = Menu.Combo("Visuals", "FL Circle", {"Choke Value", "FL"}, 1)
local aa_color = Menu.ColorEdit("Visuals", "AA With Line ", Color.RGBA(154, 176, 250, 255))
def = Menu.Button("Visuals", "Load Skeet Default Indicators", "Load Skeet Default Indicators",function() indi:SetInt(2031616) end)
local color = Menu.SwitchColor("Visuals","killaura indicators", false,Color.new(0.49,0.49,1,1))
netgraphcheck = Menu.Switch("Visuals", "Skeet Info Bar",false)
local a3 = Menu.Switch("Visuals", "Skeet Spectators",false)
local a4 = Menu.Switch("Misc", "Enable Logs", false)
local a5 = Menu.SliderInt('Misc','Height',0,0,500)
local colorpicker = Menu.ColorEdit('Misc','Color',Color.RGBA(255,255,255,255))
local fontspec = Render.InitFont('Verdana',11,{'r'})
local fd_anim = 0
local dt_anim = 0
local hs_anim = 0
local ap_anim = 0
local ey_anim = 0
local sp_anim = 0
local md_anim = 0
local font =
{
    verdana = Render.InitFont("Verdana", 12),
    verdanabd = Render.InitFont("Verdana Bold", 11, {'r'}),
    pixel = Render.InitFont("Smallest Pixel-7", 10),
    calibrib = Render.InitFont("Calibri Bold", 30),
    pixel9 = Render.InitFont("Smallest Pixel-7", 9),
}

local pflFrameTime, pflFrameTimeStdDeviation, pflFrameStartTimeStdDeviation = ffi.new('float[1]'), ffi.new('float[1]'), ffi.new('float[1]')
local interface_ptr = ffi.typeof('void***')
local rawivengineclient = Utils.CreateInterface('engine.dll', 'VEngineClient014')
local ivengineclient = ffi.cast(interface_ptr, rawivengineclient)
local get_net_channel_info, net_channel = ffi.cast('void*(__thiscall*)(void*)', ivengineclient[0][78]), nil
local net_bool = ffi.typeof('bool(__thiscall*)(void*)')
local net_fr_to = ffi.typeof('void(__thiscall*)(void*, float*, float*, float*)')
local INetChannelInfo = ffi.cast('void***', get_net_channel_info(ivengineclient))
local GetNetFramerate = function(INetChannelInfo)
    if INetChannelInfo == nil then
        return 0, 0 end

    local server_var, server_framerate = 0, 0
    ffi.cast(net_fr_to, INetChannelInfo[0][25])(INetChannelInfo, pflFrameTime, pflFrameTimeStdDeviation, pflFrameStartTimeStdDeviation)

    if pflFrameTime ~= nil and pflFrameTimeStdDeviation ~= nil and pflFrameStartTimeStdDeviation ~= nil then
        if pflFrameTime[0] > 0 then
            server_var = pflFrameStartTimeStdDeviation[0] * 1000
            server_framerate = pflFrameTime[0] * 1000
        end
    end

    return server_framerate, server_var
end

Cheat.RegisterCallback("pre_prediction", function(cmd)
    if legitaa:GetBool() then
    local local_player = EntityList.GetLocalPlayer()
    local legitAA_work = true

    if not local_player then return end

    local local_player_teamnum = local_player:GetProp("m_iTeamNum")
    local entities = {EntityList.GetEntitiesByName("CPlantedC4"), EntityList.GetEntitiesByName("CHostage")}

    for entity in pairs(entities) do
        for i in pairs(entities[entity]) do

            local local_playerlayer_origin = local_player:GetRenderOrigin()
            local entity_origin = entities[entity][i]:GetRenderOrigin()

            local entity_get_distance = local_playerlayer_origin:DistTo(entity_origin)
            local distance = entity_get_distance < 65 and entity_get_distance > 1

            if distance and local_player_teamnum == 3 then
                legitAA_work = false
            end
        end
    end


    if local_player_teamnum == 2 and local_player:GetProp("m_bInBombZone") and local_player:GetActiveWeapon():GetClassName() == "CC4" then
        legitAA_work = false
    end

    if bit.band(cmd.buttons, 32) == 32 and legitAA_work then
        if GlobalVars.curtime - start_curtime > 0.02 then

            cmd.buttons = bit.band(cmd.buttons, bit.bnot(32))

            if override_legitAA then
                old_pitch = reference_pitch:Get()
                old_yawbase = reference_yawbase:Get()
                override_legitAA = false
            end

            reference_pitch:Set(0)
            reference_yawbase:Set(at_target_on_legitAA:Get() and 4 or 1)
            AntiAim.OverrideYawOffset(180 - Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get())
        end
    else
        if not override_legitAA then
            reference_pitch:Set(old_pitch)
            reference_yawbase:Set(old_yawbase)
            override_legitAA = true
        end

        start_curtime = GlobalVars.curtime
    end
end

end)
local velocity = function(ent)
    local speed_x = ent:GetProp("DT_BasePlayer","m_vecVelocity[0]")
    local speed_y = ent:GetProp("DT_BasePlayer","m_vecVelocity[1]")
    local speed = math.sqrt(speed_x * speed_x + speed_y * speed_y)
    return math.floor(speed)
end
local logs1 = {}
local icon = {}
local slog_en = Menu.Switch("Misc", "Sigma Hitlogs", false)
local color_hit = Menu.ColorEdit('Misc','Hit Color',Color.new(166/255,215/255,53/255,1))
local color_miss = Menu.ColorEdit('Misc','Miss Color',Color.new(1,0,0,1))
local height = Menu.SliderFloat('Misc','Height ',85.00, 50.0,85.0)
local time = Menu.SliderInt('Misc','Logs Show Time (in seconds)',6,1,20)
icon.render = {
    line = function(x,y,x1,y1,color)
        Render.Line(Vector2.new(x,y),Vector2.new(x1,y1),color)
    end,
    polygon = function(x1,y1,x2,y2,x3,y3,color)
        Render.PolyFilled(color, Vector2.new(x1,y1), Vector2.new(x2,y2), Vector2.new(x3,y3))
    end,
    box = function(x,y,w,h,color,rounding)
        Render.Box(Vector2.new(x,y), Vector2.new(x+w,y+h), color, rounding == nil and 0 or rounding)
    end,
    box_filled = function(x,y,w,h,color,rounding)
        Render.BoxFilled(Vector2.new(x,y), Vector2.new(x+w,y+h), color, rounding == nil and 0 or rounding)
    end,
    gradient_box_filled = function(x,y,w,h,horizontal,color,color2)
        Render.GradientBoxFilled(Vector2.new(x,y), Vector2.new(x+w,y+h),color,horizontal and color2 or color,horizontal and color or color2,color2)
    end,
    string = function(x,y,cen,string,color,TYPE,font,fontsize)
        if TYPE == 0 then
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,false,cen)
        elseif TYPE == 1 then
            Render.Text(string, Vector2.new(x+1,y+1), Color.new(0.1,0.1,0.1,color.a/1.5), fontsize,font,false,cen)
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,false,cen)
        elseif TYPE == 2 then
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,true,cen)
        end
    end
}
icon.fonts = { 
    verdana_big = Render.InitFont('Verdana',12)
}
icon.hitbox_name = {
    [1] = 'head',
    [3] = 'stomach',
    [0] = 'lower chest',
    [2] = 'chest',
    [10] = 'upper chest',
    [7] = 'right thign',
    [6] = 'left thigh',
    [5] = 'right arm',
    [4] = 'left arm'
}
icon.math = {}
icon.math.lerp = function(time,a,b)
    return a * (1-time) + b * time
end
icon.mismatch = {
    [0] = 'no',
    [1] = 'resolver',
    [2] = 'spread',
    [3] = 'occlusion',
    [4] = 'prediction error'
}
local function shot1(e)

    if e.reason == 0 then
        table.insert(logs1,{text = '    ',text2 = {
            hit = 'Hit ',
            who = EntityList.GetClientEntity(e.target_index):GetPlayer():GetName(),
            in_the = ' in the ',
            where = icon.hitbox_name[e.hitgroup],
            for_ = ' for ',
            how_much = e.damage .. '',
            damage = ' damage (',
            how_muc_r =  math.max(EntityList.GetClientEntity(e.target_index):GetPlayer():GetProp('m_iHealth')-e.damage,0) .. '',
            health = ' health remaining)'               
        }, alpha = 0,alpha1 = 0,type = 'Hit', time = GlobalVars.realtime})           
    else
        table.insert(logs1,{text = '     ',text2 = {
            hit = 'Missed ',
            who = EntityList.GetClientEntity(e.target_index):GetPlayer():GetName(),
            in_the = '`s ',
            where = icon.hitbox_name[e.wanted_hitgroup],
            for_ = ' due to ',
            reason = icon.mismatch[e.reason]
        }, alpha = 0,alpha1 = 0,type = 'Miss', time = GlobalVars.realtime})       
    end
end
local function draw_slog ()
    local me = EntityList.GetLocalPlayer()

    if not me or not EngineClient.IsInGame() or not EngineClient.GetNetChannelInfo() then
        return
    end
    local y_add = 0
    local hit_color = color_hit:Get()
    local miss_color = color_miss:Get()
    local height_logs = height:Get()/100
    for i, notify in ipairs(logs1) do
        local frametime = GlobalVars.frametime * 8
        local x, y = EngineClient.GetScreenSize().x/2,EngineClient.GetScreenSize().y
        
        if notify.time + 1 > GlobalVars.realtime then
            notify.alpha = icon.math.lerp(frametime,notify.alpha,1)
            notify.alpha1 = icon.math.lerp(frametime/1.5,notify.alpha1,1)
            
        end
        if notify.type == 'Hit' then
            local string = notify.text2.hit .. notify.text2.who .. notify.text2.in_the .. notify.text2.where .. notify.text2.for_ .. notify.text2.how_much .. notify.text2.damage .. notify.text2.how_muc_r .. notify.text2.health
    
            local s = {
                string = Render.CalcTextSize(string,12,icon.fonts.verdana_big).x/2,
                hit = Render.CalcTextSize(notify.text2.hit,12,icon.fonts.verdana_big).x,
                in_the = Render.CalcTextSize(notify.text2.in_the,12,icon.fonts.verdana_big).x,
                who = Render.CalcTextSize(notify.text2.who,12,icon.fonts.verdana_big).x,
                where = Render.CalcTextSize(notify.text2.where,12,icon.fonts.verdana_big).x,
                for_ = Render.CalcTextSize(notify.text2.for_,12,icon.fonts.verdana_big).x,
                how_much = Render.CalcTextSize(notify.text2.how_much,12,icon.fonts.verdana_big).x,
                damage = Render.CalcTextSize(notify.text2.damage,12,icon.fonts.verdana_big).x,
                how_muc_r = Render.CalcTextSize(notify.text2.how_muc_r,12,icon.fonts.verdana_big).x,
                health = Render.CalcTextSize(notify.text2.health,12,icon.fonts.verdana_big).x,
                
    
            }
            
            icon.render.string(notify.alpha1*40-40+x-s.string,y*height_logs-y_add,false,notify.text2.hit,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit,y*height_logs-y_add,false,notify.text2.who,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.who,y*height_logs-y_add,false,notify.text2.in_the,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who,y*height_logs-y_add,false,notify.text2.where,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where,y*height_logs-y_add,false,notify.text2.for_,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_,y*height_logs-y_add,false,notify.text2.how_much,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much,y*height_logs-y_add,false,notify.text2.damage,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much+s.damage,y*height_logs-y_add,false,notify.text2.how_muc_r,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much+s.damage+s.how_muc_r,y*height_logs-y_add,false,notify.text2.health,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
        else
            local string = notify.text2.hit .. notify.text2.who .. notify.text2.in_the .. notify.text2.where .. notify.text2.for_ .. notify.text2.reason
    
            local s = {
                string = Render.CalcTextSize(string,12,icon.fonts.verdana_big).x/2,
                hit = Render.CalcTextSize(notify.text2.hit,12,icon.fonts.verdana_big).x,
                who = Render.CalcTextSize(notify.text2.who,12,icon.fonts.verdana_big).x,
                in_the = Render.CalcTextSize(notify.text2.in_the,12,icon.fonts.verdana_big).x,
                where = Render.CalcTextSize(notify.text2.where,12,icon.fonts.verdana_big).x,
                for_ = Render.CalcTextSize(notify.text2.for_,12,icon.fonts.verdana_big).x,
                reason = Render.CalcTextSize(notify.text2.reason,12,icon.fonts.verdana_big).x,
            }
            
            icon.render.string(notify.alpha1*40-40+x-s.string,y*height_logs-y_add,false,notify.text2.hit,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit,y*height_logs-y_add,false,notify.text2.who,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.who,y*height_logs-y_add,false,notify.text2.in_the,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who,y*height_logs-y_add,false,notify.text2.where,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where,y*height_logs-y_add,false,notify.text2.for_,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_,y*height_logs-y_add,false,notify.text2.reason,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
        end
    
        if notify.time + (time:Get() - 0.1) < GlobalVars.realtime  then
            notify.alpha1 = icon.math.lerp(frametime/1.5,notify.alpha1,2)
        end
        if notify.time + time:Get() < GlobalVars.realtime and notify.alpha1 > 1.5 then
            notify.alpha = icon.math.lerp(frametime,notify.alpha,0)
        end
    
        if notify.alpha < 0.02 and (notify.time + time:Get() < GlobalVars.realtime) then
            table.remove(logs,i)
        end
    
        y_add = y_add + 16 * notify.alpha


    end
end
local ct = GlobalVars.curtime
local fps = math.floor(1/GlobalVars.frametime)
local curTime = GlobalVars.curtime
local interface_ptr = ffi.typeof('void***')
local rawivengineclient = Utils.CreateInterface('engine.dll', 'VEngineClient014')
local ivengineclient = ffi.cast(interface_ptr, rawivengineclient)
local get_net_channel_info, net_channel = ffi.cast('void*(__thiscall*)(void*)', ivengineclient[0][78]), nil
local INetChannelInfo = ffi.cast('void***', get_net_channel_info(ivengineclient))
local GetNetChannel = function(INetChannelInfo)
    if INetChannelInfo == nil then
        return end

    return {
        latency = {
            crn = function(flow) return INetChannelInfo:GetLatency(flow) end,
            average = function(flow) return INetChannelInfo:GetAvgLatency(flow) end,
        }
    }
end
local outgoing, incoming, incoming_latency

local id, OldChoke, toDraw0, toDraw1, toDraw2, toDraw3, toDraw4, hitted, reg_shot, on_plant_time, fill, text, planting_site, planting = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", false

local FS = 12
local verdana = Render.InitFont('Verdana', FS, { 'r' })
GetTime = function()
    local seconds = math.floor(Utils.UnixTime() / 1000)
    local hours = math.floor((seconds / 3600 + 3) % 24)
    local minutes = math.floor(seconds / 60 % 60)
    local sec = math.floor(seconds % 60)

    if sec < 10 then
        sec = "0" .. sec
    end
    if minutes < 10 then
        minutes = "0" .. minutes
    end
    if hours < 10 then
        hours = "0" .. hours
    end

    return hours .. ":" .. minutes .. ":" .. sec
end
GetPing = function()
    local netchann_info = EngineClient.GetNetChannelInfo()
    if netchann_info == nil then
        return ''
    end
    local latency = netchann_info:GetLatency(0)
    return string.format("delay: %1.fms", math.max(0, latency) * 1000)
end
IsAlive = function(entity)
    if (entity == nil) then
        return false
    else
        if (entity:GetProp('m_iHealth') > 0) then
            return true
        else
            return false
        end
    end

end
GetWatermarkName = function(mode, custom)
    if (mode == 0) then
        return Cheat.GetCheatUserName() .. ' | '
    elseif (mode == 1) then
        return (IsAlive(EntityList.GetLocalPlayer()) == true and EntityList.GetLocalPlayer():GetName() or ' ?') .. ' | '
    else
        if (custom == '') then
            return ''
        else
            return custom .. ' | '
        end
    end
end
GetPrefix = function(mode, custom)
    if (mode == 0) then
        return 'neverlose | '
    elseif (mode == 1) then
        return 'nl | '
    elseif (mode == 2) then
        return 'neverlose.cc | '
    else
        if (custom == '') then
            return ''
        else
            return custom .. ' | '
        end
    end
end
GetFake = function()
    if (IsAlive(EntityList.GetLocalPlayer()) == false) then
        return 0
    end
    local real_rotation = AntiAim.GetCurrentRealRotation()
    local desync_rotation = AntiAim.GetFakeRotation()
    local max_desync_delta = AntiAim.GetMaxDesyncDelta()
    local min_desync_delta = AntiAim.GetMinDesyncDelta()
    local desync_delta = real_rotation - desync_rotation
    if (desync_delta > max_desync_delta) then
        desync_delta = max_desync_delta
    elseif (desync_delta < min_desync_delta) then
        desync_delta = min_desync_delta
    end
    local desync = math.abs(desync_delta * 59 / 100)
    return desync
end
Render_GradientBoxFilled = function(x, y, w, h, c1, c2, ishorizon)
    if (ishorizon == true) then
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1, c2, c1, c2)
    else
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1, c1, c2, c2)
    end
end
local bindt = {
    [0] = 'toggled',
    [1] = 'holding',
}
Render_BoxFilled = function(x, y, w, h, c1)
    Render.BoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1)
end
Render_Text = function(x, y, cent, string, c1, font, size, alpha)
    Render.Text(string, Vector2.new(x + 1, y + 1), Color.RGBA(0, 0, 0, alpha), size, font, false, cent)
    Render.Text(string, Vector2.new(x, y), c1, size, font, false, cent)
end
GetColor = function(number, max, i)
    local Colors = {
        { 255, 0, 0 },
        { 237, 27, 3 },
        { 235, 63, 6 },
        { 229, 104, 8 },
        { 228, 126, 10 },
        { 220, 169, 16 },
        { 213, 201, 19 },
        { 176, 205, 10 },
        { 124, 195, 13 }
    }

    local math_num = function(int, max, declspec)
        local int = (int > max and max or int)
        local tmp = max / int;

        if not declspec then
            declspec = max
        end

        local i = (declspec / tmp)
        i = (i >= 0 and math.floor(i + 0.5) or math.ceil(i - 0.5))

        return i
    end

    i = math_num(number, max, #Colors)

    return
    Colors[i <= 1 and 1 or i][1],
    Colors[i <= 1 and 1 or i][2],
    Colors[i <= 1 and 1 or i][3],
    i
end
Render_Histogram = function(x, y, c1, c2, a)
    for i = 1, 4 do
        Render_GradientBoxFilled(x + i * 23 / 4, y + 10, 23 / 4, -a[i], c1, c2, false)
    end
end
IsDtReady = function()
    if (Menu.FindVar('Aimbot', 'Ragebot', 'Exploits', 'Double Tap'):Get() == true and Exploits.GetCharge() == 1) then
        return true
    else
        return false
    end
end

local HZ = {
    [0] = 30,
    [1] = 59,
    [2] = 60,
    [3] = 75,
    [4] = 95,
    [5] = 120,
    [6] = 144,
    [7] = 165,
    [8] = 240,
    [9] = 280,
    [10] = 340
}
GradientBoxFilled = function(x, y, w, h, t, c, alpha)
    if (t == 1) then
        Render.BoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), Color.RGBA(math.floor(c.r * 255), math.floor(c.g * 255), math.floor(c.b * 255), math.floor(alpha)))
    elseif (t == 0) then
        Render.GradientBoxFilled(Vector2.new(x + w / 2, y), Vector2.new(x + w, y + h), Color.RGBA(203, 70, 205, alpha), Color.RGBA(204, 210, 53, alpha), Color.RGBA(203, 70, 205, alpha), Color.RGBA(204, 210, 53, alpha))
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w / 2, y + h), Color.RGBA(55, 177, 218, alpha), Color.RGBA(203, 70, 205, alpha), Color.RGBA(55, 177, 218, alpha), Color.RGBA(203, 70, 205, alpha))
    end
end
local R1, R2, R3, R4 = 5, 3, 7, 10
local N1, N2, N3, N4 = 10, 7, 3, 5
local random_ms = 0
local kb = {
    k = {
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    },
    p = Vector2.new(500, 500),
    o = 66,
    global = 0.0,
    drag = false,
    xx = Menu.SliderInt('g', '1', 70, 0, 5000),
    yy = Menu.SliderInt('g', '2', 70, 0, 5000),

}

choke = 0
current_choke = 0
local function update_choked(c)
    if (ClientState.m_choked_commands == 0) then
        choke = current_choke
    end
    current_choke = ClientState.m_choked_commands
end

local function VectorLerp(vecSource, vecDestination, flPercentage)
    return vecSource + (vecDestination - vecSource) * flPercentage
end

local function NormalizeYaw(flYaw)
    while flYaw > 180 do
        flYaw = flYaw - 360
    end
    while flYaw < -180 do
        flYaw = flYaw + 360
    end
    return flYaw
end

local vecTraceStart = Vector.new()

local function edgeyaw(UserCmd)
if antiaim.refEnabled:GetBool() then
    local iLocalPlayerEntIndex = EngineClient.GetLocalPlayer()
    if not iLocalPlayerEntIndex then
        return
    end

    local pLocalPlayerEntity = EntityList.GetClientEntity(iLocalPlayerEntIndex)
    local pLocalPlayer = pLocalPlayerEntity:GetPlayer()

    local flVelocityZ = pLocalPlayer:GetProp('m_vecVelocity[2]')
    --    local bInJump = bit.band(UserCmd.buttons, 2) == 2
    if flVelocityZ ~= 0 or bInJump then
        return
    end

    if ClientState.m_choked_commands == 0 then
        vecTraceStart = pLocalPlayer:GetEyePosition()
    end

    local aTraceEnd = {}

    local angViewAngles = EngineClient.GetViewAngles()
    for flYaw = 18, 360, 18 do
        flYaw = NormalizeYaw(flYaw)

        local angEdge = QAngle.new(0, flYaw, 0)

        local vecTraceEnd = vecTraceStart + Cheat.AngleToForward(angEdge) * 0x60

        local traceInfo = EngineTrace.TraceRay(vecTraceStart, vecTraceEnd, pLocalPlayerEntity, 0x200400B)

        local flFraction = traceInfo.fraction
        local pEntity = traceInfo.hit_entity

        if pEntity and pEntity:GetClassName() == 'CWorld' and flFraction < 0.3 then
            aTraceEnd[#aTraceEnd + 1] = {
                vecTraceEnd = traceInfo.endpos,
                flYaw = flYaw
            }
        end
    end

    table.sort(aTraceEnd, function(a, b)
        return a.flYaw < b.flYaw
    end)

    local angEdge

    if #aTraceEnd >= 2 then
        local vecTraceCenter = VectorLerp(aTraceEnd[1].vecTraceEnd, aTraceEnd[#aTraceEnd].vecTraceEnd, 0.5)

        angEdge = Cheat.VectorToAngle(vecTraceStart - vecTraceCenter)
    end

    if angEdge then
        local flYaw = angViewAngles.yaw
        local flEdgeYaw = angEdge.yaw

        local flDiff = NormalizeYaw(flEdgeYaw - flYaw)

        if math.abs(flDiff) < 90 then
            flDiff = 0
            flYaw = NormalizeYaw(flEdgeYaw + 180)
        end

        -- Static yaw
        local flNewYaw = -flYaw

        -- Apply edge yaw
        flNewYaw = NormalizeYaw(flNewYaw + flEdgeYaw + 180)

        flNewYaw = NormalizeYaw(flNewYaw + flDiff)

        AntiAim.OverrideYawOffset(flNewYaw)
    end
end
end
local scope_line = {}
scope_line.var = Menu.FindVar("Visuals", "View", "Camera", "Remove Scope")
scope_line.screen = EngineClient:GetScreenSize()
scope_line.ref = scope_line.var:GetInt()

scope_line.menu = {}
scope_line.menu.checkbox = Menu.Switch("Visuals", "Enable Custom Scope", false)
scope_line.menu.offset = Menu.SliderInt("Visuals", "Offset", 10, 0, 500)
scope_line.menu.length = Menu.SliderInt("Visuals", "Length", 60, 0, 1000)
scope_line.menu.anim_speed = Menu.SliderInt("Visuals", "Anim Speed", 15, 1, 30)
scope_line.menu.col_1 = Menu.ColorEdit("Visuals", "Color 1", Color.RGBA(255, 255, 255))
scope_line.menu.col_2 = Menu.ColorEdit("Visuals", "Color 2", Color.RGBA(255, 255, 255, 0))

scope_line.anim_num = 0

scope_line.lerp = function(a, b, t)
    return a + (b - a) * t
end

scope_line.on_draw = function()
if lua.watermark.enablevis:GetBool() then
if scope_line.menu.checkbox:GetBool() then
    scope_line.var:SetInt(2)

    local_player = EntityList.GetLocalPlayer()
    scope_line.anim_speed = scope_line.menu.anim_speed:Get()

    if not local_player or not local_player:IsAlive() or not local_player:GetProp("m_bIsScoped") then
        scope_line.anim_num = scope_line.lerp(scope_line.anim_num, 0, scope_line.anim_speed * GlobalVars.frametime)
    else
        scope_line.anim_num = scope_line.lerp(scope_line.anim_num, 1, scope_line.anim_speed * GlobalVars.frametime)
    end

    scope_line.offset = scope_line.menu.offset:Get() * scope_line.anim_num
    scope_line.length = scope_line.menu.length:Get() * scope_line.anim_num
    scope_line.col_1 = scope_line.menu.col_1:Get()
    scope_line.col_2 = scope_line.menu.col_2:Get()
    scope_line.width = 1

    scope_line.col_1.a = scope_line.col_1.a * scope_line.anim_num
    scope_line.col_2.a = scope_line.col_2.a * scope_line.anim_num
    
    scope_line.start_x = scope_line.screen.x / 2
    scope_line.start_y = scope_line.screen.y / 2

    --Left
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x - scope_line.offset, scope_line.start_y), Vector2.new(scope_line.start_x - scope_line.offset - scope_line.length, scope_line.start_y + scope_line.width), scope_line.col_1, scope_line.col_2, scope_line.col_1, scope_line.col_2)

    --Right
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x + scope_line.offset, scope_line.start_y), Vector2.new(scope_line.start_x + scope_line.offset + scope_line.length, scope_line.start_y + scope_line.width), scope_line.col_1, scope_line.col_2, scope_line.col_1, scope_line.col_2)

    --Up
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x, scope_line.start_y + scope_line.offset), Vector2.new(scope_line.start_x + scope_line.width, scope_line.start_y + scope_line.offset + scope_line.length), scope_line.col_1, scope_line.col_1, scope_line.col_2, scope_line.col_2)

    --Down
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x, scope_line.start_y - scope_line.offset), Vector2.new(scope_line.start_x + scope_line.width, scope_line.start_y - scope_line.offset - scope_line.length), scope_line.col_1, scope_line.col_1, scope_line.col_2, scope_line.col_2)
end
end
end
scope_line.on_destroy = function()
    scope_line.var:SetInt(scope_line.ref)

    for _, v in pairs(materials) do
        local material = MatSystem.FindMaterial(v, "")

        if material ~= nil then
            material:SetMaterialVarFlag(bit.lshift(1, 28), false) -- Wireframe
        end
    end
end
Cheat.RegisterCallback("destroy", scope_line.on_destroy)
local function solus()
kb.xx:SetVisible(false)
    kb.yy:SetVisible(false)
    if lua.watermark.enablevis:GetBool() then
        local transp = lua.watermark.transp:Get()
        if (GlobalVars.tickcount % math.floor(lua.watermark.io_speed:Get() * 1 / GlobalVars.interval_per_tick) == 0) then
            N1, N2, N3, N4 = math.random(0, 10), math.random(0, 10), math.random(0, 10), math.random(0, 10)
        end
        if (GlobalVars.tickcount % 8 == 0) then
            random_ms = math.random(1, 5)
        end
        local engine = EngineClient.GetScreenSize()
        if IsAlive(EntityList.GetLocalPlayer()) ~= true then
            return
        end
         if (lua.watermark.el:Get(6) == true) then
        text_WM = GetPrefix(lua.watermark.prefix:Get(), lua.watermark.prefix_custom:Get()) .. '' .. GetWatermarkName(lua.watermark.name:Get(), lua.watermark.name_custom:Get()) .. '' .. GetPing() .. ' | ' .. GetTime()
      
        local h_WM, w_WM = 18, Render.CalcTextSize(text_WM, FS, verdana).x + 8
        local x_WM, y_WM = engine.x, 10 + (25 * 0)

        x_WM = x_WM - w_WM - 10
        GradientBoxFilled(x_WM, y_WM, w_WM, 2, lua.watermark.theme:Get(), lua.watermark.theme_custom:Get(), 255)
        Render_BoxFilled(x_WM, y_WM + 2, w_WM, h_WM, Color.RGBA(17, 17, 17, math.floor(transp)))
        Render_Text(x_WM + 4, y_WM + 4, false, text_WM, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
end
        text_FL = 'FL: ' .. (choke >= 10 and (choke) or ('  ' .. choke)) .. (IsDtReady() == true and ' | SHIFTING' or '')
        local h_FL, w_FL = 17, lua.watermark.el:Get(2) == true and Render.CalcTextSize(text_FL, FS, verdana).x + 8 or -4
        local x_FL, y_FL = engine.x, 10 + (25 * 1)

        x_FL = x_FL - w_FL - 10

        if (lua.watermark.el:Get(2) == true) then
            Render_BoxFilled(x_FL, y_FL, w_FL, h_FL, Color.RGBA(0, 0, 0, transp))
            Render_GradientBoxFilled(x_FL, y_FL + h_FL, w_FL - w_FL / 2, 1, Color.RGBA(0, 0, 0, transp), lua.watermark.fl_line:Get(), true)
            Render_GradientBoxFilled(x_FL + w_FL / 2, y_FL + h_FL, w_FL - w_FL / 2, 1, lua.watermark.fl_line:Get(), Color.RGBA(0, 0, 0, transp), true)
            Render_Text(x_FL + 4, y_FL + 2, false, text_FL, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        text_FI = 'FAKE (' .. string.sub(tostring(GetFake()), 0, 4) .. '°)'
        local h_FI, w_FI = 18, lua.watermark.el:Get(1) == true and Render.CalcTextSize(text_FI, FS, verdana).x + 8 or 0
        local dec = { [1] = math.floor(GetFake() * 4), [2] = math.floor(255 - GetFake() * 4), [3] = 0 }
        local r, g, b, a = GetColor(GetFake(), 30)
        if (lua.watermark.el:Get(1) == true) then
            Render_GradientBoxFilled(x_FL - w_FI - 6, y_FL, 2, h_FI / 2, Color.RGBA(0, 0, 0, 0), Color.RGBA(r, g, b, 255), false)
            Render_GradientBoxFilled(x_FL - w_FI - 6, y_FL + h_FI / 2, 2, h_FI / 2, Color.RGBA(r, g, b, 255), Color.RGBA(0, 0, 0, 0), false)
            Render_GradientBoxFilled(x_FL - w_FI - 4, y_FL, w_FI / 2, h_FI, Color.RGBA(17, 17, 17, math.floor(transp / 3)), Color.RGBA(17, 17, 17, transp), true)
            Render_GradientBoxFilled(x_FL - w_FI - 4 + w_FI / 2, y_FL, w_FI / 2, h_FI, Color.RGBA(17, 17, 17, transp), Color.RGBA(17, 17, 17, math.floor(transp / 3)), true)
            Render_Text(x_FL - w_FI, y_FL + 2, false, text_FI, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        local text_HZ = '0.' .. random_ms .. 'ms / ' .. HZ[lua.watermark.hz:Get()] .. 'hz'

        local h_HZ, w_HZ = 17, lua.watermark.el:Get(4) == true and Render.CalcTextSize(text_HZ, FS, verdana).x + 8 or -4
        local x_HZ, y_HZ = engine.x, 10 + (25 * ((lua.watermark.el:Get(2) == true or lua.watermark.el:Get(1) == true) and 2 or 1))

        local x_HZ = x_HZ - w_HZ - 10
        if (lua.watermark.el:Get(4) == true) then
            Render_GradientBoxFilled(x_HZ, y_HZ + h_HZ, w_HZ / 2, 1, Color.RGBA(0, 0, 0, math.floor(transp / 3)), lua.watermark.hz_line:Get(), true)
            Render_GradientBoxFilled(x_HZ + w_HZ / 2, y_HZ + h_HZ, w_HZ - w_HZ / 2, 1, lua.watermark.hz_line:Get(), Color.RGBA(0, 0, 0, math.floor(transp / 3)), true)
            Render_BoxFilled(x_HZ, y_HZ, w_HZ, h_HZ, Color.RGBA(0, 0, 0, transp))
            Render_Text(x_HZ + 4, y_HZ + 2, false, text_HZ, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        if (R1 ~= N1) then
            if (R1 < N1) then
                R1 = R1 + 0.05
            end
            if (R1 > N1) then
                R1 = R1 - 0.05
            end
        end
        if (R2 ~= N2) then
            if (R2 < N2) then
                R2 = R2 + 0.05
            end
            if (R2 > N2) then
                R2 = R2 - 0.05
            end
        end
        if (R3 ~= N3) then
            if (R3 < N3) then
                R3 = R3 + 0.05
            end
            if (R3 > N3) then
                R3 = R3 - 0.05
            end
        end
        if (R4 ~= N4) then
            if (R4 < N4) then
                R4 = R4 + 0.05
            end
            if (R4 > N4) then
                R4 = R4 - 0.05
            end
        end
        local text_IO_sub = '       '
        local text_IO = 'IO | ' .. text_IO_sub
        local w_IE = Render.CalcTextSize(text_IO_sub, FS, verdana).x + 3
        local h_IO, w_IO = 18, Render.CalcTextSize(text_IO, FS, verdana).x + 8

        if (lua.watermark.el:Get(3) == true) then
            Render_BoxFilled(x_HZ - w_IO - 4, y_HZ, w_IO, h_IO, Color.RGBA(17, 17, 17, transp))
            Render_Text(x_HZ - w_IO, y_HZ + 2, false, text_IO, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
            Render_Histogram(x_HZ - w_IO - 7 + w_IE, y_HZ + 4, Color.RGBA(142, 165, 229, 255), Color.RGBA(142, 165, 229, 0), { [1] = R1, [2] = R2, [3] = R3, [4] = R4 })
        end

        local frames = 8 * GlobalVars.frametime
        local maximum_offset = 66

        local text = 'keybinds'
        local x, y = kb.xx:Get(), kb.yy:Get()

        local height_offset = 23
        local w, h = 75 + maximum_offset, 50

        if (lua.watermark.el:Get(5) == true) then


            local e = Cheat.GetBinds()
            for i = 0, #e do
                if #e > 0 or Cheat.IsMenuVisible() == true then
                    kb.global = kb.global + frames
                    if kb.global > 1 then
                        kb.global = 1
                    end
                elseif #e < 1 or Cheat.IsMenuVisible() == false then
                    kb.global = kb.global - frames
                    if kb.global < 0 then
                        kb.global = 0
                    end
                end
            end

            for f = 1, #e do
                local key_type = '[' .. bindt[e[f]:GetMode()] .. ']'
                if e[f]:IsActive() == true and kb.global > 0 then
                    kb.k[f] = kb.k[f] + frames
                    if kb.k[f] > 1 then
                        kb.k[f] = 1
                    end
                elseif e[f]:IsActive() == false or kb.global == 0 then
                    kb.k[f] = kb.k[f] - frames
                    if kb.k[f] < 0 then
                        kb.k[f] = 0
                    end
                end
                local bind_width = Render.CalcTextSize(e[f]:GetName(), FS, verdana).x
                if bind_width > 0 then
                    if bind_width > 75 then
                        maximum_offset = bind_width
                    end
                end
                Render_Text(x + 5, y + height_offset, false, e[f]:GetName(), Color.RGBA(255, 255, 255, math.floor(kb.k[f] * 255)), verdana, FS, math.floor(kb.k[f] * 120))
                Render_Text(x + (75 + kb.o) - Render.CalcTextSize(key_type, FS, verdana).x - 5, y + height_offset, false, key_type, Color.RGBA(255, 255, 255, math.floor(kb.k[f] * 255)), verdana, FS, math.floor(kb.k[f] * 120))
                height_offset = height_offset + 15

            end
            if kb.o ~= maximum_offset then
                if kb.o > maximum_offset then
                    kb.o = kb.o - 1.2
                end
                if kb.o < maximum_offset then
                    kb.o = kb.o + 1.2
                end
            end
            local to = math.max(66, kb.o)
            GradientBoxFilled(x, y, (75 + to), 2, lua.watermark.keybindstheme:Get(), lua.watermark.keybindstheme_custom:Get(), math.floor(kb.global * 255))
            Render_BoxFilled(x, y + 2, (75 + to), 18, Color.RGBA(17, 17, 17, math.floor(kb.global * transp)))

            Render_Text(x - Render.CalcTextSize(text, FS, verdana).x / 2 + (75 + to) / 2, y + 4, false, text, Color.RGBA(255, 255, 255, math.floor(kb.global * 255)), verdana, FS, math.floor(kb.global * 120))

            local mouse = Cheat.GetMousePos()
            if (Cheat.IsKeyDown(1) and Cheat.IsMenuVisible()) then
                if (mouse.x > kb.xx:Get() and mouse.y > kb.yy:Get() and mouse.x < kb.xx:Get() + to + 75 and mouse.y < kb.yy:Get() + 20 or kb.drag == true) then
                    if (not kb.drag) then
                        kb.drag = true
                    else
                        kb.xx:Set(math.floor(mouse.x - (to + 75) / 2))
                        kb.yy:Set(mouse.y - 10)
                    end
                end
            else
                kb.drag = false
            end
        end

    end
end

Cheat.RegisterCallback('registered_shot', function(shot)
    shot1(shot)
    if shot.reason == 0 then hitted = hitted + 1 end
    reg_shot = reg_shot + 1

    logs.logs.num = logs.logs.num + 1
    local tidx = shot.target_index
    local player = EntityList.GetClientEntity(tidx)
    if not player then return end
    player = player:GetPlayer()

    if shot.reason == 0 then
        table.insert(logs.logs.stuff,{text = '[' .. logs.logs.num .. '] Hit ' .. player:GetName() .. "'s  " .. logs.logs.hitgroups[math_lib.clamp(shot.hitgroup,0,10)] .. ' for ' .. shot.damage .. '(' .. shot.wanted_damage.. ') (' .. math_lib.clamp(player:GetProp('m_iHealth')-shot.damage,0,100)  .. ' remaining) aimed=' .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.hitchance ..'%) BT=' .. shot.backtrack  ,time = GlobalVars.realtime})
        print( '[' .. logs.logs.num .. '] Hit ' .. player:GetName() .. "'s  " .. logs.logs.hitgroups[math_lib.clamp(shot.hitgroup,0,10)] .. ' for ' .. shot.damage .. '(' .. shot.wanted_damage.. ') (' .. math_lib.clamp(player:GetProp('m_iHealth')-shot.damage,0,100)  .. ' remaining) aimed=' .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.hitchance ..'%) BT=' .. shot.backtrack)
    else
        table.insert(logs.logs.stuff,{text = '[' .. logs.logs.num .. '] Missed ' .. player:GetName() .. "'s " .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.wanted_damage ..') (' .. shot.hitchance .. '%) due to ' .. logs.logs.reason[shot.reason] .. ':' .. string.format('%.3f°',shot.spread_degree) .. ', BT=' .. shot.backtrack,time = GlobalVars.realtime})
        print('[' .. logs.logs.num .. '] Missed ' .. player:GetName() .. "'s " .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.wanted_damage ..') (' .. shot.hitchance .. '%) due to ' .. logs.logs.reason[shot.reason] .. ':' .. string.format('%.3f°',shot.spread_degree) .. ', BT=' .. shot.backtrack)
    end
end)

local calcDist = function(pos1, pos2)
    local lx = pos1.x
    local ly = pos1.y
    local lz = pos1.z
    local tx = pos2.x
    local ty = pos2.y
    local tz = pos2.z
    local dx = lx - tx
    local dy = ly - ty
    local dz = lz - tz
    return math.sqrt(dx * dx + dy * dy + dz * dz);
end

local normalize_yaw = function(yaw)
    while yaw > 180 do yaw = yaw - 360 end
    while yaw < -180 do yaw = yaw + 360 end
    return yaw
end



--binds

local dmg = 0
local HC = Menu.FindVar("Aimbot","Ragebot","Accuracy","Hit Chance")
local DMG = Menu.FindVar("Aimbot","Ragebot","Accuracy","Minimum Damage")
local AW = Menu.FindVar("Aimbot","Ragebot","Accuracy","Autowall")
local FOV = Menu.FindVar("Aimbot","Ragebot","Main","FOV")
local BA = Menu.FindVar("Aimbot","Ragebot","Misc","Body Aim")
local SP = Menu.FindVar("Aimbot","Ragebot","Misc","Safe Points")
local DT = Menu.FindVar("Aimbot","Ragebot","Exploits","Double Tap")
local SW = Menu.FindVar("Aimbot","Anti Aim","Misc","Slow Walk")
local HS = Menu.FindVar("Aimbot","Ragebot","Exploits","Hide Shots")
local YAW = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local PING = Menu.FindVar("Miscellaneous", "Main", "Other", "Fake Ping")
local FD = Menu.FindVar("Aimbot","Anti Aim","Misc","Fake Duck")
local slowwalk = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Slow Walk");
local legmove = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement");
local yawadd = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add");
local yawmodifier = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Modifier");
local modefierdegree = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree");
local inverted = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Inverter");
local fakel = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Left Limit");
local faker = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Right Limit");
local fakeop = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Fake Options");
local desyn = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Desync On Shot")
local lbymode = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "LBY Mode")
local freestd = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Freestanding Desync")
local isMD = Menu.FindVar("Aimbot","Ragebot","Accuracy","Minimum Damage")
local isBA = Menu.FindVar("Aimbot","Ragebot","Misc","Body Aim")
local isSP = Menu.FindVar("Aimbot","Ragebot","Misc","Safe Points")
local isDT = Menu.FindVar("Aimbot","Ragebot","Exploits","Double Tap")
local isAP = Menu.FindVar("Miscellaneous","Main","Movement","Auto Peek")
local isSW = Menu.FindVar("Aimbot","Anti Aim","Misc","Slow Walk")
local isHS = Menu.FindVar("Aimbot","Ragebot","Exploits","Hide Shots")
local yaw_base = Menu.FindVar("Aimbot","Anti Aim","Main","Yaw Base")
local function indicators()
 local lpgraph = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if lpgraph == nil then return end
    
    local x, y = EngineClient.GetScreenSize().x, EngineClient.GetScreenSize().y

    INetChannelInfoB = ffi.cast('void***', get_net_channel_info(ivengineclient))
    server_var = GetNetFramerate(INetChannelInfoB)
    local ping = math.floor(EngineClient.GetNetChannelInfo():GetLatency(0)*1000)

    if ct + 0.1 < GlobalVars.curtime then
        ct = GlobalVars.curtime
        fps = math.floor(1 / GlobalVars.frametime)
    end

    local var_color = function()
        if server_var > 16 then
            clr = Color.RGBA(255, 60, 80)
        elseif server_var > 8 then
            clr = Color.RGBA(255, 222, 0)
        else
            clr = Color.RGBA(159, 202, 43)
        end
        return clr
    end

    local ping_color = function()
        if ping < 40 then
            clr = Color.RGBA(159, 202, 43)
        elseif ping < 100 then
            clr = Color.RGBA(255, 222, 0)
        else
            clr = Color.RGBA(255, 60, 80)
        end
        return clr
    end

    local fps_color = function()
        if fps < 100 then
            clr = Color.RGBA(255, 60, 80)
        else
            clr = Color.RGBA(159, 202, 43)
        end
        return clr
    end

    local Render_Block = function(text, text2, color, color2, xane)
        ts = Render.CalcTextSize("66", 12, font.verdana)
        ts1 = Render.CalcTextSize(text, 12, font.pixel)
        ts2 = Render.CalcTextSize(text2, 10, font.pixel)

        Render.Text(text, Vector2.new(x/2-ts1.x+27-xane*16, y-(ts.y+7)+1), Color.RGBA(0, 0, 0, 255), 12, font.verdana)
        Render.Text(text, Vector2.new(x/2-ts1.x+26-xane*16, y-(ts.y+7)), color, 12, font.verdana)
        Render.Text(text2, Vector2.new(x/2+26-xane*16, y-(ts2.y+7)), color2, 10, font.pixel, true)
    end
if netgraphcheck:GetBool() then
    --background
    Render.GradientBoxFilled(Vector2.new(x/2-275, y), Vector2.new(x/2, y-25), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130))
    Render.GradientBoxFilled(Vector2.new(x/2, y), Vector2.new(x/2+275, y-25), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10))

    --render
    Render_Block(string.format('%.f', server_var/2), " VAR", var_color(), Color.RGBA(255, 255, 255, 255), 0)
    Render_Block(tostring(velocity(lpgraph)), " SPEED", Color.RGBA(255, 255, 255, 255), Color.RGBA(255, 255, 255, 255), -5)
    Render_Block(tostring(fps), " FPS", fps_color(), Color.RGBA(255, 255, 255, 255), 5)
    Render_Block(tostring(ping), " PING", ping_color(), Color.RGBA(255, 255, 255, 255), 10)
end
    local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if not lp then return end
    
    local delta_to_draw = math.abs(normalize_yaw(AntiAim.GetCurrentRealRotation() % 360 - AntiAim.GetFakeRotation() % 360)) / 2

    local chocking, invert, fake = ClientState.m_choked_commands, AntiAim.GetInverterState() == false, string.format("%.1f", delta_to_draw)

    local sc = EngineClient.GetScreenSize()
    local x, y = sc.x/100 + 2, sc.y/1.48 - 5
    local ay = 0
    local binds = Cheat.GetBinds()
    local dmg = false
    local hc = false
    local da = false
    for i = 1, #binds do
        local bind = binds[i]
        if bind:GetName() == 'Minimum Damage' and bind:IsActive() then
            dmg = true
            cur_dmg = bind:GetValue()
        end
        if bind:GetName() == 'Hit Chance' and bind:IsActive() then
            hc = true
            cur_hc = bind:GetValue()
        end
        if bind:GetName() == 'Dormant Aimbot' and bind:IsActive() then
            da = true
        end
    end

    local Render_Indicators = function(text, ay, color, size, fonts)
        ts = Render.CalcTextSize(text, size, fonts)
        Render.GradientBoxFilled(Vector2.new(13, y + ay), Vector2.new(13 + (ts.x) / 2, y + ay + 28), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65))
        Render.GradientBoxFilled(Vector2.new(13 + (ts.x) / 2, y + ay), Vector2.new(13 + (ts.x), y + ay + 28), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0))
        Render.Text(text, Vector2.new(x, y + 5 + ay), Color.new(0, 0, 0, 255), size, fonts)
        Render.Text(text, Vector2.new(x, y + 4 + ay), color, size, fonts)
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(1) and lp:GetPlayer():IsAlive() then
        text = {"DSY", "FAKE", "AA"}
        id = fake_style:GetInt()+1
        ts = Render.CalcTextSize(text[id], 22, font.calibrib)
        clr = Color.RGBA(math.floor(255 - (fake * 2.29824561404)), math.floor(fake * 3.42105263158), math.floor(fake * 0.22807017543), 255)
        Render_Indicators(text[id], ay, clr, 22, font.calibrib)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(0, 0, 0, 255), 5, 0, 365)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, clr, 4, 0, (fake/60)*360)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(2) and lp:GetPlayer():IsAlive() then
        text = {chocking, "FL"}
        id = fl_style:GetInt()+1
        ts = Render.CalcTextSize(tostring(text[id]), 22, font.calibrib)
        Render_Indicators(tostring(text[id]), ay, Color.RGBA(135, 147, 255, 255), 22, font.calibrib)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(0, 0, 0, 255), 5, 0, 365)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(135, 147, 255, 255), 4, 0, (chocking/14)*360)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(3) and lp:GetPlayer():IsAlive() then
        ts = Render.CalcTextSize("AA", 22, font.calibrib)
        clr = Color.new(aa_color:GetColor().r, aa_color:GetColor().g, aa_color:GetColor().b, 1)
        Render_Indicators("AA", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        Render.BoxFilled(Vector2.new(x, y + ts.y + ay - 1), Vector2.new(x + ts.x, y + 4 + ts.y + ay), Color.RGBA(0, 0, 0, 255))
        Render.BoxFilled(invert and Vector2.new(x+ts.x/2, y+ts.y+ay) or Vector2.new(x+ts.x/2-fake/4.4, y+ts.y+ay), invert and Vector2.new(x+ts.x/2+fake/4.4, y+3+ts.y+ay) or Vector2.new(x+ts.x/2, y+3+ts.y+ay), clr)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(4) and lp:GetPlayer():IsAlive() then
        local percent = hitted > 0 and reg_shot > 0 and (hitted/reg_shot)*100 or 100
        local miss = reg_shot-hitted
        text = {hitted.." / "..reg_shot.." ("..string.format("%.1f", percent)..")", miss.."/"..math.floor(percent).."%", hitted.." / "..reg_shot.." = "..math.floor(percent).."%"}
        id = hit_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        if hit_style:GetInt() == 2 then
            ay = ay - 35
            Render_Indicators("hit: "..hitted, ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
            ay = ay - 35
            Render_Indicators("miss: "..miss, ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        end
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(5) and lp:GetPlayer():IsAlive() then
        if chocking < OldChoke then
            toDraw0 = toDraw1
            toDraw1 = toDraw2
            toDraw2 = toDraw3
            toDraw3 = toDraw4
            toDraw4 = OldChoke
        end
        OldChoke = chocking
        Render_Indicators(string.format('%i-%i-%i-%i-%i',toDraw4,toDraw3,toDraw2,toDraw1,toDraw0), ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(6) and lp:GetPlayer():IsAlive() then
        Render_Indicators("FOV: "..FOV:GetInt().."°", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(7) and lp:GetPlayer():IsAlive() then
        Render_Indicators("AW", ay, AW:GetBool() and Color.RGBA(132, 195, 16, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lp:GetProp("m_bInBuyZone") and lua.watermark.enablevis:GetBool() and indi:GetBool(8) and lp:GetPlayer():IsAlive() then
        Render_Indicators("BUY", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        Render.Text("YOU HAVE: "..lp:GetProp("m_iAccount"), Vector2.new(x-8, y + 20 + ay), Color.RGBA(235 ,235, 235, 255), 9, font.pixel9, true)
        ay = ay - 35
    end

    if BA:GetInt() == 2 and lua.watermark.enablevis:GetBool()  and indi:GetBool(9) then
        text = {"BODY", "BAIM", "FB", "BA"}
        id = ba_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if SP:GetInt() == 2 and lua.watermark.enablevis:GetBool()  and indi:GetBool(10) then
        text = {"SAFE", "SP"}
        id = sp_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(11) then
        if dmg == true or dmgs:GetBool() then
            if dmgs:GetBool() then dmg_val = DMG:GetInt() else dmg_val = cur_dmg end
            dmg_val = math.floor(dmg_val)
            text = {"Damage: " .. dmg_val, "DMG: " .. dmg_val, "DMG", dmg_val, dmg_val < 101 and ": "..dmg_val or ": HP+"..(dmg_val-100)}
            clr = {Color.RGBA(235, 235, 235, 255), Color.RGBA(255, 255, 255, 150), Color.RGBA(132, 195, 16, 255), Color.RGBA(235, 235, 235, 255), Color.RGBA(80, 255, 80, 255)}
            id = dmg_style:GetInt()+1
            Render_Indicators(tostring(text[id]), ay, clr[id], 22, font.calibrib)
            ay = ay - 35
        end
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(12) then
        if hc == true or hcs:GetBool() then
            if hcs:GetBool() then hc_val = HC:GetInt() else hc_val = cur_hc end
            hc_val = math.floor(hc_val)
            text = {"Hitchance: " .. hc_val, "HC: " .. hc_val, "HC", hc_val, ": "..hc_val.."%"}
            clr = {Color.RGBA(235, 235, 235, 255), Color.RGBA(200, 185, 255, 255), Color.RGBA(132, 195, 16, 255), Color.RGBA(235, 235, 235, 255), Color.RGBA(80, 255, 80, 255)}
            id = hc_style:GetInt()+1
            Render_Indicators(tostring(text[id]), ay, clr[id], 22, font.calibrib)
            ay = ay - 35
        end
    end

    if YAW:GetInt() == 5 and lua.watermark.enablevis:GetBool()  and indi:GetBool(13) then
        text = {"FREESTAND", "FS"}
        id = fs_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if YAW:GetInt() == 4 and lua.watermark.enablevis:GetBool()  and indi:GetBool(14) then
        Render_Indicators("AT", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if HS:GetBool() and lua.watermark.enablevis:GetBool()  and indi:GetBool(15) then
        text = {"ONSHOT", "HS", "OSAA", "HIDE"}
        id = hs_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if da == true and lua.watermark.enablevis:GetBool()  and indi:GetBool(16) or da_style:GetBool() and lua.watermark.enablevis:GetBool() and indi:GetBool(16) then
        Render_Indicators("DA", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end   

    if PING:GetInt() > 0 and lua.watermark.enablevis:GetBool()  and indi:GetBool(17) then
        INetChannelInfo = EngineClient.GetNetChannelInfo()
        net_channel = GetNetChannel(INetChannelInfo)
        outgoing, incoming = net_channel.latency.crn(0), net_channel.latency.crn(1)
        ping = math.max(0, (incoming-outgoing)*1000)
        Render_Indicators("PING", ay, Color.RGBA(math.floor(255 - ((ping / 189 * 60) * 2.29824561404)), math.floor((ping / 189 * 60) * 3.42105263158), math.floor((ping / 189 * 60) * 0.22807017543), 255), 22, font.calibrib)
        ay = ay - 35
    end

    if bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) == 0 and lua.watermark.enablevis:GetBool()  and indi:GetBool(18) and lp:GetPlayer():IsAlive() then 
        Render_Indicators("LC", ay, DT:GetBool() and Exploits.GetCharge() == 1 and Color.RGBA(255, 0, 0, 255) or velocity(lp)/chocking >= 20.84 and Color.RGBA(132, 195, 16, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end 

    if FD:GetBool() and lua.watermark.enablevis:GetBool()  and indi:GetBool(19) then
        Render_Indicators("DUCK", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(20) then
        local c4 = EntityList.GetEntitiesByClassID(129)[1];
        if c4 ~= nil then
            local time = ((c4:GetProp("m_flC4Blow") - GlobalVars.curtime)*10) / 10
            local timer = string.format("%.1f", time)
            local defused = c4:GetProp("m_bBombDefused")
            if math.floor(timer) > 0 and not defused then
                local defusestart = c4:GetProp("m_hBombDefuser") ~= 4294967295
                local defuselength = c4:GetProp("m_flDefuseLength")
                local defusetimer = defusestart and math.floor((c4:GetProp("m_flDefuseCountDown") - GlobalVars.curtime)*10) / 10 or -1
                if defusetimer > 0 then
                    local color = math.floor(timer) > defusetimer and Color.RGBA(58, 191, 54, 160) or Color.RGBA(252, 18, 19, 125)
                    
                    local barlength = (((sc.y - 50) / defuselength) * (defusetimer))
                    Render.BoxFilled(Vector2.new(0.0, 0.0), Vector2.new(16, sc.y), Color.RGBA(25, 25, 25, 160))
                    Render.Box(Vector2.new(0.0, 0.0), Vector2.new(16, sc.y), Color.RGBA(25, 25, 25, 160))
                    
                    Render.BoxFilled(Vector2.new(0, sc.y - barlength), Vector2.new(16, sc.y), color)
                end
                
                local bombsite = c4:GetProp("m_nBombSite") == 0 and "A" or "B"
                local health = lp:GetProp("m_iHealth")
                local armor = lp:GetProp("m_ArmorValue")
                local willKill = false
                local eLoc = c4:GetProp("m_vecOrigin")
                local lLoc = lp:GetProp("m_vecOrigin")
                local distance = calcDist(eLoc, lLoc)
                local a = 450.7
                local b = 75.68
                local c = 789.2
                local d = (distance - b) / c;

                local damage = a * math.exp(-d * d)
                if armor > 0 then
                    local newDmg = damage * 0.5;
    
                    local armorDmg = (damage - newDmg) * 0.5
                    if armorDmg > armor then
                        armor = armor * (1 / .5)
                        newDmg = damage - armorDmg
                    end
                    damage = newDmg;
                end
                local dmg = math.ceil(damage)
                    if dmg >= health then
                    willKill = true
                else
                    willKill = false
                end
                Render_Indicators(bombsite.." - "..string.format("%.1f", timer).."s", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
                ay = ay - 35
                if lp then
                    if willKill == true then
                        Render_Indicators("FATAL", ay, Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
                        ay = ay - 35
                    elseif damage > 0.5 then
                        Render_Indicators("-"..dmg.." HP", ay, Color.RGBA(210, 216, 112, 255), 22, font.calibrib)
                        ay = ay - 35
                    end
                end
            end
        end
        if planting then
            Render_Indicators(planting_site, ay, Color.RGBA(210, 216, 112, 255), 22, font.calibrib)
            fill = 3.125 - (3.125 + on_plant_time - GlobalVars.curtime)
            if(fill > 3.125) then
                fill = 3.125
            end
            ts = Render.CalcTextSize(planting_site, 22, font.calibrib)
            Render.Circle(Vector2.new(x + ts.x+18, y+ay+ts.y/2+3), 8, 32, Color.RGBA(0, 0, 0, 255), 4, 0, 360)
            Render.Circle(Vector2.new(x + ts.x+18, y+ay+ts.y/2+3), 8, 32, Color.RGBA(235 ,235, 235, 255), 3, 0, (fill/3.3)*360)
            ay = ay - 35
        end
    end       
        
    if DT:GetBool() and lua.watermark.enablevis:GetBool() and indi:GetBool(21) then
        Render_Indicators("DT", ay, Exploits.GetCharge() == 1 and Color.RGBA(235 ,235, 235, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end
end

local verdana2 = Render.InitFont("Verdana", 10 * 1.1)
    local gdmggind = Menu.Switch("Visuals", "Damage Indicator", false, "Tooltip")
local min_gdmgind = Menu.Combo("Visuals", "Damage Style", {"Rigth Top", "Left Top", "Top", "Down", "Right under crosshair"}, 0, "")
function dmgdraw()
local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if lp == nil then return end
    if not EngineClient.IsConnected() then return end
    if lp:GetProp("m_iHealth") > 0 then
  local min_gdmg = Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Minimum Damage"):GetInt()
    local gdmg = '' .. min_gdmg

    if gdmggind :GetBool() then
if min_gdmgind:GetInt() == 0 then
    Render.Text(gdmg , Vector2.new(243 * 4, 529), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 1 then
    Render.Text(gdmg , Vector2.new(232 * 4, 529), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 2 then
         Render.Text(gdmg , Vector2.new(238.8 * 4, 520), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 3 then
    Render.Text(gdmg , Vector2.new(238.9 * 4, 548), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
        else
if min_gdmgind:GetInt() == 4 then
    Render.Text(gdmg , Vector2.new(240.7 * 4, 540), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
end
end
end
end
end end
end
end
function killaura()
    local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if not lp then return end
    if lp:GetProp("m_iHealth") > 0 then
        local r = math.floor(color:GetColor().r*255)
        local g = math.floor(color:GetColor().g*255)
        local b = math.floor(color:GetColor().b*255)
        local charge = math.min(math.floor(math.sin((Exploits.GetCharge()%2) * 1) * 122), 100)
        local x = EngineClient.GetScreenSize().x
        local y = EngineClient.GetScreenSize().y
        local ay = 19
        local dmg = false
        local binds = Cheat.GetBinds()
        for i = 1, #binds do
            local bind = binds[i]
            if bind:GetName() == 'Minimum Damage' then
                dmg = true
            end
        end

        --Render Indicators
        local Render_Indicator = function(text, ay2, color, size, font, outline, sas)
            local ts = Render.CalcTextSize(text, size, font)
            Render.Text(text, Vector2.new(x/2-ts.x/2 - sas, y/2+ay2), color, size, font, outline)
        end
        if color:GetBool() then
        --render
        sz = Render.CalcTextSize("killaura", 12, font.verdanabd)
        Render_Indicator("kill", ay, AntiAim.GetInverterState() == true and Color.RGBA(r, g, b, 255) or Color.RGBA(255, 255, 255, 255), 11, font.verdanabd, true, sz.x/4)
        Render_Indicator("aura°", ay, AntiAim.GetInverterState() == false and Color.RGBA(r, g, b, 255) or Color.RGBA(255, 255, 255, 255), 11, font.verdanabd, true, -sz.x/4-1)
        ay = ay + 2

        if HS:GetBool() then
            ay = ay + 9
            if hs_anim < 255 then hs_anim = hs_anim + 15 end
        else
            if hs_anim > 0 then hs_anim = 0 end
        end
        Render_Indicator("HS", ay+(hs_anim/35)-7, Color.RGBA(r, g, b, hs_anim), 10, font.pixel, true, 0)

        if dmg == true then
            ay = ay + 9
            if md_anim < 255 then md_anim = md_anim + 15 end
        else
            if md_anim > 0 then md_anim = 0 end
        end
        Render_Indicator("DMG", ay+(md_anim/35)-7, Color.RGBA(r, g, b, md_anim), 10, font.pixel, true, 0)

        if DT:GetBool() then
            ay = ay + 9
            if dt_anim < 255 then dt_anim = dt_anim + 15 end
        else
            if dt_anim > 0 then dt_anim = 0 end
        end
        Render_Indicator("DT", ay+(dt_anim/35)-7, Exploits.GetCharge() == 1 and Color.RGBA(r, g, b, dt_anim) or Color.RGBA(255, 80, 80, dt_anim), 10, font.pixel, true, 0)

        if FD:GetBool() then
            ay = ay + 9
            if fd_anim < 255 then fd_anim = fd_anim + 15 end
        else
            if fd_anim > 0 then fd_anim = 0 end
        end
        Render_Indicator("FD", ay+(fd_anim/35)-7, Color.RGBA(r, g, b, fd_anim), 10, font.pixel, true, 0)


        if SP:GetInt() == 2 then
            ay = ay + 9
            if sp_anim < 255 then sp_anim = sp_anim + 15 end
        else
            if sp_anim > 0 then sp_anim = 0 end
        end
        Render_Indicator("SP", ay+(sp_anim/35)-7, Color.RGBA(r, g, b, sp_anim), 10, font.pixel, true, 0)
    end
end
end
function speclist()
      local spectators = {}
        local players = EntityList.GetPlayers()
    if not players then return end
        local lp = EntityList.GetLocalPlayer()

        for _, v in pairs(players) do
            if not v:IsDormant() and v:GetProp("m_iHealth") < 1 then
                local target = EntityList.GetPlayerFromHandle(v:GetProp("m_hObserverTarget"))

                if target == lp then
                    spectators[#spectators + 1] = { name = v:GetName() }
                end
            end
        end

    for i = 0, #spectators do
        if a3:GetBool() then
        if spectators[i] ~= nil then
        Render.Text(spectators[i].name,Vector2.new(EngineClient.GetScreenSize().x-Render.CalcTextSize(spectators[i].name,11,fontspec).x-2,0-10+12*i),Color.RGBA(255,255,255,255),11,fontspec,true,false)

        end


end
    end


    end
function legfucker(cmd)

    if gui.legbreaker:GetBool() then
        Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement"):SetInt(ClientState.m_choked_commands == 0 and 1 or 2)
    end
end

local sv_maxusrcmdprocessticks = CVar.FindVar("sv_maxusrcmdprocessticks")
Cheat.RegisterCallback("prediction", function()
    if gui.doubletap:GetBool() then
        Exploits.OverrideDoubleTapSpeed(16)
        sv_maxusrcmdprocessticks:SetInt(17)
    end
    legfucker(cmd)
    edgeyaw(UserCmd)
    local local_player = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
    is_alive = local_player:GetProp("DT_BasePlayer", "m_iHealth") > 0
    if not is_alive then return end
    local active_weapon = local_player:GetActiveWeapon()
    if active_weapon == nil then return end
    local weapon_id = active_weapon:GetWeaponID()
    local players = EntityList.GetPlayers()
    local not_scoped = active_weapon:GetProp("m_zoomLevel") == 0
if gui.checkns:GetBool() then
    for _, player in ipairs(players) do
        if not player:IsTeamMate() then
            local user_index = player:EntIndex()
            if weapon_id == 40 and not_scoped then -- scout noscope hc
                RageBot.OverrideHitchance(user_index, gui.scout_noscope_hc:GetInt())
            end

            if weapon_id == 11 or weapon_id == 38 and not_scoped then -- auto noscope hc
                RageBot.OverrideHitchance(user_index, gui.auto_noscope_hc:GetInt())
            end
        end
    end
end
    local local_player = EntityList.GetLocalPlayer()
    for _, player in pairs(EntityList.GetPlayers()) do
        if (not player:IsTeamMate() and player:IsAlive()) then
            
            local enemy = player:GetPlayer()
            local trace = Cheat.FireBullet(local_player, local_player:GetEyePosition(), enemy:GetEyePosition())
            if trace.damage > 0 then
                if gui.cross:GetBool() then
                 Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):SetBool(false)
            end
        end
    end
end

local lp = EntityList:GetLocalPlayer()
local bOnGround = bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) ~= 0
local Crouch = bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(2, 0)) ~= 0
local speed2 = Vector.new(lp:GetProp("m_vecVelocity[0]"), lp:GetProp("m_vecVelocity[1]"), lp:GetProp("m_vecVelocity[2]")):Length2D()
    local neverloset = c:Get()
if neverloset then
        if speed2 < 3 then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.syaw2:Get())
        else
            yawadd:Set(antiaim.syaw:Get())
        end
            fakel:Set(antiaim.sleft:Get())
            faker:Set(antiaim.sright:Get())
            fakeop:Set(antiaim.sfkopt:Get())
            lbymode:Set(antiaim.slby:Get())     
            freestd:Set(antiaim.sfr:Get())
            desyn:Set(antiaim.sdes:Get()) 
            modefierdegree:Set(antiaim.smod:Get()) 
            yawmodifier:Set(antiaim.sdeg:Get()) 
        end
        if speed2 > 100 then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.wyaw2:Get())
        else
            yawadd:Set(antiaim.wyaw:Get())
        end
            fakel:Set(antiaim.wleft:Get())
            faker:Set(antiaim.wright:Get())
            fakeop:Set(antiaim.wfkopt:Get())
            lbymode:Set(antiaim.wlby:Get())     
            freestd:Set(antiaim.wfr:Get())
            desyn:Set(antiaim.wdes:Get()) 
            modefierdegree:Set(antiaim.wmod:Get()) 
            yawmodifier:Set(antiaim.wdeg:Get())
            
        end
        if slowwalk:Get() then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.swyaw2:Get())
        else
            yawadd:Set(antiaim.swyaw:Get())
        end
            fakel:Set(antiaim.swleft:Get())
            faker:Set(antiaim.swright:Get())
            fakeop:Set(antiaim.swfkopt:Get())
            lbymode:Set(antiaim.swlby:Get())       
            freestd:Set(antiaim.swfr:Get())
            desyn:Set(antiaim.swdes:Get()) 
            modefierdegree:Set(antiaim.swmod:Get()) 
            yawmodifier:Set(antiaim.swdeg:Get())
        end
        if not bOnGround then
            if Cheat.IsKeyDown(0x20) or Cheat.IsKeyDown(0x20 and 0x11) then
             if inverted:GetBool() == true then
            yawadd:Set(antiaim.ayaw2:Get())
      else
            yawadd:Set(antiaim.ayaw:Get())
      end
            fakel:Set(antiaim.aleft:Get())
            faker:Set(antiaim.aright:Get())
            fakeop:Set(antiaim.afkopt:Get())
            lbymode:Set(antiaim.alby:Get())     
            freestd:Set(antiaim.afr:Get())
            desyn:Set(antiaim.ades:Get())   
            modefierdegree:Set(antiaim.amod:Get()) 
            yawmodifier:Set(antiaim.adeg:Get())
        end
    end
        if Crouch and bOnGround then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.cyaw2:Get())
    else
            yawadd:Set(antiaim.cyaw:Get())
    end
            fakel:Set(antiaim.cleft:Get())
            faker:Set(antiaim.cright:Get())
            fakeop:Set(antiaim.cfkopt:Get())
            lbymode:Set(antiaim.clby:Get())     
            freestd:Set(antiaim.cfr:Get())
            desyn:Set(antiaim.cdes:Get())   
            modefierdegree:Set(antiaim.cmod:Get()) 
            yawmodifier:Set(antiaim.cdeg:Get())
        end
end
end)
local phrases = {
    "1 свинья йоабана",
   "портфель в школу собрал?",
   "сходи покури, смотри что бы мама не увидела",
   "заебись чел, падаешь как биткоин",
   "1 для токсиков, так что скажу что ты сын шлюхи",
   "killaura.lua on the best",
   "она сосёт мне, ты знаешь кт)",
   "owned by ivanzolo2004",
  "кто такой Zabolotny?",
"1 йоханс бобанс",
"я тебя убил как твою мать в казахстане",
"1",
"слишком хуёвый",
"рофл, прикольчик, приколдесс",
"ты , сын будильника, пошел нахуй",
"как такой сочник смог кнопку нажать?",
"own you, cant reply",
"тебя st1vaho не знает",
"переебал тапком как таракана",
"by killaura.lua",
"я не дотер, но крипа зафармил",
"тебе стоит прикупить конфиг у кимбора",
"тебе стоит посмотреть nolove",
"я бы с таким уровнем игры не жил...",
"я бы тебе посоветовал купить луашку, https://neverlose.cc/market/item?id=J0NjRE:",
"не хочешь посмотреть rayzen? там ты увидишь идеальный fov",
"бля чел ты умер от подножки йобаный рот",
"вот ты сперматозик такой масюсенький",
"pm me in skeet fucking nigga 818 UID",
"l2p dog ezz",
"сын биткоина, ты упал",
"фу нахуй немыщный далбаеб какой ты хуёвый",
"почему у тебя мать дохлая валяется?",
"ну как ты умер почему в такой ситуации ты можешь умереть сын шлюхи",
"бля ты как отец твой, вроде есть, но вроде ушел...",
"tapped dog",
"ты бездарность всего hvh",
"фу блять иди чит купи нормальный",
}
local function get_phrase()
    return phrases[Utils.RandomInt(1, #phrases)]:gsub('\"', '')
end

Cheat.RegisterCallback("events", function(event)
    if event:GetName() ~= "player_hurt" then
        return
    end
    local localplayer = EntityList.GetLocalPlayer()
    local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))
   if gui.hitsound:Get() then
    if attacker == localplayer then
        EngineClient.ExecuteClientCmd(string.format("playvol %s %s", gui.dir:Get(), gui.vol:Get()))
    end
end
local player_resource = EntityList.GetPlayerResource()
    if event:GetName() == "bomb_abortplant" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "bomb_defused" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "bomb_planted" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "round_prestart" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    
    if event:GetName() == "bomb_beginplant" then
        on_plant_time = GlobalVars.curtime
        planting = true
        local m_bombsiteCenterA = player_resource:GetProp("DT_CSPlayerResource", "m_bombsiteCenterA")
        local m_bombsiteCenterB = player_resource:GetProp("DT_CSPlayerResource", "m_bombsiteCenterB")
        
        local player = EntityList.GetPlayerForUserID(e:GetInt("userid", 0))
        local localPos = player:GetRenderOrigin()
        local dist_to_a = localPos:DistTo(m_bombsiteCenterA)
        local dist_to_b = localPos:DistTo(m_bombsiteCenterB)
        
        planting_site = dist_to_a < dist_to_b and "Bombsite A" or "Bombsite B"
    end
if gui.trashtalk:GetBool() then
    if event:GetName() ~= "player_death" then return end

    local me = EntityList.GetLocalPlayer()
    local victim = EntityList.GetPlayerForUserID(event:GetInt("userid"))
    local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))

    if victim == attacker or attacker ~= me then return end

    EngineClient.ExecuteClientCmd('say "' .. get_phrase() .. '"')
end
end)

ffi.cdef [[
    typedef int(__thiscall* get_clipboard_text_count)(void*);
    typedef void(__thiscall* set_clipboard_text)(void*, const char*, int);
    typedef void(__thiscall* get_clipboard_text)(void*, int, const char*, int);
]]

local ffi_cast = ffi.cast
local VGUI_System = ffi_cast("void***", Utils.CreateInterface("vgui2.dll", "VGUI_System010"))
local get_clipboard_text_count = ffi_cast("get_clipboard_text_count", VGUI_System[0][7])
local set_clipboard_text = ffi_cast("set_clipboard_text", VGUI_System[0][9])
local get_clipboard_text = ffi_cast("get_clipboard_text", VGUI_System[0][11])

local function str_to_sub(input, sep)
    local t = {}
    for str in string.gmatch(input, "([^"..sep.."]+)") do
        t[#t + 1] = string.gsub(str, "\n", "")
    end
    return t
end

local function clipboard_import( )
      local clipboard_text_length = get_clipboard_text_count( VGUI_System )
    local clipboard_data = ""

    if clipboard_text_length > 0 then
        buffer = ffi.new("char[?]", clipboard_text_length)
        size = clipboard_text_length * ffi.sizeof("char[?]", clipboard_text_length)

        get_clipboard_text( VGUI_System, 0, buffer, size )

        clipboard_data = ffi.string( buffer, clipboard_text_length-1 )
    end
    return clipboard_data
end

local function clipboard_export(string)
    if string then
        set_clipboard_text(VGUI_System, string, string:len())
    end
end

local function temp()
    str = tostring(0) .. "|"
    .. tostring(1) .. "|"
    .. "false" .. "|"
    .. tostring(3) .. "|"

    clipboard_export(str)
    local tbl = str_to_sub(clipboard_import(), "|")

    for i = 1, #tbl do
        print(tbl[i])
    end
end
temp()
function bool_to_int(arg)
    return arg and "1" or "0"
end
function int_to_bool(arg)
    return arg == "1"
end

-- GETINT DLYA MULTI
-- GET PROSTO

function export()
    str = tostring(bool_to_int(gui.doubletap:Get())) .. "|"
    .. tostring(bool_to_int(gui.cross:Get())) .. "|"
    .. tostring(bool_to_int(gui.antidef:Get())) .. "|"
    .. tostring(bool_to_int(gui.checkns:Get())) .. "|"
    .. tostring(gui.scout_noscope_hc:Get()) .. "|"
    .. tostring(gui.auto_noscope_hc:Get()) .. "|"
    .. tostring(bool_to_int(gui.hitsound:Get())) .. "|"
    .. tostring(gui.dir:Get()) .. "|"
    .. tostring(gui.vol:Get()) .. "|"
    .. tostring(bool_to_int(gui.trashtalk:Get())) .. "|"
    .. tostring(bool_to_int(gui.legbreaker:Get())) .. "|"
    .. tostring(bool_to_int(c:Get())) .. "|"
    .. tostring(antiaim.syaw2:Get()) .. "|"
    .. tostring(antiaim.syaw:Get()) .. "|"
    .. tostring(antiaim.sdeg:Get()) .. "|"
    .. tostring(antiaim.smod:Get()) .. "|"
    .. tostring(antiaim.sfake:Get()) .. "|"
    .. tostring(antiaim.sleft:Get()) .. "|"
    .. tostring(antiaim.sright:Get()) .. "|"
    .. tostring(antiaim.sfkopt:GetInt()) .. "|"
    .. tostring(antiaim.slby:Get()) .. "|"
    .. tostring(antiaim.sfr:Get()) .. "|"
    .. tostring(antiaim.sdes:Get()) .. "|"

    .. tostring(antiaim.wyaw2:Get()) .. "|"
    .. tostring(antiaim.wyaw:Get()) .. "|"
    .. tostring(antiaim.wdeg:Get()) .. "|"
    .. tostring(antiaim.wmod:Get()) .. "|"
    .. tostring(antiaim.wfake:Get()) .. "|"
    .. tostring(antiaim.wleft:Get()) .. "|"
    .. tostring(antiaim.wright:Get()) .. "|"
    .. tostring(antiaim.wfkopt:GetInt()) .. "|"
    .. tostring(antiaim.wlby:Get()) .. "|"
    .. tostring(antiaim.wfr:Get()) .. "|"
    .. tostring(antiaim.wdes:Get()) .. "|"

    .. tostring(antiaim.swyaw2:Get()) .. "|"
    .. tostring(antiaim.swyaw:Get()) .. "|"
    .. tostring(antiaim.swdeg:Get()) .. "|"
    .. tostring(antiaim.swmod:Get()) .. "|"
    .. tostring(antiaim.swfake:Get()) .. "|"
    .. tostring(antiaim.swleft:Get()) .. "|"
    .. tostring(antiaim.swright:Get()) .. "|"
    .. tostring(antiaim.swfkopt:GetInt()) .. "|"
    .. tostring(antiaim.swlby:Get()) .. "|"
    .. tostring(antiaim.swfr:Get()) .. "|"
    .. tostring(antiaim.swdes:Get()) .. "|"

    .. tostring(antiaim.ayaw2:Get()) .. "|"
    .. tostring(antiaim.ayaw:Get()) .. "|"
    .. tostring(antiaim.adeg:Get()) .. "|"
    .. tostring(antiaim.amod:Get()) .. "|"
    .. tostring(antiaim.afake:Get()) .. "|"
    .. tostring(antiaim.aleft:Get()) .. "|"
    .. tostring(antiaim.aright:Get()) .. "|"
    .. tostring(antiaim.afkopt:GetInt()) .. "|"
    .. tostring(antiaim.alby:Get()) .. "|"
    .. tostring(antiaim.afr:Get()) .. "|"
    .. tostring(antiaim.ades:Get()) .. "|"   

    .. tostring(antiaim.cyaw2:Get()) .. "|"
    .. tostring(antiaim.cyaw:Get()) .. "|"
    .. tostring(antiaim.cdeg:Get()) .. "|"
    .. tostring(antiaim.cmod:Get()) .. "|"
    .. tostring(antiaim.cfake:Get()) .. "|"
    .. tostring(antiaim.cleft:Get()) .. "|"
    .. tostring(antiaim.cright:Get()) .. "|"
    .. tostring(antiaim.cfkopt:GetInt()) .. "|"
    .. tostring(antiaim.clby:Get()) .. "|"
    .. tostring(antiaim.cfr:Get()) .. "|"
    .. tostring(antiaim.cdes:Get()) .. "|"


    .. tostring(bool_to_int(antiaim.refEnabled:Get())) .. "|"
    .. tostring(bool_to_int(legitaa:Get())) .. "|"
    .. tostring(bool_to_int(at_target_on_legitAA:Get())) .. "|"



 clipboard_export(str)
end

function import()
   local tbl = str_to_sub(clipboard_import(), "|")
 gui.doubletap:Set(int_to_bool(tbl[1]))
    gui.cross:Set(int_to_bool(tbl[2]))
    gui.antidef:Set(int_to_bool(tbl[3]))
    gui.checkns:Set(int_to_bool(tbl[4]))
    gui.scout_noscope_hc:Set(tonumber(tbl[5]))
    gui.auto_noscope_hc:Set(tonumber(tbl[6]))
    gui.hitsound:Set(int_to_bool(tbl[7]))
    gui.dir:Set(tbl[8])
    gui.vol:Set(tonumber(tbl[9]))
    gui.trashtalk:Set(int_to_bool(tbl[10]))
    gui.legbreaker:Set(int_to_bool(tbl[11]))
    c:Set(int_to_bool(tbl[12]))
    antiaim.syaw2:Set(tonumber(tbl[13]))
    antiaim.syaw:Set(tonumber(tbl[14]))
    antiaim.sdeg:Set(tonumber(tbl[15]))
    antiaim.smod:Set(tonumber(tbl[16]))
    antiaim.sfake:Set(tonumber(tbl[17]))
    antiaim.sleft:Set(tonumber(tbl[18]))
    antiaim.sright:Set(tonumber(tbl[19]))
    antiaim.sfkopt:Set(tonumber(tbl[20]))
    antiaim.slby:Set(tonumber(tbl[21]))
    antiaim.sfr:Set(tonumber(tbl[22]))
    antiaim.sdes:Set(tonumber(tbl[23]))

    antiaim.wyaw2:Set(tonumber(tbl[24]))
    antiaim.wyaw:Set(tonumber(tbl[25]))
    antiaim.wdeg:Set(tonumber(tbl[26]))
    antiaim.wmod:Set(tonumber(tbl[27]))
    antiaim.wfake:Set(tonumber(tbl[28]))
    antiaim.wleft:Set(tonumber(tbl[29]))
    antiaim.wright:Set(tonumber(tbl[30]))
    antiaim.wfkopt:Set(tonumber(tbl[31]))
    antiaim.wlby:Set(tonumber(tbl[32]))
    antiaim.wfr:Set(tonumber(tbl[33]))
    antiaim.wdes:Set(tonumber(tbl[34]))

    antiaim.swyaw2:Set(tonumber(tbl[35]))
    antiaim.swyaw:Set(tonumber(tbl[36]))
    antiaim.swdeg:Set(tonumber(tbl[37]))
    antiaim.swmod:Set(tonumber(tbl[38]))
    antiaim.swfake:Set(tonumber(tbl[39]))
    antiaim.swleft:Set(tonumber(tbl[40]))
    antiaim.swright:Set(tonumber(tbl[41]))
    antiaim.swfkopt:Set(tonumber(tbl[42]))
    antiaim.swlby:Set(tonumber(tbl[43]))
    antiaim.swfr:Set(tonumber(tbl[44]))
    antiaim.swdes:Set(tonumber(tbl[45]))

    antiaim.ayaw2:Set(tonumber(tbl[46]))
    antiaim.ayaw:Set(tonumber(tbl[47]))
    antiaim.adeg:Set(tonumber(tbl[48]))
    antiaim.amod:Set(tonumber(tbl[49]))
    antiaim.afake:Set(tonumber(tbl[50]))
    antiaim.aleft:Set(tonumber(tbl[51]))
    antiaim.aright:Set(tonumber(tbl[52]))
    antiaim.afkopt:Set(tonumber(tbl[53]))
    antiaim.alby:Set(tonumber(tbl[54]))
    antiaim.afr:Set(tonumber(tbl[55]))
    antiaim.ades:Set(tonumber(tbl[56]))   

    antiaim.cyaw2:Set(tonumber(tbl[57]))
    antiaim.cyaw:Set(tonumber(tbl[58]))
    antiaim.cdeg:Set(tonumber(tbl[59]))
    antiaim.cmod:Set(tonumber(tbl[60]))
    antiaim.cfake:Set(tonumber(tbl[61]))
    antiaim.cleft:Set(tonumber(tbl[62]))
    antiaim.cright:Set(tonumber(tbl[63]))
    antiaim.cfkopt:Set(tonumber(tbl[64]))
    antiaim.clby:Set(tonumber(tbl[65]))
    antiaim.cfr:Set(tonumber(tbl[66]))
    antiaim.cdes:Set(tonumber(tbl[67]))
    antiaim.refEnabled:Set(int_to_bool(tbl[68]))
    legitaa:Set(int_to_bool(tbl[69]))
    at_target_on_legitAA:Set(int_to_bool(tbl[70]))
 
end
local button = Menu.Button("Configs", "Export Settings", "%0",function()
    export()
    Cheat.AddNotify("killaura.lua", "Settings copied!")
end)
local button2 = Menu.Button("Configs", "Import Settings", "%1",function()
    import()
    Cheat.AddNotify("killaura.lua", "Settings loaded!")
end)

button4 = Menu.Text("Configs", "Work only on Rage/AA | Soon More...")

Cheat.RegisterCallback("draw", function()
    button:SetVisible(globaltabs:GetInt() == 5)
    button2:SetVisible(globaltabs:GetInt() == 5)
    button4:SetVisible(globaltabs:GetInt() == 5)
    speclist()
    scope_line.on_draw()
    if slog_en:Get() then
        draw_slog()
    end

    logs.color = colorpicker:Get()
    if a4:Get() then
    for i, log in ipairs(logs.logs.stuff) do
            Render.Text(log.text,Vector2.new(6+1,5+1+i*12-12+a5:Get()),Color.RGBA(0,0,0,255),11,logs.font)
            Render.Text(log.text,Vector2.new(6,5+i*12-12+a5:Get()),Color.RGBA(255,255,255,255),11,logs.font)
        if log.time + 5 < GlobalVars.realtime then table.remove(logs.logs.stuff,i) end
    end
end
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
    gui.antidef:SetVisible(globaltabs:GetInt() == 1)
    gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
    a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
    killaura()
 dmgdraw()
 i:SetVisible(globaltabs:GetInt() == 0)
 i2:SetVisible(globaltabs:GetInt() == 0)
 i3:SetVisible(globaltabs:GetInt() == 0)
 i4:SetVisible(globaltabs:GetInt() == 0)
 i5:SetVisible(globaltabs:GetInt() == 0)
 i6:SetVisible(globaltabs:GetInt() == 0)
 i7:SetVisible(globaltabs:GetInt() == 0)
 slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
    lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
    lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
    lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(5))
    lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
    color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    solus()
        update_choked(c)
    legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
    antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
    at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
    indicators()
    def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
    fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
    aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
    hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
    ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
    sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
    dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
    dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
    hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
    hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
    fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
    hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
    buttoncheck:SetVisible(globaltabs:GetInt() == 2)
    da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
           local neverlose =  c:Get() and globaltabs:GetInt() == 2
    local s = neverlosecondit:Get() == 0
    local w = neverlosecondit:Get() == 1
    local sw  = neverlosecondit:Get() == 2
    local a = neverlosecondit:Get() == 3
    local c = neverlosecondit:Get() == 4
    if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim.    syaw2:SetVisible(s)
antiaim.    sfake:SetVisible(s)
antiaim.    sleft:SetVisible(s)
antiaim.    sright:SetVisible(s)
antiaim.    sfkopt:SetVisible(s)
antiaim.    slby:SetVisible(s)
antiaim.    sfr:SetVisible(s)
antiaim.    smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim.    sdeg:SetVisible(s)
antiaim.    syaw:SetVisible(s)
antiaim.    sdes:SetVisible(s)
antiaim.    wyaw2:SetVisible(w)
antiaim.    wfake:SetVisible(w)
antiaim.    wleft:SetVisible(w)
antiaim.    wright:SetVisible(w)
antiaim.    wfkopt:SetVisible(w)
antiaim.    wlby:SetVisible(w)
antiaim.    wfr:SetVisible(w)
antiaim.    wdes:SetVisible(w)
antiaim.    wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim.    wdeg   :SetVisible(w)
antiaim.    wyaw:SetVisible(w)
antiaim.    swyaw2:SetVisible(sw)
antiaim.    swfake:SetVisible(sw)
antiaim.    swleft:SetVisible(sw)
antiaim.    swright:SetVisible(sw)
antiaim.    swfkopt:SetVisible(sw)
antiaim.    swlby:SetVisible(sw)
antiaim.    swfr:SetVisible(sw)
antiaim.    swdes:SetVisible(sw)
antiaim.    swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim.    swdeg   :SetVisible(sw)
antiaim.    swyaw:SetVisible(sw)
antiaim.    ayaw2:SetVisible(a)
antiaim.    afake:SetVisible(a)
antiaim.    aleft:SetVisible(a)
antiaim.    aright:SetVisible(a)
antiaim.    afkopt:SetVisible(a)
antiaim.    alby:SetVisible(a)
antiaim.    afr:SetVisible(a)
antiaim.    ades:SetVisible(a)
antiaim.    amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim.    adeg:SetVisible(a) 
antiaim.    ayaw:SetVisible(a)
antiaim.    cyaw2:SetVisible(c)
antiaim.    cfake:SetVisible(c)
antiaim.    cleft:SetVisible(c)
antiaim.    cright:SetVisible(c)
antiaim.    cfkopt:SetVisible(c)
antiaim.    clby:SetVisible(c)
antiaim.    cfr:SetVisible(c)
antiaim.    cdes:SetVisible(c)     
antiaim.    cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim.    cdeg:SetVisible(c) 
antiaim.    cyaw:SetVisible(c) 
else

    c1:SetVisible(neverlose)
    c2:SetVisible(neverlose)
    c3:SetVisible(neverlose)
    neverlosecondit:SetVisible(neverlose)
antiaim.    syaw2:SetVisible(false)
antiaim.    cfake:SetVisible(false)
antiaim.    swfake:SetVisible(false)
antiaim.    afake:SetVisible(false)
antiaim.    sfake:SetVisible(false)
antiaim.    wfake:SetVisible(false)
antiaim.    sleft:SetVisible(false)
antiaim.    sright:SetVisible(false)
antiaim.    sfkopt:SetVisible(false)
antiaim.    slby:SetVisible(false)
antiaim.    sfr:SetVisible(false)
antiaim.    sdes:SetVisible(false)
antiaim.    smod:SetVisible(false)
antiaim.    sdeg:SetVisible(false)
antiaim.    wyaw:SetVisible(false)
antiaim.    wyaw2:SetVisible(false)
antiaim.    wleft:SetVisible(false)
antiaim.    wright:SetVisible(false)
antiaim.    wfkopt:SetVisible(false)
antiaim.    wlby:SetVisible(false)
antiaim.    wfr:SetVisible(false)
antiaim.    wdes:SetVisible(false)
antiaim.    swyaw2:SetVisible(false)
antiaim.    swleft:SetVisible(false)
antiaim.    swright:SetVisible(false)
antiaim.    swfkopt:SetVisible(false)
antiaim.    swlby:SetVisible(false)
antiaim.    swfr:SetVisible(false)
antiaim.    swdes:SetVisible(false)
antiaim.    ayaw2:SetVisible(false)
antiaim.    aleft:SetVisible(false)
antiaim.    aright:SetVisible(false)
antiaim.    afkopt:SetVisible(false)
antiaim.    alby:SetVisible(false)
antiaim.    afr:SetVisible(false)
antiaim.    ades:SetVisible(false)
antiaim.    cyaw2:SetVisible(false)
antiaim.    cleft:SetVisible(false)
antiaim.    cright:SetVisible(false)
antiaim.    cfkopt:SetVisible(false)
antiaim.    clby:SetVisible(false)
antiaim.    cfr:SetVisible(false)
antiaim.    cdes:SetVisible(false)
antiaim.    wmod:SetVisible(false)
antiaim.    wdeg:SetVisible(false)
antiaim.    swmod:SetVisible(false)
antiaim.    swdeg:SetVisible(false)
antiaim.    amod:SetVisible(false)
antiaim.    adeg:SetVisible(false)
antiaim.    cmod:SetVisible(false)
antiaim.    cdeg:SetVisible(false)
antiaim.    ayaw:SetVisible(false)
antiaim.    wyaw:SetVisible(false)
antiaim.    swyaw:SetVisible(false)
antiaim.    cyaw:SetVisible(false)
antiaim.    syaw:SetVisible(false)
    end

    end)
 
Забаненный
Статус
Оффлайн
Регистрация
16 Фев 2022
Сообщения
51
Реакции[?]
27
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Забаненный
Статус
Оффлайн
Регистрация
20 Фев 2022
Сообщения
149
Реакции[?]
41
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
gui.antidef:SetVisible(globaltabs:GetInt() == 1)
gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
killaura()
dmgdraw()
i:SetVisible(globaltabs:GetInt() == 0)
i2:SetVisible(globaltabs:GetInt() == 0)
i3:SetVisible(globaltabs:GetInt() == 0)
i4:SetVisible(globaltabs:GetInt() == 0)
i5:SetVisible(globaltabs:GetInt() == 0)
i6:SetVisible(globaltabs:GetInt() == 0)
i7:SetVisible(globaltabs:GetInt() == 0)
slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(5))
lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
solus()
update_choked(c)
legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
indicators()
def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
buttoncheck:SetVisible(globaltabs:GetInt() == 2)
da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
local neverlose = c:Get() and globaltabs:GetInt() == 2
local s = neverlosecondit:Get() == 0
local w = neverlosecondit:Get() == 1
local sw = neverlosecondit:Get() == 2
local a = neverlosecondit:Get() == 3
local c = neverlosecondit:Get() == 4
if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim. syaw2:SetVisible(s)
antiaim. sfake:SetVisible(s)
antiaim. sleft:SetVisible(s)
antiaim. sright:SetVisible(s)
antiaim. sfkopt:SetVisible(s)
antiaim. slby:SetVisible(s)
antiaim. sfr:SetVisible(s)
antiaim. smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim. sdeg:SetVisible(s)
antiaim. syaw:SetVisible(s)
antiaim. sdes:SetVisible(s)
antiaim. wyaw2:SetVisible(w)
antiaim. wfake:SetVisible(w)
antiaim. wleft:SetVisible(w)
antiaim. wright:SetVisible(w)
antiaim. wfkopt:SetVisible(w)
antiaim. wlby:SetVisible(w)
antiaim. wfr:SetVisible(w)
antiaim. wdes:SetVisible(w)
antiaim. wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim. wdeg :SetVisible(w)
antiaim. wyaw:SetVisible(w)
antiaim. swyaw2:SetVisible(sw)
antiaim. swfake:SetVisible(sw)
antiaim. swleft:SetVisible(sw)
antiaim. swright:SetVisible(sw)
antiaim. swfkopt:SetVisible(sw)
antiaim. swlby:SetVisible(sw)
antiaim. swfr:SetVisible(sw)
antiaim. swdes:SetVisible(sw)
antiaim. swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim. swdeg :SetVisible(sw)
antiaim. swyaw:SetVisible(sw)
antiaim. ayaw2:SetVisible(a)
antiaim. afake:SetVisible(a)
antiaim. aleft:SetVisible(a)
antiaim. aright:SetVisible(a)
antiaim. afkopt:SetVisible(a)
antiaim. alby:SetVisible(a)
antiaim. afr:SetVisible(a)
antiaim. ades:SetVisible(a)
antiaim. amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim. adeg:SetVisible(a)
antiaim. ayaw:SetVisible(a)
antiaim. cyaw2:SetVisible(c)
antiaim. cfake:SetVisible(c)
antiaim. cleft:SetVisible(c)
antiaim. cright:SetVisible(c)
antiaim. cfkopt:SetVisible(c)
antiaim. clby:SetVisible(c)
antiaim. cfr:SetVisible(c)
antiaim. cdes:SetVisible(c)
antiaim. cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim. cdeg:SetVisible(c)
antiaim. cyaw:SetVisible(c)
else

c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
neverlosecondit:SetVisible(neverlose)
antiaim. syaw2:SetVisible(false)
antiaim. cfake:SetVisible(false)
antiaim. swfake:SetVisible(false)
antiaim. afake:SetVisible(false)
antiaim. sfake:SetVisible(false)
antiaim. wfake:SetVisible(false)
antiaim. sleft:SetVisible(false)
antiaim. sright:SetVisible(false)
antiaim. sfkopt:SetVisible(false)
antiaim. slby:SetVisible(false)
antiaim. sfr:SetVisible(false)
antiaim. sdes:SetVisible(false)
antiaim. smod:SetVisible(false)
antiaim. sdeg:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. wyaw2:SetVisible(false)
antiaim. wleft:SetVisible(false)
antiaim. wright:SetVisible(false)
antiaim. wfkopt:SetVisible(false)
antiaim. wlby:SetVisible(false)
antiaim. wfr:SetVisible(false)
antiaim. wdes:SetVisible(false)
antiaim. swyaw2:SetVisible(false)
antiaim. swleft:SetVisible(false)
antiaim. swright:SetVisible(false)
antiaim. swfkopt:SetVisible(false)
antiaim. swlby:SetVisible(false)
antiaim. swfr:SetVisible(false)
antiaim. swdes:SetVisible(false)
antiaim. ayaw2:SetVisible(false)
antiaim. aleft:SetVisible(false)
antiaim. aright:SetVisible(false)
antiaim. afkopt:SetVisible(false)
antiaim. alby:SetVisible(false)
antiaim. afr:SetVisible(false)
antiaim. ades:SetVisible(false)
antiaim. cyaw2:SetVisible(false)
antiaim. cleft:SetVisible(false)
antiaim. cright:SetVisible(false)
antiaim. cfkopt:SetVisible(false)
antiaim. clby:SetVisible(false)
antiaim. cfr:SetVisible(false)
antiaim. cdes:SetVisible(false)
antiaim. wmod:SetVisible(false)
antiaim. wdeg:SetVisible(false)
antiaim. swmod:SetVisible(false)
antiaim. swdeg:SetVisible(false)
antiaim. amod:SetVisible(false)
antiaim. adeg:SetVisible(false)
antiaim. cmod:SetVisible(false)
antiaim. cdeg:SetVisible(false)
antiaim. ayaw:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. swyaw:SetVisible(false)
antiaim. cyaw:SetVisible(false)
antiaim. syaw:SetVisible(false)
end

end)
 
Забаненный
Статус
Оффлайн
Регистрация
16 Фев 2022
Сообщения
51
Реакции[?]
27
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
gui.antidef:SetVisible(globaltabs:GetInt() == 1)
gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
killaura()
dmgdraw()
i:SetVisible(globaltabs:GetInt() == 0)
i2:SetVisible(globaltabs:GetInt() == 0)
i3:SetVisible(globaltabs:GetInt() == 0)
i4:SetVisible(globaltabs:GetInt() == 0)
i5:SetVisible(globaltabs:GetInt() == 0)
i6:SetVisible(globaltabs:GetInt() == 0)
i7:SetVisible(globaltabs:GetInt() == 0)
slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(5))
lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
solus()
update_choked(c)
legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
indicators()
def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
buttoncheck:SetVisible(globaltabs:GetInt() == 2)
da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
local neverlose = c:Get() and globaltabs:GetInt() == 2
local s = neverlosecondit:Get() == 0
local w = neverlosecondit:Get() == 1
local sw = neverlosecondit:Get() == 2
local a = neverlosecondit:Get() == 3
local c = neverlosecondit:Get() == 4
if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim. syaw2:SetVisible(s)
antiaim. sfake:SetVisible(s)
antiaim. sleft:SetVisible(s)
antiaim. sright:SetVisible(s)
antiaim. sfkopt:SetVisible(s)
antiaim. slby:SetVisible(s)
antiaim. sfr:SetVisible(s)
antiaim. smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim. sdeg:SetVisible(s)
antiaim. syaw:SetVisible(s)
antiaim. sdes:SetVisible(s)
antiaim. wyaw2:SetVisible(w)
antiaim. wfake:SetVisible(w)
antiaim. wleft:SetVisible(w)
antiaim. wright:SetVisible(w)
antiaim. wfkopt:SetVisible(w)
antiaim. wlby:SetVisible(w)
antiaim. wfr:SetVisible(w)
antiaim. wdes:SetVisible(w)
antiaim. wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim. wdeg :SetVisible(w)
antiaim. wyaw:SetVisible(w)
antiaim. swyaw2:SetVisible(sw)
antiaim. swfake:SetVisible(sw)
antiaim. swleft:SetVisible(sw)
antiaim. swright:SetVisible(sw)
antiaim. swfkopt:SetVisible(sw)
antiaim. swlby:SetVisible(sw)
antiaim. swfr:SetVisible(sw)
antiaim. swdes:SetVisible(sw)
antiaim. swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim. swdeg :SetVisible(sw)
antiaim. swyaw:SetVisible(sw)
antiaim. ayaw2:SetVisible(a)
antiaim. afake:SetVisible(a)
antiaim. aleft:SetVisible(a)
antiaim. aright:SetVisible(a)
antiaim. afkopt:SetVisible(a)
antiaim. alby:SetVisible(a)
antiaim. afr:SetVisible(a)
antiaim. ades:SetVisible(a)
antiaim. amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim. adeg:SetVisible(a)
antiaim. ayaw:SetVisible(a)
antiaim. cyaw2:SetVisible(c)
antiaim. cfake:SetVisible(c)
antiaim. cleft:SetVisible(c)
antiaim. cright:SetVisible(c)
antiaim. cfkopt:SetVisible(c)
antiaim. clby:SetVisible(c)
antiaim. cfr:SetVisible(c)
antiaim. cdes:SetVisible(c)
antiaim. cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim. cdeg:SetVisible(c)
antiaim. cyaw:SetVisible(c)
else

c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
neverlosecondit:SetVisible(neverlose)
antiaim. syaw2:SetVisible(false)
antiaim. cfake:SetVisible(false)
antiaim. swfake:SetVisible(false)
antiaim. afake:SetVisible(false)
antiaim. sfake:SetVisible(false)
antiaim. wfake:SetVisible(false)
antiaim. sleft:SetVisible(false)
antiaim. sright:SetVisible(false)
antiaim. sfkopt:SetVisible(false)
antiaim. slby:SetVisible(false)
antiaim. sfr:SetVisible(false)
antiaim. sdes:SetVisible(false)
antiaim. smod:SetVisible(false)
antiaim. sdeg:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. wyaw2:SetVisible(false)
antiaim. wleft:SetVisible(false)
antiaim. wright:SetVisible(false)
antiaim. wfkopt:SetVisible(false)
antiaim. wlby:SetVisible(false)
antiaim. wfr:SetVisible(false)
antiaim. wdes:SetVisible(false)
antiaim. swyaw2:SetVisible(false)
antiaim. swleft:SetVisible(false)
antiaim. swright:SetVisible(false)
antiaim. swfkopt:SetVisible(false)
antiaim. swlby:SetVisible(false)
antiaim. swfr:SetVisible(false)
antiaim. swdes:SetVisible(false)
antiaim. ayaw2:SetVisible(false)
antiaim. aleft:SetVisible(false)
antiaim. aright:SetVisible(false)
antiaim. afkopt:SetVisible(false)
antiaim. alby:SetVisible(false)
antiaim. afr:SetVisible(false)
antiaim. ades:SetVisible(false)
antiaim. cyaw2:SetVisible(false)
antiaim. cleft:SetVisible(false)
antiaim. cright:SetVisible(false)
antiaim. cfkopt:SetVisible(false)
antiaim. clby:SetVisible(false)
antiaim. cfr:SetVisible(false)
antiaim. cdes:SetVisible(false)
antiaim. wmod:SetVisible(false)
antiaim. wdeg:SetVisible(false)
antiaim. swmod:SetVisible(false)
antiaim. swdeg:SetVisible(false)
antiaim. amod:SetVisible(false)
antiaim. adeg:SetVisible(false)
antiaim. cmod:SetVisible(false)
antiaim. cdeg:SetVisible(false)
antiaim. ayaw:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. swyaw:SetVisible(false)
antiaim. cyaw:SetVisible(false)
antiaim. syaw:SetVisible(false)
end

end)
я же говорю паста, зачем ты ето делаешь
 
nikogda nikogda
Пользователь
Статус
Оффлайн
Регистрация
29 Окт 2018
Сообщения
304
Реакции[?]
99
Поинты[?]
0
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
gui.antidef:SetVisible(globaltabs:GetInt() == 1)
gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
killaura()
dmgdraw()
i:SetVisible(globaltabs:GetInt() == 0)
i2:SetVisible(globaltabs:GetInt() == 0)
i3:SetVisible(globaltabs:GetInt() == 0)
i4:SetVisible(globaltabs:GetInt() == 0)
i5:SetVisible(globaltabs:GetInt() == 0)
i6:SetVisible(globaltabs:GetInt() == 0)
i7:SetVisible(globaltabs:GetInt() == 0)
slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(5))
lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
solus()
update_choked(c)
legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
indicators()
def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
buttoncheck:SetVisible(globaltabs:GetInt() == 2)
da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
local neverlose = c:Get() and globaltabs:GetInt() == 2
local s = neverlosecondit:Get() == 0
local w = neverlosecondit:Get() == 1
local sw = neverlosecondit:Get() == 2
local a = neverlosecondit:Get() == 3
local c = neverlosecondit:Get() == 4
if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim. syaw2:SetVisible(s)
antiaim. sfake:SetVisible(s)
antiaim. sleft:SetVisible(s)
antiaim. sright:SetVisible(s)
antiaim. sfkopt:SetVisible(s)
antiaim. slby:SetVisible(s)
antiaim. sfr:SetVisible(s)
antiaim. smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim. sdeg:SetVisible(s)
antiaim. syaw:SetVisible(s)
antiaim. sdes:SetVisible(s)
antiaim. wyaw2:SetVisible(w)
antiaim. wfake:SetVisible(w)
antiaim. wleft:SetVisible(w)
antiaim. wright:SetVisible(w)
antiaim. wfkopt:SetVisible(w)
antiaim. wlby:SetVisible(w)
antiaim. wfr:SetVisible(w)
antiaim. wdes:SetVisible(w)
antiaim. wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim. wdeg :SetVisible(w)
antiaim. wyaw:SetVisible(w)
antiaim. swyaw2:SetVisible(sw)
antiaim. swfake:SetVisible(sw)
antiaim. swleft:SetVisible(sw)
antiaim. swright:SetVisible(sw)
antiaim. swfkopt:SetVisible(sw)
antiaim. swlby:SetVisible(sw)
antiaim. swfr:SetVisible(sw)
antiaim. swdes:SetVisible(sw)
antiaim. swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim. swdeg :SetVisible(sw)
antiaim. swyaw:SetVisible(sw)
antiaim. ayaw2:SetVisible(a)
antiaim. afake:SetVisible(a)
antiaim. aleft:SetVisible(a)
antiaim. aright:SetVisible(a)
antiaim. afkopt:SetVisible(a)
antiaim. alby:SetVisible(a)
antiaim. afr:SetVisible(a)
antiaim. ades:SetVisible(a)
antiaim. amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim. adeg:SetVisible(a)
antiaim. ayaw:SetVisible(a)
antiaim. cyaw2:SetVisible(c)
antiaim. cfake:SetVisible(c)
antiaim. cleft:SetVisible(c)
antiaim. cright:SetVisible(c)
antiaim. cfkopt:SetVisible(c)
antiaim. clby:SetVisible(c)
antiaim. cfr:SetVisible(c)
antiaim. cdes:SetVisible(c)
antiaim. cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim. cdeg:SetVisible(c)
antiaim. cyaw:SetVisible(c)
else

c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
neverlosecondit:SetVisible(neverlose)
antiaim. syaw2:SetVisible(false)
antiaim. cfake:SetVisible(false)
antiaim. swfake:SetVisible(false)
antiaim. afake:SetVisible(false)
antiaim. sfake:SetVisible(false)
antiaim. wfake:SetVisible(false)
antiaim. sleft:SetVisible(false)
antiaim. sright:SetVisible(false)
antiaim. sfkopt:SetVisible(false)
antiaim. slby:SetVisible(false)
antiaim. sfr:SetVisible(false)
antiaim. sdes:SetVisible(false)
antiaim. smod:SetVisible(false)
antiaim. sdeg:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. wyaw2:SetVisible(false)
antiaim. wleft:SetVisible(false)
antiaim. wright:SetVisible(false)
antiaim. wfkopt:SetVisible(false)
antiaim. wlby:SetVisible(false)
antiaim. wfr:SetVisible(false)
antiaim. wdes:SetVisible(false)
antiaim. swyaw2:SetVisible(false)
antiaim. swleft:SetVisible(false)
antiaim. swright:SetVisible(false)
antiaim. swfkopt:SetVisible(false)
antiaim. swlby:SetVisible(false)
antiaim. swfr:SetVisible(false)
antiaim. swdes:SetVisible(false)
antiaim. ayaw2:SetVisible(false)
antiaim. aleft:SetVisible(false)
antiaim. aright:SetVisible(false)
antiaim. afkopt:SetVisible(false)
antiaim. alby:SetVisible(false)
antiaim. afr:SetVisible(false)
antiaim. ades:SetVisible(false)
antiaim. cyaw2:SetVisible(false)
antiaim. cleft:SetVisible(false)
antiaim. cright:SetVisible(false)
antiaim. cfkopt:SetVisible(false)
antiaim. clby:SetVisible(false)
antiaim. cfr:SetVisible(false)
antiaim. cdes:SetVisible(false)
antiaim. wmod:SetVisible(false)
antiaim. wdeg:SetVisible(false)
antiaim. swmod:SetVisible(false)
antiaim. swdeg:SetVisible(false)
antiaim. amod:SetVisible(false)
antiaim. adeg:SetVisible(false)
antiaim. cmod:SetVisible(false)
antiaim. cdeg:SetVisible(false)
antiaim. ayaw:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. swyaw:SetVisible(false)
antiaim. cyaw:SetVisible(false)
antiaim. syaw:SetVisible(false)
end

end)
ай блять насрал. в код засунь
 
Забаненный
Статус
Оффлайн
Регистрация
6 Сен 2021
Сообщения
94
Реакции[?]
22
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
- Солус от принца
- кфг система
- кастом аа
и прочее говно

Код:
globaltabs = Menu.Combo("KILLAURA.LUA", "Select Tab", {"Info","Ragebot", "Anti Aim","Visuals", "Misc", "Configs"},0)
local username = Cheat.GetCheatUserName()

    i    = Menu.Text("", " Welcome back, ".. username .. "!")
    i2 =  Menu.Text("", " Thanks for purchasing KILLAURA!")
     i3 =  Menu.Text("", " Build Date: 11/01/2022")
    i4  =  Menu.Text("", " Current Version: 1.0.0")
     i5 =  Menu.Text("", " Contact with owner - k1mbor#1052")
     i6 =  Menu.Text("", " Find bug? - Hellfish#9343")
    i7 =    Menu.Text("", " All rights reserved.")
       

local gui = {
    doubletap = Menu.Switch("Ragebot", "DT improvements",false),
    cross = Menu.Switch("Ragebot", "Cross Teleport", false),
    antidef = Menu.Switch("Ragebot", "Anti-Defensive", false),
    checkns = Menu.Switch("Ragebot", "Override Hitchance", false),
    scout_noscope_hc = Menu.SliderInt("Ragebot", "Scout noscope hc", 0, 0, 100),
    auto_noscope_hc = Menu.SliderInt("Ragebot", "Auto noscope hc", 0,  0, 100),
    hitsound = Menu.Switch("Misc", "Custom Hitsound", false),
    dir = Menu.TextBox("Misc", "Sound directory", 128, "killaura/hit"),
    vol = Menu.SliderFloat("Misc", "Volume", 1, 0, 1),
    trashtalk = Menu.Switch("Misc", "Killsay", false),
    legbreaker = Menu.Switch("Misc", "Break Leg Animation", false),

}

c = Menu.Switch("Anti Aim", "Enable Anti Aim Tab", false)
c1  = Menu.Text("Anti Aim",'-----------------------------------------------')
c2 = Menu.Text("Anti Aim",'                                    Custom AA')
local neverlosecondit = Menu.Combo("Anti Aim", "Type Conditions", {"Standing", "Running", "Slow Walking", "Air", "Crouch"}, 0)
c3 = Menu.Text("Anti Aim",'-----------------------------------------------')
local antiaim = {
-- Standing
syaw2 = Menu.SliderInt("Anti Aim", "[S] Yaw Add Left", 0, -180, 180),
syaw = Menu.SliderInt("Anti Aim", "[S] Yaw Add Right", 0, -180, 180),
sdeg = Menu.Combo("Anti Aim", "[S] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
smod = Menu.SliderInt("Anti Aim", "[S] Modifier Degree", 0, -180, 180),
sfake = Menu.Combo("Anti Aim", "[S] Fake Limit Type ", {"Static", "Dynamic"}, 0),
sleft = Menu.SliderInt("Anti Aim", "[S] Fake Left Limit", 0, 0, 60),
sright = Menu.SliderInt("Anti Aim", "[S] Fake Right Limit", 0, 0, 60),
sfkopt = Menu.MultiCombo("Anti Aim", "[S] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
slby = Menu.Combo("Anti Aim", "[S] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
sfr = Menu.Combo("Anti Aim", "[S] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
sdes = Menu.Combo("Anti Aim", "[S] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Walking,
wyaw2 = Menu.SliderInt("Anti Aim", "[W] Yaw Add Left", 0, -180, 180),
wyaw = Menu.SliderInt("Anti Aim", "[W] Yaw Add Right", 0, -180, 180),
wdeg = Menu.Combo("Anti Aim", "[W] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
wmod = Menu.SliderInt("Anti Aim", "[W] Modifier Degree", 0, -180, 180),
wfake = Menu.Combo("Anti Aim", "[W] Fake Limit Type ", {"Static", "Dynamic"}, 0),
wleft = Menu.SliderInt("Anti Aim", "[W] Fake Left Limit", 0, 0, 60),
wright = Menu.SliderInt("Anti Aim", "[W] Fake Right Limit", 0, 0, 60),
wfkopt = Menu.MultiCombo("Anti Aim", "[W] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
wlby = Menu.Combo("Anti Aim", "[W] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
wfr = Menu.Combo("Anti Aim", "[W] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
wdes = Menu.Combo("Anti Aim", "[W] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Slow Walking
swyaw2 = Menu.SliderInt("Anti Aim", "[SW] Yaw Add Left", 0, -180, 180),
  swyaw = Menu.SliderInt("Anti Aim", "[SW] Yaw Add Right", 0, -180, 180),
swdeg = Menu.Combo("Anti Aim", "[SW] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
swmod = Menu.SliderInt("Anti Aim", "[SW] Modifier Degree", 0, -180, 180),
swfake = Menu.Combo("Anti Aim", "[SW] Fake Limit Type ", {"Static", "Dynamic"}, 0),
swleft = Menu.SliderInt("Anti Aim", "[SW] Fake Left Limit", 0, 0, 60),
swright = Menu.SliderInt("Anti Aim", "[SW] Fake Right Limit", 0, 0, 60),
swfkopt = Menu.MultiCombo("Anti Aim", "[SW] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
swlby = Menu.Combo("Anti Aim", "[SW] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
swfr = Menu.Combo("Anti Aim", "[SW] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
swdes = Menu.Combo("Anti Aim", "[SW] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Air
ayaw2 = Menu.SliderInt("Anti Aim", "[A] Yaw Add Left", 0, -180, 180),
ayaw = Menu.SliderInt("Anti Aim", "[A] Yaw Add Right", 0, -180, 180),
adeg = Menu.Combo("Anti Aim", "[A] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
amod = Menu.SliderInt("Anti Aim", "[A] Modifier Degree", 0, -180, 180),
afake = Menu.Combo("Anti Aim", "[A] Fake Limit Type ", {"Static", "Dynamic"}, 0),
aleft = Menu.SliderInt("Anti Aim", "[A] Fake Left Limit", 0, 0, 60),
aright = Menu.SliderInt("Anti Aim", "[A] Fake Right Limit", 0, 0, 60),
afkopt = Menu.MultiCombo("Anti Aim", "[A] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
alby = Menu.Combo("Anti Aim", "[A] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
afr = Menu.Combo("Anti Aim", "[A] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
ades = Menu.Combo("Anti Aim", "[A] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Crouch
cyaw2 = Menu.SliderInt("Anti Aim", "[C] Yaw Add Left", 0, -180, 180),
cyaw = Menu.SliderInt("Anti Aim", "[C] Yaw Add Right", 0, -180, 180),
cdeg = Menu.Combo("Anti Aim", "[C] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
cmod = Menu.SliderInt("Anti Aim", "[C] Modifier Degree", 0, -180, 180),
cfake = Menu.Combo("Anti Aim", "[C] Fake Limit Type ", {"Static", "Dynamic"}, 0),
cleft = Menu.SliderInt("Anti Aim", "[C] Fake Left Limit", 0, 0, 60),
cright = Menu.SliderInt("Anti Aim", "[C] Fake Right Limit", 0, 0, 60),
cfkopt = Menu.MultiCombo("Anti Aim", "[C] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
clby = Menu.Combo("Anti Aim", "[C] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
cfr = Menu.Combo("Anti Aim", "[C] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
cdes = Menu.Combo("Anti Aim", "[C] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),
c666 = Menu.Text("Anti Aim",'-----------------------------------------------'),
refEnabled = Menu.Switch('Anti Aim', 'Edge Yaw', false),

}--aa
local reference_pitch = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch")
local reference_yawbase = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local old_pitch = reference_pitch:Get()
local old_yawbase = reference_yawbase:Get()
local override_legitAA = true
local legitaa =  Menu.Switch("Anti Aim", "Legit AA", false)
local at_target_on_legitAA = Menu.Switch("Anti Aim", "At Target On Legit AA", false)
local function a_def()
    if gui.antidef:Get() then
        EngineClient.ExecuteClientCmd("jointeam 1")
        local lagcomp = CVar.FindVar("cl_lagcompensation")
        lagcomp:SetInt(1)
    elseif gui.antidef:Get() == false then
        EngineClient.ExecuteClientCmd("jointeam 1")
        local lagcomp = CVar.FindVar("cl_lagcompensation")
        lagcomp:SetInt(0)
    end
end
gui.antidef:RegisterCallback(a_def)
buttoncheck = Menu.Button("Anti Aim", "Killaura Preset", "",function()
            c:Set(true)
            antiaim.syaw2:Set(-15)
            antiaim.sleft:Set(55)
            antiaim.sright:Set(55)
            antiaim.sfkopt:Set(3)
            antiaim.slby:Set(2)  
            antiaim.sfr:Set(1)
            antiaim.sdes:Set(1)
            antiaim.smod:Set(22)
            antiaim.sdeg:Set(1)
            antiaim.syaw:Set(25)

            antiaim.wyaw2:Set(-15)
            antiaim.wleft:Set(55)
            antiaim.wright:Set(55)
            antiaim.wfkopt:Set(2)
            antiaim.wlby:Set(1)  
            antiaim.wfr:Set(1)
            antiaim.wdes:Set(3)
            antiaim.wmod:Set(48)
            antiaim.wdeg:Set(1)
            antiaim.wyaw:Set(25)

            antiaim.swyaw2:Set(-15)
            antiaim.swleft:Set(55)
            antiaim.swright:Set(55)
            antiaim.swfkopt:Set(3)
            antiaim.swlby:Set(1)      
            antiaim.swfr:Set(1)
            antiaim.swdes:Set(3)
            antiaim.swmod:Set(29)
            antiaim.swdeg:Set(0)
            antiaim.swyaw:Set(25)

            antiaim.ayaw2:Set(-15)
            antiaim.aleft:Set(55)
            antiaim.aright:Set(55)
            antiaim.afkopt:Set(2)
            antiaim.alby:Set(1)  
            antiaim.afr:Set(0)
            antiaim.ades:Set(1)  
            antiaim.amod:Set(1)
            antiaim.adeg:Set(1)
            antiaim.ayaw:Set(-7)

            antiaim.cyaw2:Set(-15)
            antiaim.cleft:Set(25)
            antiaim.cright:Set(25)
            antiaim.cfkopt:Set(2)
            antiaim.clby:Set(1)  
            antiaim.cfr:Set(1)
            antiaim.cdes:Set(4)  
            antiaim.cmod:Set(22)
            antiaim.cdeg:Set(1)
           antiaim.cyaw:Set(25)


end)
local logs = {
        color = Color.RGBA(255,255,255,255),
    font = Render.InitFont('Verdana',11,{'r'}),
    screen = EngineClient.GetScreenSize(),
    logs = {
        stuff = {},
        num = 0,
        reason = {
            [1] = '?',
            [2] = 'spread',
            [3] = 'occlusion',
            [4] = 'prediction error'
        },  
        hitgroups = {
            [0] = "generic",
            [1] = "head",
            [2] = "chest",
            [3] = "stomach",
            [4] = "left arm",
            [5] = "right arm",
            [6] = "left leg",
            [7] = "right leg",
            [10] = "gear"
        }
    }
}
local lua = {
    watermark = {
        enablevis = Menu.Switch('Visuals', "Enable Visuals", false, ""),
        el = Menu.MultiCombo('Visuals', 'Elements', { 'Fake°', 'FL', 'IO', 'HZ', 'Keybinds' , 'Watermark' }, 0),
        transp = Menu.SliderInt('Visuals', 'Global alpha', 75, 0, 255),
        fl_line = Menu.ColorEdit('Visuals', 'FL Line color', Color.RGBA(255, 255, 255, 255)),
        io_speed = Menu.SliderFloat('Visuals', 'IO Animation speed', 4.1, 0.1, 10.0, 'In seconds, more = slower'),
        hz_line = Menu.ColorEdit('Visuals', 'HZ Line color', Color.RGBA(255, 255, 255, 255)),
        hz = Menu.Combo('Visuals', 'HZ', { '30', '59', '60', '75', '95', '120', '144', '165', '240', '280', '340' }, 3),
        theme = Menu.Combo('Visuals', 'Watermark theme', { 'Gradient', 'Static' }, 0),
        theme_custom = Menu.ColorEdit('Visuals', 'Static color', Color.RGBA(142, 165, 229, 255)),
        prefix = Menu.Combo('Visuals', 'Watermark prefix', { 'neverlose', 'nl', 'neverlose.cc', 'Custom' }, 2),
        prefix_custom = Menu.TextBox('Visuals', 'Custom prefix', 666, 'neverlose.cc'),
        name = Menu.Combo('Visuals', 'Watermark name', { 'Cheat username', 'Hide name', 'Custom' }, 0),
        name_custom = Menu.TextBox('Visuals', 'Custom name', 666, 'Floppa'),
        keybindstheme = Menu.Combo('Visuals', 'Keybinds theme', { 'Gradient', 'Static' }, 0),
        keybindstheme_custom = Menu.ColorEdit('Visuals', 'Static color ', Color.RGBA(142, 165, 229, 255)),
    }
}

local math_lib = {
    clamp = function(val, lower, upper)
        if lower > upper then lower, upper = upper, lower end
        return math.max(lower, math.min(upper, val))
    end
}
local render = {
    box = function(string,y,alpha)
        local stringsize = Render.CalcTextSize(string,11,logs.font).x
        Render.BoxFilled(Vector2.new(logs.screen.x/2-stringsize/2-6.5,logs.screen.y-150-y),Vector2.new(logs.screen.x/2+stringsize/2+6.5,logs.screen.y-120-y),Color.RGBA(0,0,0,255))
        Render.BoxFilled(Vector2.new(logs.screen.x/2-stringsize/2-6.5,logs.screen.y-152-y),Vector2.new(logs.screen.x/2+stringsize/2+6.5,logs.screen.y-150-y),logs.color)
        Render.Text(string,Vector2.new(logs.screen.x/2,logs.screen.y-136-y),Color.RGBA(255,255,255,255),11,logs.font,true,true)
    end
}
local indi = Menu.MultiCombo("Visuals", "Skeet Indicators", {"Fake With Circle", "FL With Circle", "AA With Line", "Shot/Miss Percent", "FL Text indicator", "FOV", "AW (Autowall)", "BUY (Buy Zone Indicator)", "Body Aim", "Safe Points", "Damage", "Hitchance", "Freestand", "At Targets", "Hide Shots", "Dormant Aimbot", "Fake Ping", "Lag Compensation", "Fake Duck", "Bomb Info", "Double Tap"}, 0)
local da_style = Menu.Switch("Visuals", "Dormant Aimbot Indicator", false)
local hs_style = Menu.Combo("Visuals", "Hide Shots Style", {"ONSHOT", "HS", "OSAA", "HIDE"}, 0)
local fs_style = Menu.Combo("Visuals", "Freestand Style", {"FREESTAND", "FS"}, 0)
local dmg_style = Menu.Combo("Visuals", "Damage Style", {"Damage: ", "DMG: ", "DMG", "Damage Value", ": DMG"}, 0)
local dmgs = Menu.Switch("Visuals", "Show Damage", false)
local hc_style = Menu.Combo("Visuals", "Hitchance Style", {"Hitchance: ", "HC: ", "HC", "Hitchance Value", ": HC%"}, 0)
local hcs = Menu.Switch("Visuals", "Hitchance Indicator ", false)
local ba_style = Menu.Combo("Visuals", "BAIM Indicator", {"BODY", "BAIM", "FB", "BA"}, 0)
local sp_style = Menu.Combo("Visuals", "Safe Points Style", {"SAFE", "SP"}, 0)
local hit_style = Menu.Combo("Visuals", "Shot/Miss Style", {"Style 1", "Style 2", "Style 3"}, 0)
local fake_style = Menu.Combo("Visuals", "Fake Circle", {"DSY", "FAKE", "AA"}, 1)
local fl_style = Menu.Combo("Visuals", "FL Circle", {"Choke Value", "FL"}, 1)
local aa_color = Menu.ColorEdit("Visuals", "AA With Line ", Color.RGBA(154, 176, 250, 255))
def = Menu.Button("Visuals", "Load Skeet Default Indicators", "Load Skeet Default Indicators",function() indi:SetInt(2031616) end)
local color = Menu.SwitchColor("Visuals","killaura indicators", false,Color.new(0.49,0.49,1,1))
netgraphcheck = Menu.Switch("Visuals", "Skeet Info Bar",false)
local a3 = Menu.Switch("Visuals", "Skeet Spectators",false)
local a4 = Menu.Switch("Misc", "Enable Logs", false)
local a5 = Menu.SliderInt('Misc','Height',0,0,500)
local colorpicker = Menu.ColorEdit('Misc','Color',Color.RGBA(255,255,255,255))
local fontspec = Render.InitFont('Verdana',11,{'r'})
local fd_anim = 0
local dt_anim = 0
local hs_anim = 0
local ap_anim = 0
local ey_anim = 0
local sp_anim = 0
local md_anim = 0
local font =
{
    verdana = Render.InitFont("Verdana", 12),
    verdanabd = Render.InitFont("Verdana Bold", 11, {'r'}),
    pixel = Render.InitFont("Smallest Pixel-7", 10),
    calibrib = Render.InitFont("Calibri Bold", 30),
    pixel9 = Render.InitFont("Smallest Pixel-7", 9),
}

local pflFrameTime, pflFrameTimeStdDeviation, pflFrameStartTimeStdDeviation = ffi.new('float[1]'), ffi.new('float[1]'), ffi.new('float[1]')
local interface_ptr = ffi.typeof('void***')
local rawivengineclient = Utils.CreateInterface('engine.dll', 'VEngineClient014')
local ivengineclient = ffi.cast(interface_ptr, rawivengineclient)
local get_net_channel_info, net_channel = ffi.cast('void*(__thiscall*)(void*)', ivengineclient[0][78]), nil
local net_bool = ffi.typeof('bool(__thiscall*)(void*)')
local net_fr_to = ffi.typeof('void(__thiscall*)(void*, float*, float*, float*)')
local INetChannelInfo = ffi.cast('void***', get_net_channel_info(ivengineclient))
local GetNetFramerate = function(INetChannelInfo)
    if INetChannelInfo == nil then
        return 0, 0 end

    local server_var, server_framerate = 0, 0
    ffi.cast(net_fr_to, INetChannelInfo[0][25])(INetChannelInfo, pflFrameTime, pflFrameTimeStdDeviation, pflFrameStartTimeStdDeviation)

    if pflFrameTime ~= nil and pflFrameTimeStdDeviation ~= nil and pflFrameStartTimeStdDeviation ~= nil then
        if pflFrameTime[0] > 0 then
            server_var = pflFrameStartTimeStdDeviation[0] * 1000
            server_framerate = pflFrameTime[0] * 1000
        end
    end

    return server_framerate, server_var
end

Cheat.RegisterCallback("pre_prediction", function(cmd)
    if legitaa:GetBool() then
    local local_player = EntityList.GetLocalPlayer()
    local legitAA_work = true

    if not local_player then return end

    local local_player_teamnum = local_player:GetProp("m_iTeamNum")
    local entities = {EntityList.GetEntitiesByName("CPlantedC4"), EntityList.GetEntitiesByName("CHostage")}

    for entity in pairs(entities) do
        for i in pairs(entities[entity]) do

            local local_playerlayer_origin = local_player:GetRenderOrigin()
            local entity_origin = entities[entity][i]:GetRenderOrigin()

            local entity_get_distance = local_playerlayer_origin:DistTo(entity_origin)
            local distance = entity_get_distance < 65 and entity_get_distance > 1

            if distance and local_player_teamnum == 3 then
                legitAA_work = false
            end
        end
    end


    if local_player_teamnum == 2 and local_player:GetProp("m_bInBombZone") and local_player:GetActiveWeapon():GetClassName() == "CC4" then
        legitAA_work = false
    end

    if bit.band(cmd.buttons, 32) == 32 and legitAA_work then
        if GlobalVars.curtime - start_curtime > 0.02 then

            cmd.buttons = bit.band(cmd.buttons, bit.bnot(32))

            if override_legitAA then
                old_pitch = reference_pitch:Get()
                old_yawbase = reference_yawbase:Get()
                override_legitAA = false
            end

            reference_pitch:Set(0)
            reference_yawbase:Set(at_target_on_legitAA:Get() and 4 or 1)
            AntiAim.OverrideYawOffset(180 - Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get())
        end
    else
        if not override_legitAA then
            reference_pitch:Set(old_pitch)
            reference_yawbase:Set(old_yawbase)
            override_legitAA = true
        end

        start_curtime = GlobalVars.curtime
    end
end

end)
local velocity = function(ent)
    local speed_x = ent:GetProp("DT_BasePlayer","m_vecVelocity[0]")
    local speed_y = ent:GetProp("DT_BasePlayer","m_vecVelocity[1]")
    local speed = math.sqrt(speed_x * speed_x + speed_y * speed_y)
    return math.floor(speed)
end
local logs1 = {}
local icon = {}
local slog_en = Menu.Switch("Misc", "Sigma Hitlogs", false)
local color_hit = Menu.ColorEdit('Misc','Hit Color',Color.new(166/255,215/255,53/255,1))
local color_miss = Menu.ColorEdit('Misc','Miss Color',Color.new(1,0,0,1))
local height = Menu.SliderFloat('Misc','Height ',85.00, 50.0,85.0)
local time = Menu.SliderInt('Misc','Logs Show Time (in seconds)',6,1,20)
icon.render = {
    line = function(x,y,x1,y1,color)
        Render.Line(Vector2.new(x,y),Vector2.new(x1,y1),color)
    end,
    polygon = function(x1,y1,x2,y2,x3,y3,color)
        Render.PolyFilled(color, Vector2.new(x1,y1), Vector2.new(x2,y2), Vector2.new(x3,y3))
    end,
    box = function(x,y,w,h,color,rounding)
        Render.Box(Vector2.new(x,y), Vector2.new(x+w,y+h), color, rounding == nil and 0 or rounding)
    end,
    box_filled = function(x,y,w,h,color,rounding)
        Render.BoxFilled(Vector2.new(x,y), Vector2.new(x+w,y+h), color, rounding == nil and 0 or rounding)
    end,
    gradient_box_filled = function(x,y,w,h,horizontal,color,color2)
        Render.GradientBoxFilled(Vector2.new(x,y), Vector2.new(x+w,y+h),color,horizontal and color2 or color,horizontal and color or color2,color2)
    end,
    string = function(x,y,cen,string,color,TYPE,font,fontsize)
        if TYPE == 0 then
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,false,cen)
        elseif TYPE == 1 then
            Render.Text(string, Vector2.new(x+1,y+1), Color.new(0.1,0.1,0.1,color.a/1.5), fontsize,font,false,cen)
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,false,cen)
        elseif TYPE == 2 then
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,true,cen)
        end
    end
}
icon.fonts = {
    verdana_big = Render.InitFont('Verdana',12)
}
icon.hitbox_name = {
    [1] = 'head',
    [3] = 'stomach',
    [0] = 'lower chest',
    [2] = 'chest',
    [10] = 'upper chest',
    [7] = 'right thign',
    [6] = 'left thigh',
    [5] = 'right arm',
    [4] = 'left arm'
}
icon.math = {}
icon.math.lerp = function(time,a,b)
    return a * (1-time) + b * time
end
icon.mismatch = {
    [0] = 'no',
    [1] = 'resolver',
    [2] = 'spread',
    [3] = 'occlusion',
    [4] = 'prediction error'
}
local function shot1(e)

    if e.reason == 0 then
        table.insert(logs1,{text = '    ',text2 = {
            hit = 'Hit ',
            who = EntityList.GetClientEntity(e.target_index):GetPlayer():GetName(),
            in_the = ' in the ',
            where = icon.hitbox_name[e.hitgroup],
            for_ = ' for ',
            how_much = e.damage .. '',
            damage = ' damage (',
            how_muc_r =  math.max(EntityList.GetClientEntity(e.target_index):GetPlayer():GetProp('m_iHealth')-e.damage,0) .. '',
            health = ' health remaining)'              
        }, alpha = 0,alpha1 = 0,type = 'Hit', time = GlobalVars.realtime})          
    else
        table.insert(logs1,{text = '     ',text2 = {
            hit = 'Missed ',
            who = EntityList.GetClientEntity(e.target_index):GetPlayer():GetName(),
            in_the = '`s ',
            where = icon.hitbox_name[e.wanted_hitgroup],
            for_ = ' due to ',
            reason = icon.mismatch[e.reason]
        }, alpha = 0,alpha1 = 0,type = 'Miss', time = GlobalVars.realtime})      
    end
end
local function draw_slog ()
    local me = EntityList.GetLocalPlayer()

    if not me or not EngineClient.IsInGame() or not EngineClient.GetNetChannelInfo() then
        return
    end
    local y_add = 0
    local hit_color = color_hit:Get()
    local miss_color = color_miss:Get()
    local height_logs = height:Get()/100
    for i, notify in ipairs(logs1) do
        local frametime = GlobalVars.frametime * 8
        local x, y = EngineClient.GetScreenSize().x/2,EngineClient.GetScreenSize().y
       
        if notify.time + 1 > GlobalVars.realtime then
            notify.alpha = icon.math.lerp(frametime,notify.alpha,1)
            notify.alpha1 = icon.math.lerp(frametime/1.5,notify.alpha1,1)
           
        end
        if notify.type == 'Hit' then
            local string = notify.text2.hit .. notify.text2.who .. notify.text2.in_the .. notify.text2.where .. notify.text2.for_ .. notify.text2.how_much .. notify.text2.damage .. notify.text2.how_muc_r .. notify.text2.health
   
            local s = {
                string = Render.CalcTextSize(string,12,icon.fonts.verdana_big).x/2,
                hit = Render.CalcTextSize(notify.text2.hit,12,icon.fonts.verdana_big).x,
                in_the = Render.CalcTextSize(notify.text2.in_the,12,icon.fonts.verdana_big).x,
                who = Render.CalcTextSize(notify.text2.who,12,icon.fonts.verdana_big).x,
                where = Render.CalcTextSize(notify.text2.where,12,icon.fonts.verdana_big).x,
                for_ = Render.CalcTextSize(notify.text2.for_,12,icon.fonts.verdana_big).x,
                how_much = Render.CalcTextSize(notify.text2.how_much,12,icon.fonts.verdana_big).x,
                damage = Render.CalcTextSize(notify.text2.damage,12,icon.fonts.verdana_big).x,
                how_muc_r = Render.CalcTextSize(notify.text2.how_muc_r,12,icon.fonts.verdana_big).x,
                health = Render.CalcTextSize(notify.text2.health,12,icon.fonts.verdana_big).x,
               
   
            }
           
            icon.render.string(notify.alpha1*40-40+x-s.string,y*height_logs-y_add,false,notify.text2.hit,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit,y*height_logs-y_add,false,notify.text2.who,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.who,y*height_logs-y_add,false,notify.text2.in_the,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who,y*height_logs-y_add,false,notify.text2.where,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where,y*height_logs-y_add,false,notify.text2.for_,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_,y*height_logs-y_add,false,notify.text2.how_much,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much,y*height_logs-y_add,false,notify.text2.damage,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much+s.damage,y*height_logs-y_add,false,notify.text2.how_muc_r,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much+s.damage+s.how_muc_r,y*height_logs-y_add,false,notify.text2.health,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
        else
            local string = notify.text2.hit .. notify.text2.who .. notify.text2.in_the .. notify.text2.where .. notify.text2.for_ .. notify.text2.reason
   
            local s = {
                string = Render.CalcTextSize(string,12,icon.fonts.verdana_big).x/2,
                hit = Render.CalcTextSize(notify.text2.hit,12,icon.fonts.verdana_big).x,
                who = Render.CalcTextSize(notify.text2.who,12,icon.fonts.verdana_big).x,
                in_the = Render.CalcTextSize(notify.text2.in_the,12,icon.fonts.verdana_big).x,
                where = Render.CalcTextSize(notify.text2.where,12,icon.fonts.verdana_big).x,
                for_ = Render.CalcTextSize(notify.text2.for_,12,icon.fonts.verdana_big).x,
                reason = Render.CalcTextSize(notify.text2.reason,12,icon.fonts.verdana_big).x,
            }
           
            icon.render.string(notify.alpha1*40-40+x-s.string,y*height_logs-y_add,false,notify.text2.hit,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit,y*height_logs-y_add,false,notify.text2.who,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.who,y*height_logs-y_add,false,notify.text2.in_the,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who,y*height_logs-y_add,false,notify.text2.where,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where,y*height_logs-y_add,false,notify.text2.for_,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_,y*height_logs-y_add,false,notify.text2.reason,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
        end
   
        if notify.time + (time:Get() - 0.1) < GlobalVars.realtime  then
            notify.alpha1 = icon.math.lerp(frametime/1.5,notify.alpha1,2)
        end
        if notify.time + time:Get() < GlobalVars.realtime and notify.alpha1 > 1.5 then
            notify.alpha = icon.math.lerp(frametime,notify.alpha,0)
        end
   
        if notify.alpha < 0.02 and (notify.time + time:Get() < GlobalVars.realtime) then
            table.remove(logs,i)
        end
   
        y_add = y_add + 16 * notify.alpha


    end
end
local ct = GlobalVars.curtime
local fps = math.floor(1/GlobalVars.frametime)
local curTime = GlobalVars.curtime
local interface_ptr = ffi.typeof('void***')
local rawivengineclient = Utils.CreateInterface('engine.dll', 'VEngineClient014')
local ivengineclient = ffi.cast(interface_ptr, rawivengineclient)
local get_net_channel_info, net_channel = ffi.cast('void*(__thiscall*)(void*)', ivengineclient[0][78]), nil
local INetChannelInfo = ffi.cast('void***', get_net_channel_info(ivengineclient))
local GetNetChannel = function(INetChannelInfo)
    if INetChannelInfo == nil then
        return end

    return {
        latency = {
            crn = function(flow) return INetChannelInfo:GetLatency(flow) end,
            average = function(flow) return INetChannelInfo:GetAvgLatency(flow) end,
        }
    }
end
local outgoing, incoming, incoming_latency

local id, OldChoke, toDraw0, toDraw1, toDraw2, toDraw3, toDraw4, hitted, reg_shot, on_plant_time, fill, text, planting_site, planting = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", false

local FS = 12
local verdana = Render.InitFont('Verdana', FS, { 'r' })
GetTime = function()
    local seconds = math.floor(Utils.UnixTime() / 1000)
    local hours = math.floor((seconds / 3600 + 3) % 24)
    local minutes = math.floor(seconds / 60 % 60)
    local sec = math.floor(seconds % 60)

    if sec < 10 then
        sec = "0" .. sec
    end
    if minutes < 10 then
        minutes = "0" .. minutes
    end
    if hours < 10 then
        hours = "0" .. hours
    end

    return hours .. ":" .. minutes .. ":" .. sec
end
GetPing = function()
    local netchann_info = EngineClient.GetNetChannelInfo()
    if netchann_info == nil then
        return ''
    end
    local latency = netchann_info:GetLatency(0)
    return string.format("delay: %1.fms", math.max(0, latency) * 1000)
end
IsAlive = function(entity)
    if (entity == nil) then
        return false
    else
        if (entity:GetProp('m_iHealth') > 0) then
            return true
        else
            return false
        end
    end

end
GetWatermarkName = function(mode, custom)
    if (mode == 0) then
        return Cheat.GetCheatUserName() .. ' | '
    elseif (mode == 1) then
        return (IsAlive(EntityList.GetLocalPlayer()) == true and EntityList.GetLocalPlayer():GetName() or ' ?') .. ' | '
    else
        if (custom == '') then
            return ''
        else
            return custom .. ' | '
        end
    end
end
GetPrefix = function(mode, custom)
    if (mode == 0) then
        return 'neverlose | '
    elseif (mode == 1) then
        return 'nl | '
    elseif (mode == 2) then
        return 'neverlose.cc | '
    else
        if (custom == '') then
            return ''
        else
            return custom .. ' | '
        end
    end
end
GetFake = function()
    if (IsAlive(EntityList.GetLocalPlayer()) == false) then
        return 0
    end
    local real_rotation = AntiAim.GetCurrentRealRotation()
    local desync_rotation = AntiAim.GetFakeRotation()
    local max_desync_delta = AntiAim.GetMaxDesyncDelta()
    local min_desync_delta = AntiAim.GetMinDesyncDelta()
    local desync_delta = real_rotation - desync_rotation
    if (desync_delta > max_desync_delta) then
        desync_delta = max_desync_delta
    elseif (desync_delta < min_desync_delta) then
        desync_delta = min_desync_delta
    end
    local desync = math.abs(desync_delta * 59 / 100)
    return desync
end
Render_GradientBoxFilled = function(x, y, w, h, c1, c2, ishorizon)
    if (ishorizon == true) then
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1, c2, c1, c2)
    else
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1, c1, c2, c2)
    end
end
local bindt = {
    [0] = 'toggled',
    [1] = 'holding',
}
Render_BoxFilled = function(x, y, w, h, c1)
    Render.BoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1)
end
Render_Text = function(x, y, cent, string, c1, font, size, alpha)
    Render.Text(string, Vector2.new(x + 1, y + 1), Color.RGBA(0, 0, 0, alpha), size, font, false, cent)
    Render.Text(string, Vector2.new(x, y), c1, size, font, false, cent)
end
GetColor = function(number, max, i)
    local Colors = {
        { 255, 0, 0 },
        { 237, 27, 3 },
        { 235, 63, 6 },
        { 229, 104, 8 },
        { 228, 126, 10 },
        { 220, 169, 16 },
        { 213, 201, 19 },
        { 176, 205, 10 },
        { 124, 195, 13 }
    }

    local math_num = function(int, max, declspec)
        local int = (int > max and max or int)
        local tmp = max / int;

        if not declspec then
            declspec = max
        end

        local i = (declspec / tmp)
        i = (i >= 0 and math.floor(i + 0.5) or math.ceil(i - 0.5))

        return i
    end

    i = math_num(number, max, #Colors)

    return
    Colors[i <= 1 and 1 or i][1],
    Colors[i <= 1 and 1 or i][2],
    Colors[i <= 1 and 1 or i][3],
    i
end
Render_Histogram = function(x, y, c1, c2, a)
    for i = 1, 4 do
        Render_GradientBoxFilled(x + i * 23 / 4, y + 10, 23 / 4, -a[i], c1, c2, false)
    end
end
IsDtReady = function()
    if (Menu.FindVar('Aimbot', 'Ragebot', 'Exploits', 'Double Tap'):Get() == true and Exploits.GetCharge() == 1) then
        return true
    else
        return false
    end
end

local HZ = {
    [0] = 30,
    [1] = 59,
    [2] = 60,
    [3] = 75,
    [4] = 95,
    [5] = 120,
    [6] = 144,
    [7] = 165,
    [8] = 240,
    [9] = 280,
    [10] = 340
}
GradientBoxFilled = function(x, y, w, h, t, c, alpha)
    if (t == 1) then
        Render.BoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), Color.RGBA(math.floor(c.r * 255), math.floor(c.g * 255), math.floor(c.b * 255), math.floor(alpha)))
    elseif (t == 0) then
        Render.GradientBoxFilled(Vector2.new(x + w / 2, y), Vector2.new(x + w, y + h), Color.RGBA(203, 70, 205, alpha), Color.RGBA(204, 210, 53, alpha), Color.RGBA(203, 70, 205, alpha), Color.RGBA(204, 210, 53, alpha))
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w / 2, y + h), Color.RGBA(55, 177, 218, alpha), Color.RGBA(203, 70, 205, alpha), Color.RGBA(55, 177, 218, alpha), Color.RGBA(203, 70, 205, alpha))
    end
end
local R1, R2, R3, R4 = 5, 3, 7, 10
local N1, N2, N3, N4 = 10, 7, 3, 5
local random_ms = 0
local kb = {
    k = {
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    },
    p = Vector2.new(500, 500),
    o = 66,
    global = 0.0,
    drag = false,
    xx = Menu.SliderInt('g', '1', 70, 0, 5000),
    yy = Menu.SliderInt('g', '2', 70, 0, 5000),

}

choke = 0
current_choke = 0
local function update_choked(c)
    if (ClientState.m_choked_commands == 0) then
        choke = current_choke
    end
    current_choke = ClientState.m_choked_commands
end

local function VectorLerp(vecSource, vecDestination, flPercentage)
    return vecSource + (vecDestination - vecSource) * flPercentage
end

local function NormalizeYaw(flYaw)
    while flYaw > 180 do
        flYaw = flYaw - 360
    end
    while flYaw < -180 do
        flYaw = flYaw + 360
    end
    return flYaw
end

local vecTraceStart = Vector.new()

local function edgeyaw(UserCmd)
if antiaim.refEnabled:GetBool() then
    local iLocalPlayerEntIndex = EngineClient.GetLocalPlayer()
    if not iLocalPlayerEntIndex then
        return
    end

    local pLocalPlayerEntity = EntityList.GetClientEntity(iLocalPlayerEntIndex)
    local pLocalPlayer = pLocalPlayerEntity:GetPlayer()

    local flVelocityZ = pLocalPlayer:GetProp('m_vecVelocity[2]')
    --    local bInJump = bit.band(UserCmd.buttons, 2) == 2
    if flVelocityZ ~= 0 or bInJump then
        return
    end

    if ClientState.m_choked_commands == 0 then
        vecTraceStart = pLocalPlayer:GetEyePosition()
    end

    local aTraceEnd = {}

    local angViewAngles = EngineClient.GetViewAngles()
    for flYaw = 18, 360, 18 do
        flYaw = NormalizeYaw(flYaw)

        local angEdge = QAngle.new(0, flYaw, 0)

        local vecTraceEnd = vecTraceStart + Cheat.AngleToForward(angEdge) * 0x60

        local traceInfo = EngineTrace.TraceRay(vecTraceStart, vecTraceEnd, pLocalPlayerEntity, 0x200400B)

        local flFraction = traceInfo.fraction
        local pEntity = traceInfo.hit_entity

        if pEntity and pEntity:GetClassName() == 'CWorld' and flFraction < 0.3 then
            aTraceEnd[#aTraceEnd + 1] = {
                vecTraceEnd = traceInfo.endpos,
                flYaw = flYaw
            }
        end
    end

    table.sort(aTraceEnd, function(a, b)
        return a.flYaw < b.flYaw
    end)

    local angEdge

    if #aTraceEnd >= 2 then
        local vecTraceCenter = VectorLerp(aTraceEnd[1].vecTraceEnd, aTraceEnd[#aTraceEnd].vecTraceEnd, 0.5)

        angEdge = Cheat.VectorToAngle(vecTraceStart - vecTraceCenter)
    end

    if angEdge then
        local flYaw = angViewAngles.yaw
        local flEdgeYaw = angEdge.yaw

        local flDiff = NormalizeYaw(flEdgeYaw - flYaw)

        if math.abs(flDiff) < 90 then
            flDiff = 0
            flYaw = NormalizeYaw(flEdgeYaw + 180)
        end

        -- Static yaw
        local flNewYaw = -flYaw

        -- Apply edge yaw
        flNewYaw = NormalizeYaw(flNewYaw + flEdgeYaw + 180)

        flNewYaw = NormalizeYaw(flNewYaw + flDiff)

        AntiAim.OverrideYawOffset(flNewYaw)
    end
end
end
local scope_line = {}
scope_line.var = Menu.FindVar("Visuals", "View", "Camera", "Remove Scope")
scope_line.screen = EngineClient:GetScreenSize()
scope_line.ref = scope_line.var:GetInt()

scope_line.menu = {}
scope_line.menu.checkbox = Menu.Switch("Visuals", "Enable Custom Scope", false)
scope_line.menu.offset = Menu.SliderInt("Visuals", "Offset", 10, 0, 500)
scope_line.menu.length = Menu.SliderInt("Visuals", "Length", 60, 0, 1000)
scope_line.menu.anim_speed = Menu.SliderInt("Visuals", "Anim Speed", 15, 1, 30)
scope_line.menu.col_1 = Menu.ColorEdit("Visuals", "Color 1", Color.RGBA(255, 255, 255))
scope_line.menu.col_2 = Menu.ColorEdit("Visuals", "Color 2", Color.RGBA(255, 255, 255, 0))

scope_line.anim_num = 0

scope_line.lerp = function(a, b, t)
    return a + (b - a) * t
end

scope_line.on_draw = function()
if lua.watermark.enablevis:GetBool() then
if scope_line.menu.checkbox:GetBool() then
    scope_line.var:SetInt(2)

    local_player = EntityList.GetLocalPlayer()
    scope_line.anim_speed = scope_line.menu.anim_speed:Get()

    if not local_player or not local_player:IsAlive() or not local_player:GetProp("m_bIsScoped") then
        scope_line.anim_num = scope_line.lerp(scope_line.anim_num, 0, scope_line.anim_speed * GlobalVars.frametime)
    else
        scope_line.anim_num = scope_line.lerp(scope_line.anim_num, 1, scope_line.anim_speed * GlobalVars.frametime)
    end

    scope_line.offset = scope_line.menu.offset:Get() * scope_line.anim_num
    scope_line.length = scope_line.menu.length:Get() * scope_line.anim_num
    scope_line.col_1 = scope_line.menu.col_1:Get()
    scope_line.col_2 = scope_line.menu.col_2:Get()
    scope_line.width = 1

    scope_line.col_1.a = scope_line.col_1.a * scope_line.anim_num
    scope_line.col_2.a = scope_line.col_2.a * scope_line.anim_num
   
    scope_line.start_x = scope_line.screen.x / 2
    scope_line.start_y = scope_line.screen.y / 2

    --Left
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x - scope_line.offset, scope_line.start_y), Vector2.new(scope_line.start_x - scope_line.offset - scope_line.length, scope_line.start_y + scope_line.width), scope_line.col_1, scope_line.col_2, scope_line.col_1, scope_line.col_2)

    --Right
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x + scope_line.offset, scope_line.start_y), Vector2.new(scope_line.start_x + scope_line.offset + scope_line.length, scope_line.start_y + scope_line.width), scope_line.col_1, scope_line.col_2, scope_line.col_1, scope_line.col_2)

    --Up
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x, scope_line.start_y + scope_line.offset), Vector2.new(scope_line.start_x + scope_line.width, scope_line.start_y + scope_line.offset + scope_line.length), scope_line.col_1, scope_line.col_1, scope_line.col_2, scope_line.col_2)

    --Down
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x, scope_line.start_y - scope_line.offset), Vector2.new(scope_line.start_x + scope_line.width, scope_line.start_y - scope_line.offset - scope_line.length), scope_line.col_1, scope_line.col_1, scope_line.col_2, scope_line.col_2)
end
end
end
scope_line.on_destroy = function()
    scope_line.var:SetInt(scope_line.ref)

    for _, v in pairs(materials) do
        local material = MatSystem.FindMaterial(v, "")

        if material ~= nil then
            material:SetMaterialVarFlag(bit.lshift(1, 28), false) -- Wireframe
        end
    end
end
Cheat.RegisterCallback("destroy", scope_line.on_destroy)
local function solus()
kb.xx:SetVisible(false)
    kb.yy:SetVisible(false)
    if lua.watermark.enablevis:GetBool() then
        local transp = lua.watermark.transp:Get()
        if (GlobalVars.tickcount % math.floor(lua.watermark.io_speed:Get() * 1 / GlobalVars.interval_per_tick) == 0) then
            N1, N2, N3, N4 = math.random(0, 10), math.random(0, 10), math.random(0, 10), math.random(0, 10)
        end
        if (GlobalVars.tickcount % 8 == 0) then
            random_ms = math.random(1, 5)
        end
        local engine = EngineClient.GetScreenSize()
        if IsAlive(EntityList.GetLocalPlayer()) ~= true then
            return
        end
         if (lua.watermark.el:Get(6) == true) then
        text_WM = GetPrefix(lua.watermark.prefix:Get(), lua.watermark.prefix_custom:Get()) .. '' .. GetWatermarkName(lua.watermark.name:Get(), lua.watermark.name_custom:Get()) .. '' .. GetPing() .. ' | ' .. GetTime()
     
        local h_WM, w_WM = 18, Render.CalcTextSize(text_WM, FS, verdana).x + 8
        local x_WM, y_WM = engine.x, 10 + (25 * 0)

        x_WM = x_WM - w_WM - 10
        GradientBoxFilled(x_WM, y_WM, w_WM, 2, lua.watermark.theme:Get(), lua.watermark.theme_custom:Get(), 255)
        Render_BoxFilled(x_WM, y_WM + 2, w_WM, h_WM, Color.RGBA(17, 17, 17, math.floor(transp)))
        Render_Text(x_WM + 4, y_WM + 4, false, text_WM, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
end
        text_FL = 'FL: ' .. (choke >= 10 and (choke) or ('  ' .. choke)) .. (IsDtReady() == true and ' | SHIFTING' or '')
        local h_FL, w_FL = 17, lua.watermark.el:Get(2) == true and Render.CalcTextSize(text_FL, FS, verdana).x + 8 or -4
        local x_FL, y_FL = engine.x, 10 + (25 * 1)

        x_FL = x_FL - w_FL - 10

        if (lua.watermark.el:Get(2) == true) then
            Render_BoxFilled(x_FL, y_FL, w_FL, h_FL, Color.RGBA(0, 0, 0, transp))
            Render_GradientBoxFilled(x_FL, y_FL + h_FL, w_FL - w_FL / 2, 1, Color.RGBA(0, 0, 0, transp), lua.watermark.fl_line:Get(), true)
            Render_GradientBoxFilled(x_FL + w_FL / 2, y_FL + h_FL, w_FL - w_FL / 2, 1, lua.watermark.fl_line:Get(), Color.RGBA(0, 0, 0, transp), true)
            Render_Text(x_FL + 4, y_FL + 2, false, text_FL, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        text_FI = 'FAKE (' .. string.sub(tostring(GetFake()), 0, 4) .. '°)'
        local h_FI, w_FI = 18, lua.watermark.el:Get(1) == true and Render.CalcTextSize(text_FI, FS, verdana).x + 8 or 0
        local dec = { [1] = math.floor(GetFake() * 4), [2] = math.floor(255 - GetFake() * 4), [3] = 0 }
        local r, g, b, a = GetColor(GetFake(), 30)
        if (lua.watermark.el:Get(1) == true) then
            Render_GradientBoxFilled(x_FL - w_FI - 6, y_FL, 2, h_FI / 2, Color.RGBA(0, 0, 0, 0), Color.RGBA(r, g, b, 255), false)
            Render_GradientBoxFilled(x_FL - w_FI - 6, y_FL + h_FI / 2, 2, h_FI / 2, Color.RGBA(r, g, b, 255), Color.RGBA(0, 0, 0, 0), false)
            Render_GradientBoxFilled(x_FL - w_FI - 4, y_FL, w_FI / 2, h_FI, Color.RGBA(17, 17, 17, math.floor(transp / 3)), Color.RGBA(17, 17, 17, transp), true)
            Render_GradientBoxFilled(x_FL - w_FI - 4 + w_FI / 2, y_FL, w_FI / 2, h_FI, Color.RGBA(17, 17, 17, transp), Color.RGBA(17, 17, 17, math.floor(transp / 3)), true)
            Render_Text(x_FL - w_FI, y_FL + 2, false, text_FI, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        local text_HZ = '0.' .. random_ms .. 'ms / ' .. HZ[lua.watermark.hz:Get()] .. 'hz'

        local h_HZ, w_HZ = 17, lua.watermark.el:Get(4) == true and Render.CalcTextSize(text_HZ, FS, verdana).x + 8 or -4
        local x_HZ, y_HZ = engine.x, 10 + (25 * ((lua.watermark.el:Get(2) == true or lua.watermark.el:Get(1) == true) and 2 or 1))

        local x_HZ = x_HZ - w_HZ - 10
        if (lua.watermark.el:Get(4) == true) then
            Render_GradientBoxFilled(x_HZ, y_HZ + h_HZ, w_HZ / 2, 1, Color.RGBA(0, 0, 0, math.floor(transp / 3)), lua.watermark.hz_line:Get(), true)
            Render_GradientBoxFilled(x_HZ + w_HZ / 2, y_HZ + h_HZ, w_HZ - w_HZ / 2, 1, lua.watermark.hz_line:Get(), Color.RGBA(0, 0, 0, math.floor(transp / 3)), true)
            Render_BoxFilled(x_HZ, y_HZ, w_HZ, h_HZ, Color.RGBA(0, 0, 0, transp))
            Render_Text(x_HZ + 4, y_HZ + 2, false, text_HZ, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        if (R1 ~= N1) then
            if (R1 < N1) then
                R1 = R1 + 0.05
            end
            if (R1 > N1) then
                R1 = R1 - 0.05
            end
        end
        if (R2 ~= N2) then
            if (R2 < N2) then
                R2 = R2 + 0.05
            end
            if (R2 > N2) then
                R2 = R2 - 0.05
            end
        end
        if (R3 ~= N3) then
            if (R3 < N3) then
                R3 = R3 + 0.05
            end
            if (R3 > N3) then
                R3 = R3 - 0.05
            end
        end
        if (R4 ~= N4) then
            if (R4 < N4) then
                R4 = R4 + 0.05
            end
            if (R4 > N4) then
                R4 = R4 - 0.05
            end
        end
        local text_IO_sub = '       '
        local text_IO = 'IO | ' .. text_IO_sub
        local w_IE = Render.CalcTextSize(text_IO_sub, FS, verdana).x + 3
        local h_IO, w_IO = 18, Render.CalcTextSize(text_IO, FS, verdana).x + 8

        if (lua.watermark.el:Get(3) == true) then
            Render_BoxFilled(x_HZ - w_IO - 4, y_HZ, w_IO, h_IO, Color.RGBA(17, 17, 17, transp))
            Render_Text(x_HZ - w_IO, y_HZ + 2, false, text_IO, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
            Render_Histogram(x_HZ - w_IO - 7 + w_IE, y_HZ + 4, Color.RGBA(142, 165, 229, 255), Color.RGBA(142, 165, 229, 0), { [1] = R1, [2] = R2, [3] = R3, [4] = R4 })
        end

        local frames = 8 * GlobalVars.frametime
        local maximum_offset = 66

        local text = 'keybinds'
        local x, y = kb.xx:Get(), kb.yy:Get()

        local height_offset = 23
        local w, h = 75 + maximum_offset, 50

        if (lua.watermark.el:Get(5) == true) then


            local e = Cheat.GetBinds()
            for i = 0, #e do
                if #e > 0 or Cheat.IsMenuVisible() == true then
                    kb.global = kb.global + frames
                    if kb.global > 1 then
                        kb.global = 1
                    end
                elseif #e < 1 or Cheat.IsMenuVisible() == false then
                    kb.global = kb.global - frames
                    if kb.global < 0 then
                        kb.global = 0
                    end
                end
            end

            for f = 1, #e do
                local key_type = '[' .. bindt[e[f]:GetMode()] .. ']'
                if e[f]:IsActive() == true and kb.global > 0 then
                    kb.k[f] = kb.k[f] + frames
                    if kb.k[f] > 1 then
                        kb.k[f] = 1
                    end
                elseif e[f]:IsActive() == false or kb.global == 0 then
                    kb.k[f] = kb.k[f] - frames
                    if kb.k[f] < 0 then
                        kb.k[f] = 0
                    end
                end
                local bind_width = Render.CalcTextSize(e[f]:GetName(), FS, verdana).x
                if bind_width > 0 then
                    if bind_width > 75 then
                        maximum_offset = bind_width
                    end
                end
                Render_Text(x + 5, y + height_offset, false, e[f]:GetName(), Color.RGBA(255, 255, 255, math.floor(kb.k[f] * 255)), verdana, FS, math.floor(kb.k[f] * 120))
                Render_Text(x + (75 + kb.o) - Render.CalcTextSize(key_type, FS, verdana).x - 5, y + height_offset, false, key_type, Color.RGBA(255, 255, 255, math.floor(kb.k[f] * 255)), verdana, FS, math.floor(kb.k[f] * 120))
                height_offset = height_offset + 15

            end
            if kb.o ~= maximum_offset then
                if kb.o > maximum_offset then
                    kb.o = kb.o - 1.2
                end
                if kb.o < maximum_offset then
                    kb.o = kb.o + 1.2
                end
            end
            local to = math.max(66, kb.o)
            GradientBoxFilled(x, y, (75 + to), 2, lua.watermark.keybindstheme:Get(), lua.watermark.keybindstheme_custom:Get(), math.floor(kb.global * 255))
            Render_BoxFilled(x, y + 2, (75 + to), 18, Color.RGBA(17, 17, 17, math.floor(kb.global * transp)))

            Render_Text(x - Render.CalcTextSize(text, FS, verdana).x / 2 + (75 + to) / 2, y + 4, false, text, Color.RGBA(255, 255, 255, math.floor(kb.global * 255)), verdana, FS, math.floor(kb.global * 120))

            local mouse = Cheat.GetMousePos()
            if (Cheat.IsKeyDown(1) and Cheat.IsMenuVisible()) then
                if (mouse.x > kb.xx:Get() and mouse.y > kb.yy:Get() and mouse.x < kb.xx:Get() + to + 75 and mouse.y < kb.yy:Get() + 20 or kb.drag == true) then
                    if (not kb.drag) then
                        kb.drag = true
                    else
                        kb.xx:Set(math.floor(mouse.x - (to + 75) / 2))
                        kb.yy:Set(mouse.y - 10)
                    end
                end
            else
                kb.drag = false
            end
        end

    end
end

Cheat.RegisterCallback('registered_shot', function(shot)
    shot1(shot)
    if shot.reason == 0 then hitted = hitted + 1 end
    reg_shot = reg_shot + 1

    logs.logs.num = logs.logs.num + 1
    local tidx = shot.target_index
    local player = EntityList.GetClientEntity(tidx)
    if not player then return end
    player = player:GetPlayer()

    if shot.reason == 0 then
        table.insert(logs.logs.stuff,{text = '[' .. logs.logs.num .. '] Hit ' .. player:GetName() .. "'s  " .. logs.logs.hitgroups[math_lib.clamp(shot.hitgroup,0,10)] .. ' for ' .. shot.damage .. '(' .. shot.wanted_damage.. ') (' .. math_lib.clamp(player:GetProp('m_iHealth')-shot.damage,0,100)  .. ' remaining) aimed=' .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.hitchance ..'%) BT=' .. shot.backtrack  ,time = GlobalVars.realtime})
        print( '[' .. logs.logs.num .. '] Hit ' .. player:GetName() .. "'s  " .. logs.logs.hitgroups[math_lib.clamp(shot.hitgroup,0,10)] .. ' for ' .. shot.damage .. '(' .. shot.wanted_damage.. ') (' .. math_lib.clamp(player:GetProp('m_iHealth')-shot.damage,0,100)  .. ' remaining) aimed=' .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.hitchance ..'%) BT=' .. shot.backtrack)
    else
        table.insert(logs.logs.stuff,{text = '[' .. logs.logs.num .. '] Missed ' .. player:GetName() .. "'s " .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.wanted_damage ..') (' .. shot.hitchance .. '%) due to ' .. logs.logs.reason[shot.reason] .. ':' .. string.format('%.3f°',shot.spread_degree) .. ', BT=' .. shot.backtrack,time = GlobalVars.realtime})
        print('[' .. logs.logs.num .. '] Missed ' .. player:GetName() .. "'s " .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.wanted_damage ..') (' .. shot.hitchance .. '%) due to ' .. logs.logs.reason[shot.reason] .. ':' .. string.format('%.3f°',shot.spread_degree) .. ', BT=' .. shot.backtrack)
    end
end)

local calcDist = function(pos1, pos2)
    local lx = pos1.x
    local ly = pos1.y
    local lz = pos1.z
    local tx = pos2.x
    local ty = pos2.y
    local tz = pos2.z
    local dx = lx - tx
    local dy = ly - ty
    local dz = lz - tz
    return math.sqrt(dx * dx + dy * dy + dz * dz);
end

local normalize_yaw = function(yaw)
    while yaw > 180 do yaw = yaw - 360 end
    while yaw < -180 do yaw = yaw + 360 end
    return yaw
end



--binds

local dmg = 0
local HC = Menu.FindVar("Aimbot","Ragebot","Accuracy","Hit Chance")
local DMG = Menu.FindVar("Aimbot","Ragebot","Accuracy","Minimum Damage")
local AW = Menu.FindVar("Aimbot","Ragebot","Accuracy","Autowall")
local FOV = Menu.FindVar("Aimbot","Ragebot","Main","FOV")
local BA = Menu.FindVar("Aimbot","Ragebot","Misc","Body Aim")
local SP = Menu.FindVar("Aimbot","Ragebot","Misc","Safe Points")
local DT = Menu.FindVar("Aimbot","Ragebot","Exploits","Double Tap")
local SW = Menu.FindVar("Aimbot","Anti Aim","Misc","Slow Walk")
local HS = Menu.FindVar("Aimbot","Ragebot","Exploits","Hide Shots")
local YAW = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local PING = Menu.FindVar("Miscellaneous", "Main", "Other", "Fake Ping")
local FD = Menu.FindVar("Aimbot","Anti Aim","Misc","Fake Duck")
local slowwalk = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Slow Walk");
local legmove = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement");
local yawadd = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add");
local yawmodifier = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Modifier");
local modefierdegree = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree");
local inverted = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Inverter");
local fakel = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Left Limit");
local faker = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Right Limit");
local fakeop = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Fake Options");
local desyn = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Desync On Shot")
local lbymode = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "LBY Mode")
local freestd = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Freestanding Desync")
local isMD = Menu.FindVar("Aimbot","Ragebot","Accuracy","Minimum Damage")
local isBA = Menu.FindVar("Aimbot","Ragebot","Misc","Body Aim")
local isSP = Menu.FindVar("Aimbot","Ragebot","Misc","Safe Points")
local isDT = Menu.FindVar("Aimbot","Ragebot","Exploits","Double Tap")
local isAP = Menu.FindVar("Miscellaneous","Main","Movement","Auto Peek")
local isSW = Menu.FindVar("Aimbot","Anti Aim","Misc","Slow Walk")
local isHS = Menu.FindVar("Aimbot","Ragebot","Exploits","Hide Shots")
local yaw_base = Menu.FindVar("Aimbot","Anti Aim","Main","Yaw Base")
local function indicators()
local lpgraph = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if lpgraph == nil then return end
   
    local x, y = EngineClient.GetScreenSize().x, EngineClient.GetScreenSize().y

    INetChannelInfoB = ffi.cast('void***', get_net_channel_info(ivengineclient))
    server_var = GetNetFramerate(INetChannelInfoB)
    local ping = math.floor(EngineClient.GetNetChannelInfo():GetLatency(0)*1000)

    if ct + 0.1 < GlobalVars.curtime then
        ct = GlobalVars.curtime
        fps = math.floor(1 / GlobalVars.frametime)
    end

    local var_color = function()
        if server_var > 16 then
            clr = Color.RGBA(255, 60, 80)
        elseif server_var > 8 then
            clr = Color.RGBA(255, 222, 0)
        else
            clr = Color.RGBA(159, 202, 43)
        end
        return clr
    end

    local ping_color = function()
        if ping < 40 then
            clr = Color.RGBA(159, 202, 43)
        elseif ping < 100 then
            clr = Color.RGBA(255, 222, 0)
        else
            clr = Color.RGBA(255, 60, 80)
        end
        return clr
    end

    local fps_color = function()
        if fps < 100 then
            clr = Color.RGBA(255, 60, 80)
        else
            clr = Color.RGBA(159, 202, 43)
        end
        return clr
    end

    local Render_Block = function(text, text2, color, color2, xane)
        ts = Render.CalcTextSize("66", 12, font.verdana)
        ts1 = Render.CalcTextSize(text, 12, font.pixel)
        ts2 = Render.CalcTextSize(text2, 10, font.pixel)

        Render.Text(text, Vector2.new(x/2-ts1.x+27-xane*16, y-(ts.y+7)+1), Color.RGBA(0, 0, 0, 255), 12, font.verdana)
        Render.Text(text, Vector2.new(x/2-ts1.x+26-xane*16, y-(ts.y+7)), color, 12, font.verdana)
        Render.Text(text2, Vector2.new(x/2+26-xane*16, y-(ts2.y+7)), color2, 10, font.pixel, true)
    end
if netgraphcheck:GetBool() then
    --background
    Render.GradientBoxFilled(Vector2.new(x/2-275, y), Vector2.new(x/2, y-25), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130))
    Render.GradientBoxFilled(Vector2.new(x/2, y), Vector2.new(x/2+275, y-25), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10))

    --render
    Render_Block(string.format('%.f', server_var/2), " VAR", var_color(), Color.RGBA(255, 255, 255, 255), 0)
    Render_Block(tostring(velocity(lpgraph)), " SPEED", Color.RGBA(255, 255, 255, 255), Color.RGBA(255, 255, 255, 255), -5)
    Render_Block(tostring(fps), " FPS", fps_color(), Color.RGBA(255, 255, 255, 255), 5)
    Render_Block(tostring(ping), " PING", ping_color(), Color.RGBA(255, 255, 255, 255), 10)
end
    local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if not lp then return end
   
    local delta_to_draw = math.abs(normalize_yaw(AntiAim.GetCurrentRealRotation() % 360 - AntiAim.GetFakeRotation() % 360)) / 2

    local chocking, invert, fake = ClientState.m_choked_commands, AntiAim.GetInverterState() == false, string.format("%.1f", delta_to_draw)

    local sc = EngineClient.GetScreenSize()
    local x, y = sc.x/100 + 2, sc.y/1.48 - 5
    local ay = 0
    local binds = Cheat.GetBinds()
    local dmg = false
    local hc = false
    local da = false
    for i = 1, #binds do
        local bind = binds[i]
        if bind:GetName() == 'Minimum Damage' and bind:IsActive() then
            dmg = true
            cur_dmg = bind:GetValue()
        end
        if bind:GetName() == 'Hit Chance' and bind:IsActive() then
            hc = true
            cur_hc = bind:GetValue()
        end
        if bind:GetName() == 'Dormant Aimbot' and bind:IsActive() then
            da = true
        end
    end

    local Render_Indicators = function(text, ay, color, size, fonts)
        ts = Render.CalcTextSize(text, size, fonts)
        Render.GradientBoxFilled(Vector2.new(13, y + ay), Vector2.new(13 + (ts.x) / 2, y + ay + 28), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65))
        Render.GradientBoxFilled(Vector2.new(13 + (ts.x) / 2, y + ay), Vector2.new(13 + (ts.x), y + ay + 28), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0))
        Render.Text(text, Vector2.new(x, y + 5 + ay), Color.new(0, 0, 0, 255), size, fonts)
        Render.Text(text, Vector2.new(x, y + 4 + ay), color, size, fonts)
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(1) and lp:GetPlayer():IsAlive() then
        text = {"DSY", "FAKE", "AA"}
        id = fake_style:GetInt()+1
        ts = Render.CalcTextSize(text[id], 22, font.calibrib)
        clr = Color.RGBA(math.floor(255 - (fake * 2.29824561404)), math.floor(fake * 3.42105263158), math.floor(fake * 0.22807017543), 255)
        Render_Indicators(text[id], ay, clr, 22, font.calibrib)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(0, 0, 0, 255), 5, 0, 365)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, clr, 4, 0, (fake/60)*360)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(2) and lp:GetPlayer():IsAlive() then
        text = {chocking, "FL"}
        id = fl_style:GetInt()+1
        ts = Render.CalcTextSize(tostring(text[id]), 22, font.calibrib)
        Render_Indicators(tostring(text[id]), ay, Color.RGBA(135, 147, 255, 255), 22, font.calibrib)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(0, 0, 0, 255), 5, 0, 365)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(135, 147, 255, 255), 4, 0, (chocking/14)*360)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(3) and lp:GetPlayer():IsAlive() then
        ts = Render.CalcTextSize("AA", 22, font.calibrib)
        clr = Color.new(aa_color:GetColor().r, aa_color:GetColor().g, aa_color:GetColor().b, 1)
        Render_Indicators("AA", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        Render.BoxFilled(Vector2.new(x, y + ts.y + ay - 1), Vector2.new(x + ts.x, y + 4 + ts.y + ay), Color.RGBA(0, 0, 0, 255))
        Render.BoxFilled(invert and Vector2.new(x+ts.x/2, y+ts.y+ay) or Vector2.new(x+ts.x/2-fake/4.4, y+ts.y+ay), invert and Vector2.new(x+ts.x/2+fake/4.4, y+3+ts.y+ay) or Vector2.new(x+ts.x/2, y+3+ts.y+ay), clr)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(4) and lp:GetPlayer():IsAlive() then
        local percent = hitted > 0 and reg_shot > 0 and (hitted/reg_shot)*100 or 100
        local miss = reg_shot-hitted
        text = {hitted.." / "..reg_shot.." ("..string.format("%.1f", percent)..")", miss.."/"..math.floor(percent).."%", hitted.." / "..reg_shot.." = "..math.floor(percent).."%"}
        id = hit_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        if hit_style:GetInt() == 2 then
            ay = ay - 35
            Render_Indicators("hit: "..hitted, ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
            ay = ay - 35
            Render_Indicators("miss: "..miss, ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        end
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(5) and lp:GetPlayer():IsAlive() then
        if chocking < OldChoke then
            toDraw0 = toDraw1
            toDraw1 = toDraw2
            toDraw2 = toDraw3
            toDraw3 = toDraw4
            toDraw4 = OldChoke
        end
        OldChoke = chocking
        Render_Indicators(string.format('%i-%i-%i-%i-%i',toDraw4,toDraw3,toDraw2,toDraw1,toDraw0), ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(6) and lp:GetPlayer():IsAlive() then
        Render_Indicators("FOV: "..FOV:GetInt().."°", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(7) and lp:GetPlayer():IsAlive() then
        Render_Indicators("AW", ay, AW:GetBool() and Color.RGBA(132, 195, 16, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lp:GetProp("m_bInBuyZone") and lua.watermark.enablevis:GetBool() and indi:GetBool(8) and lp:GetPlayer():IsAlive() then
        Render_Indicators("BUY", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        Render.Text("YOU HAVE: "..lp:GetProp("m_iAccount"), Vector2.new(x-8, y + 20 + ay), Color.RGBA(235 ,235, 235, 255), 9, font.pixel9, true)
        ay = ay - 35
    end

    if BA:GetInt() == 2 and lua.watermark.enablevis:GetBool()  and indi:GetBool(9) then
        text = {"BODY", "BAIM", "FB", "BA"}
        id = ba_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if SP:GetInt() == 2 and lua.watermark.enablevis:GetBool()  and indi:GetBool(10) then
        text = {"SAFE", "SP"}
        id = sp_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(11) then
        if dmg == true or dmgs:GetBool() then
            if dmgs:GetBool() then dmg_val = DMG:GetInt() else dmg_val = cur_dmg end
            dmg_val = math.floor(dmg_val)
            text = {"Damage: " .. dmg_val, "DMG: " .. dmg_val, "DMG", dmg_val, dmg_val < 101 and ": "..dmg_val or ": HP+"..(dmg_val-100)}
            clr = {Color.RGBA(235, 235, 235, 255), Color.RGBA(255, 255, 255, 150), Color.RGBA(132, 195, 16, 255), Color.RGBA(235, 235, 235, 255), Color.RGBA(80, 255, 80, 255)}
            id = dmg_style:GetInt()+1
            Render_Indicators(tostring(text[id]), ay, clr[id], 22, font.calibrib)
            ay = ay - 35
        end
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(12) then
        if hc == true or hcs:GetBool() then
            if hcs:GetBool() then hc_val = HC:GetInt() else hc_val = cur_hc end
            hc_val = math.floor(hc_val)
            text = {"Hitchance: " .. hc_val, "HC: " .. hc_val, "HC", hc_val, ": "..hc_val.."%"}
            clr = {Color.RGBA(235, 235, 235, 255), Color.RGBA(200, 185, 255, 255), Color.RGBA(132, 195, 16, 255), Color.RGBA(235, 235, 235, 255), Color.RGBA(80, 255, 80, 255)}
            id = hc_style:GetInt()+1
            Render_Indicators(tostring(text[id]), ay, clr[id], 22, font.calibrib)
            ay = ay - 35
        end
    end

    if YAW:GetInt() == 5 and lua.watermark.enablevis:GetBool()  and indi:GetBool(13) then
        text = {"FREESTAND", "FS"}
        id = fs_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if YAW:GetInt() == 4 and lua.watermark.enablevis:GetBool()  and indi:GetBool(14) then
        Render_Indicators("AT", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if HS:GetBool() and lua.watermark.enablevis:GetBool()  and indi:GetBool(15) then
        text = {"ONSHOT", "HS", "OSAA", "HIDE"}
        id = hs_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if da == true and lua.watermark.enablevis:GetBool()  and indi:GetBool(16) or da_style:GetBool() and lua.watermark.enablevis:GetBool() and indi:GetBool(16) then
        Render_Indicators("DA", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end  

    if PING:GetInt() > 0 and lua.watermark.enablevis:GetBool()  and indi:GetBool(17) then
        INetChannelInfo = EngineClient.GetNetChannelInfo()
        net_channel = GetNetChannel(INetChannelInfo)
        outgoing, incoming = net_channel.latency.crn(0), net_channel.latency.crn(1)
        ping = math.max(0, (incoming-outgoing)*1000)
        Render_Indicators("PING", ay, Color.RGBA(math.floor(255 - ((ping / 189 * 60) * 2.29824561404)), math.floor((ping / 189 * 60) * 3.42105263158), math.floor((ping / 189 * 60) * 0.22807017543), 255), 22, font.calibrib)
        ay = ay - 35
    end

    if bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) == 0 and lua.watermark.enablevis:GetBool()  and indi:GetBool(18) and lp:GetPlayer():IsAlive() then
        Render_Indicators("LC", ay, DT:GetBool() and Exploits.GetCharge() == 1 and Color.RGBA(255, 0, 0, 255) or velocity(lp)/chocking >= 20.84 and Color.RGBA(132, 195, 16, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if FD:GetBool() and lua.watermark.enablevis:GetBool()  and indi:GetBool(19) then
        Render_Indicators("DUCK", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(20) then
        local c4 = EntityList.GetEntitiesByClassID(129)[1];
        if c4 ~= nil then
            local time = ((c4:GetProp("m_flC4Blow") - GlobalVars.curtime)*10) / 10
            local timer = string.format("%.1f", time)
            local defused = c4:GetProp("m_bBombDefused")
            if math.floor(timer) > 0 and not defused then
                local defusestart = c4:GetProp("m_hBombDefuser") ~= 4294967295
                local defuselength = c4:GetProp("m_flDefuseLength")
                local defusetimer = defusestart and math.floor((c4:GetProp("m_flDefuseCountDown") - GlobalVars.curtime)*10) / 10 or -1
                if defusetimer > 0 then
                    local color = math.floor(timer) > defusetimer and Color.RGBA(58, 191, 54, 160) or Color.RGBA(252, 18, 19, 125)
                   
                    local barlength = (((sc.y - 50) / defuselength) * (defusetimer))
                    Render.BoxFilled(Vector2.new(0.0, 0.0), Vector2.new(16, sc.y), Color.RGBA(25, 25, 25, 160))
                    Render.Box(Vector2.new(0.0, 0.0), Vector2.new(16, sc.y), Color.RGBA(25, 25, 25, 160))
                   
                    Render.BoxFilled(Vector2.new(0, sc.y - barlength), Vector2.new(16, sc.y), color)
                end
               
                local bombsite = c4:GetProp("m_nBombSite") == 0 and "A" or "B"
                local health = lp:GetProp("m_iHealth")
                local armor = lp:GetProp("m_ArmorValue")
                local willKill = false
                local eLoc = c4:GetProp("m_vecOrigin")
                local lLoc = lp:GetProp("m_vecOrigin")
                local distance = calcDist(eLoc, lLoc)
                local a = 450.7
                local b = 75.68
                local c = 789.2
                local d = (distance - b) / c;

                local damage = a * math.exp(-d * d)
                if armor > 0 then
                    local newDmg = damage * 0.5;
   
                    local armorDmg = (damage - newDmg) * 0.5
                    if armorDmg > armor then
                        armor = armor * (1 / .5)
                        newDmg = damage - armorDmg
                    end
                    damage = newDmg;
                end
                local dmg = math.ceil(damage)
                    if dmg >= health then
                    willKill = true
                else
                    willKill = false
                end
                Render_Indicators(bombsite.." - "..string.format("%.1f", timer).."s", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
                ay = ay - 35
                if lp then
                    if willKill == true then
                        Render_Indicators("FATAL", ay, Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
                        ay = ay - 35
                    elseif damage > 0.5 then
                        Render_Indicators("-"..dmg.." HP", ay, Color.RGBA(210, 216, 112, 255), 22, font.calibrib)
                        ay = ay - 35
                    end
                end
            end
        end
        if planting then
            Render_Indicators(planting_site, ay, Color.RGBA(210, 216, 112, 255), 22, font.calibrib)
            fill = 3.125 - (3.125 + on_plant_time - GlobalVars.curtime)
            if(fill > 3.125) then
                fill = 3.125
            end
            ts = Render.CalcTextSize(planting_site, 22, font.calibrib)
            Render.Circle(Vector2.new(x + ts.x+18, y+ay+ts.y/2+3), 8, 32, Color.RGBA(0, 0, 0, 255), 4, 0, 360)
            Render.Circle(Vector2.new(x + ts.x+18, y+ay+ts.y/2+3), 8, 32, Color.RGBA(235 ,235, 235, 255), 3, 0, (fill/3.3)*360)
            ay = ay - 35
        end
    end      
       
    if DT:GetBool() and lua.watermark.enablevis:GetBool() and indi:GetBool(21) then
        Render_Indicators("DT", ay, Exploits.GetCharge() == 1 and Color.RGBA(235 ,235, 235, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end
end

local verdana2 = Render.InitFont("Verdana", 10 * 1.1)
    local gdmggind = Menu.Switch("Visuals", "Damage Indicator", false, "Tooltip")
local min_gdmgind = Menu.Combo("Visuals", "Damage Style", {"Rigth Top", "Left Top", "Top", "Down", "Right under crosshair"}, 0, "")
function dmgdraw()
local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if lp == nil then return end
    if not EngineClient.IsConnected() then return end
    if lp:GetProp("m_iHealth") > 0 then
  local min_gdmg = Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Minimum Damage"):GetInt()
    local gdmg = '' .. min_gdmg

    if gdmggind :GetBool() then
if min_gdmgind:GetInt() == 0 then
    Render.Text(gdmg , Vector2.new(243 * 4, 529), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 1 then
    Render.Text(gdmg , Vector2.new(232 * 4, 529), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 2 then
         Render.Text(gdmg , Vector2.new(238.8 * 4, 520), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 3 then
    Render.Text(gdmg , Vector2.new(238.9 * 4, 548), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
        else
if min_gdmgind:GetInt() == 4 then
    Render.Text(gdmg , Vector2.new(240.7 * 4, 540), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
end
end
end
end
end end
end
end
function killaura()
    local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if not lp then return end
    if lp:GetProp("m_iHealth") > 0 then
        local r = math.floor(color:GetColor().r*255)
        local g = math.floor(color:GetColor().g*255)
        local b = math.floor(color:GetColor().b*255)
        local charge = math.min(math.floor(math.sin((Exploits.GetCharge()%2) * 1) * 122), 100)
        local x = EngineClient.GetScreenSize().x
        local y = EngineClient.GetScreenSize().y
        local ay = 19
        local dmg = false
        local binds = Cheat.GetBinds()
        for i = 1, #binds do
            local bind = binds[i]
            if bind:GetName() == 'Minimum Damage' then
                dmg = true
            end
        end

        --Render Indicators
        local Render_Indicator = function(text, ay2, color, size, font, outline, sas)
            local ts = Render.CalcTextSize(text, size, font)
            Render.Text(text, Vector2.new(x/2-ts.x/2 - sas, y/2+ay2), color, size, font, outline)
        end
        if color:GetBool() then
        --render
        sz = Render.CalcTextSize("killaura", 12, font.verdanabd)
        Render_Indicator("kill", ay, AntiAim.GetInverterState() == true and Color.RGBA(r, g, b, 255) or Color.RGBA(255, 255, 255, 255), 11, font.verdanabd, true, sz.x/4)
        Render_Indicator("aura°", ay, AntiAim.GetInverterState() == false and Color.RGBA(r, g, b, 255) or Color.RGBA(255, 255, 255, 255), 11, font.verdanabd, true, -sz.x/4-1)
        ay = ay + 2

        if HS:GetBool() then
            ay = ay + 9
            if hs_anim < 255 then hs_anim = hs_anim + 15 end
        else
            if hs_anim > 0 then hs_anim = 0 end
        end
        Render_Indicator("HS", ay+(hs_anim/35)-7, Color.RGBA(r, g, b, hs_anim), 10, font.pixel, true, 0)

        if dmg == true then
            ay = ay + 9
            if md_anim < 255 then md_anim = md_anim + 15 end
        else
            if md_anim > 0 then md_anim = 0 end
        end
        Render_Indicator("DMG", ay+(md_anim/35)-7, Color.RGBA(r, g, b, md_anim), 10, font.pixel, true, 0)

        if DT:GetBool() then
            ay = ay + 9
            if dt_anim < 255 then dt_anim = dt_anim + 15 end
        else
            if dt_anim > 0 then dt_anim = 0 end
        end
        Render_Indicator("DT", ay+(dt_anim/35)-7, Exploits.GetCharge() == 1 and Color.RGBA(r, g, b, dt_anim) or Color.RGBA(255, 80, 80, dt_anim), 10, font.pixel, true, 0)

        if FD:GetBool() then
            ay = ay + 9
            if fd_anim < 255 then fd_anim = fd_anim + 15 end
        else
            if fd_anim > 0 then fd_anim = 0 end
        end
        Render_Indicator("FD", ay+(fd_anim/35)-7, Color.RGBA(r, g, b, fd_anim), 10, font.pixel, true, 0)


        if SP:GetInt() == 2 then
            ay = ay + 9
            if sp_anim < 255 then sp_anim = sp_anim + 15 end
        else
            if sp_anim > 0 then sp_anim = 0 end
        end
        Render_Indicator("SP", ay+(sp_anim/35)-7, Color.RGBA(r, g, b, sp_anim), 10, font.pixel, true, 0)
    end
end
end
function speclist()
      local spectators = {}
        local players = EntityList.GetPlayers()
    if not players then return end
        local lp = EntityList.GetLocalPlayer()

        for _, v in pairs(players) do
            if not v:IsDormant() and v:GetProp("m_iHealth") < 1 then
                local target = EntityList.GetPlayerFromHandle(v:GetProp("m_hObserverTarget"))

                if target == lp then
                    spectators[#spectators + 1] = { name = v:GetName() }
                end
            end
        end

    for i = 0, #spectators do
        if a3:GetBool() then
        if spectators[i] ~= nil then
        Render.Text(spectators[i].name,Vector2.new(EngineClient.GetScreenSize().x-Render.CalcTextSize(spectators[i].name,11,fontspec).x-2,0-10+12*i),Color.RGBA(255,255,255,255),11,fontspec,true,false)

        end


end
    end


    end
function legfucker(cmd)

    if gui.legbreaker:GetBool() then
        Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement"):SetInt(ClientState.m_choked_commands == 0 and 1 or 2)
    end
end

local sv_maxusrcmdprocessticks = CVar.FindVar("sv_maxusrcmdprocessticks")
Cheat.RegisterCallback("prediction", function()
    if gui.doubletap:GetBool() then
        Exploits.OverrideDoubleTapSpeed(16)
        sv_maxusrcmdprocessticks:SetInt(17)
    end
    legfucker(cmd)
    edgeyaw(UserCmd)
    local local_player = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
    is_alive = local_player:GetProp("DT_BasePlayer", "m_iHealth") > 0
    if not is_alive then return end
    local active_weapon = local_player:GetActiveWeapon()
    if active_weapon == nil then return end
    local weapon_id = active_weapon:GetWeaponID()
    local players = EntityList.GetPlayers()
    local not_scoped = active_weapon:GetProp("m_zoomLevel") == 0
if gui.checkns:GetBool() then
    for _, player in ipairs(players) do
        if not player:IsTeamMate() then
            local user_index = player:EntIndex()
            if weapon_id == 40 and not_scoped then -- scout noscope hc
                RageBot.OverrideHitchance(user_index, gui.scout_noscope_hc:GetInt())
            end

            if weapon_id == 11 or weapon_id == 38 and not_scoped then -- auto noscope hc
                RageBot.OverrideHitchance(user_index, gui.auto_noscope_hc:GetInt())
            end
        end
    end
end
    local local_player = EntityList.GetLocalPlayer()
    for _, player in pairs(EntityList.GetPlayers()) do
        if (not player:IsTeamMate() and player:IsAlive()) then
           
            local enemy = player:GetPlayer()
            local trace = Cheat.FireBullet(local_player, local_player:GetEyePosition(), enemy:GetEyePosition())
            if trace.damage > 0 then
                if gui.cross:GetBool() then
                 Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):SetBool(false)
            end
        end
    end
end

local lp = EntityList:GetLocalPlayer()
local bOnGround = bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) ~= 0
local Crouch = bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(2, 0)) ~= 0
local speed2 = Vector.new(lp:GetProp("m_vecVelocity[0]"), lp:GetProp("m_vecVelocity[1]"), lp:GetProp("m_vecVelocity[2]")):Length2D()
    local neverloset = c:Get()
if neverloset then
        if speed2 < 3 then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.syaw2:Get())
        else
            yawadd:Set(antiaim.syaw:Get())
        end
            fakel:Set(antiaim.sleft:Get())
            faker:Set(antiaim.sright:Get())
            fakeop:Set(antiaim.sfkopt:Get())
            lbymode:Set(antiaim.slby:Get())    
            freestd:Set(antiaim.sfr:Get())
            desyn:Set(antiaim.sdes:Get())
            modefierdegree:Set(antiaim.smod:Get())
            yawmodifier:Set(antiaim.sdeg:Get())
        end
        if speed2 > 100 then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.wyaw2:Get())
        else
            yawadd:Set(antiaim.wyaw:Get())
        end
            fakel:Set(antiaim.wleft:Get())
            faker:Set(antiaim.wright:Get())
            fakeop:Set(antiaim.wfkopt:Get())
            lbymode:Set(antiaim.wlby:Get())    
            freestd:Set(antiaim.wfr:Get())
            desyn:Set(antiaim.wdes:Get())
            modefierdegree:Set(antiaim.wmod:Get())
            yawmodifier:Set(antiaim.wdeg:Get())
           
        end
        if slowwalk:Get() then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.swyaw2:Get())
        else
            yawadd:Set(antiaim.swyaw:Get())
        end
            fakel:Set(antiaim.swleft:Get())
            faker:Set(antiaim.swright:Get())
            fakeop:Set(antiaim.swfkopt:Get())
            lbymode:Set(antiaim.swlby:Get())      
            freestd:Set(antiaim.swfr:Get())
            desyn:Set(antiaim.swdes:Get())
            modefierdegree:Set(antiaim.swmod:Get())
            yawmodifier:Set(antiaim.swdeg:Get())
        end
        if not bOnGround then
            if Cheat.IsKeyDown(0x20) or Cheat.IsKeyDown(0x20 and 0x11) then
             if inverted:GetBool() == true then
            yawadd:Set(antiaim.ayaw2:Get())
      else
            yawadd:Set(antiaim.ayaw:Get())
      end
            fakel:Set(antiaim.aleft:Get())
            faker:Set(antiaim.aright:Get())
            fakeop:Set(antiaim.afkopt:Get())
            lbymode:Set(antiaim.alby:Get())    
            freestd:Set(antiaim.afr:Get())
            desyn:Set(antiaim.ades:Get())  
            modefierdegree:Set(antiaim.amod:Get())
            yawmodifier:Set(antiaim.adeg:Get())
        end
    end
        if Crouch and bOnGround then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.cyaw2:Get())
    else
            yawadd:Set(antiaim.cyaw:Get())
    end
            fakel:Set(antiaim.cleft:Get())
            faker:Set(antiaim.cright:Get())
            fakeop:Set(antiaim.cfkopt:Get())
            lbymode:Set(antiaim.clby:Get())    
            freestd:Set(antiaim.cfr:Get())
            desyn:Set(antiaim.cdes:Get())  
            modefierdegree:Set(antiaim.cmod:Get())
            yawmodifier:Set(antiaim.cdeg:Get())
        end
end
end)
local phrases = {
    "1 свинья йоабана",
   "портфель в школу собрал?",
   "сходи покури, смотри что бы мама не увидела",
   "заебись чел, падаешь как биткоин",
   "1 для токсиков, так что скажу что ты сын шлюхи",
   "killaura.lua on the best",
   "она сосёт мне, ты знаешь кт)",
   "owned by ivanzolo2004",
  "кто такой Zabolotny?",
"1 йоханс бобанс",
"я тебя убил как твою мать в казахстане",
"1",
"слишком хуёвый",
"рофл, прикольчик, приколдесс",
"ты , сын будильника, пошел нахуй",
"как такой сочник смог кнопку нажать?",
"own you, cant reply",
"тебя st1vaho не знает",
"переебал тапком как таракана",
"by killaura.lua",
"я не дотер, но крипа зафармил",
"тебе стоит прикупить конфиг у кимбора",
"тебе стоит посмотреть nolove",
"я бы с таким уровнем игры не жил...",
"я бы тебе посоветовал купить луашку, https://neverlose.cc/market/item?id=J0NjRE:",
"не хочешь посмотреть rayzen? там ты увидишь идеальный fov",
"бля чел ты умер от подножки йобаный рот",
"вот ты сперматозик такой масюсенький",
"pm me in skeet fucking nigga 818 UID",
"l2p dog ezz",
"сын биткоина, ты упал",
"фу нахуй немыщный далбаеб какой ты хуёвый",
"почему у тебя мать дохлая валяется?",
"ну как ты умер почему в такой ситуации ты можешь умереть сын шлюхи",
"бля ты как отец твой, вроде есть, но вроде ушел...",
"tapped dog",
"ты бездарность всего hvh",
"фу блять иди чит купи нормальный",
}
local function get_phrase()
    return phrases[Utils.RandomInt(1, #phrases)]:gsub('\"', '')
end

Cheat.RegisterCallback("events", function(event)
    if event:GetName() ~= "player_hurt" then
        return
    end
    local localplayer = EntityList.GetLocalPlayer()
    local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))
   if gui.hitsound:Get() then
    if attacker == localplayer then
        EngineClient.ExecuteClientCmd(string.format("playvol %s %s", gui.dir:Get(), gui.vol:Get()))
    end
end
local player_resource = EntityList.GetPlayerResource()
    if event:GetName() == "bomb_abortplant" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "bomb_defused" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "bomb_planted" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "round_prestart" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
   
    if event:GetName() == "bomb_beginplant" then
        on_plant_time = GlobalVars.curtime
        planting = true
        local m_bombsiteCenterA = player_resource:GetProp("DT_CSPlayerResource", "m_bombsiteCenterA")
        local m_bombsiteCenterB = player_resource:GetProp("DT_CSPlayerResource", "m_bombsiteCenterB")
       
        local player = EntityList.GetPlayerForUserID(e:GetInt("userid", 0))
        local localPos = player:GetRenderOrigin()
        local dist_to_a = localPos:DistTo(m_bombsiteCenterA)
        local dist_to_b = localPos:DistTo(m_bombsiteCenterB)
       
        planting_site = dist_to_a < dist_to_b and "Bombsite A" or "Bombsite B"
    end
if gui.trashtalk:GetBool() then
    if event:GetName() ~= "player_death" then return end

    local me = EntityList.GetLocalPlayer()
    local victim = EntityList.GetPlayerForUserID(event:GetInt("userid"))
    local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))

    if victim == attacker or attacker ~= me then return end

    EngineClient.ExecuteClientCmd('say "' .. get_phrase() .. '"')
end
end)

ffi.cdef [[
    typedef int(__thiscall* get_clipboard_text_count)(void*);
    typedef void(__thiscall* set_clipboard_text)(void*, const char*, int);
    typedef void(__thiscall* get_clipboard_text)(void*, int, const char*, int);
]]

local ffi_cast = ffi.cast
local VGUI_System = ffi_cast("void***", Utils.CreateInterface("vgui2.dll", "VGUI_System010"))
local get_clipboard_text_count = ffi_cast("get_clipboard_text_count", VGUI_System[0][7])
local set_clipboard_text = ffi_cast("set_clipboard_text", VGUI_System[0][9])
local get_clipboard_text = ffi_cast("get_clipboard_text", VGUI_System[0][11])

local function str_to_sub(input, sep)
    local t = {}
    for str in string.gmatch(input, "([^"..sep.."]+)") do
        t[#t + 1] = string.gsub(str, "\n", "")
    end
    return t
end

local function clipboard_import( )
      local clipboard_text_length = get_clipboard_text_count( VGUI_System )
    local clipboard_data = ""

    if clipboard_text_length > 0 then
        buffer = ffi.new("char[?]", clipboard_text_length)
        size = clipboard_text_length * ffi.sizeof("char[?]", clipboard_text_length)

        get_clipboard_text( VGUI_System, 0, buffer, size )

        clipboard_data = ffi.string( buffer, clipboard_text_length-1 )
    end
    return clipboard_data
end

local function clipboard_export(string)
    if string then
        set_clipboard_text(VGUI_System, string, string:len())
    end
end

local function temp()
    str = tostring(0) .. "|"
    .. tostring(1) .. "|"
    .. "false" .. "|"
    .. tostring(3) .. "|"

    clipboard_export(str)
    local tbl = str_to_sub(clipboard_import(), "|")

    for i = 1, #tbl do
        print(tbl[i])
    end
end
temp()
function bool_to_int(arg)
    return arg and "1" or "0"
end
function int_to_bool(arg)
    return arg == "1"
end

-- GETINT DLYA MULTI
-- GET PROSTO

function export()
    str = tostring(bool_to_int(gui.doubletap:Get())) .. "|"
    .. tostring(bool_to_int(gui.cross:Get())) .. "|"
    .. tostring(bool_to_int(gui.antidef:Get())) .. "|"
    .. tostring(bool_to_int(gui.checkns:Get())) .. "|"
    .. tostring(gui.scout_noscope_hc:Get()) .. "|"
    .. tostring(gui.auto_noscope_hc:Get()) .. "|"
    .. tostring(bool_to_int(gui.hitsound:Get())) .. "|"
    .. tostring(gui.dir:Get()) .. "|"
    .. tostring(gui.vol:Get()) .. "|"
    .. tostring(bool_to_int(gui.trashtalk:Get())) .. "|"
    .. tostring(bool_to_int(gui.legbreaker:Get())) .. "|"
    .. tostring(bool_to_int(c:Get())) .. "|"
    .. tostring(antiaim.syaw2:Get()) .. "|"
    .. tostring(antiaim.syaw:Get()) .. "|"
    .. tostring(antiaim.sdeg:Get()) .. "|"
    .. tostring(antiaim.smod:Get()) .. "|"
    .. tostring(antiaim.sfake:Get()) .. "|"
    .. tostring(antiaim.sleft:Get()) .. "|"
    .. tostring(antiaim.sright:Get()) .. "|"
    .. tostring(antiaim.sfkopt:GetInt()) .. "|"
    .. tostring(antiaim.slby:Get()) .. "|"
    .. tostring(antiaim.sfr:Get()) .. "|"
    .. tostring(antiaim.sdes:Get()) .. "|"

    .. tostring(antiaim.wyaw2:Get()) .. "|"
    .. tostring(antiaim.wyaw:Get()) .. "|"
    .. tostring(antiaim.wdeg:Get()) .. "|"
    .. tostring(antiaim.wmod:Get()) .. "|"
    .. tostring(antiaim.wfake:Get()) .. "|"
    .. tostring(antiaim.wleft:Get()) .. "|"
    .. tostring(antiaim.wright:Get()) .. "|"
    .. tostring(antiaim.wfkopt:GetInt()) .. "|"
    .. tostring(antiaim.wlby:Get()) .. "|"
    .. tostring(antiaim.wfr:Get()) .. "|"
    .. tostring(antiaim.wdes:Get()) .. "|"

    .. tostring(antiaim.swyaw2:Get()) .. "|"
    .. tostring(antiaim.swyaw:Get()) .. "|"
    .. tostring(antiaim.swdeg:Get()) .. "|"
    .. tostring(antiaim.swmod:Get()) .. "|"
    .. tostring(antiaim.swfake:Get()) .. "|"
    .. tostring(antiaim.swleft:Get()) .. "|"
    .. tostring(antiaim.swright:Get()) .. "|"
    .. tostring(antiaim.swfkopt:GetInt()) .. "|"
    .. tostring(antiaim.swlby:Get()) .. "|"
    .. tostring(antiaim.swfr:Get()) .. "|"
    .. tostring(antiaim.swdes:Get()) .. "|"

    .. tostring(antiaim.ayaw2:Get()) .. "|"
    .. tostring(antiaim.ayaw:Get()) .. "|"
    .. tostring(antiaim.adeg:Get()) .. "|"
    .. tostring(antiaim.amod:Get()) .. "|"
    .. tostring(antiaim.afake:Get()) .. "|"
    .. tostring(antiaim.aleft:Get()) .. "|"
    .. tostring(antiaim.aright:Get()) .. "|"
    .. tostring(antiaim.afkopt:GetInt()) .. "|"
    .. tostring(antiaim.alby:Get()) .. "|"
    .. tostring(antiaim.afr:Get()) .. "|"
    .. tostring(antiaim.ades:Get()) .. "|"  

    .. tostring(antiaim.cyaw2:Get()) .. "|"
    .. tostring(antiaim.cyaw:Get()) .. "|"
    .. tostring(antiaim.cdeg:Get()) .. "|"
    .. tostring(antiaim.cmod:Get()) .. "|"
    .. tostring(antiaim.cfake:Get()) .. "|"
    .. tostring(antiaim.cleft:Get()) .. "|"
    .. tostring(antiaim.cright:Get()) .. "|"
    .. tostring(antiaim.cfkopt:GetInt()) .. "|"
    .. tostring(antiaim.clby:Get()) .. "|"
    .. tostring(antiaim.cfr:Get()) .. "|"
    .. tostring(antiaim.cdes:Get()) .. "|"


    .. tostring(bool_to_int(antiaim.refEnabled:Get())) .. "|"
    .. tostring(bool_to_int(legitaa:Get())) .. "|"
    .. tostring(bool_to_int(at_target_on_legitAA:Get())) .. "|"



clipboard_export(str)
end

function import()
   local tbl = str_to_sub(clipboard_import(), "|")
gui.doubletap:Set(int_to_bool(tbl[1]))
    gui.cross:Set(int_to_bool(tbl[2]))
    gui.antidef:Set(int_to_bool(tbl[3]))
    gui.checkns:Set(int_to_bool(tbl[4]))
    gui.scout_noscope_hc:Set(tonumber(tbl[5]))
    gui.auto_noscope_hc:Set(tonumber(tbl[6]))
    gui.hitsound:Set(int_to_bool(tbl[7]))
    gui.dir:Set(tbl[8])
    gui.vol:Set(tonumber(tbl[9]))
    gui.trashtalk:Set(int_to_bool(tbl[10]))
    gui.legbreaker:Set(int_to_bool(tbl[11]))
    c:Set(int_to_bool(tbl[12]))
    antiaim.syaw2:Set(tonumber(tbl[13]))
    antiaim.syaw:Set(tonumber(tbl[14]))
    antiaim.sdeg:Set(tonumber(tbl[15]))
    antiaim.smod:Set(tonumber(tbl[16]))
    antiaim.sfake:Set(tonumber(tbl[17]))
    antiaim.sleft:Set(tonumber(tbl[18]))
    antiaim.sright:Set(tonumber(tbl[19]))
    antiaim.sfkopt:Set(tonumber(tbl[20]))
    antiaim.slby:Set(tonumber(tbl[21]))
    antiaim.sfr:Set(tonumber(tbl[22]))
    antiaim.sdes:Set(tonumber(tbl[23]))

    antiaim.wyaw2:Set(tonumber(tbl[24]))
    antiaim.wyaw:Set(tonumber(tbl[25]))
    antiaim.wdeg:Set(tonumber(tbl[26]))
    antiaim.wmod:Set(tonumber(tbl[27]))
    antiaim.wfake:Set(tonumber(tbl[28]))
    antiaim.wleft:Set(tonumber(tbl[29]))
    antiaim.wright:Set(tonumber(tbl[30]))
    antiaim.wfkopt:Set(tonumber(tbl[31]))
    antiaim.wlby:Set(tonumber(tbl[32]))
    antiaim.wfr:Set(tonumber(tbl[33]))
    antiaim.wdes:Set(tonumber(tbl[34]))

    antiaim.swyaw2:Set(tonumber(tbl[35]))
    antiaim.swyaw:Set(tonumber(tbl[36]))
    antiaim.swdeg:Set(tonumber(tbl[37]))
    antiaim.swmod:Set(tonumber(tbl[38]))
    antiaim.swfake:Set(tonumber(tbl[39]))
    antiaim.swleft:Set(tonumber(tbl[40]))
    antiaim.swright:Set(tonumber(tbl[41]))
    antiaim.swfkopt:Set(tonumber(tbl[42]))
    antiaim.swlby:Set(tonumber(tbl[43]))
    antiaim.swfr:Set(tonumber(tbl[44]))
    antiaim.swdes:Set(tonumber(tbl[45]))

    antiaim.ayaw2:Set(tonumber(tbl[46]))
    antiaim.ayaw:Set(tonumber(tbl[47]))
    antiaim.adeg:Set(tonumber(tbl[48]))
    antiaim.amod:Set(tonumber(tbl[49]))
    antiaim.afake:Set(tonumber(tbl[50]))
    antiaim.aleft:Set(tonumber(tbl[51]))
    antiaim.aright:Set(tonumber(tbl[52]))
    antiaim.afkopt:Set(tonumber(tbl[53]))
    antiaim.alby:Set(tonumber(tbl[54]))
    antiaim.afr:Set(tonumber(tbl[55]))
    antiaim.ades:Set(tonumber(tbl[56]))  

    antiaim.cyaw2:Set(tonumber(tbl[57]))
    antiaim.cyaw:Set(tonumber(tbl[58]))
    antiaim.cdeg:Set(tonumber(tbl[59]))
    antiaim.cmod:Set(tonumber(tbl[60]))
    antiaim.cfake:Set(tonumber(tbl[61]))
    antiaim.cleft:Set(tonumber(tbl[62]))
    antiaim.cright:Set(tonumber(tbl[63]))
    antiaim.cfkopt:Set(tonumber(tbl[64]))
    antiaim.clby:Set(tonumber(tbl[65]))
    antiaim.cfr:Set(tonumber(tbl[66]))
    antiaim.cdes:Set(tonumber(tbl[67]))
    antiaim.refEnabled:Set(int_to_bool(tbl[68]))
    legitaa:Set(int_to_bool(tbl[69]))
    at_target_on_legitAA:Set(int_to_bool(tbl[70]))

end
local button = Menu.Button("Configs", "Export Settings", "%0",function()
    export()
    Cheat.AddNotify("killaura.lua", "Settings copied!")
end)
local button2 = Menu.Button("Configs", "Import Settings", "%1",function()
    import()
    Cheat.AddNotify("killaura.lua", "Settings loaded!")
end)

button4 = Menu.Text("Configs", "Work only on Rage/AA | Soon More...")

Cheat.RegisterCallback("draw", function()
    button:SetVisible(globaltabs:GetInt() == 5)
    button2:SetVisible(globaltabs:GetInt() == 5)
    button4:SetVisible(globaltabs:GetInt() == 5)
    speclist()
    scope_line.on_draw()
    if slog_en:Get() then
        draw_slog()
    end

    logs.color = colorpicker:Get()
    if a4:Get() then
    for i, log in ipairs(logs.logs.stuff) do
            Render.Text(log.text,Vector2.new(6+1,5+1+i*12-12+a5:Get()),Color.RGBA(0,0,0,255),11,logs.font)
            Render.Text(log.text,Vector2.new(6,5+i*12-12+a5:Get()),Color.RGBA(255,255,255,255),11,logs.font)
        if log.time + 5 < GlobalVars.realtime then table.remove(logs.logs.stuff,i) end
    end
end
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
    gui.antidef:SetVisible(globaltabs:GetInt() == 1)
    gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
    a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
    killaura()
dmgdraw()
i:SetVisible(globaltabs:GetInt() == 0)
i2:SetVisible(globaltabs:GetInt() == 0)
i3:SetVisible(globaltabs:GetInt() == 0)
i4:SetVisible(globaltabs:GetInt() == 0)
i5:SetVisible(globaltabs:GetInt() == 0)
i6:SetVisible(globaltabs:GetInt() == 0)
i7:SetVisible(globaltabs:GetInt() == 0)
slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
    lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
    lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
    lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(5))
    lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
    color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    solus()
        update_choked(c)
    legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
    antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
    at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
    indicators()
    def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
    fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
    aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
    hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
    ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
    sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
    dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
    dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
    hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
    hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
    fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
    hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
    buttoncheck:SetVisible(globaltabs:GetInt() == 2)
    da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
           local neverlose =  c:Get() and globaltabs:GetInt() == 2
    local s = neverlosecondit:Get() == 0
    local w = neverlosecondit:Get() == 1
    local sw  = neverlosecondit:Get() == 2
    local a = neverlosecondit:Get() == 3
    local c = neverlosecondit:Get() == 4
    if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim.    syaw2:SetVisible(s)
antiaim.    sfake:SetVisible(s)
antiaim.    sleft:SetVisible(s)
antiaim.    sright:SetVisible(s)
antiaim.    sfkopt:SetVisible(s)
antiaim.    slby:SetVisible(s)
antiaim.    sfr:SetVisible(s)
antiaim.    smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim.    sdeg:SetVisible(s)
antiaim.    syaw:SetVisible(s)
antiaim.    sdes:SetVisible(s)
antiaim.    wyaw2:SetVisible(w)
antiaim.    wfake:SetVisible(w)
antiaim.    wleft:SetVisible(w)
antiaim.    wright:SetVisible(w)
antiaim.    wfkopt:SetVisible(w)
antiaim.    wlby:SetVisible(w)
antiaim.    wfr:SetVisible(w)
antiaim.    wdes:SetVisible(w)
antiaim.    wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim.    wdeg   :SetVisible(w)
antiaim.    wyaw:SetVisible(w)
antiaim.    swyaw2:SetVisible(sw)
antiaim.    swfake:SetVisible(sw)
antiaim.    swleft:SetVisible(sw)
antiaim.    swright:SetVisible(sw)
antiaim.    swfkopt:SetVisible(sw)
antiaim.    swlby:SetVisible(sw)
antiaim.    swfr:SetVisible(sw)
antiaim.    swdes:SetVisible(sw)
antiaim.    swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim.    swdeg   :SetVisible(sw)
antiaim.    swyaw:SetVisible(sw)
antiaim.    ayaw2:SetVisible(a)
antiaim.    afake:SetVisible(a)
antiaim.    aleft:SetVisible(a)
antiaim.    aright:SetVisible(a)
antiaim.    afkopt:SetVisible(a)
antiaim.    alby:SetVisible(a)
antiaim.    afr:SetVisible(a)
antiaim.    ades:SetVisible(a)
antiaim.    amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim.    adeg:SetVisible(a)
antiaim.    ayaw:SetVisible(a)
antiaim.    cyaw2:SetVisible(c)
antiaim.    cfake:SetVisible(c)
antiaim.    cleft:SetVisible(c)
antiaim.    cright:SetVisible(c)
antiaim.    cfkopt:SetVisible(c)
antiaim.    clby:SetVisible(c)
antiaim.    cfr:SetVisible(c)
antiaim.    cdes:SetVisible(c)    
antiaim.    cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim.    cdeg:SetVisible(c)
antiaim.    cyaw:SetVisible(c)
else

    c1:SetVisible(neverlose)
    c2:SetVisible(neverlose)
    c3:SetVisible(neverlose)
    neverlosecondit:SetVisible(neverlose)
antiaim.    syaw2:SetVisible(false)
antiaim.    cfake:SetVisible(false)
antiaim.    swfake:SetVisible(false)
antiaim.    afake:SetVisible(false)
antiaim.    sfake:SetVisible(false)
antiaim.    wfake:SetVisible(false)
antiaim.    sleft:SetVisible(false)
antiaim.    sright:SetVisible(false)
antiaim.    sfkopt:SetVisible(false)
antiaim.    slby:SetVisible(false)
antiaim.    sfr:SetVisible(false)
antiaim.    sdes:SetVisible(false)
antiaim.    smod:SetVisible(false)
antiaim.    sdeg:SetVisible(false)
antiaim.    wyaw:SetVisible(false)
antiaim.    wyaw2:SetVisible(false)
antiaim.    wleft:SetVisible(false)
antiaim.    wright:SetVisible(false)
antiaim.    wfkopt:SetVisible(false)
antiaim.    wlby:SetVisible(false)
antiaim.    wfr:SetVisible(false)
antiaim.    wdes:SetVisible(false)
antiaim.    swyaw2:SetVisible(false)
antiaim.    swleft:SetVisible(false)
antiaim.    swright:SetVisible(false)
antiaim.    swfkopt:SetVisible(false)
antiaim.    swlby:SetVisible(false)
antiaim.    swfr:SetVisible(false)
antiaim.    swdes:SetVisible(false)
antiaim.    ayaw2:SetVisible(false)
antiaim.    aleft:SetVisible(false)
antiaim.    aright:SetVisible(false)
antiaim.    afkopt:SetVisible(false)
antiaim.    alby:SetVisible(false)
antiaim.    afr:SetVisible(false)
antiaim.    ades:SetVisible(false)
antiaim.    cyaw2:SetVisible(false)
antiaim.    cleft:SetVisible(false)
antiaim.    cright:SetVisible(false)
antiaim.    cfkopt:SetVisible(false)
antiaim.    clby:SetVisible(false)
antiaim.    cfr:SetVisible(false)
antiaim.    cdes:SetVisible(false)
antiaim.    wmod:SetVisible(false)
antiaim.    wdeg:SetVisible(false)
antiaim.    swmod:SetVisible(false)
antiaim.    swdeg:SetVisible(false)
antiaim.    amod:SetVisible(false)
antiaim.    adeg:SetVisible(false)
antiaim.    cmod:SetVisible(false)
antiaim.    cdeg:SetVisible(false)
antiaim.    ayaw:SetVisible(false)
antiaim.    wyaw:SetVisible(false)
antiaim.    swyaw:SetVisible(false)
antiaim.    cyaw:SetVisible(false)
antiaim.    syaw:SetVisible(false)
    end

    end)
солус не принца...
 
Забаненный
Статус
Оффлайн
Регистрация
25 Июн 2021
Сообщения
24
Реакции[?]
0
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Ждем слив саурон альфа, будет?
 
Забаненный
Статус
Оффлайн
Регистрация
16 Фев 2022
Сообщения
51
Реакции[?]
27
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Забаненный
Статус
Оффлайн
Регистрация
6 Сен 2021
Сообщения
94
Реакции[?]
22
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Эксперт
Статус
Оффлайн
Регистрация
22 Мар 2020
Сообщения
2,187
Реакции[?]
484
Поинты[?]
3K
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
gui.antidef:SetVisible(globaltabs:GetInt() == 1)
gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
killaura()
dmgdraw()
i:SetVisible(globaltabs:GetInt() == 0)
i2:SetVisible(globaltabs:GetInt() == 0)
i3:SetVisible(globaltabs:GetInt() == 0)
i4:SetVisible(globaltabs:GetInt() == 0)
i5:SetVisible(globaltabs:GetInt() == 0)
i6:SetVisible(globaltabs:GetInt() == 0)
i7:SetVisible(globaltabs:GetInt() == 0)
slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(5))
lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and lua.watermark.el:Get(6))
lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
solus()
update_choked(c)
legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
indicators()
def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
buttoncheck:SetVisible(globaltabs:GetInt() == 2)
da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
local neverlose = c:Get() and globaltabs:GetInt() == 2
local s = neverlosecondit:Get() == 0
local w = neverlosecondit:Get() == 1
local sw = neverlosecondit:Get() == 2
local a = neverlosecondit:Get() == 3
local c = neverlosecondit:Get() == 4
if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim. syaw2:SetVisible(s)
antiaim. sfake:SetVisible(s)
antiaim. sleft:SetVisible(s)
antiaim. sright:SetVisible(s)
antiaim. sfkopt:SetVisible(s)
antiaim. slby:SetVisible(s)
antiaim. sfr:SetVisible(s)
antiaim. smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim. sdeg:SetVisible(s)
antiaim. syaw:SetVisible(s)
antiaim. sdes:SetVisible(s)
antiaim. wyaw2:SetVisible(w)
antiaim. wfake:SetVisible(w)
antiaim. wleft:SetVisible(w)
antiaim. wright:SetVisible(w)
antiaim. wfkopt:SetVisible(w)
antiaim. wlby:SetVisible(w)
antiaim. wfr:SetVisible(w)
antiaim. wdes:SetVisible(w)
antiaim. wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim. wdeg :SetVisible(w)
antiaim. wyaw:SetVisible(w)
antiaim. swyaw2:SetVisible(sw)
antiaim. swfake:SetVisible(sw)
antiaim. swleft:SetVisible(sw)
antiaim. swright:SetVisible(sw)
antiaim. swfkopt:SetVisible(sw)
antiaim. swlby:SetVisible(sw)
antiaim. swfr:SetVisible(sw)
antiaim. swdes:SetVisible(sw)
antiaim. swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim. swdeg :SetVisible(sw)
antiaim. swyaw:SetVisible(sw)
antiaim. ayaw2:SetVisible(a)
antiaim. afake:SetVisible(a)
antiaim. aleft:SetVisible(a)
antiaim. aright:SetVisible(a)
antiaim. afkopt:SetVisible(a)
antiaim. alby:SetVisible(a)
antiaim. afr:SetVisible(a)
antiaim. ades:SetVisible(a)
antiaim. amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim. adeg:SetVisible(a)
antiaim. ayaw:SetVisible(a)
antiaim. cyaw2:SetVisible(c)
antiaim. cfake:SetVisible(c)
antiaim. cleft:SetVisible(c)
antiaim. cright:SetVisible(c)
antiaim. cfkopt:SetVisible(c)
antiaim. clby:SetVisible(c)
antiaim. cfr:SetVisible(c)
antiaim. cdes:SetVisible(c)
antiaim. cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim. cdeg:SetVisible(c)
antiaim. cyaw:SetVisible(c)
else

c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
neverlosecondit:SetVisible(neverlose)
antiaim. syaw2:SetVisible(false)
antiaim. cfake:SetVisible(false)
antiaim. swfake:SetVisible(false)
antiaim. afake:SetVisible(false)
antiaim. sfake:SetVisible(false)
antiaim. wfake:SetVisible(false)
antiaim. sleft:SetVisible(false)
antiaim. sright:SetVisible(false)
antiaim. sfkopt:SetVisible(false)
antiaim. slby:SetVisible(false)
antiaim. sfr:SetVisible(false)
antiaim. sdes:SetVisible(false)
antiaim. smod:SetVisible(false)
antiaim. sdeg:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. wyaw2:SetVisible(false)
antiaim. wleft:SetVisible(false)
antiaim. wright:SetVisible(false)
antiaim. wfkopt:SetVisible(false)
antiaim. wlby:SetVisible(false)
antiaim. wfr:SetVisible(false)
antiaim. wdes:SetVisible(false)
antiaim. swyaw2:SetVisible(false)
antiaim. swleft:SetVisible(false)
antiaim. swright:SetVisible(false)
antiaim. swfkopt:SetVisible(false)
antiaim. swlby:SetVisible(false)
antiaim. swfr:SetVisible(false)
antiaim. swdes:SetVisible(false)
antiaim. ayaw2:SetVisible(false)
antiaim. aleft:SetVisible(false)
antiaim. aright:SetVisible(false)
antiaim. afkopt:SetVisible(false)
antiaim. alby:SetVisible(false)
antiaim. afr:SetVisible(false)
antiaim. ades:SetVisible(false)
antiaim. cyaw2:SetVisible(false)
antiaim. cleft:SetVisible(false)
antiaim. cright:SetVisible(false)
antiaim. cfkopt:SetVisible(false)
antiaim. clby:SetVisible(false)
antiaim. cfr:SetVisible(false)
antiaim. cdes:SetVisible(false)
antiaim. wmod:SetVisible(false)
antiaim. wdeg:SetVisible(false)
antiaim. swmod:SetVisible(false)
antiaim. swdeg:SetVisible(false)
antiaim. amod:SetVisible(false)
antiaim. adeg:SetVisible(false)
antiaim. cmod:SetVisible(false)
antiaim. cdeg:SetVisible(false)
antiaim. ayaw:SetVisible(false)
antiaim. wyaw:SetVisible(false)
antiaim. swyaw:SetVisible(false)
antiaim. cyaw:SetVisible(false)
antiaim. syaw:SetVisible(false)
end

end)
автор заявил , что это паста , в чем проблема ?
Тем более, зачем ты кидаешь это сюда ? Показать то, что он не умеет делать луа , выделить говно код? Тупо на самом деле , против вас (автора темы и тебя ) ничего не умею, но правда ,это было лишнее
 
Privatny p100 DT Airlag Break LC Teleport Exploit
Read Only
Статус
Оффлайн
Регистрация
27 Янв 2021
Сообщения
951
Реакции[?]
150
Поинты[?]
74K
Имба, будет откуда аа билдер пастить
 
Последнее редактирование:
Забаненный
Статус
Оффлайн
Регистрация
16 Фев 2022
Сообщения
51
Реакции[?]
27
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
щас без хуйни, да
где то месяцев 6 назад хелфиш покупал
Я и есть хеллфиш, да не отрицаю, я у тебя это купил, но не помню с какой целью, но мне надо было
 
Новичок
Статус
Оффлайн
Регистрация
1 Сен 2021
Сообщения
21
Реакции[?]
0
Поинты[?]
0
- Солус от принца
- кфг система
- кастом аа
и прочее говно

Код:
globaltabs = Menu.Combo("KILLAURA.LUA", "Select Tab", {"Info","Ragebot", "Anti Aim","Visuals", "Misc", "Configs"},0)
local username = Cheat.GetCheatUserName()

    i    = Menu.Text("", " Welcome back, ".. username .. "!")
    i2 =  Menu.Text("", " Thanks for purchasing KILLAURA!")
     i3 =  Menu.Text("", " Build Date: 11/01/2022")
    i4  =  Menu.Text("", " Current Version: 1.0.0")
     i5 =  Menu.Text("", " Contact with owner - k1mbor#1052")
     i6 =  Menu.Text("", " Find bug? - Hellfish#9343")
    i7 =    Menu.Text("", " All rights reserved.")
       

local gui = {
    doubletap = Menu.Switch("Ragebot", "DT improvements",false),
    cross = Menu.Switch("Ragebot", "Cross Teleport", false),
    antidef = Menu.Switch("Ragebot", "Anti-Defensive", false),
    checkns = Menu.Switch("Ragebot", "Override Hitchance", false),
    scout_noscope_hc = Menu.SliderInt("Ragebot", "Scout noscope hc", 0, 0, 100),
    auto_noscope_hc = Menu.SliderInt("Ragebot", "Auto noscope hc", 0,  0, 100),
    hitsound = Menu.Switch("Misc", "Custom Hitsound", false),
    dir = Menu.TextBox("Misc", "Sound directory", 128, "killaura/hit"),
    vol = Menu.SliderFloat("Misc", "Volume", 1, 0, 1),
    trashtalk = Menu.Switch("Misc", "Killsay", false),
    legbreaker = Menu.Switch("Misc", "Break Leg Animation", false),

}

c = Menu.Switch("Anti Aim", "Enable Anti Aim Tab", false)
c1  = Menu.Text("Anti Aim",'-----------------------------------------------')
c2 = Menu.Text("Anti Aim",'                                    Custom AA')
local neverlosecondit = Menu.Combo("Anti Aim", "Type Conditions", {"Standing", "Running", "Slow Walking", "Air", "Crouch"}, 0)
c3 = Menu.Text("Anti Aim",'-----------------------------------------------')
local antiaim = {
-- Standing
syaw2 = Menu.SliderInt("Anti Aim", "[S] Yaw Add Left", 0, -180, 180),
syaw = Menu.SliderInt("Anti Aim", "[S] Yaw Add Right", 0, -180, 180),
sdeg = Menu.Combo("Anti Aim", "[S] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
smod = Menu.SliderInt("Anti Aim", "[S] Modifier Degree", 0, -180, 180),
sfake = Menu.Combo("Anti Aim", "[S] Fake Limit Type ", {"Static", "Dynamic"}, 0),
sleft = Menu.SliderInt("Anti Aim", "[S] Fake Left Limit", 0, 0, 60),
sright = Menu.SliderInt("Anti Aim", "[S] Fake Right Limit", 0, 0, 60),
sfkopt = Menu.MultiCombo("Anti Aim", "[S] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
slby = Menu.Combo("Anti Aim", "[S] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
sfr = Menu.Combo("Anti Aim", "[S] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
sdes = Menu.Combo("Anti Aim", "[S] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Walking,
wyaw2 = Menu.SliderInt("Anti Aim", "[W] Yaw Add Left", 0, -180, 180),
wyaw = Menu.SliderInt("Anti Aim", "[W] Yaw Add Right", 0, -180, 180),
wdeg = Menu.Combo("Anti Aim", "[W] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
wmod = Menu.SliderInt("Anti Aim", "[W] Modifier Degree", 0, -180, 180),
wfake = Menu.Combo("Anti Aim", "[W] Fake Limit Type ", {"Static", "Dynamic"}, 0),
wleft = Menu.SliderInt("Anti Aim", "[W] Fake Left Limit", 0, 0, 60),
wright = Menu.SliderInt("Anti Aim", "[W] Fake Right Limit", 0, 0, 60),
wfkopt = Menu.MultiCombo("Anti Aim", "[W] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
wlby = Menu.Combo("Anti Aim", "[W] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
wfr = Menu.Combo("Anti Aim", "[W] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
wdes = Menu.Combo("Anti Aim", "[W] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Slow Walking
swyaw2 = Menu.SliderInt("Anti Aim", "[SW] Yaw Add Left", 0, -180, 180),
  swyaw = Menu.SliderInt("Anti Aim", "[SW] Yaw Add Right", 0, -180, 180),
swdeg = Menu.Combo("Anti Aim", "[SW] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
swmod = Menu.SliderInt("Anti Aim", "[SW] Modifier Degree", 0, -180, 180),
swfake = Menu.Combo("Anti Aim", "[SW] Fake Limit Type ", {"Static", "Dynamic"}, 0),
swleft = Menu.SliderInt("Anti Aim", "[SW] Fake Left Limit", 0, 0, 60),
swright = Menu.SliderInt("Anti Aim", "[SW] Fake Right Limit", 0, 0, 60),
swfkopt = Menu.MultiCombo("Anti Aim", "[SW] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
swlby = Menu.Combo("Anti Aim", "[SW] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
swfr = Menu.Combo("Anti Aim", "[SW] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
swdes = Menu.Combo("Anti Aim", "[SW] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Air
ayaw2 = Menu.SliderInt("Anti Aim", "[A] Yaw Add Left", 0, -180, 180),
ayaw = Menu.SliderInt("Anti Aim", "[A] Yaw Add Right", 0, -180, 180),
adeg = Menu.Combo("Anti Aim", "[A] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
amod = Menu.SliderInt("Anti Aim", "[A] Modifier Degree", 0, -180, 180),
afake = Menu.Combo("Anti Aim", "[A] Fake Limit Type ", {"Static", "Dynamic"}, 0),
aleft = Menu.SliderInt("Anti Aim", "[A] Fake Left Limit", 0, 0, 60),
aright = Menu.SliderInt("Anti Aim", "[A] Fake Right Limit", 0, 0, 60),
afkopt = Menu.MultiCombo("Anti Aim", "[A] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
alby = Menu.Combo("Anti Aim", "[A] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
afr = Menu.Combo("Anti Aim", "[A] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
ades = Menu.Combo("Anti Aim", "[A] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),

-- Crouch
cyaw2 = Menu.SliderInt("Anti Aim", "[C] Yaw Add Left", 0, -180, 180),
cyaw = Menu.SliderInt("Anti Aim", "[C] Yaw Add Right", 0, -180, 180),
cdeg = Menu.Combo("Anti Aim", "[C] Yaw Modifier", {"Disabled", "Center", "Offset", "Random", "Spin"}, 0),
cmod = Menu.SliderInt("Anti Aim", "[C] Modifier Degree", 0, -180, 180),
cfake = Menu.Combo("Anti Aim", "[C] Fake Limit Type ", {"Static", "Dynamic"}, 0),
cleft = Menu.SliderInt("Anti Aim", "[C] Fake Left Limit", 0, 0, 60),
cright = Menu.SliderInt("Anti Aim", "[C] Fake Right Limit", 0, 0, 60),
cfkopt = Menu.MultiCombo("Anti Aim", "[C] Fake Options", {"Avoid Overlap", "Jitter", "Randomize Jitter", "Anti Bruteforce"}, 0),
clby = Menu.Combo("Anti Aim", "[C] LBY Mode", {"Disabled", "Opposite", "Sway"}, 0),
cfr = Menu.Combo("Anti Aim", "[C] Freestanding Desync", {"Disabled", "Peek Fake", "Peek Real"}, 0),
cdes = Menu.Combo("Anti Aim", "[C] Desync On Shot", {"Disabled", "Opposite", "Freestanding", "Switch"}, 0),
c666 = Menu.Text("Anti Aim",'-----------------------------------------------'),
refEnabled = Menu.Switch('Anti Aim', 'Edge Yaw', false),

}--aa
local reference_pitch = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch")
local reference_yawbase = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local old_pitch = reference_pitch:Get()
local old_yawbase = reference_yawbase:Get()
local override_legitAA = true
local legitaa =  Menu.Switch("Anti Aim", "Legit AA", false)
local at_target_on_legitAA = Menu.Switch("Anti Aim", "At Target On Legit AA", false)
local function a_def()
    if gui.antidef:Get() then
        EngineClient.ExecuteClientCmd("jointeam 1")
        local lagcomp = CVar.FindVar("cl_lagcompensation")
        lagcomp:SetInt(1)
    elseif gui.antidef:Get() == false then
        EngineClient.ExecuteClientCmd("jointeam 1")
        local lagcomp = CVar.FindVar("cl_lagcompensation")
        lagcomp:SetInt(0)
    end
end
gui.antidef:RegisterCallback(a_def)
buttoncheck = Menu.Button("Anti Aim", "Killaura Preset", "",function()
            c:Set(true)
            antiaim.syaw2:Set(-15)
            antiaim.sleft:Set(55)
            antiaim.sright:Set(55)
            antiaim.sfkopt:Set(3)
            antiaim.slby:Set(2)  
            antiaim.sfr:Set(1)
            antiaim.sdes:Set(1)
            antiaim.smod:Set(22)
            antiaim.sdeg:Set(1)
            antiaim.syaw:Set(25)

            antiaim.wyaw2:Set(-15)
            antiaim.wleft:Set(55)
            antiaim.wright:Set(55)
            antiaim.wfkopt:Set(2)
            antiaim.wlby:Set(1)  
            antiaim.wfr:Set(1)
            antiaim.wdes:Set(3)
            antiaim.wmod:Set(48)
            antiaim.wdeg:Set(1)
            antiaim.wyaw:Set(25)

            antiaim.swyaw2:Set(-15)
            antiaim.swleft:Set(55)
            antiaim.swright:Set(55)
            antiaim.swfkopt:Set(3)
            antiaim.swlby:Set(1)      
            antiaim.swfr:Set(1)
            antiaim.swdes:Set(3)
            antiaim.swmod:Set(29)
            antiaim.swdeg:Set(0)
            antiaim.swyaw:Set(25)

            antiaim.ayaw2:Set(-15)
            antiaim.aleft:Set(55)
            antiaim.aright:Set(55)
            antiaim.afkopt:Set(2)
            antiaim.alby:Set(1)  
            antiaim.afr:Set(0)
            antiaim.ades:Set(1)  
            antiaim.amod:Set(1)
            antiaim.adeg:Set(1)
            antiaim.ayaw:Set(-7)

            antiaim.cyaw2:Set(-15)
            antiaim.cleft:Set(25)
            antiaim.cright:Set(25)
            antiaim.cfkopt:Set(2)
            antiaim.clby:Set(1)  
            antiaim.cfr:Set(1)
            antiaim.cdes:Set(4)  
            antiaim.cmod:Set(22)
            antiaim.cdeg:Set(1)
           antiaim.cyaw:Set(25)


end)
local logs = {
        color = Color.RGBA(255,255,255,255),
    font = Render.InitFont('Verdana',11,{'r'}),
    screen = EngineClient.GetScreenSize(),
    logs = {
        stuff = {},
        num = 0,
        reason = {
            [1] = '?',
            [2] = 'spread',
            [3] = 'occlusion',
            [4] = 'prediction error'
        },  
        hitgroups = {
            [0] = "generic",
            [1] = "head",
            [2] = "chest",
            [3] = "stomach",
            [4] = "left arm",
            [5] = "right arm",
            [6] = "left leg",
            [7] = "right leg",
            [10] = "gear"
        }
    }
}
local lua = {
    watermark = {
        enablevis = Menu.Switch('Visuals', "Enable Visuals", false, ""),
        el = Menu.MultiCombo('Visuals', 'Elements', { 'Fake°', 'FL', 'IO', 'HZ', 'Keybinds' , 'Watermark' }, 0),
        transp = Menu.SliderInt('Visuals', 'Global alpha', 75, 0, 255),
        fl_line = Menu.ColorEdit('Visuals', 'FL Line color', Color.RGBA(255, 255, 255, 255)),
        io_speed = Menu.SliderFloat('Visuals', 'IO Animation speed', 4.1, 0.1, 10.0, 'In seconds, more = slower'),
        hz_line = Menu.ColorEdit('Visuals', 'HZ Line color', Color.RGBA(255, 255, 255, 255)),
        hz = Menu.Combo('Visuals', 'HZ', { '30', '59', '60', '75', '95', '120', '144', '165', '240', '280', '340' }, 3),
        theme = Menu.Combo('Visuals', 'Watermark theme', { 'Gradient', 'Static' }, 0),
        theme_custom = Menu.ColorEdit('Visuals', 'Static color', Color.RGBA(142, 165, 229, 255)),
        prefix = Menu.Combo('Visuals', 'Watermark prefix', { 'neverlose', 'nl', 'neverlose.cc', 'Custom' }, 2),
        prefix_custom = Menu.TextBox('Visuals', 'Custom prefix', 666, 'neverlose.cc'),
        name = Menu.Combo('Visuals', 'Watermark name', { 'Cheat username', 'Hide name', 'Custom' }, 0),
        name_custom = Menu.TextBox('Visuals', 'Custom name', 666, 'Floppa'),
        keybindstheme = Menu.Combo('Visuals', 'Keybinds theme', { 'Gradient', 'Static' }, 0),
        keybindstheme_custom = Menu.ColorEdit('Visuals', 'Static color ', Color.RGBA(142, 165, 229, 255)),
    }
}

local math_lib = {
    clamp = function(val, lower, upper)
        if lower > upper then lower, upper = upper, lower end
        return math.max(lower, math.min(upper, val))
    end
}
local render = {
    box = function(string,y,alpha)
        local stringsize = Render.CalcTextSize(string,11,logs.font).x
        Render.BoxFilled(Vector2.new(logs.screen.x/2-stringsize/2-6.5,logs.screen.y-150-y),Vector2.new(logs.screen.x/2+stringsize/2+6.5,logs.screen.y-120-y),Color.RGBA(0,0,0,255))
        Render.BoxFilled(Vector2.new(logs.screen.x/2-stringsize/2-6.5,logs.screen.y-152-y),Vector2.new(logs.screen.x/2+stringsize/2+6.5,logs.screen.y-150-y),logs.color)
        Render.Text(string,Vector2.new(logs.screen.x/2,logs.screen.y-136-y),Color.RGBA(255,255,255,255),11,logs.font,true,true)
    end
}
local indi = Menu.MultiCombo("Visuals", "Skeet Indicators", {"Fake With Circle", "FL With Circle", "AA With Line", "Shot/Miss Percent", "FL Text indicator", "FOV", "AW (Autowall)", "BUY (Buy Zone Indicator)", "Body Aim", "Safe Points", "Damage", "Hitchance", "Freestand", "At Targets", "Hide Shots", "Dormant Aimbot", "Fake Ping", "Lag Compensation", "Fake Duck", "Bomb Info", "Double Tap"}, 0)
local da_style = Menu.Switch("Visuals", "Dormant Aimbot Indicator", false)
local hs_style = Menu.Combo("Visuals", "Hide Shots Style", {"ONSHOT", "HS", "OSAA", "HIDE"}, 0)
local fs_style = Menu.Combo("Visuals", "Freestand Style", {"FREESTAND", "FS"}, 0)
local dmg_style = Menu.Combo("Visuals", "Damage Style", {"Damage: ", "DMG: ", "DMG", "Damage Value", ": DMG"}, 0)
local dmgs = Menu.Switch("Visuals", "Show Damage", false)
local hc_style = Menu.Combo("Visuals", "Hitchance Style", {"Hitchance: ", "HC: ", "HC", "Hitchance Value", ": HC%"}, 0)
local hcs = Menu.Switch("Visuals", "Hitchance Indicator ", false)
local ba_style = Menu.Combo("Visuals", "BAIM Indicator", {"BODY", "BAIM", "FB", "BA"}, 0)
local sp_style = Menu.Combo("Visuals", "Safe Points Style", {"SAFE", "SP"}, 0)
local hit_style = Menu.Combo("Visuals", "Shot/Miss Style", {"Style 1", "Style 2", "Style 3"}, 0)
local fake_style = Menu.Combo("Visuals", "Fake Circle", {"DSY", "FAKE", "AA"}, 1)
local fl_style = Menu.Combo("Visuals", "FL Circle", {"Choke Value", "FL"}, 1)
local aa_color = Menu.ColorEdit("Visuals", "AA With Line ", Color.RGBA(154, 176, 250, 255))
def = Menu.Button("Visuals", "Load Skeet Default Indicators", "Load Skeet Default Indicators",function() indi:SetInt(2031616) end)
local color = Menu.SwitchColor("Visuals","killaura indicators", false,Color.new(0.49,0.49,1,1))
netgraphcheck = Menu.Switch("Visuals", "Skeet Info Bar",false)
local a3 = Menu.Switch("Visuals", "Skeet Spectators",false)
local a4 = Menu.Switch("Misc", "Enable Logs", false)
local a5 = Menu.SliderInt('Misc','Height',0,0,500)
local colorpicker = Menu.ColorEdit('Misc','Color',Color.RGBA(255,255,255,255))
local fontspec = Render.InitFont('Verdana',11,{'r'})
local fd_anim = 0
local dt_anim = 0
local hs_anim = 0
local ap_anim = 0
local ey_anim = 0
local sp_anim = 0
local md_anim = 0
local font =
{
    verdana = Render.InitFont("Verdana", 12),
    verdanabd = Render.InitFont("Verdana Bold", 11, {'r'}),
    pixel = Render.InitFont("Smallest Pixel-7", 10),
    calibrib = Render.InitFont("Calibri Bold", 30),
    pixel9 = Render.InitFont("Smallest Pixel-7", 9),
}

local pflFrameTime, pflFrameTimeStdDeviation, pflFrameStartTimeStdDeviation = ffi.new('float[1]'), ffi.new('float[1]'), ffi.new('float[1]')
local interface_ptr = ffi.typeof('void***')
local rawivengineclient = Utils.CreateInterface('engine.dll', 'VEngineClient014')
local ivengineclient = ffi.cast(interface_ptr, rawivengineclient)
local get_net_channel_info, net_channel = ffi.cast('void*(__thiscall*)(void*)', ivengineclient[0][78]), nil
local net_bool = ffi.typeof('bool(__thiscall*)(void*)')
local net_fr_to = ffi.typeof('void(__thiscall*)(void*, float*, float*, float*)')
local INetChannelInfo = ffi.cast('void***', get_net_channel_info(ivengineclient))
local GetNetFramerate = function(INetChannelInfo)
    if INetChannelInfo == nil then
        return 0, 0 end

    local server_var, server_framerate = 0, 0
    ffi.cast(net_fr_to, INetChannelInfo[0][25])(INetChannelInfo, pflFrameTime, pflFrameTimeStdDeviation, pflFrameStartTimeStdDeviation)

    if pflFrameTime ~= nil and pflFrameTimeStdDeviation ~= nil and pflFrameStartTimeStdDeviation ~= nil then
        if pflFrameTime[0] > 0 then
            server_var = pflFrameStartTimeStdDeviation[0] * 1000
            server_framerate = pflFrameTime[0] * 1000
        end
    end

    return server_framerate, server_var
end

Cheat.RegisterCallback("pre_prediction", function(cmd)
    if legitaa:GetBool() then
    local local_player = EntityList.GetLocalPlayer()
    local legitAA_work = true

    if not local_player then return end

    local local_player_teamnum = local_player:GetProp("m_iTeamNum")
    local entities = {EntityList.GetEntitiesByName("CPlantedC4"), EntityList.GetEntitiesByName("CHostage")}

    for entity in pairs(entities) do
        for i in pairs(entities[entity]) do

            local local_playerlayer_origin = local_player:GetRenderOrigin()
            local entity_origin = entities[entity][i]:GetRenderOrigin()

            local entity_get_distance = local_playerlayer_origin:DistTo(entity_origin)
            local distance = entity_get_distance < 65 and entity_get_distance > 1

            if distance and local_player_teamnum == 3 then
                legitAA_work = false
            end
        end
    end


    if local_player_teamnum == 2 and local_player:GetProp("m_bInBombZone") and local_player:GetActiveWeapon():GetClassName() == "CC4" then
        legitAA_work = false
    end

    if bit.band(cmd.buttons, 32) == 32 and legitAA_work then
        if GlobalVars.curtime - start_curtime > 0.02 then

            cmd.buttons = bit.band(cmd.buttons, bit.bnot(32))

            if override_legitAA then
                old_pitch = reference_pitch:Get()
                old_yawbase = reference_yawbase:Get()
                override_legitAA = false
            end

            reference_pitch:Set(0)
            reference_yawbase:Set(at_target_on_legitAA:Get() and 4 or 1)
            AntiAim.OverrideYawOffset(180 - Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get())
        end
    else
        if not override_legitAA then
            reference_pitch:Set(old_pitch)
            reference_yawbase:Set(old_yawbase)
            override_legitAA = true
        end

        start_curtime = GlobalVars.curtime
    end
end

end)
local velocity = function(ent)
    local speed_x = ent:GetProp("DT_BasePlayer","m_vecVelocity[0]")
    local speed_y = ent:GetProp("DT_BasePlayer","m_vecVelocity[1]")
    local speed = math.sqrt(speed_x * speed_x + speed_y * speed_y)
    return math.floor(speed)
end
local logs1 = {}
local icon = {}
local slog_en = Menu.Switch("Misc", "Sigma Hitlogs", false)
local color_hit = Menu.ColorEdit('Misc','Hit Color',Color.new(166/255,215/255,53/255,1))
local color_miss = Menu.ColorEdit('Misc','Miss Color',Color.new(1,0,0,1))
local height = Menu.SliderFloat('Misc','Height ',85.00, 50.0,85.0)
local time = Menu.SliderInt('Misc','Logs Show Time (in seconds)',6,1,20)
icon.render = {
    line = function(x,y,x1,y1,color)
        Render.Line(Vector2.new(x,y),Vector2.new(x1,y1),color)
    end,
    polygon = function(x1,y1,x2,y2,x3,y3,color)
        Render.PolyFilled(color, Vector2.new(x1,y1), Vector2.new(x2,y2), Vector2.new(x3,y3))
    end,
    box = function(x,y,w,h,color,rounding)
        Render.Box(Vector2.new(x,y), Vector2.new(x+w,y+h), color, rounding == nil and 0 or rounding)
    end,
    box_filled = function(x,y,w,h,color,rounding)
        Render.BoxFilled(Vector2.new(x,y), Vector2.new(x+w,y+h), color, rounding == nil and 0 or rounding)
    end,
    gradient_box_filled = function(x,y,w,h,horizontal,color,color2)
        Render.GradientBoxFilled(Vector2.new(x,y), Vector2.new(x+w,y+h),color,horizontal and color2 or color,horizontal and color or color2,color2)
    end,
    string = function(x,y,cen,string,color,TYPE,font,fontsize)
        if TYPE == 0 then
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,false,cen)
        elseif TYPE == 1 then
            Render.Text(string, Vector2.new(x+1,y+1), Color.new(0.1,0.1,0.1,color.a/1.5), fontsize,font,false,cen)
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,false,cen)
        elseif TYPE == 2 then
            Render.Text(string, Vector2.new(x,y), color, fontsize,font,true,cen)
        end
    end
}
icon.fonts = {
    verdana_big = Render.InitFont('Verdana',12)
}
icon.hitbox_name = {
    [1] = 'head',
    [3] = 'stomach',
    [0] = 'lower chest',
    [2] = 'chest',
    [10] = 'upper chest',
    [7] = 'right thign',
    [6] = 'left thigh',
    [5] = 'right arm',
    [4] = 'left arm'
}
icon.math = {}
icon.math.lerp = function(time,a,b)
    return a * (1-time) + b * time
end
icon.mismatch = {
    [0] = 'no',
    [1] = 'resolver',
    [2] = 'spread',
    [3] = 'occlusion',
    [4] = 'prediction error'
}
local function shot1(e)

    if e.reason == 0 then
        table.insert(logs1,{text = '    ',text2 = {
            hit = 'Hit ',
            who = EntityList.GetClientEntity(e.target_index):GetPlayer():GetName(),
            in_the = ' in the ',
            where = icon.hitbox_name[e.hitgroup],
            for_ = ' for ',
            how_much = e.damage .. '',
            damage = ' damage (',
            how_muc_r =  math.max(EntityList.GetClientEntity(e.target_index):GetPlayer():GetProp('m_iHealth')-e.damage,0) .. '',
            health = ' health remaining)'              
        }, alpha = 0,alpha1 = 0,type = 'Hit', time = GlobalVars.realtime})          
    else
        table.insert(logs1,{text = '     ',text2 = {
            hit = 'Missed ',
            who = EntityList.GetClientEntity(e.target_index):GetPlayer():GetName(),
            in_the = '`s ',
            where = icon.hitbox_name[e.wanted_hitgroup],
            for_ = ' due to ',
            reason = icon.mismatch[e.reason]
        }, alpha = 0,alpha1 = 0,type = 'Miss', time = GlobalVars.realtime})      
    end
end
local function draw_slog ()
    local me = EntityList.GetLocalPlayer()

    if not me or not EngineClient.IsInGame() or not EngineClient.GetNetChannelInfo() then
        return
    end
    local y_add = 0
    local hit_color = color_hit:Get()
    local miss_color = color_miss:Get()
    local height_logs = height:Get()/100
    for i, notify in ipairs(logs1) do
        local frametime = GlobalVars.frametime * 8
        local x, y = EngineClient.GetScreenSize().x/2,EngineClient.GetScreenSize().y
       
        if notify.time + 1 > GlobalVars.realtime then
            notify.alpha = icon.math.lerp(frametime,notify.alpha,1)
            notify.alpha1 = icon.math.lerp(frametime/1.5,notify.alpha1,1)
           
        end
        if notify.type == 'Hit' then
            local string = notify.text2.hit .. notify.text2.who .. notify.text2.in_the .. notify.text2.where .. notify.text2.for_ .. notify.text2.how_much .. notify.text2.damage .. notify.text2.how_muc_r .. notify.text2.health
   
            local s = {
                string = Render.CalcTextSize(string,12,icon.fonts.verdana_big).x/2,
                hit = Render.CalcTextSize(notify.text2.hit,12,icon.fonts.verdana_big).x,
                in_the = Render.CalcTextSize(notify.text2.in_the,12,icon.fonts.verdana_big).x,
                who = Render.CalcTextSize(notify.text2.who,12,icon.fonts.verdana_big).x,
                where = Render.CalcTextSize(notify.text2.where,12,icon.fonts.verdana_big).x,
                for_ = Render.CalcTextSize(notify.text2.for_,12,icon.fonts.verdana_big).x,
                how_much = Render.CalcTextSize(notify.text2.how_much,12,icon.fonts.verdana_big).x,
                damage = Render.CalcTextSize(notify.text2.damage,12,icon.fonts.verdana_big).x,
                how_muc_r = Render.CalcTextSize(notify.text2.how_muc_r,12,icon.fonts.verdana_big).x,
                health = Render.CalcTextSize(notify.text2.health,12,icon.fonts.verdana_big).x,
               
   
            }
           
            icon.render.string(notify.alpha1*40-40+x-s.string,y*height_logs-y_add,false,notify.text2.hit,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit,y*height_logs-y_add,false,notify.text2.who,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.who,y*height_logs-y_add,false,notify.text2.in_the,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who,y*height_logs-y_add,false,notify.text2.where,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where,y*height_logs-y_add,false,notify.text2.for_,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_,y*height_logs-y_add,false,notify.text2.how_much,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much,y*height_logs-y_add,false,notify.text2.damage,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much+s.damage,y*height_logs-y_add,false,notify.text2.how_muc_r,Color.new(hit_color.r,hit_color.g,hit_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_+s.how_much+s.damage+s.how_muc_r,y*height_logs-y_add,false,notify.text2.health,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
        else
            local string = notify.text2.hit .. notify.text2.who .. notify.text2.in_the .. notify.text2.where .. notify.text2.for_ .. notify.text2.reason
   
            local s = {
                string = Render.CalcTextSize(string,12,icon.fonts.verdana_big).x/2,
                hit = Render.CalcTextSize(notify.text2.hit,12,icon.fonts.verdana_big).x,
                who = Render.CalcTextSize(notify.text2.who,12,icon.fonts.verdana_big).x,
                in_the = Render.CalcTextSize(notify.text2.in_the,12,icon.fonts.verdana_big).x,
                where = Render.CalcTextSize(notify.text2.where,12,icon.fonts.verdana_big).x,
                for_ = Render.CalcTextSize(notify.text2.for_,12,icon.fonts.verdana_big).x,
                reason = Render.CalcTextSize(notify.text2.reason,12,icon.fonts.verdana_big).x,
            }
           
            icon.render.string(notify.alpha1*40-40+x-s.string,y*height_logs-y_add,false,notify.text2.hit,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit,y*height_logs-y_add,false,notify.text2.who,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.who,y*height_logs-y_add,false,notify.text2.in_the,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who,y*height_logs-y_add,false,notify.text2.where,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where,y*height_logs-y_add,false,notify.text2.for_,Color.new(1,1,1,notify.alpha),1,icon.fonts.verdana_big,12)
            icon.render.string(notify.alpha1*40-40+x-s.string+s.hit+s.in_the+s.who+s.where+s.for_,y*height_logs-y_add,false,notify.text2.reason,Color.new(miss_color.r,miss_color.g,miss_color.b,notify.alpha),1,icon.fonts.verdana_big,12)
        end
   
        if notify.time + (time:Get() - 0.1) < GlobalVars.realtime  then
            notify.alpha1 = icon.math.lerp(frametime/1.5,notify.alpha1,2)
        end
        if notify.time + time:Get() < GlobalVars.realtime and notify.alpha1 > 1.5 then
            notify.alpha = icon.math.lerp(frametime,notify.alpha,0)
        end
   
        if notify.alpha < 0.02 and (notify.time + time:Get() < GlobalVars.realtime) then
            table.remove(logs,i)
        end
   
        y_add = y_add + 16 * notify.alpha


    end
end
local ct = GlobalVars.curtime
local fps = math.floor(1/GlobalVars.frametime)
local curTime = GlobalVars.curtime
local interface_ptr = ffi.typeof('void***')
local rawivengineclient = Utils.CreateInterface('engine.dll', 'VEngineClient014')
local ivengineclient = ffi.cast(interface_ptr, rawivengineclient)
local get_net_channel_info, net_channel = ffi.cast('void*(__thiscall*)(void*)', ivengineclient[0][78]), nil
local INetChannelInfo = ffi.cast('void***', get_net_channel_info(ivengineclient))
local GetNetChannel = function(INetChannelInfo)
    if INetChannelInfo == nil then
        return end

    return {
        latency = {
            crn = function(flow) return INetChannelInfo:GetLatency(flow) end,
            average = function(flow) return INetChannelInfo:GetAvgLatency(flow) end,
        }
    }
end
local outgoing, incoming, incoming_latency

local id, OldChoke, toDraw0, toDraw1, toDraw2, toDraw3, toDraw4, hitted, reg_shot, on_plant_time, fill, text, planting_site, planting = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", "", false

local FS = 12
local verdana = Render.InitFont('Verdana', FS, { 'r' })
GetTime = function()
    local seconds = math.floor(Utils.UnixTime() / 1000)
    local hours = math.floor((seconds / 3600 + 3) % 24)
    local minutes = math.floor(seconds / 60 % 60)
    local sec = math.floor(seconds % 60)

    if sec < 10 then
        sec = "0" .. sec
    end
    if minutes < 10 then
        minutes = "0" .. minutes
    end
    if hours < 10 then
        hours = "0" .. hours
    end

    return hours .. ":" .. minutes .. ":" .. sec
end
GetPing = function()
    local netchann_info = EngineClient.GetNetChannelInfo()
    if netchann_info == nil then
        return ''
    end
    local latency = netchann_info:GetLatency(0)
    return string.format("delay: %1.fms", math.max(0, latency) * 1000)
end
IsAlive = function(entity)
    if (entity == nil) then
        return false
    else
        if (entity:GetProp('m_iHealth') > 0) then
            return true
        else
            return false
        end
    end

end
GetWatermarkName = function(mode, custom)
    if (mode == 0) then
        return Cheat.GetCheatUserName() .. ' | '
    elseif (mode == 1) then
        return (IsAlive(EntityList.GetLocalPlayer()) == true and EntityList.GetLocalPlayer():GetName() or ' ?') .. ' | '
    else
        if (custom == '') then
            return ''
        else
            return custom .. ' | '
        end
    end
end
GetPrefix = function(mode, custom)
    if (mode == 0) then
        return 'neverlose | '
    elseif (mode == 1) then
        return 'nl | '
    elseif (mode == 2) then
        return 'neverlose.cc | '
    else
        if (custom == '') then
            return ''
        else
            return custom .. ' | '
        end
    end
end
GetFake = function()
    if (IsAlive(EntityList.GetLocalPlayer()) == false) then
        return 0
    end
    local real_rotation = AntiAim.GetCurrentRealRotation()
    local desync_rotation = AntiAim.GetFakeRotation()
    local max_desync_delta = AntiAim.GetMaxDesyncDelta()
    local min_desync_delta = AntiAim.GetMinDesyncDelta()
    local desync_delta = real_rotation - desync_rotation
    if (desync_delta > max_desync_delta) then
        desync_delta = max_desync_delta
    elseif (desync_delta < min_desync_delta) then
        desync_delta = min_desync_delta
    end
    local desync = math.abs(desync_delta * 59 / 100)
    return desync
end
Render_GradientBoxFilled = function(x, y, w, h, c1, c2, ishorizon)
    if (ishorizon == true) then
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1, c2, c1, c2)
    else
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1, c1, c2, c2)
    end
end
local bindt = {
    [0] = 'toggled',
    [1] = 'holding',
}
Render_BoxFilled = function(x, y, w, h, c1)
    Render.BoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), c1)
end
Render_Text = function(x, y, cent, string, c1, font, size, alpha)
    Render.Text(string, Vector2.new(x + 1, y + 1), Color.RGBA(0, 0, 0, alpha), size, font, false, cent)
    Render.Text(string, Vector2.new(x, y), c1, size, font, false, cent)
end
GetColor = function(number, max, i)
    local Colors = {
        { 255, 0, 0 },
        { 237, 27, 3 },
        { 235, 63, 6 },
        { 229, 104, 8 },
        { 228, 126, 10 },
        { 220, 169, 16 },
        { 213, 201, 19 },
        { 176, 205, 10 },
        { 124, 195, 13 }
    }

    local math_num = function(int, max, declspec)
        local int = (int > max and max or int)
        local tmp = max / int;

        if not declspec then
            declspec = max
        end

        local i = (declspec / tmp)
        i = (i >= 0 and math.floor(i + 0.5) or math.ceil(i - 0.5))

        return i
    end

    i = math_num(number, max, #Colors)

    return
    Colors[i <= 1 and 1 or i][1],
    Colors[i <= 1 and 1 or i][2],
    Colors[i <= 1 and 1 or i][3],
    i
end
Render_Histogram = function(x, y, c1, c2, a)
    for i = 1, 4 do
        Render_GradientBoxFilled(x + i * 23 / 4, y + 10, 23 / 4, -a[i], c1, c2, false)
    end
end
IsDtReady = function()
    if (Menu.FindVar('Aimbot', 'Ragebot', 'Exploits', 'Double Tap'):Get() == true and Exploits.GetCharge() == 1) then
        return true
    else
        return false
    end
end

local HZ = {
    [0] = 30,
    [1] = 59,
    [2] = 60,
    [3] = 75,
    [4] = 95,
    [5] = 120,
    [6] = 144,
    [7] = 165,
    [8] = 240,
    [9] = 280,
    [10] = 340
}
GradientBoxFilled = function(x, y, w, h, t, c, alpha)
    if (t == 1) then
        Render.BoxFilled(Vector2.new(x, y), Vector2.new(x + w, y + h), Color.RGBA(math.floor(c.r * 255), math.floor(c.g * 255), math.floor(c.b * 255), math.floor(alpha)))
    elseif (t == 0) then
        Render.GradientBoxFilled(Vector2.new(x + w / 2, y), Vector2.new(x + w, y + h), Color.RGBA(203, 70, 205, alpha), Color.RGBA(204, 210, 53, alpha), Color.RGBA(203, 70, 205, alpha), Color.RGBA(204, 210, 53, alpha))
        Render.GradientBoxFilled(Vector2.new(x, y), Vector2.new(x + w / 2, y + h), Color.RGBA(55, 177, 218, alpha), Color.RGBA(203, 70, 205, alpha), Color.RGBA(55, 177, 218, alpha), Color.RGBA(203, 70, 205, alpha))
    end
end
local R1, R2, R3, R4 = 5, 3, 7, 10
local N1, N2, N3, N4 = 10, 7, 3, 5
local random_ms = 0
local kb = {
    k = {
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
    },
    p = Vector2.new(500, 500),
    o = 66,
    global = 0.0,
    drag = false,
    xx = Menu.SliderInt('g', '1', 70, 0, 5000),
    yy = Menu.SliderInt('g', '2', 70, 0, 5000),

}

choke = 0
current_choke = 0
local function update_choked(c)
    if (ClientState.m_choked_commands == 0) then
        choke = current_choke
    end
    current_choke = ClientState.m_choked_commands
end

local function VectorLerp(vecSource, vecDestination, flPercentage)
    return vecSource + (vecDestination - vecSource) * flPercentage
end

local function NormalizeYaw(flYaw)
    while flYaw > 180 do
        flYaw = flYaw - 360
    end
    while flYaw < -180 do
        flYaw = flYaw + 360
    end
    return flYaw
end

local vecTraceStart = Vector.new()

local function edgeyaw(UserCmd)
if antiaim.refEnabled:GetBool() then
    local iLocalPlayerEntIndex = EngineClient.GetLocalPlayer()
    if not iLocalPlayerEntIndex then
        return
    end

    local pLocalPlayerEntity = EntityList.GetClientEntity(iLocalPlayerEntIndex)
    local pLocalPlayer = pLocalPlayerEntity:GetPlayer()

    local flVelocityZ = pLocalPlayer:GetProp('m_vecVelocity[2]')
    --    local bInJump = bit.band(UserCmd.buttons, 2) == 2
    if flVelocityZ ~= 0 or bInJump then
        return
    end

    if ClientState.m_choked_commands == 0 then
        vecTraceStart = pLocalPlayer:GetEyePosition()
    end

    local aTraceEnd = {}

    local angViewAngles = EngineClient.GetViewAngles()
    for flYaw = 18, 360, 18 do
        flYaw = NormalizeYaw(flYaw)

        local angEdge = QAngle.new(0, flYaw, 0)

        local vecTraceEnd = vecTraceStart + Cheat.AngleToForward(angEdge) * 0x60

        local traceInfo = EngineTrace.TraceRay(vecTraceStart, vecTraceEnd, pLocalPlayerEntity, 0x200400B)

        local flFraction = traceInfo.fraction
        local pEntity = traceInfo.hit_entity

        if pEntity and pEntity:GetClassName() == 'CWorld' and flFraction < 0.3 then
            aTraceEnd[#aTraceEnd + 1] = {
                vecTraceEnd = traceInfo.endpos,
                flYaw = flYaw
            }
        end
    end

    table.sort(aTraceEnd, function(a, b)
        return a.flYaw < b.flYaw
    end)

    local angEdge

    if #aTraceEnd >= 2 then
        local vecTraceCenter = VectorLerp(aTraceEnd[1].vecTraceEnd, aTraceEnd[#aTraceEnd].vecTraceEnd, 0.5)

        angEdge = Cheat.VectorToAngle(vecTraceStart - vecTraceCenter)
    end

    if angEdge then
        local flYaw = angViewAngles.yaw
        local flEdgeYaw = angEdge.yaw

        local flDiff = NormalizeYaw(flEdgeYaw - flYaw)

        if math.abs(flDiff) < 90 then
            flDiff = 0
            flYaw = NormalizeYaw(flEdgeYaw + 180)
        end

        -- Static yaw
        local flNewYaw = -flYaw

        -- Apply edge yaw
        flNewYaw = NormalizeYaw(flNewYaw + flEdgeYaw + 180)

        flNewYaw = NormalizeYaw(flNewYaw + flDiff)

        AntiAim.OverrideYawOffset(flNewYaw)
    end
end
end
local scope_line = {}
scope_line.var = Menu.FindVar("Visuals", "View", "Camera", "Remove Scope")
scope_line.screen = EngineClient:GetScreenSize()
scope_line.ref = scope_line.var:GetInt()

scope_line.menu = {}
scope_line.menu.checkbox = Menu.Switch("Visuals", "Enable Custom Scope", false)
scope_line.menu.offset = Menu.SliderInt("Visuals", "Offset", 10, 0, 500)
scope_line.menu.length = Menu.SliderInt("Visuals", "Length", 60, 0, 1000)
scope_line.menu.anim_speed = Menu.SliderInt("Visuals", "Anim Speed", 15, 1, 30)
scope_line.menu.col_1 = Menu.ColorEdit("Visuals", "Color 1", Color.RGBA(255, 255, 255))
scope_line.menu.col_2 = Menu.ColorEdit("Visuals", "Color 2", Color.RGBA(255, 255, 255, 0))

scope_line.anim_num = 0

scope_line.lerp = function(a, b, t)
    return a + (b - a) * t
end

scope_line.on_draw = function()
if lua.watermark.enablevis:GetBool() then
if scope_line.menu.checkbox:GetBool() then
    scope_line.var:SetInt(2)

    local_player = EntityList.GetLocalPlayer()
    scope_line.anim_speed = scope_line.menu.anim_speed:Get()

    if not local_player or not local_player:IsAlive() or not local_player:GetProp("m_bIsScoped") then
        scope_line.anim_num = scope_line.lerp(scope_line.anim_num, 0, scope_line.anim_speed * GlobalVars.frametime)
    else
        scope_line.anim_num = scope_line.lerp(scope_line.anim_num, 1, scope_line.anim_speed * GlobalVars.frametime)
    end

    scope_line.offset = scope_line.menu.offset:Get() * scope_line.anim_num
    scope_line.length = scope_line.menu.length:Get() * scope_line.anim_num
    scope_line.col_1 = scope_line.menu.col_1:Get()
    scope_line.col_2 = scope_line.menu.col_2:Get()
    scope_line.width = 1

    scope_line.col_1.a = scope_line.col_1.a * scope_line.anim_num
    scope_line.col_2.a = scope_line.col_2.a * scope_line.anim_num
   
    scope_line.start_x = scope_line.screen.x / 2
    scope_line.start_y = scope_line.screen.y / 2

    --Left
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x - scope_line.offset, scope_line.start_y), Vector2.new(scope_line.start_x - scope_line.offset - scope_line.length, scope_line.start_y + scope_line.width), scope_line.col_1, scope_line.col_2, scope_line.col_1, scope_line.col_2)

    --Right
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x + scope_line.offset, scope_line.start_y), Vector2.new(scope_line.start_x + scope_line.offset + scope_line.length, scope_line.start_y + scope_line.width), scope_line.col_1, scope_line.col_2, scope_line.col_1, scope_line.col_2)

    --Up
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x, scope_line.start_y + scope_line.offset), Vector2.new(scope_line.start_x + scope_line.width, scope_line.start_y + scope_line.offset + scope_line.length), scope_line.col_1, scope_line.col_1, scope_line.col_2, scope_line.col_2)

    --Down
    Render.GradientBoxFilled(Vector2.new(scope_line.start_x, scope_line.start_y - scope_line.offset), Vector2.new(scope_line.start_x + scope_line.width, scope_line.start_y - scope_line.offset - scope_line.length), scope_line.col_1, scope_line.col_1, scope_line.col_2, scope_line.col_2)
end
end
end
scope_line.on_destroy = function()
    scope_line.var:SetInt(scope_line.ref)

    for _, v in pairs(materials) do
        local material = MatSystem.FindMaterial(v, "")

        if material ~= nil then
            material:SetMaterialVarFlag(bit.lshift(1, 28), false) -- Wireframe
        end
    end
end
Cheat.RegisterCallback("destroy", scope_line.on_destroy)
local function solus()
kb.xx:SetVisible(false)
    kb.yy:SetVisible(false)
    if lua.watermark.enablevis:GetBool() then
        local transp = lua.watermark.transp:Get()
        if (GlobalVars.tickcount % math.floor(lua.watermark.io_speed:Get() * 1 / GlobalVars.interval_per_tick) == 0) then
            N1, N2, N3, N4 = math.random(0, 10), math.random(0, 10), math.random(0, 10), math.random(0, 10)
        end
        if (GlobalVars.tickcount % 8 == 0) then
            random_ms = math.random(1, 5)
        end
        local engine = EngineClient.GetScreenSize()
        if IsAlive(EntityList.GetLocalPlayer()) ~= true then
            return
        end
         if (lua.watermark.el:Get(6) == true) then
        text_WM = GetPrefix(lua.watermark.prefix:Get(), lua.watermark.prefix_custom:Get()) .. '' .. GetWatermarkName(lua.watermark.name:Get(), lua.watermark.name_custom:Get()) .. '' .. GetPing() .. ' | ' .. GetTime()
     
        local h_WM, w_WM = 18, Render.CalcTextSize(text_WM, FS, verdana).x + 8
        local x_WM, y_WM = engine.x, 10 + (25 * 0)

        x_WM = x_WM - w_WM - 10
        GradientBoxFilled(x_WM, y_WM, w_WM, 2, lua.watermark.theme:Get(), lua.watermark.theme_custom:Get(), 255)
        Render_BoxFilled(x_WM, y_WM + 2, w_WM, h_WM, Color.RGBA(17, 17, 17, math.floor(transp)))
        Render_Text(x_WM + 4, y_WM + 4, false, text_WM, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
end
        text_FL = 'FL: ' .. (choke >= 10 and (choke) or ('  ' .. choke)) .. (IsDtReady() == true and ' | SHIFTING' or '')
        local h_FL, w_FL = 17, lua.watermark.el:Get(2) == true and Render.CalcTextSize(text_FL, FS, verdana).x + 8 or -4
        local x_FL, y_FL = engine.x, 10 + (25 * 1)

        x_FL = x_FL - w_FL - 10

        if (lua.watermark.el:Get(2) == true) then
            Render_BoxFilled(x_FL, y_FL, w_FL, h_FL, Color.RGBA(0, 0, 0, transp))
            Render_GradientBoxFilled(x_FL, y_FL + h_FL, w_FL - w_FL / 2, 1, Color.RGBA(0, 0, 0, transp), lua.watermark.fl_line:Get(), true)
            Render_GradientBoxFilled(x_FL + w_FL / 2, y_FL + h_FL, w_FL - w_FL / 2, 1, lua.watermark.fl_line:Get(), Color.RGBA(0, 0, 0, transp), true)
            Render_Text(x_FL + 4, y_FL + 2, false, text_FL, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        text_FI = 'FAKE (' .. string.sub(tostring(GetFake()), 0, 4) .. '°)'
        local h_FI, w_FI = 18, lua.watermark.el:Get(1) == true and Render.CalcTextSize(text_FI, FS, verdana).x + 8 or 0
        local dec = { [1] = math.floor(GetFake() * 4), [2] = math.floor(255 - GetFake() * 4), [3] = 0 }
        local r, g, b, a = GetColor(GetFake(), 30)
        if (lua.watermark.el:Get(1) == true) then
            Render_GradientBoxFilled(x_FL - w_FI - 6, y_FL, 2, h_FI / 2, Color.RGBA(0, 0, 0, 0), Color.RGBA(r, g, b, 255), false)
            Render_GradientBoxFilled(x_FL - w_FI - 6, y_FL + h_FI / 2, 2, h_FI / 2, Color.RGBA(r, g, b, 255), Color.RGBA(0, 0, 0, 0), false)
            Render_GradientBoxFilled(x_FL - w_FI - 4, y_FL, w_FI / 2, h_FI, Color.RGBA(17, 17, 17, math.floor(transp / 3)), Color.RGBA(17, 17, 17, transp), true)
            Render_GradientBoxFilled(x_FL - w_FI - 4 + w_FI / 2, y_FL, w_FI / 2, h_FI, Color.RGBA(17, 17, 17, transp), Color.RGBA(17, 17, 17, math.floor(transp / 3)), true)
            Render_Text(x_FL - w_FI, y_FL + 2, false, text_FI, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        local text_HZ = '0.' .. random_ms .. 'ms / ' .. HZ[lua.watermark.hz:Get()] .. 'hz'

        local h_HZ, w_HZ = 17, lua.watermark.el:Get(4) == true and Render.CalcTextSize(text_HZ, FS, verdana).x + 8 or -4
        local x_HZ, y_HZ = engine.x, 10 + (25 * ((lua.watermark.el:Get(2) == true or lua.watermark.el:Get(1) == true) and 2 or 1))

        local x_HZ = x_HZ - w_HZ - 10
        if (lua.watermark.el:Get(4) == true) then
            Render_GradientBoxFilled(x_HZ, y_HZ + h_HZ, w_HZ / 2, 1, Color.RGBA(0, 0, 0, math.floor(transp / 3)), lua.watermark.hz_line:Get(), true)
            Render_GradientBoxFilled(x_HZ + w_HZ / 2, y_HZ + h_HZ, w_HZ - w_HZ / 2, 1, lua.watermark.hz_line:Get(), Color.RGBA(0, 0, 0, math.floor(transp / 3)), true)
            Render_BoxFilled(x_HZ, y_HZ, w_HZ, h_HZ, Color.RGBA(0, 0, 0, transp))
            Render_Text(x_HZ + 4, y_HZ + 2, false, text_HZ, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
        end

        if (R1 ~= N1) then
            if (R1 < N1) then
                R1 = R1 + 0.05
            end
            if (R1 > N1) then
                R1 = R1 - 0.05
            end
        end
        if (R2 ~= N2) then
            if (R2 < N2) then
                R2 = R2 + 0.05
            end
            if (R2 > N2) then
                R2 = R2 - 0.05
            end
        end
        if (R3 ~= N3) then
            if (R3 < N3) then
                R3 = R3 + 0.05
            end
            if (R3 > N3) then
                R3 = R3 - 0.05
            end
        end
        if (R4 ~= N4) then
            if (R4 < N4) then
                R4 = R4 + 0.05
            end
            if (R4 > N4) then
                R4 = R4 - 0.05
            end
        end
        local text_IO_sub = '       '
        local text_IO = 'IO | ' .. text_IO_sub
        local w_IE = Render.CalcTextSize(text_IO_sub, FS, verdana).x + 3
        local h_IO, w_IO = 18, Render.CalcTextSize(text_IO, FS, verdana).x + 8

        if (lua.watermark.el:Get(3) == true) then
            Render_BoxFilled(x_HZ - w_IO - 4, y_HZ, w_IO, h_IO, Color.RGBA(17, 17, 17, transp))
            Render_Text(x_HZ - w_IO, y_HZ + 2, false, text_IO, Color.RGBA(255, 255, 255, 255), verdana, FS, 120)
            Render_Histogram(x_HZ - w_IO - 7 + w_IE, y_HZ + 4, Color.RGBA(142, 165, 229, 255), Color.RGBA(142, 165, 229, 0), { [1] = R1, [2] = R2, [3] = R3, [4] = R4 })
        end

        local frames = 8 * GlobalVars.frametime
        local maximum_offset = 66

        local text = 'keybinds'
        local x, y = kb.xx:Get(), kb.yy:Get()

        local height_offset = 23
        local w, h = 75 + maximum_offset, 50

        if (lua.watermark.el:Get(5) == true) then


            local e = Cheat.GetBinds()
            for i = 0, #e do
                if #e > 0 or Cheat.IsMenuVisible() == true then
                    kb.global = kb.global + frames
                    if kb.global > 1 then
                        kb.global = 1
                    end
                elseif #e < 1 or Cheat.IsMenuVisible() == false then
                    kb.global = kb.global - frames
                    if kb.global < 0 then
                        kb.global = 0
                    end
                end
            end

            for f = 1, #e do
                local key_type = '[' .. bindt[e[f]:GetMode()] .. ']'
                if e[f]:IsActive() == true and kb.global > 0 then
                    kb.k[f] = kb.k[f] + frames
                    if kb.k[f] > 1 then
                        kb.k[f] = 1
                    end
                elseif e[f]:IsActive() == false or kb.global == 0 then
                    kb.k[f] = kb.k[f] - frames
                    if kb.k[f] < 0 then
                        kb.k[f] = 0
                    end
                end
                local bind_width = Render.CalcTextSize(e[f]:GetName(), FS, verdana).x
                if bind_width > 0 then
                    if bind_width > 75 then
                        maximum_offset = bind_width
                    end
                end
                Render_Text(x + 5, y + height_offset, false, e[f]:GetName(), Color.RGBA(255, 255, 255, math.floor(kb.k[f] * 255)), verdana, FS, math.floor(kb.k[f] * 120))
                Render_Text(x + (75 + kb.o) - Render.CalcTextSize(key_type, FS, verdana).x - 5, y + height_offset, false, key_type, Color.RGBA(255, 255, 255, math.floor(kb.k[f] * 255)), verdana, FS, math.floor(kb.k[f] * 120))
                height_offset = height_offset + 15

            end
            if kb.o ~= maximum_offset then
                if kb.o > maximum_offset then
                    kb.o = kb.o - 1.2
                end
                if kb.o < maximum_offset then
                    kb.o = kb.o + 1.2
                end
            end
            local to = math.max(66, kb.o)
            GradientBoxFilled(x, y, (75 + to), 2, lua.watermark.keybindstheme:Get(), lua.watermark.keybindstheme_custom:Get(), math.floor(kb.global * 255))
            Render_BoxFilled(x, y + 2, (75 + to), 18, Color.RGBA(17, 17, 17, math.floor(kb.global * transp)))

            Render_Text(x - Render.CalcTextSize(text, FS, verdana).x / 2 + (75 + to) / 2, y + 4, false, text, Color.RGBA(255, 255, 255, math.floor(kb.global * 255)), verdana, FS, math.floor(kb.global * 120))

            local mouse = Cheat.GetMousePos()
            if (Cheat.IsKeyDown(1) and Cheat.IsMenuVisible()) then
                if (mouse.x > kb.xx:Get() and mouse.y > kb.yy:Get() and mouse.x < kb.xx:Get() + to + 75 and mouse.y < kb.yy:Get() + 20 or kb.drag == true) then
                    if (not kb.drag) then
                        kb.drag = true
                    else
                        kb.xx:Set(math.floor(mouse.x - (to + 75) / 2))
                        kb.yy:Set(mouse.y - 10)
                    end
                end
            else
                kb.drag = false
            end
        end

    end
end

Cheat.RegisterCallback('registered_shot', function(shot)
    shot1(shot)
    if shot.reason == 0 then hitted = hitted + 1 end
    reg_shot = reg_shot + 1

    logs.logs.num = logs.logs.num + 1
    local tidx = shot.target_index
    local player = EntityList.GetClientEntity(tidx)
    if not player then return end
    player = player:GetPlayer()

    if shot.reason == 0 then
        table.insert(logs.logs.stuff,{text = '[' .. logs.logs.num .. '] Hit ' .. player:GetName() .. "'s  " .. logs.logs.hitgroups[math_lib.clamp(shot.hitgroup,0,10)] .. ' for ' .. shot.damage .. '(' .. shot.wanted_damage.. ') (' .. math_lib.clamp(player:GetProp('m_iHealth')-shot.damage,0,100)  .. ' remaining) aimed=' .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.hitchance ..'%) BT=' .. shot.backtrack  ,time = GlobalVars.realtime})
        print( '[' .. logs.logs.num .. '] Hit ' .. player:GetName() .. "'s  " .. logs.logs.hitgroups[math_lib.clamp(shot.hitgroup,0,10)] .. ' for ' .. shot.damage .. '(' .. shot.wanted_damage.. ') (' .. math_lib.clamp(player:GetProp('m_iHealth')-shot.damage,0,100)  .. ' remaining) aimed=' .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.hitchance ..'%) BT=' .. shot.backtrack)
    else
        table.insert(logs.logs.stuff,{text = '[' .. logs.logs.num .. '] Missed ' .. player:GetName() .. "'s " .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.wanted_damage ..') (' .. shot.hitchance .. '%) due to ' .. logs.logs.reason[shot.reason] .. ':' .. string.format('%.3f°',shot.spread_degree) .. ', BT=' .. shot.backtrack,time = GlobalVars.realtime})
        print('[' .. logs.logs.num .. '] Missed ' .. player:GetName() .. "'s " .. logs.logs.hitgroups[math_lib.clamp(shot.wanted_hitgroup,0,10)] .. '(' .. shot.wanted_damage ..') (' .. shot.hitchance .. '%) due to ' .. logs.logs.reason[shot.reason] .. ':' .. string.format('%.3f°',shot.spread_degree) .. ', BT=' .. shot.backtrack)
    end
end)

local calcDist = function(pos1, pos2)
    local lx = pos1.x
    local ly = pos1.y
    local lz = pos1.z
    local tx = pos2.x
    local ty = pos2.y
    local tz = pos2.z
    local dx = lx - tx
    local dy = ly - ty
    local dz = lz - tz
    return math.sqrt(dx * dx + dy * dy + dz * dz);
end

local normalize_yaw = function(yaw)
    while yaw > 180 do yaw = yaw - 360 end
    while yaw < -180 do yaw = yaw + 360 end
    return yaw
end



--binds

local dmg = 0
local HC = Menu.FindVar("Aimbot","Ragebot","Accuracy","Hit Chance")
local DMG = Menu.FindVar("Aimbot","Ragebot","Accuracy","Minimum Damage")
local AW = Menu.FindVar("Aimbot","Ragebot","Accuracy","Autowall")
local FOV = Menu.FindVar("Aimbot","Ragebot","Main","FOV")
local BA = Menu.FindVar("Aimbot","Ragebot","Misc","Body Aim")
local SP = Menu.FindVar("Aimbot","Ragebot","Misc","Safe Points")
local DT = Menu.FindVar("Aimbot","Ragebot","Exploits","Double Tap")
local SW = Menu.FindVar("Aimbot","Anti Aim","Misc","Slow Walk")
local HS = Menu.FindVar("Aimbot","Ragebot","Exploits","Hide Shots")
local YAW = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local PING = Menu.FindVar("Miscellaneous", "Main", "Other", "Fake Ping")
local FD = Menu.FindVar("Aimbot","Anti Aim","Misc","Fake Duck")
local slowwalk = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Slow Walk");
local legmove = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement");
local yawadd = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add");
local yawmodifier = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Modifier");
local modefierdegree = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree");
local inverted = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Inverter");
local fakel = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Left Limit");
local faker = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Right Limit");
local fakeop = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Fake Options");
local desyn = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Desync On Shot")
local lbymode = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "LBY Mode")
local freestd = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Freestanding Desync")
local isMD = Menu.FindVar("Aimbot","Ragebot","Accuracy","Minimum Damage")
local isBA = Menu.FindVar("Aimbot","Ragebot","Misc","Body Aim")
local isSP = Menu.FindVar("Aimbot","Ragebot","Misc","Safe Points")
local isDT = Menu.FindVar("Aimbot","Ragebot","Exploits","Double Tap")
local isAP = Menu.FindVar("Miscellaneous","Main","Movement","Auto Peek")
local isSW = Menu.FindVar("Aimbot","Anti Aim","Misc","Slow Walk")
local isHS = Menu.FindVar("Aimbot","Ragebot","Exploits","Hide Shots")
local yaw_base = Menu.FindVar("Aimbot","Anti Aim","Main","Yaw Base")
local function indicators()
local lpgraph = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if lpgraph == nil then return end
   
    local x, y = EngineClient.GetScreenSize().x, EngineClient.GetScreenSize().y

    INetChannelInfoB = ffi.cast('void***', get_net_channel_info(ivengineclient))
    server_var = GetNetFramerate(INetChannelInfoB)
    local ping = math.floor(EngineClient.GetNetChannelInfo():GetLatency(0)*1000)

    if ct + 0.1 < GlobalVars.curtime then
        ct = GlobalVars.curtime
        fps = math.floor(1 / GlobalVars.frametime)
    end

    local var_color = function()
        if server_var > 16 then
            clr = Color.RGBA(255, 60, 80)
        elseif server_var > 8 then
            clr = Color.RGBA(255, 222, 0)
        else
            clr = Color.RGBA(159, 202, 43)
        end
        return clr
    end

    local ping_color = function()
        if ping < 40 then
            clr = Color.RGBA(159, 202, 43)
        elseif ping < 100 then
            clr = Color.RGBA(255, 222, 0)
        else
            clr = Color.RGBA(255, 60, 80)
        end
        return clr
    end

    local fps_color = function()
        if fps < 100 then
            clr = Color.RGBA(255, 60, 80)
        else
            clr = Color.RGBA(159, 202, 43)
        end
        return clr
    end

    local Render_Block = function(text, text2, color, color2, xane)
        ts = Render.CalcTextSize("66", 12, font.verdana)
        ts1 = Render.CalcTextSize(text, 12, font.pixel)
        ts2 = Render.CalcTextSize(text2, 10, font.pixel)

        Render.Text(text, Vector2.new(x/2-ts1.x+27-xane*16, y-(ts.y+7)+1), Color.RGBA(0, 0, 0, 255), 12, font.verdana)
        Render.Text(text, Vector2.new(x/2-ts1.x+26-xane*16, y-(ts.y+7)), color, 12, font.verdana)
        Render.Text(text2, Vector2.new(x/2+26-xane*16, y-(ts2.y+7)), color2, 10, font.pixel, true)
    end
if netgraphcheck:GetBool() then
    --background
    Render.GradientBoxFilled(Vector2.new(x/2-275, y), Vector2.new(x/2, y-25), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130))
    Render.GradientBoxFilled(Vector2.new(x/2, y), Vector2.new(x/2+275, y-25), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10), Color.RGBA(0, 0, 0, 130), Color.RGBA(0, 0, 0, 10))

    --render
    Render_Block(string.format('%.f', server_var/2), " VAR", var_color(), Color.RGBA(255, 255, 255, 255), 0)
    Render_Block(tostring(velocity(lpgraph)), " SPEED", Color.RGBA(255, 255, 255, 255), Color.RGBA(255, 255, 255, 255), -5)
    Render_Block(tostring(fps), " FPS", fps_color(), Color.RGBA(255, 255, 255, 255), 5)
    Render_Block(tostring(ping), " PING", ping_color(), Color.RGBA(255, 255, 255, 255), 10)
end
    local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if not lp then return end
   
    local delta_to_draw = math.abs(normalize_yaw(AntiAim.GetCurrentRealRotation() % 360 - AntiAim.GetFakeRotation() % 360)) / 2

    local chocking, invert, fake = ClientState.m_choked_commands, AntiAim.GetInverterState() == false, string.format("%.1f", delta_to_draw)

    local sc = EngineClient.GetScreenSize()
    local x, y = sc.x/100 + 2, sc.y/1.48 - 5
    local ay = 0
    local binds = Cheat.GetBinds()
    local dmg = false
    local hc = false
    local da = false
    for i = 1, #binds do
        local bind = binds[i]
        if bind:GetName() == 'Minimum Damage' and bind:IsActive() then
            dmg = true
            cur_dmg = bind:GetValue()
        end
        if bind:GetName() == 'Hit Chance' and bind:IsActive() then
            hc = true
            cur_hc = bind:GetValue()
        end
        if bind:GetName() == 'Dormant Aimbot' and bind:IsActive() then
            da = true
        end
    end

    local Render_Indicators = function(text, ay, color, size, fonts)
        ts = Render.CalcTextSize(text, size, fonts)
        Render.GradientBoxFilled(Vector2.new(13, y + ay), Vector2.new(13 + (ts.x) / 2, y + ay + 28), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65))
        Render.GradientBoxFilled(Vector2.new(13 + (ts.x) / 2, y + ay), Vector2.new(13 + (ts.x), y + ay + 28), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0), Color.RGBA(0, 0, 0, 65), Color.RGBA(0, 0, 0, 0))
        Render.Text(text, Vector2.new(x, y + 5 + ay), Color.new(0, 0, 0, 255), size, fonts)
        Render.Text(text, Vector2.new(x, y + 4 + ay), color, size, fonts)
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(1) and lp:GetPlayer():IsAlive() then
        text = {"DSY", "FAKE", "AA"}
        id = fake_style:GetInt()+1
        ts = Render.CalcTextSize(text[id], 22, font.calibrib)
        clr = Color.RGBA(math.floor(255 - (fake * 2.29824561404)), math.floor(fake * 3.42105263158), math.floor(fake * 0.22807017543), 255)
        Render_Indicators(text[id], ay, clr, 22, font.calibrib)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(0, 0, 0, 255), 5, 0, 365)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, clr, 4, 0, (fake/60)*360)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(2) and lp:GetPlayer():IsAlive() then
        text = {chocking, "FL"}
        id = fl_style:GetInt()+1
        ts = Render.CalcTextSize(tostring(text[id]), 22, font.calibrib)
        Render_Indicators(tostring(text[id]), ay, Color.RGBA(135, 147, 255, 255), 22, font.calibrib)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(0, 0, 0, 255), 5, 0, 365)
        Render.Circle(Vector2.new(x + ts.x+13, y+ay+ts.y/2+3), 7, 32, Color.RGBA(135, 147, 255, 255), 4, 0, (chocking/14)*360)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(3) and lp:GetPlayer():IsAlive() then
        ts = Render.CalcTextSize("AA", 22, font.calibrib)
        clr = Color.new(aa_color:GetColor().r, aa_color:GetColor().g, aa_color:GetColor().b, 1)
        Render_Indicators("AA", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        Render.BoxFilled(Vector2.new(x, y + ts.y + ay - 1), Vector2.new(x + ts.x, y + 4 + ts.y + ay), Color.RGBA(0, 0, 0, 255))
        Render.BoxFilled(invert and Vector2.new(x+ts.x/2, y+ts.y+ay) or Vector2.new(x+ts.x/2-fake/4.4, y+ts.y+ay), invert and Vector2.new(x+ts.x/2+fake/4.4, y+3+ts.y+ay) or Vector2.new(x+ts.x/2, y+3+ts.y+ay), clr)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(4) and lp:GetPlayer():IsAlive() then
        local percent = hitted > 0 and reg_shot > 0 and (hitted/reg_shot)*100 or 100
        local miss = reg_shot-hitted
        text = {hitted.." / "..reg_shot.." ("..string.format("%.1f", percent)..")", miss.."/"..math.floor(percent).."%", hitted.." / "..reg_shot.." = "..math.floor(percent).."%"}
        id = hit_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        if hit_style:GetInt() == 2 then
            ay = ay - 35
            Render_Indicators("hit: "..hitted, ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
            ay = ay - 35
            Render_Indicators("miss: "..miss, ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        end
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(5) and lp:GetPlayer():IsAlive() then
        if chocking < OldChoke then
            toDraw0 = toDraw1
            toDraw1 = toDraw2
            toDraw2 = toDraw3
            toDraw3 = toDraw4
            toDraw4 = OldChoke
        end
        OldChoke = chocking
        Render_Indicators(string.format('%i-%i-%i-%i-%i',toDraw4,toDraw3,toDraw2,toDraw1,toDraw0), ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(6) and lp:GetPlayer():IsAlive() then
        Render_Indicators("FOV: "..FOV:GetInt().."°", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool() and indi:GetBool(7) and lp:GetPlayer():IsAlive() then
        Render_Indicators("AW", ay, AW:GetBool() and Color.RGBA(132, 195, 16, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lp:GetProp("m_bInBuyZone") and lua.watermark.enablevis:GetBool() and indi:GetBool(8) and lp:GetPlayer():IsAlive() then
        Render_Indicators("BUY", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        Render.Text("YOU HAVE: "..lp:GetProp("m_iAccount"), Vector2.new(x-8, y + 20 + ay), Color.RGBA(235 ,235, 235, 255), 9, font.pixel9, true)
        ay = ay - 35
    end

    if BA:GetInt() == 2 and lua.watermark.enablevis:GetBool()  and indi:GetBool(9) then
        text = {"BODY", "BAIM", "FB", "BA"}
        id = ba_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if SP:GetInt() == 2 and lua.watermark.enablevis:GetBool()  and indi:GetBool(10) then
        text = {"SAFE", "SP"}
        id = sp_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(11) then
        if dmg == true or dmgs:GetBool() then
            if dmgs:GetBool() then dmg_val = DMG:GetInt() else dmg_val = cur_dmg end
            dmg_val = math.floor(dmg_val)
            text = {"Damage: " .. dmg_val, "DMG: " .. dmg_val, "DMG", dmg_val, dmg_val < 101 and ": "..dmg_val or ": HP+"..(dmg_val-100)}
            clr = {Color.RGBA(235, 235, 235, 255), Color.RGBA(255, 255, 255, 150), Color.RGBA(132, 195, 16, 255), Color.RGBA(235, 235, 235, 255), Color.RGBA(80, 255, 80, 255)}
            id = dmg_style:GetInt()+1
            Render_Indicators(tostring(text[id]), ay, clr[id], 22, font.calibrib)
            ay = ay - 35
        end
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(12) then
        if hc == true or hcs:GetBool() then
            if hcs:GetBool() then hc_val = HC:GetInt() else hc_val = cur_hc end
            hc_val = math.floor(hc_val)
            text = {"Hitchance: " .. hc_val, "HC: " .. hc_val, "HC", hc_val, ": "..hc_val.."%"}
            clr = {Color.RGBA(235, 235, 235, 255), Color.RGBA(200, 185, 255, 255), Color.RGBA(132, 195, 16, 255), Color.RGBA(235, 235, 235, 255), Color.RGBA(80, 255, 80, 255)}
            id = hc_style:GetInt()+1
            Render_Indicators(tostring(text[id]), ay, clr[id], 22, font.calibrib)
            ay = ay - 35
        end
    end

    if YAW:GetInt() == 5 and lua.watermark.enablevis:GetBool()  and indi:GetBool(13) then
        text = {"FREESTAND", "FS"}
        id = fs_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if YAW:GetInt() == 4 and lua.watermark.enablevis:GetBool()  and indi:GetBool(14) then
        Render_Indicators("AT", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if HS:GetBool() and lua.watermark.enablevis:GetBool()  and indi:GetBool(15) then
        text = {"ONSHOT", "HS", "OSAA", "HIDE"}
        id = hs_style:GetInt()+1
        Render_Indicators(text[id], ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if da == true and lua.watermark.enablevis:GetBool()  and indi:GetBool(16) or da_style:GetBool() and lua.watermark.enablevis:GetBool() and indi:GetBool(16) then
        Render_Indicators("DA", ay, Color.RGBA(132, 195, 16, 255), 22, font.calibrib)
        ay = ay - 35
    end  

    if PING:GetInt() > 0 and lua.watermark.enablevis:GetBool()  and indi:GetBool(17) then
        INetChannelInfo = EngineClient.GetNetChannelInfo()
        net_channel = GetNetChannel(INetChannelInfo)
        outgoing, incoming = net_channel.latency.crn(0), net_channel.latency.crn(1)
        ping = math.max(0, (incoming-outgoing)*1000)
        Render_Indicators("PING", ay, Color.RGBA(math.floor(255 - ((ping / 189 * 60) * 2.29824561404)), math.floor((ping / 189 * 60) * 3.42105263158), math.floor((ping / 189 * 60) * 0.22807017543), 255), 22, font.calibrib)
        ay = ay - 35
    end

    if bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) == 0 and lua.watermark.enablevis:GetBool()  and indi:GetBool(18) and lp:GetPlayer():IsAlive() then
        Render_Indicators("LC", ay, DT:GetBool() and Exploits.GetCharge() == 1 and Color.RGBA(255, 0, 0, 255) or velocity(lp)/chocking >= 20.84 and Color.RGBA(132, 195, 16, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if FD:GetBool() and lua.watermark.enablevis:GetBool()  and indi:GetBool(19) then
        Render_Indicators("DUCK", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
        ay = ay - 35
    end

    if lua.watermark.enablevis:GetBool()  and indi:GetBool(20) then
        local c4 = EntityList.GetEntitiesByClassID(129)[1];
        if c4 ~= nil then
            local time = ((c4:GetProp("m_flC4Blow") - GlobalVars.curtime)*10) / 10
            local timer = string.format("%.1f", time)
            local defused = c4:GetProp("m_bBombDefused")
            if math.floor(timer) > 0 and not defused then
                local defusestart = c4:GetProp("m_hBombDefuser") ~= 4294967295
                local defuselength = c4:GetProp("m_flDefuseLength")
                local defusetimer = defusestart and math.floor((c4:GetProp("m_flDefuseCountDown") - GlobalVars.curtime)*10) / 10 or -1
                if defusetimer > 0 then
                    local color = math.floor(timer) > defusetimer and Color.RGBA(58, 191, 54, 160) or Color.RGBA(252, 18, 19, 125)
                   
                    local barlength = (((sc.y - 50) / defuselength) * (defusetimer))
                    Render.BoxFilled(Vector2.new(0.0, 0.0), Vector2.new(16, sc.y), Color.RGBA(25, 25, 25, 160))
                    Render.Box(Vector2.new(0.0, 0.0), Vector2.new(16, sc.y), Color.RGBA(25, 25, 25, 160))
                   
                    Render.BoxFilled(Vector2.new(0, sc.y - barlength), Vector2.new(16, sc.y), color)
                end
               
                local bombsite = c4:GetProp("m_nBombSite") == 0 and "A" or "B"
                local health = lp:GetProp("m_iHealth")
                local armor = lp:GetProp("m_ArmorValue")
                local willKill = false
                local eLoc = c4:GetProp("m_vecOrigin")
                local lLoc = lp:GetProp("m_vecOrigin")
                local distance = calcDist(eLoc, lLoc)
                local a = 450.7
                local b = 75.68
                local c = 789.2
                local d = (distance - b) / c;

                local damage = a * math.exp(-d * d)
                if armor > 0 then
                    local newDmg = damage * 0.5;
   
                    local armorDmg = (damage - newDmg) * 0.5
                    if armorDmg > armor then
                        armor = armor * (1 / .5)
                        newDmg = damage - armorDmg
                    end
                    damage = newDmg;
                end
                local dmg = math.ceil(damage)
                    if dmg >= health then
                    willKill = true
                else
                    willKill = false
                end
                Render_Indicators(bombsite.." - "..string.format("%.1f", timer).."s", ay, Color.RGBA(235 ,235, 235, 255), 22, font.calibrib)
                ay = ay - 35
                if lp then
                    if willKill == true then
                        Render_Indicators("FATAL", ay, Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
                        ay = ay - 35
                    elseif damage > 0.5 then
                        Render_Indicators("-"..dmg.." HP", ay, Color.RGBA(210, 216, 112, 255), 22, font.calibrib)
                        ay = ay - 35
                    end
                end
            end
        end
        if planting then
            Render_Indicators(planting_site, ay, Color.RGBA(210, 216, 112, 255), 22, font.calibrib)
            fill = 3.125 - (3.125 + on_plant_time - GlobalVars.curtime)
            if(fill > 3.125) then
                fill = 3.125
            end
            ts = Render.CalcTextSize(planting_site, 22, font.calibrib)
            Render.Circle(Vector2.new(x + ts.x+18, y+ay+ts.y/2+3), 8, 32, Color.RGBA(0, 0, 0, 255), 4, 0, 360)
            Render.Circle(Vector2.new(x + ts.x+18, y+ay+ts.y/2+3), 8, 32, Color.RGBA(235 ,235, 235, 255), 3, 0, (fill/3.3)*360)
            ay = ay - 35
        end
    end      
       
    if DT:GetBool() and lua.watermark.enablevis:GetBool() and indi:GetBool(21) then
        Render_Indicators("DT", ay, Exploits.GetCharge() == 1 and Color.RGBA(235 ,235, 235, 255) or Color.RGBA(255, 0, 0, 255), 22, font.calibrib)
        ay = ay - 35
    end
end

local verdana2 = Render.InitFont("Verdana", 10 * 1.1)
    local gdmggind = Menu.Switch("Visuals", "Damage Indicator", false, "Tooltip")
local min_gdmgind = Menu.Combo("Visuals", "Damage Style", {"Rigth Top", "Left Top", "Top", "Down", "Right under crosshair"}, 0, "")
function dmgdraw()
local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if lp == nil then return end
    if not EngineClient.IsConnected() then return end
    if lp:GetProp("m_iHealth") > 0 then
  local min_gdmg = Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Minimum Damage"):GetInt()
    local gdmg = '' .. min_gdmg

    if gdmggind :GetBool() then
if min_gdmgind:GetInt() == 0 then
    Render.Text(gdmg , Vector2.new(243 * 4, 529), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 1 then
    Render.Text(gdmg , Vector2.new(232 * 4, 529), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 2 then
         Render.Text(gdmg , Vector2.new(238.8 * 4, 520), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
            else
if min_gdmgind:GetInt() == 3 then
    Render.Text(gdmg , Vector2.new(238.9 * 4, 548), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
        else
if min_gdmgind:GetInt() == 4 then
    Render.Text(gdmg , Vector2.new(240.7 * 4, 540), Color.new(1, 1, 1, 1), 10 * 1.1, verdana2, false)
end
end
end
end
end end
end
end
function killaura()
    local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
    if not lp then return end
    if lp:GetProp("m_iHealth") > 0 then
        local r = math.floor(color:GetColor().r*255)
        local g = math.floor(color:GetColor().g*255)
        local b = math.floor(color:GetColor().b*255)
        local charge = math.min(math.floor(math.sin((Exploits.GetCharge()%2) * 1) * 122), 100)
        local x = EngineClient.GetScreenSize().x
        local y = EngineClient.GetScreenSize().y
        local ay = 19
        local dmg = false
        local binds = Cheat.GetBinds()
        for i = 1, #binds do
            local bind = binds[i]
            if bind:GetName() == 'Minimum Damage' then
                dmg = true
            end
        end

        --Render Indicators
        local Render_Indicator = function(text, ay2, color, size, font, outline, sas)
            local ts = Render.CalcTextSize(text, size, font)
            Render.Text(text, Vector2.new(x/2-ts.x/2 - sas, y/2+ay2), color, size, font, outline)
        end
        if color:GetBool() then
        --render
        sz = Render.CalcTextSize("killaura", 12, font.verdanabd)
        Render_Indicator("kill", ay, AntiAim.GetInverterState() == true and Color.RGBA(r, g, b, 255) or Color.RGBA(255, 255, 255, 255), 11, font.verdanabd, true, sz.x/4)
        Render_Indicator("aura°", ay, AntiAim.GetInverterState() == false and Color.RGBA(r, g, b, 255) or Color.RGBA(255, 255, 255, 255), 11, font.verdanabd, true, -sz.x/4-1)
        ay = ay + 2

        if HS:GetBool() then
            ay = ay + 9
            if hs_anim < 255 then hs_anim = hs_anim + 15 end
        else
            if hs_anim > 0 then hs_anim = 0 end
        end
        Render_Indicator("HS", ay+(hs_anim/35)-7, Color.RGBA(r, g, b, hs_anim), 10, font.pixel, true, 0)

        if dmg == true then
            ay = ay + 9
            if md_anim < 255 then md_anim = md_anim + 15 end
        else
            if md_anim > 0 then md_anim = 0 end
        end
        Render_Indicator("DMG", ay+(md_anim/35)-7, Color.RGBA(r, g, b, md_anim), 10, font.pixel, true, 0)

        if DT:GetBool() then
            ay = ay + 9
            if dt_anim < 255 then dt_anim = dt_anim + 15 end
        else
            if dt_anim > 0 then dt_anim = 0 end
        end
        Render_Indicator("DT", ay+(dt_anim/35)-7, Exploits.GetCharge() == 1 and Color.RGBA(r, g, b, dt_anim) or Color.RGBA(255, 80, 80, dt_anim), 10, font.pixel, true, 0)

        if FD:GetBool() then
            ay = ay + 9
            if fd_anim < 255 then fd_anim = fd_anim + 15 end
        else
            if fd_anim > 0 then fd_anim = 0 end
        end
        Render_Indicator("FD", ay+(fd_anim/35)-7, Color.RGBA(r, g, b, fd_anim), 10, font.pixel, true, 0)


        if SP:GetInt() == 2 then
            ay = ay + 9
            if sp_anim < 255 then sp_anim = sp_anim + 15 end
        else
            if sp_anim > 0 then sp_anim = 0 end
        end
        Render_Indicator("SP", ay+(sp_anim/35)-7, Color.RGBA(r, g, b, sp_anim), 10, font.pixel, true, 0)
    end
end
end
function speclist()
      local spectators = {}
        local players = EntityList.GetPlayers()
    if not players then return end
        local lp = EntityList.GetLocalPlayer()

        for _, v in pairs(players) do
            if not v:IsDormant() and v:GetProp("m_iHealth") < 1 then
                local target = EntityList.GetPlayerFromHandle(v:GetProp("m_hObserverTarget"))

                if target == lp then
                    spectators[#spectators + 1] = { name = v:GetName() }
                end
            end
        end

    for i = 0, #spectators do
        if a3:GetBool() then
        if spectators[i] ~= nil then
        Render.Text(spectators[i].name,Vector2.new(EngineClient.GetScreenSize().x-Render.CalcTextSize(spectators[i].name,11,fontspec).x-2,0-10+12*i),Color.RGBA(255,255,255,255),11,fontspec,true,false)

        end


end
    end


    end
function legfucker(cmd)

    if gui.legbreaker:GetBool() then
        Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement"):SetInt(ClientState.m_choked_commands == 0 and 1 or 2)
    end
end

local sv_maxusrcmdprocessticks = CVar.FindVar("sv_maxusrcmdprocessticks")
Cheat.RegisterCallback("prediction", function()
    if gui.doubletap:GetBool() then
        Exploits.OverrideDoubleTapSpeed(16)
        sv_maxusrcmdprocessticks:SetInt(17)
    end
    legfucker(cmd)
    edgeyaw(UserCmd)
    local local_player = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
    is_alive = local_player:GetProp("DT_BasePlayer", "m_iHealth") > 0
    if not is_alive then return end
    local active_weapon = local_player:GetActiveWeapon()
    if active_weapon == nil then return end
    local weapon_id = active_weapon:GetWeaponID()
    local players = EntityList.GetPlayers()
    local not_scoped = active_weapon:GetProp("m_zoomLevel") == 0
if gui.checkns:GetBool() then
    for _, player in ipairs(players) do
        if not player:IsTeamMate() then
            local user_index = player:EntIndex()
            if weapon_id == 40 and not_scoped then -- scout noscope hc
                RageBot.OverrideHitchance(user_index, gui.scout_noscope_hc:GetInt())
            end

            if weapon_id == 11 or weapon_id == 38 and not_scoped then -- auto noscope hc
                RageBot.OverrideHitchance(user_index, gui.auto_noscope_hc:GetInt())
            end
        end
    end
end
    local local_player = EntityList.GetLocalPlayer()
    for _, player in pairs(EntityList.GetPlayers()) do
        if (not player:IsTeamMate() and player:IsAlive()) then
           
            local enemy = player:GetPlayer()
            local trace = Cheat.FireBullet(local_player, local_player:GetEyePosition(), enemy:GetEyePosition())
            if trace.damage > 0 then
                if gui.cross:GetBool() then
                 Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):SetBool(false)
            end
        end
    end
end

local lp = EntityList:GetLocalPlayer()
local bOnGround = bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(1,0)) ~= 0
local Crouch = bit.band(lp:GetPlayer():GetProp("m_fFlags"), bit.lshift(2, 0)) ~= 0
local speed2 = Vector.new(lp:GetProp("m_vecVelocity[0]"), lp:GetProp("m_vecVelocity[1]"), lp:GetProp("m_vecVelocity[2]")):Length2D()
    local neverloset = c:Get()
if neverloset then
        if speed2 < 3 then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.syaw2:Get())
        else
            yawadd:Set(antiaim.syaw:Get())
        end
            fakel:Set(antiaim.sleft:Get())
            faker:Set(antiaim.sright:Get())
            fakeop:Set(antiaim.sfkopt:Get())
            lbymode:Set(antiaim.slby:Get())    
            freestd:Set(antiaim.sfr:Get())
            desyn:Set(antiaim.sdes:Get())
            modefierdegree:Set(antiaim.smod:Get())
            yawmodifier:Set(antiaim.sdeg:Get())
        end
        if speed2 > 100 then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.wyaw2:Get())
        else
            yawadd:Set(antiaim.wyaw:Get())
        end
            fakel:Set(antiaim.wleft:Get())
            faker:Set(antiaim.wright:Get())
            fakeop:Set(antiaim.wfkopt:Get())
            lbymode:Set(antiaim.wlby:Get())    
            freestd:Set(antiaim.wfr:Get())
            desyn:Set(antiaim.wdes:Get())
            modefierdegree:Set(antiaim.wmod:Get())
            yawmodifier:Set(antiaim.wdeg:Get())
           
        end
        if slowwalk:Get() then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.swyaw2:Get())
        else
            yawadd:Set(antiaim.swyaw:Get())
        end
            fakel:Set(antiaim.swleft:Get())
            faker:Set(antiaim.swright:Get())
            fakeop:Set(antiaim.swfkopt:Get())
            lbymode:Set(antiaim.swlby:Get())      
            freestd:Set(antiaim.swfr:Get())
            desyn:Set(antiaim.swdes:Get())
            modefierdegree:Set(antiaim.swmod:Get())
            yawmodifier:Set(antiaim.swdeg:Get())
        end
        if not bOnGround then
            if Cheat.IsKeyDown(0x20) or Cheat.IsKeyDown(0x20 and 0x11) then
             if inverted:GetBool() == true then
            yawadd:Set(antiaim.ayaw2:Get())
      else
            yawadd:Set(antiaim.ayaw:Get())
      end
            fakel:Set(antiaim.aleft:Get())
            faker:Set(antiaim.aright:Get())
            fakeop:Set(antiaim.afkopt:Get())
            lbymode:Set(antiaim.alby:Get())    
            freestd:Set(antiaim.afr:Get())
            desyn:Set(antiaim.ades:Get())  
            modefierdegree:Set(antiaim.amod:Get())
            yawmodifier:Set(antiaim.adeg:Get())
        end
    end
        if Crouch and bOnGround then
            if inverted:GetBool() == true then
            yawadd:Set(antiaim.cyaw2:Get())
    else
            yawadd:Set(antiaim.cyaw:Get())
    end
            fakel:Set(antiaim.cleft:Get())
            faker:Set(antiaim.cright:Get())
            fakeop:Set(antiaim.cfkopt:Get())
            lbymode:Set(antiaim.clby:Get())    
            freestd:Set(antiaim.cfr:Get())
            desyn:Set(antiaim.cdes:Get())  
            modefierdegree:Set(antiaim.cmod:Get())
            yawmodifier:Set(antiaim.cdeg:Get())
        end
end
end)
local phrases = {
    "1 свинья йоабана",
   "портфель в школу собрал?",
   "сходи покури, смотри что бы мама не увидела",
   "заебись чел, падаешь как биткоин",
   "1 для токсиков, так что скажу что ты сын шлюхи",
   "killaura.lua on the best",
   "она сосёт мне, ты знаешь кт)",
   "owned by ivanzolo2004",
  "кто такой Zabolotny?",
"1 йоханс бобанс",
"я тебя убил как твою мать в казахстане",
"1",
"слишком хуёвый",
"рофл, прикольчик, приколдесс",
"ты , сын будильника, пошел нахуй",
"как такой сочник смог кнопку нажать?",
"own you, cant reply",
"тебя st1vaho не знает",
"переебал тапком как таракана",
"by killaura.lua",
"я не дотер, но крипа зафармил",
"тебе стоит прикупить конфиг у кимбора",
"тебе стоит посмотреть nolove",
"я бы с таким уровнем игры не жил...",
"я бы тебе посоветовал купить луашку, https://neverlose.cc/market/item?id=J0NjRE:",
"не хочешь посмотреть rayzen? там ты увидишь идеальный fov",
"бля чел ты умер от подножки йобаный рот",
"вот ты сперматозик такой масюсенький",
"pm me in skeet fucking nigga 818 UID",
"l2p dog ezz",
"сын биткоина, ты упал",
"фу нахуй немыщный далбаеб какой ты хуёвый",
"почему у тебя мать дохлая валяется?",
"ну как ты умер почему в такой ситуации ты можешь умереть сын шлюхи",
"бля ты как отец твой, вроде есть, но вроде ушел...",
"tapped dog",
"ты бездарность всего hvh",
"фу блять иди чит купи нормальный",
}
local function get_phrase()
    return phrases[Utils.RandomInt(1, #phrases)]:gsub('\"', '')
end

Cheat.RegisterCallback("events", function(event)
    if event:GetName() ~= "player_hurt" then
        return
    end
    local localplayer = EntityList.GetLocalPlayer()
    local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))
   if gui.hitsound:Get() then
    if attacker == localplayer then
        EngineClient.ExecuteClientCmd(string.format("playvol %s %s", gui.dir:Get(), gui.vol:Get()))
    end
end
local player_resource = EntityList.GetPlayerResource()
    if event:GetName() == "bomb_abortplant" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "bomb_defused" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "bomb_planted" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
    if event:GetName() == "round_prestart" then
        planting = false
        fill = 0
        on_plant_time = 0
        planting_site = ""
    end
   
    if event:GetName() == "bomb_beginplant" then
        on_plant_time = GlobalVars.curtime
        planting = true
        local m_bombsiteCenterA = player_resource:GetProp("DT_CSPlayerResource", "m_bombsiteCenterA")
        local m_bombsiteCenterB = player_resource:GetProp("DT_CSPlayerResource", "m_bombsiteCenterB")
       
        local player = EntityList.GetPlayerForUserID(e:GetInt("userid", 0))
        local localPos = player:GetRenderOrigin()
        local dist_to_a = localPos:DistTo(m_bombsiteCenterA)
        local dist_to_b = localPos:DistTo(m_bombsiteCenterB)
       
        planting_site = dist_to_a < dist_to_b and "Bombsite A" or "Bombsite B"
    end
if gui.trashtalk:GetBool() then
    if event:GetName() ~= "player_death" then return end

    local me = EntityList.GetLocalPlayer()
    local victim = EntityList.GetPlayerForUserID(event:GetInt("userid"))
    local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))

    if victim == attacker or attacker ~= me then return end

    EngineClient.ExecuteClientCmd('say "' .. get_phrase() .. '"')
end
end)

ffi.cdef [[
    typedef int(__thiscall* get_clipboard_text_count)(void*);
    typedef void(__thiscall* set_clipboard_text)(void*, const char*, int);
    typedef void(__thiscall* get_clipboard_text)(void*, int, const char*, int);
]]

local ffi_cast = ffi.cast
local VGUI_System = ffi_cast("void***", Utils.CreateInterface("vgui2.dll", "VGUI_System010"))
local get_clipboard_text_count = ffi_cast("get_clipboard_text_count", VGUI_System[0][7])
local set_clipboard_text = ffi_cast("set_clipboard_text", VGUI_System[0][9])
local get_clipboard_text = ffi_cast("get_clipboard_text", VGUI_System[0][11])

local function str_to_sub(input, sep)
    local t = {}
    for str in string.gmatch(input, "([^"..sep.."]+)") do
        t[#t + 1] = string.gsub(str, "\n", "")
    end
    return t
end

local function clipboard_import( )
      local clipboard_text_length = get_clipboard_text_count( VGUI_System )
    local clipboard_data = ""

    if clipboard_text_length > 0 then
        buffer = ffi.new("char[?]", clipboard_text_length)
        size = clipboard_text_length * ffi.sizeof("char[?]", clipboard_text_length)

        get_clipboard_text( VGUI_System, 0, buffer, size )

        clipboard_data = ffi.string( buffer, clipboard_text_length-1 )
    end
    return clipboard_data
end

local function clipboard_export(string)
    if string then
        set_clipboard_text(VGUI_System, string, string:len())
    end
end

local function temp()
    str = tostring(0) .. "|"
    .. tostring(1) .. "|"
    .. "false" .. "|"
    .. tostring(3) .. "|"

    clipboard_export(str)
    local tbl = str_to_sub(clipboard_import(), "|")

    for i = 1, #tbl do
        print(tbl[i])
    end
end
temp()
function bool_to_int(arg)
    return arg and "1" or "0"
end
function int_to_bool(arg)
    return arg == "1"
end

-- GETINT DLYA MULTI
-- GET PROSTO

function export()
    str = tostring(bool_to_int(gui.doubletap:Get())) .. "|"
    .. tostring(bool_to_int(gui.cross:Get())) .. "|"
    .. tostring(bool_to_int(gui.antidef:Get())) .. "|"
    .. tostring(bool_to_int(gui.checkns:Get())) .. "|"
    .. tostring(gui.scout_noscope_hc:Get()) .. "|"
    .. tostring(gui.auto_noscope_hc:Get()) .. "|"
    .. tostring(bool_to_int(gui.hitsound:Get())) .. "|"
    .. tostring(gui.dir:Get()) .. "|"
    .. tostring(gui.vol:Get()) .. "|"
    .. tostring(bool_to_int(gui.trashtalk:Get())) .. "|"
    .. tostring(bool_to_int(gui.legbreaker:Get())) .. "|"
    .. tostring(bool_to_int(c:Get())) .. "|"
    .. tostring(antiaim.syaw2:Get()) .. "|"
    .. tostring(antiaim.syaw:Get()) .. "|"
    .. tostring(antiaim.sdeg:Get()) .. "|"
    .. tostring(antiaim.smod:Get()) .. "|"
    .. tostring(antiaim.sfake:Get()) .. "|"
    .. tostring(antiaim.sleft:Get()) .. "|"
    .. tostring(antiaim.sright:Get()) .. "|"
    .. tostring(antiaim.sfkopt:GetInt()) .. "|"
    .. tostring(antiaim.slby:Get()) .. "|"
    .. tostring(antiaim.sfr:Get()) .. "|"
    .. tostring(antiaim.sdes:Get()) .. "|"

    .. tostring(antiaim.wyaw2:Get()) .. "|"
    .. tostring(antiaim.wyaw:Get()) .. "|"
    .. tostring(antiaim.wdeg:Get()) .. "|"
    .. tostring(antiaim.wmod:Get()) .. "|"
    .. tostring(antiaim.wfake:Get()) .. "|"
    .. tostring(antiaim.wleft:Get()) .. "|"
    .. tostring(antiaim.wright:Get()) .. "|"
    .. tostring(antiaim.wfkopt:GetInt()) .. "|"
    .. tostring(antiaim.wlby:Get()) .. "|"
    .. tostring(antiaim.wfr:Get()) .. "|"
    .. tostring(antiaim.wdes:Get()) .. "|"

    .. tostring(antiaim.swyaw2:Get()) .. "|"
    .. tostring(antiaim.swyaw:Get()) .. "|"
    .. tostring(antiaim.swdeg:Get()) .. "|"
    .. tostring(antiaim.swmod:Get()) .. "|"
    .. tostring(antiaim.swfake:Get()) .. "|"
    .. tostring(antiaim.swleft:Get()) .. "|"
    .. tostring(antiaim.swright:Get()) .. "|"
    .. tostring(antiaim.swfkopt:GetInt()) .. "|"
    .. tostring(antiaim.swlby:Get()) .. "|"
    .. tostring(antiaim.swfr:Get()) .. "|"
    .. tostring(antiaim.swdes:Get()) .. "|"

    .. tostring(antiaim.ayaw2:Get()) .. "|"
    .. tostring(antiaim.ayaw:Get()) .. "|"
    .. tostring(antiaim.adeg:Get()) .. "|"
    .. tostring(antiaim.amod:Get()) .. "|"
    .. tostring(antiaim.afake:Get()) .. "|"
    .. tostring(antiaim.aleft:Get()) .. "|"
    .. tostring(antiaim.aright:Get()) .. "|"
    .. tostring(antiaim.afkopt:GetInt()) .. "|"
    .. tostring(antiaim.alby:Get()) .. "|"
    .. tostring(antiaim.afr:Get()) .. "|"
    .. tostring(antiaim.ades:Get()) .. "|"  

    .. tostring(antiaim.cyaw2:Get()) .. "|"
    .. tostring(antiaim.cyaw:Get()) .. "|"
    .. tostring(antiaim.cdeg:Get()) .. "|"
    .. tostring(antiaim.cmod:Get()) .. "|"
    .. tostring(antiaim.cfake:Get()) .. "|"
    .. tostring(antiaim.cleft:Get()) .. "|"
    .. tostring(antiaim.cright:Get()) .. "|"
    .. tostring(antiaim.cfkopt:GetInt()) .. "|"
    .. tostring(antiaim.clby:Get()) .. "|"
    .. tostring(antiaim.cfr:Get()) .. "|"
    .. tostring(antiaim.cdes:Get()) .. "|"


    .. tostring(bool_to_int(antiaim.refEnabled:Get())) .. "|"
    .. tostring(bool_to_int(legitaa:Get())) .. "|"
    .. tostring(bool_to_int(at_target_on_legitAA:Get())) .. "|"



clipboard_export(str)
end

function import()
   local tbl = str_to_sub(clipboard_import(), "|")
gui.doubletap:Set(int_to_bool(tbl[1]))
    gui.cross:Set(int_to_bool(tbl[2]))
    gui.antidef:Set(int_to_bool(tbl[3]))
    gui.checkns:Set(int_to_bool(tbl[4]))
    gui.scout_noscope_hc:Set(tonumber(tbl[5]))
    gui.auto_noscope_hc:Set(tonumber(tbl[6]))
    gui.hitsound:Set(int_to_bool(tbl[7]))
    gui.dir:Set(tbl[8])
    gui.vol:Set(tonumber(tbl[9]))
    gui.trashtalk:Set(int_to_bool(tbl[10]))
    gui.legbreaker:Set(int_to_bool(tbl[11]))
    c:Set(int_to_bool(tbl[12]))
    antiaim.syaw2:Set(tonumber(tbl[13]))
    antiaim.syaw:Set(tonumber(tbl[14]))
    antiaim.sdeg:Set(tonumber(tbl[15]))
    antiaim.smod:Set(tonumber(tbl[16]))
    antiaim.sfake:Set(tonumber(tbl[17]))
    antiaim.sleft:Set(tonumber(tbl[18]))
    antiaim.sright:Set(tonumber(tbl[19]))
    antiaim.sfkopt:Set(tonumber(tbl[20]))
    antiaim.slby:Set(tonumber(tbl[21]))
    antiaim.sfr:Set(tonumber(tbl[22]))
    antiaim.sdes:Set(tonumber(tbl[23]))

    antiaim.wyaw2:Set(tonumber(tbl[24]))
    antiaim.wyaw:Set(tonumber(tbl[25]))
    antiaim.wdeg:Set(tonumber(tbl[26]))
    antiaim.wmod:Set(tonumber(tbl[27]))
    antiaim.wfake:Set(tonumber(tbl[28]))
    antiaim.wleft:Set(tonumber(tbl[29]))
    antiaim.wright:Set(tonumber(tbl[30]))
    antiaim.wfkopt:Set(tonumber(tbl[31]))
    antiaim.wlby:Set(tonumber(tbl[32]))
    antiaim.wfr:Set(tonumber(tbl[33]))
    antiaim.wdes:Set(tonumber(tbl[34]))

    antiaim.swyaw2:Set(tonumber(tbl[35]))
    antiaim.swyaw:Set(tonumber(tbl[36]))
    antiaim.swdeg:Set(tonumber(tbl[37]))
    antiaim.swmod:Set(tonumber(tbl[38]))
    antiaim.swfake:Set(tonumber(tbl[39]))
    antiaim.swleft:Set(tonumber(tbl[40]))
    antiaim.swright:Set(tonumber(tbl[41]))
    antiaim.swfkopt:Set(tonumber(tbl[42]))
    antiaim.swlby:Set(tonumber(tbl[43]))
    antiaim.swfr:Set(tonumber(tbl[44]))
    antiaim.swdes:Set(tonumber(tbl[45]))

    antiaim.ayaw2:Set(tonumber(tbl[46]))
    antiaim.ayaw:Set(tonumber(tbl[47]))
    antiaim.adeg:Set(tonumber(tbl[48]))
    antiaim.amod:Set(tonumber(tbl[49]))
    antiaim.afake:Set(tonumber(tbl[50]))
    antiaim.aleft:Set(tonumber(tbl[51]))
    antiaim.aright:Set(tonumber(tbl[52]))
    antiaim.afkopt:Set(tonumber(tbl[53]))
    antiaim.alby:Set(tonumber(tbl[54]))
    antiaim.afr:Set(tonumber(tbl[55]))
    antiaim.ades:Set(tonumber(tbl[56]))  

    antiaim.cyaw2:Set(tonumber(tbl[57]))
    antiaim.cyaw:Set(tonumber(tbl[58]))
    antiaim.cdeg:Set(tonumber(tbl[59]))
    antiaim.cmod:Set(tonumber(tbl[60]))
    antiaim.cfake:Set(tonumber(tbl[61]))
    antiaim.cleft:Set(tonumber(tbl[62]))
    antiaim.cright:Set(tonumber(tbl[63]))
    antiaim.cfkopt:Set(tonumber(tbl[64]))
    antiaim.clby:Set(tonumber(tbl[65]))
    antiaim.cfr:Set(tonumber(tbl[66]))
    antiaim.cdes:Set(tonumber(tbl[67]))
    antiaim.refEnabled:Set(int_to_bool(tbl[68]))
    legitaa:Set(int_to_bool(tbl[69]))
    at_target_on_legitAA:Set(int_to_bool(tbl[70]))

end
local button = Menu.Button("Configs", "Export Settings", "%0",function()
    export()
    Cheat.AddNotify("killaura.lua", "Settings copied!")
end)
local button2 = Menu.Button("Configs", "Import Settings", "%1",function()
    import()
    Cheat.AddNotify("killaura.lua", "Settings loaded!")
end)

button4 = Menu.Text("Configs", "Work only on Rage/AA | Soon More...")

Cheat.RegisterCallback("draw", function()
    button:SetVisible(globaltabs:GetInt() == 5)
    button2:SetVisible(globaltabs:GetInt() == 5)
    button4:SetVisible(globaltabs:GetInt() == 5)
    speclist()
    scope_line.on_draw()
    if slog_en:Get() then
        draw_slog()
    end

    logs.color = colorpicker:Get()
    if a4:Get() then
    for i, log in ipairs(logs.logs.stuff) do
            Render.Text(log.text,Vector2.new(6+1,5+1+i*12-12+a5:Get()),Color.RGBA(0,0,0,255),11,logs.font)
            Render.Text(log.text,Vector2.new(6,5+i*12-12+a5:Get()),Color.RGBA(255,255,255,255),11,logs.font)
        if log.time + 5 < GlobalVars.realtime then table.remove(logs.logs.stuff,i) end
    end
end
gui.trashtalk:SetVisible(globaltabs:GetInt() == 4)
gui.legbreaker:SetVisible(globaltabs:GetInt() == 4)
    gui.antidef:SetVisible(globaltabs:GetInt() == 1)
    gui.doubletap:SetVisible(globaltabs:GetInt() == 1)
    a3:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    gui.cross:SetVisible(globaltabs:GetInt() == 1)
gui.checkns:SetVisible(globaltabs:GetInt() == 1)
gui.scout_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.auto_noscope_hc:SetVisible(globaltabs:GetInt() == 1 and gui.checkns:GetBool())
gui.hitsound:SetVisible(globaltabs:GetInt() == 4)
gui.dir:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
gui.vol:SetVisible(globaltabs:GetInt() == 4 and gui.hitsound:GetBool())
a4:SetVisible(globaltabs:GetInt() == 4)
antiaim.c666:SetVisible(c:Get() and globaltabs:GetInt() == 2)
a5:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
colorpicker:SetVisible(globaltabs:GetInt() == 4 and a4:GetBool())
    killaura()
dmgdraw()
i:SetVisible(globaltabs:GetInt() == 0)
i2:SetVisible(globaltabs:GetInt() == 0)
i3:SetVisible(globaltabs:GetInt() == 0)
i4:SetVisible(globaltabs:GetInt() == 0)
i5:SetVisible(globaltabs:GetInt() == 0)
i6:SetVisible(globaltabs:GetInt() == 0)
i7:SetVisible(globaltabs:GetInt() == 0)
slog_en:SetVisible(globaltabs:GetInt() == 4)
color_hit:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
color_miss:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
height:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
time:SetVisible(globaltabs:GetInt() == 4 and slog_en:Get())
    lua.watermark.enablevis:SetVisible(globaltabs:GetInt() == 3)
    lua.watermark.el:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    scope_line.menu.checkbox:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    scope_line.menu.offset:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.length:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.anim_speed:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.col_1:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    scope_line.menu.col_2:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and scope_line.menu.checkbox:GetBool())
    lua.watermark.transp:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and (lua.watermark.el:Get(1) or lua.watermark.el:Get(2) or lua.watermark.el:Get(3) or lua.watermark.el:Get(4) or lua.watermark.el:Get(5) or lua.watermark.el:Get(6)))
    lua.watermark.theme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.prefix:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.name:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.keybindstheme:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(5))
    lua.watermark.prefix_custom:SetVisible(lua.watermark.prefix:Get() == 3 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.name_custom:SetVisible(lua.watermark.name:Get() == 2 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.theme_custom:SetVisible(lua.watermark.theme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3  and lua.watermark.el:Get(6))
    lua.watermark.fl_line:SetVisible(lua.watermark.el:Get(2) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.hz_line:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.hz:SetVisible(lua.watermark.el:Get(4) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.io_speed:SetVisible(lua.watermark.el:Get(3) and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    lua.watermark.keybindstheme_custom:SetVisible(lua.watermark.keybindstheme:Get() == 1 and lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 )
    gdmggind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    min_gdmgind:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and gdmggind:GetBool())
    color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    netgraphcheck:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    solus()
        update_choked(c)
    legitaa:SetVisible(c:Get() and globaltabs:GetInt() == 2)
    antiaim.refEnabled:SetVisible(c:Get() and globaltabs:GetInt() == 2)
    at_target_on_legitAA:SetVisible(legitaa:GetBool() and c:Get() and globaltabs:GetInt() == 2)
    indicators()
    def:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    indi:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3)
    fake_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(1))
    fl_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(2))
    aa_color:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(3))
    hit_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(4))
    ba_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(9))
    sp_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(10))
    dmg_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
    dmgs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(11))
    hc_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
    hcs:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(12))
    fs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(13))
    hs_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(15))
    buttoncheck:SetVisible(globaltabs:GetInt() == 2)
    da_style:SetVisible(lua.watermark.enablevis:GetBool() and globaltabs:GetInt() == 3 and indi:GetBool(16))
c:SetVisible(globaltabs:GetInt() == 2)
           local neverlose =  c:Get() and globaltabs:GetInt() == 2
    local s = neverlosecondit:Get() == 0
    local w = neverlosecondit:Get() == 1
    local sw  = neverlosecondit:Get() == 2
    local a = neverlosecondit:Get() == 3
    local c = neverlosecondit:Get() == 4
    if neverlose then
neverlosecondit:SetVisible(neverlose)
c1:SetVisible(neverlose)
c2:SetVisible(neverlose)
c3:SetVisible(neverlose)
antiaim.refEnabled:SetVisible(neverlose)
antiaim.    syaw2:SetVisible(s)
antiaim.    sfake:SetVisible(s)
antiaim.    sleft:SetVisible(s)
antiaim.    sright:SetVisible(s)
antiaim.    sfkopt:SetVisible(s)
antiaim.    slby:SetVisible(s)
antiaim.    sfr:SetVisible(s)
antiaim.    smod:SetVisible(s and antiaim.sdeg:GetInt() == 1 or antiaim.sdeg:GetInt() == 2 or antiaim.sdeg:GetInt() == 3 or antiaim.sdeg:GetInt() == 4)
antiaim.    sdeg:SetVisible(s)
antiaim.    syaw:SetVisible(s)
antiaim.    sdes:SetVisible(s)
antiaim.    wyaw2:SetVisible(w)
antiaim.    wfake:SetVisible(w)
antiaim.    wleft:SetVisible(w)
antiaim.    wright:SetVisible(w)
antiaim.    wfkopt:SetVisible(w)
antiaim.    wlby:SetVisible(w)
antiaim.    wfr:SetVisible(w)
antiaim.    wdes:SetVisible(w)
antiaim.    wmod:SetVisible(w and antiaim.wdeg:Get() == 1 or antiaim.wdeg:Get() == 2 or antiaim.wdeg:Get() == 3 or antiaim.wdeg:Get() == 4)
antiaim.    wdeg   :SetVisible(w)
antiaim.    wyaw:SetVisible(w)
antiaim.    swyaw2:SetVisible(sw)
antiaim.    swfake:SetVisible(sw)
antiaim.    swleft:SetVisible(sw)
antiaim.    swright:SetVisible(sw)
antiaim.    swfkopt:SetVisible(sw)
antiaim.    swlby:SetVisible(sw)
antiaim.    swfr:SetVisible(sw)
antiaim.    swdes:SetVisible(sw)
antiaim.    swmod:SetVisible(sw and antiaim.swdeg:GetInt() == 1 or antiaim.swdeg:GetInt() == 2 or antiaim.swdeg:GetInt() == 3 or antiaim.swdeg:GetInt() == 4)
antiaim.    swdeg   :SetVisible(sw)
antiaim.    swyaw:SetVisible(sw)
antiaim.    ayaw2:SetVisible(a)
antiaim.    afake:SetVisible(a)
antiaim.    aleft:SetVisible(a)
antiaim.    aright:SetVisible(a)
antiaim.    afkopt:SetVisible(a)
antiaim.    alby:SetVisible(a)
antiaim.    afr:SetVisible(a)
antiaim.    ades:SetVisible(a)
antiaim.    amod:SetVisible(a and antiaim.adeg:GetInt() == 1 or antiaim.adeg:GetInt() == 2 or antiaim.adeg:GetInt() == 3 or antiaim.adeg:GetInt() == 4)
antiaim.    adeg:SetVisible(a)
antiaim.    ayaw:SetVisible(a)
antiaim.    cyaw2:SetVisible(c)
antiaim.    cfake:SetVisible(c)
antiaim.    cleft:SetVisible(c)
antiaim.    cright:SetVisible(c)
antiaim.    cfkopt:SetVisible(c)
antiaim.    clby:SetVisible(c)
antiaim.    cfr:SetVisible(c)
antiaim.    cdes:SetVisible(c)    
antiaim.    cmod:SetVisible(c and antiaim.cdeg:GetInt() == 1 or antiaim.cdeg:GetInt() == 2 or antiaim.cdeg:GetInt() == 3 or antiaim.cdeg:GetInt() == 4)
antiaim.    cdeg:SetVisible(c)
antiaim.    cyaw:SetVisible(c)
else

    c1:SetVisible(neverlose)
    c2:SetVisible(neverlose)
    c3:SetVisible(neverlose)
    neverlosecondit:SetVisible(neverlose)
antiaim.    syaw2:SetVisible(false)
antiaim.    cfake:SetVisible(false)
antiaim.    swfake:SetVisible(false)
antiaim.    afake:SetVisible(false)
antiaim.    sfake:SetVisible(false)
antiaim.    wfake:SetVisible(false)
antiaim.    sleft:SetVisible(false)
antiaim.    sright:SetVisible(false)
antiaim.    sfkopt:SetVisible(false)
antiaim.    slby:SetVisible(false)
antiaim.    sfr:SetVisible(false)
antiaim.    sdes:SetVisible(false)
antiaim.    smod:SetVisible(false)
antiaim.    sdeg:SetVisible(false)
antiaim.    wyaw:SetVisible(false)
antiaim.    wyaw2:SetVisible(false)
antiaim.    wleft:SetVisible(false)
antiaim.    wright:SetVisible(false)
antiaim.    wfkopt:SetVisible(false)
antiaim.    wlby:SetVisible(false)
antiaim.    wfr:SetVisible(false)
antiaim.    wdes:SetVisible(false)
antiaim.    swyaw2:SetVisible(false)
antiaim.    swleft:SetVisible(false)
antiaim.    swright:SetVisible(false)
antiaim.    swfkopt:SetVisible(false)
antiaim.    swlby:SetVisible(false)
antiaim.    swfr:SetVisible(false)
antiaim.    swdes:SetVisible(false)
antiaim.    ayaw2:SetVisible(false)
antiaim.    aleft:SetVisible(false)
antiaim.    aright:SetVisible(false)
antiaim.    afkopt:SetVisible(false)
antiaim.    alby:SetVisible(false)
antiaim.    afr:SetVisible(false)
antiaim.    ades:SetVisible(false)
antiaim.    cyaw2:SetVisible(false)
antiaim.    cleft:SetVisible(false)
antiaim.    cright:SetVisible(false)
antiaim.    cfkopt:SetVisible(false)
antiaim.    clby:SetVisible(false)
antiaim.    cfr:SetVisible(false)
antiaim.    cdes:SetVisible(false)
antiaim.    wmod:SetVisible(false)
antiaim.    wdeg:SetVisible(false)
antiaim.    swmod:SetVisible(false)
antiaim.    swdeg:SetVisible(false)
antiaim.    amod:SetVisible(false)
antiaim.    adeg:SetVisible(false)
antiaim.    cmod:SetVisible(false)
antiaim.    cdeg:SetVisible(false)
antiaim.    ayaw:SetVisible(false)
antiaim.    wyaw:SetVisible(false)
antiaim.    swyaw:SetVisible(false)
antiaim.    cyaw:SetVisible(false)
antiaim.    syaw:SetVisible(false)
    end

    end)
have you got only the sigma hitlogs source?
 
Сверху Снизу