--██╗     ███████╗ █████╗ ██╗  ██╗███████╗██████╗     ██████╗ ██╗   ██╗    ███████╗███████╗██████╗ ███████╗   ██╗  ██╗ ██████╗ ███████╗████████╗		
--██║     ██╔════╝██╔══██╗██║ ██╔╝██╔════╝██╔══██╗    ██╔══██╗╚██╗ ██╔╝    ██╔════╝██╔════╝██╔══██╗██╔════╝   ██║  ██║██╔═══██╗██╔════╝╚══██╔══╝		
--██║     █████╗  ███████║█████╔╝ █████╗  ██║  ██║    ██████╔╝ ╚████╔╝     █████╗  █████╗  ██║  ██║███████╗   ███████║██║   ██║███████╗   ██║   		
--██║     ██╔══╝  ██╔══██║██╔═██╗ ██╔══╝  ██║  ██║    ██╔══██╗  ╚██╔╝      ██╔══╝  ██╔══╝  ██║  ██║╚════██║   ██╔══██║██║   ██║╚════██║   ██║   		
--███████╗███████╗██║  ██║██║  ██╗███████╗██████╔╝    ██████╔╝   ██║       ██║     ███████╗██████╔╝███████║██╗██║  ██║╚██████╔╝███████║   ██║   		
--╚══════╝╚══════╝╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝╚═════╝     ╚═════╝    ╚═╝       ╚═╝     ╚══════╝╚═════╝ ╚══════╝╚═╝╚═╝  ╚═╝ ╚═════╝ ╚══════╝   ╚═╝   		
-- SHITTY DARK.LUA [NEVERLOSE LUA] GOT LEAKED BY FEDS.HOST REGE#1100, dxm#0010 & Monder#1337		
		
-- ui start		
local lua_name = menu.Text("FEDS.HOST", "WELCOME TO FEDS.HOST")		
local aamaster = menu.Switch("Anti Aim", "Enable Anti-Aim", false, "Enables the anti aim")		
local aamodes = menu.Combo("Anti Aim", "AA Modes", {"Anti Brute Force", "Low Delta Desync", "Sway Desync", "Smart"}, 0, "Anti Aim Modes")		
local swayrange = menu.SliderInt("Anti Aim", "Max Range for Sway", 0, 0, 60, "Puts the max desync range on the Sway Desync Mode")		
local lowdeltabind = menu.Switch("Anti Aim", "Low Delta Bind", false, "Low Delta Bind")		
local lowdeltamodes = menu.Combo("Anti Aim", "Low Delta Modes", {"Static", "Jitter"}, 0, "Low Delta Modes")		
local legitaabind = menu.Switch("Anti Aim", "Legit AA Bind", false, "Legit AA Bind")		
local legitaamodes = menu.Combo("Anti Aim", "Legit AA Modes", {"Static", "Jitter"}, 0, "Legit AA Modes")		
local antiaimdesyncleft = g_Config:FindVar("Aimbot", "Anti Aim", "Fake Angle", "Left Limit")		
local antiaimdesyncright = g_Config:FindVar("Aimbot", "Anti Aim", "Fake Angle", "Right Limit")		
local antiaimfakeoptions = g_Config:FindVar("Aimbot", "Anti Aim", "Fake Angle", "Fake Options")		
local antiaimpitch = g_Config:FindVar("Aimbot", "Anti Aim", "Main", "Pitch")		
local antiaimyawadd = g_Config:FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add")		
local c_menu_doubletap = menu.Switch("Exploits", "Customized Doubletap", false, ")		
local c_menu_doubletap_clockcr = menu.Switch("Exploits", "Disable DT Correction", false, "Will make your DoubleTap innacurate but faster!")		
local c_menu_doubletap_modes = menu.Combo("Exploits", "Modes", {"Instant", "Medium", "Turtle[Slow]", "DESTROYER"}, 0, "Multiple DoubleTap speed modes!")		
local c_menu_doubletap_debug_mode = menu.Switch("Exploits", "Info About The DT", false, "Will print info about doubletap, ticks etc...")		
local c_menu_doubletap_instant_recharge = menu.Switch("Exploits", "Instant Recharge", false, "Will recharge doubletap as soon as possible (Not recommended tho!)!")		
local indicators = menu.Switch("Visuals", "Indicators", false, "Enable The Indicators")		
local indicatorsmode = menu.Combo("Visuals", "Indicators Mode", {"Style 1", "Style 2"}, 0, "Indicators Modes")		
local dtlocation = g_Config:FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap")		
local hslocation = g_Config:FindVar("Aimbot", "Ragebot", "Exploits", "Hide Shots")		
local maincol = menu.ColorEdit("Visuals", "Main Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "Main Indicator Color")		
local dtcol = menu.ColorEdit("Visuals", "DT Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "DT Indicator Color")		
local hscol = menu.ColorEdit("Visuals", "HS Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "HS Indicator Color")		
local maincolorrasa = menu.ColorEdit("Visuals", "Main Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "Main Indicator Color")		
local dtcolrasa12 = menu.ColorEdit("Visuals", "DT Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "DT Indicator Color")		
local hscolrasa12 = menu.ColorEdit("Visuals", "HS Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "HS Indicator Color")		
local flcolrasa12 = menu.ColorEdit("Visuals", "FL Indicator Color", Color.new(1.0, 1.0, 1.0, 1.0), "FL Indicator Color")		
local c_menu_exploits_legs = menu.Switch("Misc", "Leg Fucker", false, "Randomizes ur legs")		
local menu_leg_movement = g_Config:FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement")		
local randomizefakelag = menu.Switch("Misc", "Randomize Fake Lag", false, "Randomizes ur fakelag")		
local randomizefakelaglimit = menu.SliderInt("Misc", "Minimum Limit", 0, 0, 14, "Puts the minimum Fake Lag Limit")		
local randomizefakelaglimit2 = menu.SliderInt("Misc", "Maximum Limit", 0, 0, 14, "Puts the Maximum Fake Lag Limit")		
local arrowenable = menu.Switch("Visuals", "Arrow Enabled", false, "Enables the arrow")		
local arrow = menu.ColorEdit("Visuals", "Arrow Color", Color.new(1.0, 1.0, 1.0, 1.0), "Arrow Color")		
local arrow1 = menu.ColorEdit("Visuals", "Arrow Color Active", Color.new(1.0, 1.0, 1.0, 1.0), "Arrow Color Active")		
local inverter = g_Config:FindVar("Aimbot", "Anti Aim", "Fake Angle", "Inverter")		
local fakelaglimitmad = g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Limit")		
local fakelaglocation = g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag")		
local font1 = g_Render:InitFont("Calibri Bold", 25)		
local font2 = g_Render:InitFont("Smallest Pixel-7", 30)		
local trashtalk = menu.Switch("Misc", "TrashTalk", false, "Enables TrashTalk after u kill an enemy")		
local clantagcheckbox = menu.Switch("Misc", "ClanTag", false, "Enables ClanTag in TAB")		
local hsofffakelag = menu.Switch("Exploits", "Disable Fake Lag On HS", false, "Disables Fake Lag On Hide-Shots")		
randomizefakelaglimit:SetVisible(false)		
randomizefakelaglimit2:SetVisible(false)		
		
		
local function off_fakelagonhs()		
if (hsofffakelag:GetBool() == true) then		
if (hslocation:GetBool() == true) then		
fakelaglocation:SetBool(false)		
end		
end		
if (hsofffakelag:GetBool() == true) then		
if (hslocation:GetBool() == false) then		
fakelaglocation:SetBool(true)		
end		
end		
end		
		
ffi.cdef[[		
    typedef int(__fastcall* clantag_t)(const char*, const char*);		
]]		
local fn_change_clantag = utils.PatternScan("engine.dll", "53 56 57 8B DA 8B F9 FF 15")		
local set_clantag = ffi.cast("clantag_t", fn_change_clantag)		
local animation = {		
    "FEDS.LUA",		
"FEDS.LU4",		
    "FEDS.LU",		
    "FEDS.L]",		
    "FEDS.L",		
    "FEDS./",		
    "FEDS.",		
    "FEDS",		
"FED7",		
    "FED=",		
    "FED",		
    "FED",		
    "FE",		
"F2",		
    "F",		
"7",		
	 ,	
	 ,	
    "F",		
"F2",		
    "FE",		
	FE5,	
	FED,	
	FED,	
	FED7,	
	FEDS.,	
	FEDS./,	
	FEDS.L,	
	FEDS.L],	
	FEDS.LU,	
	FEDS.LU4,	
	FEDS.LUA,	
}		
		
local animation2 = {		
	 ,	
}		
		
local old_time = 0		
local function clantag()		
		
    if (clantagcheckbox:GetBool() == true) then		
    local curtime = math.floor(g_GlobalVars.curtime)		
    if old_time ~= curtime then		
set_clantag(animation[curtime % #animation+1], animation[curtime % #animation+1])		
    end		
    old_time = curtime		
	end	
		
	local set_clantag = ffi.cast("clantag_t", fn_change_clantag)	
	if (clantagcheckbox:GetBool() == false) then	
	local curtime = math.floor(g_GlobalVars.curtime)	
    if old_time ~= curtime then		
	set_clantag(animation2[curtime % #animation2+1], animation2[curtime % #animation2+1])	
	end	
	old_time = curtime	
	end	
		
		
end		
		
cheat.RegisterCallback("events", function(event)		
    if (trashtalk:GetBool() == true) then		
    if event:GetName() == "player_death" then		
		
        local victim = g_EngineClient:GetPlayerForUserId(event:GetInt("userid"))		
        local attacker = g_EngineClient:GetPlayerForUserId(		
                             event:GetInt("attacker"))		
		
        if victim ~= attacker and attacker == g_EngineClient:GetLocalPlayer() then		
            g_EngineClient:ExecuteClientCmd('say OWNED BY FEDS.HOST')		
        end		
		
    end		
end		
end)		
		
		
local function fakelagrandomizer()		
		
if (randomizefakelag:GetBool() == true) then		
fakelaglimitmad:SetInt(math.random(randomizefakelaglimit:GetInt(), randomizefakelaglimit2:GetInt()))		
randomizefakelaglimit:SetVisible(true)		
randomizefakelaglimit2:SetVisible(true)		
end		
if (randomizefakelag:GetBool() == false) then		
randomizefakelaglimit:SetVisible(false)		
randomizefakelaglimit2:SetVisible(false)		
end		
end		
		
local last = 0		
local state = true		
local function leg_fucker()		
    local cur = g_GlobalVars.curtime		
    local local_player = g_EntityList:GetClientEntity(g_EngineClient:GetLocalPlayer())		
    local player = local_player:GetPlayer()		
		
    if (c_menu_exploits_legs:GetBool()) then		
menu_leg_movement:SetInt(math.random(0, 1))		
    end		
end		
		
local on_draw = function()		
		
clantag()		
		
if (arrowenable:GetBool() == true) then		
arrow:SetVisible(true)		
arrow1:SetVisible(true)		
end		
if (arrowenable:GetBool() == false) then		
arrow:SetVisible(false)		
arrow1:SetVisible(false)		
end		
		
		
    local local_player_index    = g_EngineClient:GetLocalPlayer()		
    local local_player          = g_EntityList:GetClientEntity(local_player_index) 		
		
    if not local_player then		
        return		
    end		
		
	local maincol2 = maincol:GetColor()	
		
local render_offset     = 0		
	local get_screen = g_EngineClient:GetScreenSize()	
		
		
local adsa = Vector2.new((get_screen.x /2) + 75, (get_screen.y /2) + 23)		
	local adsa2 = Vector2.new((get_screen.x /2) - 45, (get_screen.y /2) + 23)	
local FPLx = Vector2.new((get_screen.x /2) - 8, (get_screen.y /2) + 30)		
local FPLx2 = Vector2.new((get_screen.x /2) - 8, (get_screen.y /2) + 42)		
	local FPLx3 = Vector2.new((get_screen.x /2) - 8, (get_screen.y /2) + 54)	
	local indmain = Vector2.new((get_screen.x /2) + 12, (get_screen.y /2) + 10)	
	local indmain2 = Vector2.new((get_screen.x /2) + 12, (get_screen.y /2) + 21)	
	local indmain3 = Vector2.new((get_screen.x /2) + 12, (get_screen.y /2) + 32)	
	local indmain4 = Vector2.new((get_screen.x /2) + 12, (get_screen.y /2) + 43)	
local indmain5 = Vector2.new((get_screen.x /2) + 12, (get_screen.y /2) + 54)		
		
		local dtcol2 = dtcol:GetColor()
		local hscol2 = hscol:GetColor()
		local arrowcolactive = arrow1:GetColor()
		local arrowcol = arrow:GetColor()
		
		local dtcolrasa = dtcolrasa12:GetColor()
		local hscolrasa = hscolrasa12:GetColor()
		local flcolrasa = flcolrasa12:GetColor()
		local maincolorrasa21 = maincolorrasa:GetColor()
		
         		
		 if (indicators:GetBool() == false) then
		 indicatorsmode:SetVisible(false)
		arrow1:SetVisible(false)
		arrow:SetVisible(false)
		arrowenable:SetVisible(false)
		maincol:SetVisible(false)
        dtcol:SetVisible(false)		
        hscol:SetVisible(false)		
		maincolorrasa:SetVisible(false)
dtcolrasa12:SetVisible(false)		
hscolrasa12:SetVisible(false)		
		flcolrasa12:SetVisible(false)
		end
		if (indicators:GetBool() == true) then
		 indicatorsmode:SetVisible(true)
		 end
		 
		 
        if (indicators:GetBool() == true) then		
		if (indicatorsmode:GetInt() == 0) then
		
		arrow1:SetVisible(true)
		arrow:SetVisible(true)
		arrowenable:SetVisible(true)
		maincol:SetVisible(true)
        dtcol:SetVisible(true)		
        hscol:SetVisible(true)		
		maincolorrasa:SetVisible(false)
dtcolrasa12:SetVisible(false)		
hscolrasa12:SetVisible(false)		
		flcolrasa12:SetVisible(false)
		
		
g_Render:Text("FEDS.HOST", FPLx, maincolorrasa21, 13, font1)		
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == false) then
		g_Render:Text("DT", FPLx2, dtcol2, 13, font1)
		end
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("DT", FPLx2, dtcol2, 13, font1)
		g_Render:Text("HS", FPLx3, hscol2, 13, font1)
		end
		end
		if (hslocation:GetBool() == true) then
		if (dtlocation:GetBool() == false) then
		g_Render:Text("HS", FPLx2, hscol2, 13, font1)
		end
		end
		
		if (arrowenable:GetBool() == true) then
		if (antiaimfakeoptions:GetInt() == 3) then
		return
		end
		g_Render:Text("<", adsa2, arrowcol, 22, font1)
		g_Render:Text(">", adsa, arrowcol, 22, font1)
		
		if (inverter:GetBool() == false) then
		g_Render:Text("<", adsa2, arrowcolactive, 22, font1)
		end
		
		if (inverter:GetBool() == true) then
		g_Render:Text(">", adsa, arrowcolactive, 22, font1)
		end
		end
		end
		
		local sent_packets_num = g_ClientState.m_choked_commands
		
		if (indicatorsmode:GetInt() == 1) then
		maincol:SetVisible(false)
        dtcol:SetVisible(false)		
        hscol:SetVisible(false)		
		maincolorrasa:SetVisible(true)
dtcolrasa12:SetVisible(true)		
hscolrasa12:SetVisible(true)		
		flcolrasa12:SetVisible(true)
		arrow1:SetVisible(false)
		arrow:SetVisible(false)
		arrowenable:SetVisible(false)
		
		
		if (aamodes:GetInt() == 0) then
		g_Render:Text("FEDS.HOST", indmain, maincolorrasa21, 13, font2, true)
		g_Render:Text("AA MODE : ANTI BRUTE", indmain2, maincolorrasa21, 13, font2, true)
		g_Render:Text("FL : " .. sent_packets_num, indmain3, flcolrasa, 13, font2, true)
		end
		if (aamodes:GetInt() == 1) then
		g_Render:Text("FEDS.HOST", indmain, maincolorrasa21, 13, font2, true)
		g_Render:Text("AA MODE : LOW DELTA DESYNC", indmain2, maincolorrasa21, 13, font2, true)
		g_Render:Text("FL : " .. sent_packets_num, indmain3, flcolrasa, 13, font2, true)
		end
		if (aamodes:GetInt() == 2) then
		g_Render:Text("FEDS.HOST", indmain, maincolorrasa21, 13, font2, true)
		g_Render:Text("AA MODE : SWAY DESYNC", indmain2, maincolorrasa21, 13, font2, true)
		g_Render:Text("FL : " .. sent_packets_num, indmain3, flcolrasa, 13, font2, true)
		end
		if (aamodes:GetInt() == 3) then
		g_Render:Text("FEDS.HOST", indmain, maincolorrasa21, 13, font2, true)
		g_Render:Text("AA MODE : SMART", indmain2, maincolorrasa21, 13, font2, true)
		g_Render:Text("FL : " .. sent_packets_num, indmain3, flcolrasa, 13, font2, true)
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == false) then
		g_Render:Text("DT : ", indmain4, dtcolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("DT : ", indmain4, dtcolrasa, 13, font2, true)
		g_Render:Text("HS", indmain5, hscolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == false) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("HS", indmain4, hscolrasa, 13, font2, true)
		end
		end
		
		
		if (c_menu_doubletap_modes:GetInt() == 0) then
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == false) then
		g_Render:Text("DT : INSTANT", indmain4, dtcolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("DT : INSTANT", indmain4, dtcolrasa, 13, font2, true)
		g_Render:Text("HS", indmain5, hscolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == false) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("HS", indmain4, hscolrasa, 13, font2, true)
		end
		end
		end
		
		if (c_menu_doubletap_modes:GetInt() == 1) then
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == false) then
		g_Render:Text("DT : MEDIUM", indmain4, dtcolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("DT : MEDIUM", indmain4, dtcolrasa, 13, font2, true)
		g_Render:Text("HS", indmain5, hscolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == false) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("HS", indmain4, hscolrasa, 13, font2, true)
		end
		end
		end
		
		if (c_menu_doubletap_modes:GetInt() == 2) then
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == false) then
		g_Render:Text("DT : SLOW", indmain4, dtcolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("DT : SLOW", indmain4, dtcolrasa, 13, font2, true)
		g_Render:Text("HS", indmain5, hscolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == false) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("HS", indmain4, hscolrasa, 13, font2, true)
		end
		end
		end
		
		if (c_menu_doubletap_modes:GetInt() == 3) then
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == false) then
		g_Render:Text("DT : DESTROYER", indmain4, dtcolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == true) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("DT : DESTROYER", indmain4, dtcolrasa, 13, font2, true)
		g_Render:Text("HS", indmain5, hscolrasa, 13, font2, true)
		end
		end
		if (dtlocation:GetBool() == false) then
		if (hslocation:GetBool() == true) then
		g_Render:Text("HS", indmain4, hscolrasa, 13, font2, true)
		end
		end
		end
		
		end
		
		
end		
if (indicators:GetBool() == false) then		
		maincol:SetVisible(false)
        dtcol:SetVisible(false)		
        hscol:SetVisible(false)		
end		
render_offset = render_offset + 20		
    end		
		
		
cheat.RegisterCallback("draw", on_draw)		
		
local function instant_recharge()		
    		
    if (c_menu_doubletap_instant_recharge:GetBool()) then		
        exploits.ForceCharge()		
    end		
		
end		
		
local function exploits_func()		
     if (c_menu_doubletap:GetBool() == false) then		
    c_menu_doubletap_clockcr:SetVisible(false)		
    c_menu_doubletap_modes:SetVisible(false)		
    c_menu_doubletap_debug_mode:SetVisible(false)		
    c_menu_doubletap_instant_recharge:SetVisible(false)		
	end	
	if (c_menu_doubletap:GetBool() == true) then	
    c_menu_doubletap_clockcr:SetVisible(true)		
    c_menu_doubletap_modes:SetVisible(true)		
    c_menu_doubletap_debug_mode:SetVisible(true)		
    c_menu_doubletap_instant_recharge:SetVisible(true)		
	end	
		
		
		
        --Speed modes		
local instant = 16		
local fast = 15		
local default = 12		
		
    --Preserve modes		
local insecure = 0		
local secure = 1		
local safe = 2		
		
    local cl_clock_correction = g_CVar:FindVar("cl_clock_correction") --clock correction OOPS: I think soufiw already manages with this but whatever...		
    local sv_maxusrcmdprocessticks = g_CVar:FindVar("sv_maxusrcmdprocessticks") --sv_maxusrcmdprocessticks		
		
    if (c_menu_doubletap_clockcr:GetBool()) then		
g_CVar:FindVar("cl_clock_correction"):SetInt(0)		
g_CVar:FindVar("cl_clock_correction_adjustment_max_amount"):SetInt(450)		
    end		
		
if (c_menu_doubletap_modes:GetInt() == 0) then --Instant mode		
        exploits.OverrideDoubleTapSpeed(instant)		
        		
		
        if (c_menu_doubletap_debug_mode:GetBool()) then		
           print("[DOUBLETAP] TICKS: MAX | PRESERVE: INSECURE | CORRECTION: DISABLED ")		
        end		
		
else if (c_menu_doubletap_modes:GetInt() == 1) then --Fast mode		
        exploits.OverrideDoubleTapSpeed(fast)		
        		
		
        if (c_menu_doubletap_debug_mode:GetBool()) then		
        print("[DOUBLETAP] TICKS: MAX | PRESERVE: SECURE | CORRECTION: DISABLED ")		
        end		
		
else if (c_menu_doubletap_modes:GetInt() == 2) then --Slow mode		
        exploits.OverrideDoubleTapSpeed(default)		
        		
		
        if (c_menu_doubletap_debug_mode:GetBool()) then		
print("[DOUBLETAP] TICKS: 13 | PRESERVE: SAFETY | CORRECTION: ENABLED ")		
        end		
else if (c_menu_doubletap_modes:GetInt() == 3) then --Sonic mode		
        local localplayer = g_EntityList:GetClientEntity(g_EngineClient:GetLocalPlayer())		
        local getplayer = localplayer:GetPlayer()		
        local active_weapon = getplayer:GetActiveWeapon()		
        		
exploits.OverrideDoubleTapSpeed(17)		
g_CVar:FindVar("cl_clock_correction"):SetInt(0)		
g_CVar:FindVar("cl_clock_correction_adjustment_max_amount"):SetInt(450)		
if active_weapon:GetProp("DT_BaseAttributableItem", "m_iItemDefinitionIndex") == 38 or active_weapon:GetProp("DT_BaseAttributableItem", "m_iItemDefinitionIndex") == 11 then		
            if g_Config:FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):GetBool() then g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):SetBool(false) else g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):SetBool(true) end		
        else		
            g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):SetBool(true)		
        end		
   		
        g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):SetBool(true)		
		
        if (c_menu_doubletap_debug_mode:GetBool()) then		
print("[DOUBLETAP] TICKS: SONIC | PRESERVE: -1 | CORRECTION: DISABLED ")		
        end		
    else		
        g_Config:FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):SetBool(true)		
    end		
    end		
    end		
    end   		
end		
		
		
local function antiaim()		
		
local me = g_EntityList:GetClientEntity(g_EngineClient:GetLocalPlayer()):GetPlayer()		
local weap = me:GetActiveWeapon()		
local WEAPON_SSG08 = 40		
local WEAPON_SCAR20 = 38		
local WEAPON_G3SG1 = 11		
local WEAPON_AWP = 9		
local weapon_id = weap:GetWeaponID()		
local player = g_EntityList:GetLocalPlayer()		
		
		
if (aamaster:GetBool() == true) then		
aamodes:SetVisible(true)		
swayrange:SetVisible(true)		
lowdeltabind:SetVisible(true)		
lowdeltamodes:SetVisible(true)		
legitaabind:SetVisible(true)		
legitaamodes:SetVisible(true)		
		
if (legitaabind:GetBool() == true) then		
if (legitaamodes:GetInt() == 0) then		
antiaimpitch:SetInt(0)		
antiaimyawadd:SetInt(180)		
antiaimdesyncleft:SetInt(60)		
antiaimdesyncright:SetInt(60)		
end		
if (legitaamodes:GetInt() == 1) then		
antiaimpitch:SetInt(0)		
antiaimyawadd:SetInt(180)		
antiaimdesyncleft:SetInt(60)		
antiaimdesyncright:SetInt(60)		
antiaimfakeoptions:SetInt(3)		
end		
		
end		
		
if (legitaabind:GetBool() == false) then		
antiaimpitch:SetInt(1)		
antiaimyawadd:SetInt(0)		
end		
		
		
if (lowdeltabind:GetBool() == true) then		
if (lowdeltamodes:GetInt() == 0) then		
antiaimdesyncleft:SetInt(17)		
antiaimdesyncright:SetInt(17)		
antiaimfakeoptions:SetInt(9)		
end		
		
if (lowdeltamodes:GetInt() == 1) then		
antiaimdesyncleft:SetInt(17)		
antiaimdesyncright:SetInt(17)		
antiaimfakeoptions:SetInt(3)		
end		
		
end		
		
if (legitaabind:GetBool() == false) then		
if (lowdeltabind:GetBool() == false) then		
		
if (aamodes:GetInt() == 0) then		
antiaimdesyncleft:SetInt(60)		
antiaimdesyncright:SetInt(60)		
antiaimfakeoptions:SetInt(8)		
swayrange:SetVisible(false)		
end		
		
if (aamodes:GetInt() == 1) then		
antiaimdesyncleft:SetInt(17)		
antiaimdesyncright:SetInt(17)		
swayrange:SetVisible(false)		
end		
		
		
if (aamodes:GetInt() == 2) then		
antiaimdesyncleft:SetInt(math.random(0, swayrange:GetInt()))		
antiaimdesyncright:SetInt(math.random(0, swayrange:GetInt()))		
swayrange:SetVisible(true)		
end		
		
if (aamodes:GetInt() == 3) then		
		
antiaimdesyncleft:SetInt(37)		
antiaimdesyncright:SetInt(37)		
antiaimfakeoptions:SetInt(9)		
swayrange:SetVisible(false)		
		
if (player:GetProp("m_iHealth") <= 10) then		
antiaimdesyncleft:SetInt(17)		
antiaimdesyncright:SetInt(17)		
end		
		
		
		
if weapon_id == WEAPON_SSG08 then		
antiaimdesyncleft:SetInt(37)		
antiaimdesyncright:SetInt(37)		
antiaimfakeoptions:SetInt(3)		
end		
		
if weapon_id == WEAPON_SCAR20 then		
antiaimdesyncleft:SetInt(29)		
antiaimdesyncright:SetInt(21)		
antiaimfakeoptions:SetInt(3)		
end		
		
if weapon_id == WEAPON_G3SG1 then		
antiaimdesyncleft:SetInt(29)		
antiaimdesyncright:SetInt(21)		
antiaimfakeoptions:SetInt(3)		
end		
		
if weap:IsPistol() then		
antiaimdesyncleft:SetInt(32)		
antiaimdesyncright:SetInt(35)		
antiaimfakeoptions:SetInt(3)		
end		
		
if weap:IsPistol() then		
if (player:GetProp("m_iHealth") <= 50) then		
antiaimdesyncleft:SetInt(17)		
antiaimdesyncright:SetInt(17)		
antiaimfakeoptions:SetInt(8)		
end		
end		
		
if weapon_id == WEAPON_AWP then		
antiaimdesyncleft:SetInt(37)		
antiaimdesyncright:SetInt(37)		
antiaimfakeoptions:SetInt(9)		
end		
		
end		
		
end		
		
end		
		
end		
		
		
if (aamaster:GetBool() == false) then		
aamodes:SetVisible(false)		
swayrange:SetVisible(false)		
lowdeltabind:SetVisible(false)		
lowdeltamodes:SetVisible(false)		
legitaabind:SetVisible(false)		
legitaamodes:SetVisible(false)		
end		
		
		
end		
		
		
local function createmove()		
    exploits_func()		
	leg_fucker()	
	antiaim()	
	fakelagrandomizer()	
	off_fakelagonhs()	
end		
		
local function on_prediction(cmd)		
    instant_recharge()		
end		
		
cheat.RegisterCallback("on_prediction", prediction)		
cheat.RegisterCallback("createmove", createmove)