-
Автор темы
- #1
Парни, помогите в чем проблема, запускаю, работает секунд 30 и крашит
Вложения
-
141 KB Просмотры: 26
если получится, поцелую твой задблин даже не знаю, наверное из-заПосмотреть вложение 187324строчек кода это будет проблематично
я тебе по секрету скажу, тут ОООООООООООООООООООООООООООООООООООООООчень много фикситьесли получится, поцелую твой зад
все по отдельности проверяй, СТонксссПарни, помогите в чем проблема, запускаю, работает секунд 30 и крашит
скрипт, мне братанчик скинул сурс, говорит он 30 евро стоит на маркете, но я не нашел его тамоткуда кста скрипт
чё то пофиксил, ща каждую функцию потыкаю скину
*Посмотреть вложение 187327 просто существует*
paranoia: Посмотреть вложение 187328
кстати, туда экстенд десинк тяжело будет добавить?откуда кста скрипт
чё то пофиксил, ща каждую функцию потыкаю скину
*Посмотреть вложение 187327 просто существует*
paranoia: Посмотреть вложение 187328
скрипт, мне братанчик скинул сурс, говорит он 30 евро стоит на маркете, но я не нашел его там
кстати, туда экстенд десинк тяжело будет добавить?
ffi.cdef[[
typedef struct {
unsigned short wYear;
unsigned short wMonth;
unsigned short wDayOfWeek;
unsigned short wDay;
unsigned short wHour;
unsigned short wMinute;
unsigned short wSecond;
unsigned short wMilliseconds;
} SYSTEMTIME, *LPSYSTEMTIME;
void GetSystemTime(LPSYSTEMTIME lpSystemTime);
void GetLocalTime(LPSYSTEMTIME lpSystemTime);
void* GetProcAddress(void* hModule, const char* lpProcName);
void* GetModuleHandleA(const char* lpModuleName);
typedef struct {
uint8_t r;
uint8_t g;
uint8_t b;
uint8_t a;
} color_struct_t;
typedef void (*console_color_print)(const color_struct_t&, const char*, ...);
typedef int(__fastcall* clantag_t)(const char*, const char*);
bool PlaySound(const char *pszSound, void *hmod, uint32_t fdwSound);
typedef uintptr_t (__thiscall* GetClientEntity_4242425_t)(void*, int);
]]
local FindElement = ffi.cast("unsigned long(__thiscall*)(void*, const char*)", Utils.PatternScan("client.dll", "55 8B EC 53 8B 5D 08 56 57 8B F9 33 F6 39 77 28"))
local CHudChat = FindElement(ffi.cast("unsigned long**", ffi.cast("uintptr_t", Utils.PatternScan("client.dll", "B9 ? ? ? ? E8 ? ? ? ? 8B 5D 08")) + 1)[0], "CHudChat")
local FFI_ChatPrint = ffi.cast("void(__cdecl*)(int, int, int, const char*, ...)", ffi.cast("void***", CHudChat)[0][27])
local function PrintInChat(text)
FFI_ChatPrint(CHudChat, 0, 0, string.format("%s ", text))
end
local function clamp(min, max, val)
if val > max then return max end
if val < min then return min end
return val
end
local Winmm = ffi.load("Winmm")
local function PlaySound(file)
Winmm.PlaySound(file, nil, 0x00020003)
end
local hitgroups = {
[0] = "generic",
[1] = "head",
[2] = "chest",
[3] = "stomach",
[4] = "left arm",
[5] = "right arm",
[6] = "left leg",
[7] = "right leg",
[10] = "gear",
}
local hitboxes = {
"Head",
"Upper Chest",
"Chest",
"Body",
"Stomach",
"Pelvis",
"Legs & Feet",
"Arms"
}
function round(num, numDecimalPlaces)
return tonumber(string.format("%." .. (numDecimalPlaces or 0) .. "f", num))
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 client = g_EngineClient
local dt_charging
local clock = 0
EngineClient.ExecuteClientCmd("clear")
print("██████╗ █████╗ ██████╗ █████╗ ███╗ ██╗ ██████╗ ██╗ █████╗ ")
print("██╔══██╗██╔══██╗██╔══██╗██╔══██╗████╗ ██║██╔═══██╗██║██╔══██╗")
print("██████╔╝███████║██████╔╝███████║██╔██╗ ██║██║ ██║██║███████║")
print("██╔═══╝ ██╔══██║██╔══██╗██╔══██║██║╚██╗██║██║ ██║██║██╔══██║")
print("██║ ██║ ██║██║ ██║██║ ██║██║ ╚████║╚██████╔╝██║██║ ██║")
print("╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝╚═╝ ╚═╝")
print("")
print("Font: you need to download this font for all users https://drive.google.com/file/d/1e_wNm6iZll6VsR1Ldni333HMaMHau20f/view")
print("Bug report & QA & suggestions: dm me in discord skond#0978")
Cheat.AddNotify("PARANOIA YAW", "Hello to Paranoia Yaw! You need to chech the console also have a great time with this lua :)")
local water_clr_border = Menu.ColorEdit("Indicators", "Global Theme Color", Color.new( 255/255,255/255,255/255 ) )
local c_menu_watermarker = Menu.Switch("Indicators", "Watermark", false, "")
local water_combo_border = Menu.Combo("Indicators", " Border Type", {"Alpha Up", "Flat"}, 0, "")
local c_menu_indicators = Menu.Switch("Indicators", "Indicators", false, "")
local c_menu_indicators_accent_type = Menu.Combo("Indicators", " Accent type", {"Alpha", "PolyAlpha"}, 0, "")
local c_menu_indicators_text_type = Menu.Combo("Indicators", " Text type", {"Definition", "Full"}, 0, "")
local c_menu_indicators_outline = Menu.Switch("Indicators", " Outline them", false, "")
local c_menu_indicators_dynamic = Menu.Switch("Indicators", " Dynamic on Scope", false, "")
local c_menu_indicators_type = Menu.Combo("Indicators", " Indicators pos", {"NC *NEW*", "BF *old shit*", "NC *old shit*"}, 0, "")
local c_menu_indicators_accent_color = Menu.ColorEdit("Indicators", " Accent Color",Color.new(1.0, 1.0, 1.0, 1.0))
local c_menu_indicators_accent_color_gradient = Menu.ColorEdit("Indicators", " Accent Gradient",Color.new(0.5, 0.5, 0.5, 1.0))
local switch_aa = Menu.Switch("Indicators", "Switch Anti-Aim", false, "")
local switch_type = Menu.Combo("Indicators", " Switch Type", {"PolyFilled Arrows", "Filled Arrows", "Gamepad", "Outlined Gamepad", "<>", "Filled Arrows 2", "Arrows 3"}, 0, "")
local switch_aa_active = Menu.Combo("Indicators", " Style", {"Only if Active", "All Ways"}, 0, "")
local switch_int = Menu.SliderInt("Indicators", " Size",20,20,30, "")
local desync_indicator = Menu.Switch("Indicators", "Desync Side Indicator", false, "")
local c_menu_grenade = Menu.Switch("Misc", "First Person if Grenade", false, "")
local switch = Menu.Switch("Misc", "Force Viewmodel On Scope", false, "")
local fov_scoped = Menu.SliderInt("Misc", " FOV Scoped", 90, 45, 160, "")
local fov_notscoped = Menu.SliderInt("Misc", " FOV Not Scoped", 90, 45, 160, "")
local c_menu_logs_shot = Menu.MultiCombo("Misc", "Logs Triggers", {"Logs Shot", "Logs Miss", "Logs Chat"}, 0, "")
local knife_left = Menu.Switch("Misc", "Knife in left hand", false, "")
local fps_boost_menu = Menu.Switch("Misc", "Small FPS Boost", false, "")
local menu_panorama_blur = Menu.MultiCombo("Misc", "Extra", {"Panorama Blur Disable", "Chat Disable", "Party Mode"}, 0, "")
local c_menu_kill_say_words = Menu.TextBox("Misc", "Kill Say Words", 64, "", "")
local InputText = Menu.TextBox("Misc", "HitSound (Filepath)", 64, "", "Custom HitSound. You need to have file with .wav")
local oldStatus = Menu.FindVar("Visuals", "World", "Hit", "Hit Sound"):Get()
local fake_lag_on = Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):Get()
local isInverter = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Inverter"):Get()
local inverter = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Inverter");
local SkeetScope = Menu.SwitchColor("Visuals", "Custom scope", false, Color.new(1.0, 1.0, 1.0, 1.0), "Scope color")
local ScopeOrigin = Menu.SliderInt('Visuals', ' Scope Origin', 0, 0, 230)
local ScopeWidth = Menu.SliderInt('Visuals', ' Scope Width', 0, 0, 330)
local c_menu_extra_windows = Menu.MultiCombo("Visuals", "Extra Windows", {"HUD", "Spectators", "Keybinds", "IndicatorList"}, 0, "")
local spread_crosshair = Menu.SwitchColor("Visuals", "Spread Circle", false, Color.new(1.0, 1.0, 1.0, 1.0), "")
local c_menu_damage_auto_def = Menu.SliderInt("Aimbot", "Auto Def Hitchance",55,1,100, "")
local c_menu_damage_auto_dt = Menu.SliderInt("Aimbot", "Auto DT Hitchance",35,1,100, "")
local c_menu_damage_auto_noscope = Menu.SliderInt("Aimbot", "Auto No Scope",40,1,100, "")
local c_menu_damage_scout_def = Menu.SliderInt("Aimbot", "Scout Def Hitchance",81,1,100, "")
local c_menu_damage_scout_dt = Menu.SliderInt("Aimbot", "Scout DT Hitchance",78,1,100, "")
local c_menu_damage_scout_jump = Menu.SliderInt("Aimbot", "Scout Jump",50,1,100, "")
local c_menu_damage_awp_def = Menu.SliderInt("Aimbot", "Awp Def Hitchance",80,1,100, "")
local c_menu_damage_awp_dt = Menu.SliderInt("Aimbot", "Awp DT Hitchance",78,1,100, "")
local c_menu_safepoint_hitboxes = Menu.MultiCombo("Aimbot", "Safe point Hitboxes", hitboxes, 0, "")
Menu.Text("Aimbot", "[F] - Force, [P] - Prefer")
local c_menu_baim = Menu.MultiCombo("Aimbot", "Body-Aim", {"[P] STANDING", "[P] MOVING", "[P] SLOWWALKING", "[P] CROUCHING", "[P] DUCK", "[P] IN AIR", "[P] ON THREAT", "[P] WITH DT", "[F] STANDING", "[F] MOVING", "[F] SLOWWALKING", "[F] CROUCHING", "[F] DUCK", "[F] IN AIR", "[F] ON THREAT", "[F] WITH DT", "[F] NO ARMOR"}, 0, "")
local c_menu_hsaim = Menu.MultiCombo("Aimbot", "Head", {"[P] STANDING", "[P] MOVING", "[P] SLOWWALKING", "[P] CROUCHING", "[P] DUCK", "[P] IN AIR","[P] ON THREAT", "[P] WITH HS", "[F] STANDING", "[F] MOVING", "[F] SLOWWALKING", "[F] CROUCHING", "[F] DUCK", "[F] IN AIR", "[F] ON THREAT", "[F] WITH HS"}, 0, "")
local c_menu_ext_backtrack = Menu.MultiCombo("Aimbot", "Ext Backtrack Opt", {"Scout", "Awp"}, 0, "")
local c_menu_ext_backtrack_value = Menu.SliderInt("Aimbot", " BT Value",150,0,200, "")
local antiaimpresets = Menu.Combo("Anti Hit", "Presets", {"Disabled", "MM", "DM", "1X1", "2X2"}, 0, "")
local edge_yaw = Menu.Switch("Anti Hit", "Edge Yaw", false, "")
local dodge_jitter_menu = Menu.Combo("Anti Hit", "Dodge Jitter", {"None", "Dodge V1", "Dodge V2", "Dodge V3", "Dodge V4"}, 0, "")
local delta_slow = Menu.Combo("Anti Hit", "Slowwalk LowDelta", {"None", "Static", "Advanced"}, 0, "")
local leg_break = Menu.Switch("Anti Hit", "Leg Breaker", false, "")
local skeet_legs = Menu.Combo("Anti Hit", "Leg Animations", {"Static", "Jitter", "Fast Jitter" }, 0, "")
local legit_aa = Menu.Switch("Anti Hit", "Legit Anti-Aim on E peek", false, "")
local legit_aa_type = Menu.Combo("Anti Hit", " Legit AA Type", {"Default", "Jitter"}, 0, "")
local lby_offset = Menu.SliderInt("Anti Hit", "LBY Offset",180,1,180, "")
local lby_offset_type = Menu.Combo("Anti Hit", " Offset Type", {"Default", "Random"}, 0, "")
local c_menu_custom_body_lean = Menu.Switch("Anti Hit", "Custom Body Lean", false, "")
local c_menu_body_lean_left = Menu.SliderFloat("Anti Hit", " Body Lean Left", 16.0, -180.0, 180.0, "")
local c_menu_body_lean_right = Menu.SliderFloat("Anti Hit", " Body Lean Right", -20.0, -180.0, 180.0, "")
local c_menu_doubletap_recharge = Menu.Switch("Double Tap", "Fast Recharge", false, "")
local c_menu_doubletap_fast_dt = Menu.Switch("Double Tap", "Fast DT", false, "")
local c_menu_doubletap_fast_dt_correction = Menu.Switch("Double Tap", "Disable DT Correction", false, "")
local c_menu_doubletap_dt_speed = Menu.Switch("Double Tap", "Custom DT Speed", false, "")
local c_menu_damage_dt_speed_ticks = Menu.SliderInt("Double Tap", " DT Speed",17,12,17, "")
local c_menu_damage_dt_speed_ticks_cmd = Menu.SliderInt("Double Tap", " UserCmdTicks",17,12,17, "")
local c_menu_doubletap_force_teleport= Menu.Switch("Double Tap", "Force Teleport on Shot", false, "")
local c_menu_doubletap_type = Menu.Combo("Double Tap", "Double Tap Type", {"Offensive", "Defensive"}, 0, "")
local c_menu_doubletap_main_gun = Menu.Switch("Double Tap", "On DT Only if Main Gun", false, "")
local c_menu_doubletap_teleport_knife = Menu.Switch("Double Tap", " Teleport DT Knife", false, "")
local c_menu_doubletap_second_gun = Menu.Switch("Double Tap", " DT if Second Gun", false, "")
local c_menu_doubletap_two_shot= Menu.Switch("Double Tap", "Two-Shot (AUTO)", false, "")
local c_menu_doubletap_legs_prior= Menu.Switch("Double Tap", "Legs/Arms High Priority", false, "")
local c_menu_doubletap_body_prefer = Menu.Switch("Double Tap", "Body Prefer if DT", false, "")
local c_menu_doubletap_body_prefer_charged = Menu.Switch("Double Tap", "Body With Charge", false, "")
local menu_fakelag_limit = Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Limit")
local menu_fakelag_enable = Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag")
local c_menu_custom_fakelag = Menu.Switch("Fake Lag", "Custom Fakelag", false, "")
local c_menu_fakelag_modes = Menu.Combo("Fake Lag", "Modes", {"Adaptive", "Fluctuate", "Jitter"}, 0, "")
local c_menu_fakelag_choke_min = Menu.SliderInt("Fake Lag", "Choke Minimum", 10, 0, 14, "")
local c_menu_fakelag_fluctuate_timing = Menu.SliderInt("Fake Lag", "Flick Time", 10, 0, 20, "")
local menu_leg_movement = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement")
local freestanding_func = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local fake_lag_on2 = Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):Set(false)
Menu.FindVar("Visuals","World", "Hit", "Hit Sound"):Set(false)
local sc = EngineClient.GetScreenSize()
local SpecX = sc.x/2 - sc.x/8
local SpecY = sc.y/2
local SpecDrag = false
local SpecDrag = false
local BindsX = sc.x/2 + sc.x/8
local BindsY = sc.y/2
local BindsDrag = false
local set = false
local settwo = false
local setthree = false
local toleng = 0
local manualalpha = 0
local manualminus = false
local tolengf = 0
local keysList = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
}
local savedAntiAims = {
0,0,0,0,0,0,0,0,0,0,0,0
}
local font11 = Render.InitFont("Tahoma", 14)
local font1 = Render.InitFont("Verdana", 12)
local font_arrow = Render.InitFont("Acta Symbols W95 Arrows", 30)
local font = Render.InitFont("Tahoma", 16)
local alpha = {
0,
0,
0,
0,
0,
0,
}
local function get_latency()
local netchann_info = EngineClient.GetNetChannelInfo()
if netchann_info == nil then return "0" end
local latency = netchann_info:GetLatency(0)
return string.format("%1.f", math.max(0.0, latency) * 1000.0)
end
local function get_time()
local local_time = ffi.new("SYSTEMTIME")
ffi.C.GetLocalTime(local_time)
return string.format("%02d:%02d:%02d", local_time.wHour, local_time.wMinute, local_time.wSecond)
end
local textSize = 0
local function watermarker()
local screen = EngineClient.GetScreenSize()
local ping = get_latency()
local ticks = math.floor(1.0 / GlobalVars.interval_per_tick)
local rightPadding = 20
local var = screen.x - textSize - rightPadding
local x = var - 10
local y = 9
local w = textSize + 20
local h = 17
Render.BoxFilled(Vector2.new(x,y+2),Vector2.new(x+textSize+20,h * 1.5 + 5), Color.new(17/255,17/255,17/255,200/255))
if (water_combo_border:Get() == 0) then
Render.GradientBoxFilled(Vector2.new(x,y-1),Vector2.new(x+textSize-150,h-7), Color.new(0,0,0,0), water_clr_border:GetColor(), Color.new(0,0,0,0), water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(x+177,y-1),Vector2.new(x+textSize+32,h-7), water_clr_border:GetColor(),Color.new(0,0,0,0), water_clr_border:GetColor(), Color.new(0,0,0,0))
elseif (water_combo_border:Get() == 1) then
Render.BoxFilled(Vector2.new(x,y),Vector2.new(x+textSize+20,h-6), water_clr_border:GetColor())
end
local nexttext = "paranoia yaw"
Render.Text(nexttext, Vector2.new(var,12), Color.new(255,255,255), 14, font11)
local wide = Render.CalcTextSize(nexttext, 14, font11)
var = var + wide.x
local username = string.lower(Cheat.GetCheatUserName())
nexttext = " | " .. username
Render.Text(nexttext, Vector2.new(var,12), Color.new(255,255,255), 14,font11)
wide = Render.CalcTextSize(nexttext, 14,font11)
var = var + wide.x
nexttext = " | delay: ".. ping .."ms"
Render.Text(nexttext, Vector2.new(var,12), Color.new(255,255,255), 14,font11)
wide = Render.CalcTextSize(nexttext, 14,font11)
var = var + wide.x
nexttext = " | " .. ticks .. "tick"
Render.Text(nexttext, Vector2.new(var,12), Color.new(255,255,255), 14,font11)
wide = Render.CalcTextSize(nexttext, 14,font11)
var = var + wide.x
nexttext = " | time: ".. get_time() ..""
Render.Text(nexttext, Vector2.new(var,12), Color.new(255,255,255), 14,font11)
wide = Render.CalcTextSize(nexttext, 14,font11)
var = var + wide.x
textSize = var - (screen.x - textSize - rightPadding)
end
local function get_max()
local real_rotation1 = AntiAim.GetCurrentRealRotation()
local desync_rotation1 = AntiAim.GetFakeRotation()
local max_desync_delta1 = AntiAim.GetMaxDesyncDelta()
local min_desync_delta1 = AntiAim.GetMinDesyncDelta()
local desync_delta1 = math.abs(real_rotation1 - desync_rotation1), 58
if (desync_delta1 > max_desync_delta1) then
desync_delta1 = max_desync_delta1
elseif (desync_delta1 < min_desync_delta1) then
desync_delta1 = min_desync_delta1
end
return string.format("%.0f", desync_delta1)
end
local function indicators()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return 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
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local hs_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Hide Shots"):Get()
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 script_name
if (c_menu_indicators_type:Get() == 1) then
script_name = get_max() .. "°"
elseif (c_menu_indicators_type:Get() == 2) then
script_name = "FAKE [" .. get_max() .. "°]"
else
return
end
local dt_text = "paranoia yaw"
local dt_text2 = ""
local hs_text = ""
if (c_menu_indicators_text_type:Get() == 1) then
if (dt_active) then
dt_text2 = "Double Tap"
else
dt_text2 = "Double Tap"
end
elseif (hs_active) then
hs_text = "HS"
else
hs_text = "HS"
end
if (c_menu_indicators_text_type:Get() == 0) then
if (dt_active) then
dt_text2 = "DT"
else
dt_text2 = "DT"
end
elseif (hs_active) then
hs_text = "Hide Shots"
else
hs_text = "Hide Shots"
end
local script_name_color = Color.new(1.0, 1.0, 1.0, 1.0)
local dt_text_color = Color.new(1.0, 1.0, 1.0, 1.0)
local color1 = Color.new(1,1,1,1)
local color2 = Color.new(1,1,1,1)
local color3 = Color.new(0,1,0,1)
local desync_strength = (math.abs(desync_rotation - real_rotation))* 3
local r = math.min((510 * (100 - desync_strength)) / 100, 255)
local g = math.min((510 * desync_strength) / 100, 255)
--------------------------
local screen = EngineClient.GetScreenSize()
local dt_text_size = Render.CalcTextSize(dt_text, 12)
local dt_text_size2 = Render.CalcTextSize(dt_text2, 12) -- dt
local dt_text_size3 = Render.CalcTextSize(hs_text, 12) -- dt
local script_name_text_size = Render.CalcTextSize(script_name, 12)
local pos_mid = Vector2.new((screen.x/2)-(dt_text_size.x/2),screen.y/2+(dt_text_size.y/2)+49)
local pos_mid3 = Vector2.new((screen.x/2)-(dt_text_size3.x/2),screen.y/2+(dt_text_size3.y/2)+73) -- dt
local pos_mid2 = Vector2.new((screen.x/2)-(dt_text_size2.x/2),screen.y/2+(dt_text_size2.y/2)+61) -- dt
local pos_name = Vector2.new((screen.x/2)-(script_name_text_size.x/2),screen.y/2+(script_name_text_size.y/2) + 30)
-------------------------------------
local screen_near = EngineClient.GetScreenSize()
local dt_text_size_near = Render.CalcTextSize(dt_text, 12)
local dt_text_size2_near = Render.CalcTextSize(dt_text2, 12) -- dt
local dt_text_size3 = Render.CalcTextSize(hs_text, 12) -- dt
local script_name_text_size_near = Render.CalcTextSize(script_name, 12)
local pos_mid_near = Vector2.new((screen.x/2 + 40)-(dt_text_size.x/2),screen.y/2+(dt_text_size.y/2)+20)
local pos_mid2_near, pos_mid3_near
if (c_menu_indicators_text_type:Get() == 0) then
pos_mid2_near = Vector2.new((screen.x/2 + 10)-(dt_text_size2.x/2),screen.y/2+(dt_text_size2.y/2)+31) -- dt
pos_mid3_near = Vector2.new((screen.x/2 + 10)-(dt_text_size3.x/2),screen.y/2+(dt_text_size3.y/2)+41) -- dt
else
pos_mid2_near = Vector2.new((screen.x/2 + 33)-(dt_text_size2.x/2),screen.y/2+(dt_text_size2.y/2)+31) -- dt
pos_mid3_near = Vector2.new((screen.x/2 + 32)-(dt_text_size3.x/2),screen.y/2+(dt_text_size3.y/2)+41) -- dt
end
local pos_name_near = Vector2.new((screen.x/2 + 29)-(script_name_text_size.x/2),screen.y/2+(script_name_text_size.y/2) + 10)
--Text Shit
if (c_menu_indicators_type:Get() == 1) then
if (c_menu_indicators_outline:Get()) then
Render.Text(dt_text, pos_mid, color2, 12, font1, true)
if (dt_active) then
Render.Text(dt_text2, pos_mid2, color3, 12, font1, true)
else
Render.Text(dt_text2, pos_mid2, color2, 12, font1, true)
if (hs_active) then
Render.Text(hs_text, pos_mid3, color3, 12, font1, true)
else
Render.Text(hs_text, pos_mid3, color2, 12, font1, true)
end
end
Render.Text(script_name, pos_name, color1, 12, font1,true)
else
Render.Text(dt_text, pos_mid, color2, 12)
if (dt_active) then
Render.Text(dt_text2, pos_mid2, color2, 12)
else
Render.Text(dt_text2, pos_mid2, color3, 12)
end
if (hs_active) then
Render.Text(hs_text, pos_mid3, color2, 12)
else
Render.Text(hs_text, pos_mid3, color3, 12)
end
Render.Text(script_name, pos_name, color1, 12)
end
elseif (c_menu_indicators_type:Get() == 2) then
if (c_menu_indicators_outline:Get()) then
Render.Text(dt_text, pos_mid_near, color2, 12, font1, true)
if (dt_active) then
Render.Text(dt_text2, pos_mid2_near, color3, 12, font1, true)
else
Render.Text(dt_text2, pos_mid2_near, color2, 12, font1, true)
end
if (hs_active) then
Render.Text(hs_text, pos_mid3_near, color3, 12, font1, true)
else
Render.Text(hs_text, pos_mid3_near, color2, 12, font1, true)
end
Render.Text(script_name, pos_name_near, Color.new(r,g,0), 12, font1,true)
else
Render.Text(dt_text, pos_mid_near, color2, 12)
if (dt_active) then
Render.Text(dt_text2, pos_mid2_near, color3, 12)
else
Render.Text(dt_text2, pos_mid2_near, color2, 12)
end
if (hs_active) then
Render.Text(hs_text, pos_mid3_near, color3, 12)
else
Render.Text(hs_text, pos_mid3_near, color2, 12)
end
Render.Text(script_name, pos_name_near, Color.new(r,g,0), 12)
end
end
--Desync line
if (c_menu_indicators_type:Get() == 1) then
if (c_menu_indicators_accent_type:Get() == 0) then
Render.GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+51), Vector2.new(screen.x/2+(math.abs(desync_delta*58/100)), screen.y/2+53), c_menu_indicators_accent_color:GetColor(), Color.new(1, 1, 1, 0), c_menu_indicators_accent_color:GetColor(), Color.new(1, 1, 1, 0))
Render.GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+51), Vector2.new(screen.x/2+(-math.abs(desync_delta*58/100)), screen.y/2+53), c_menu_indicators_accent_color:GetColor(), Color.new(1, 1, 1, 0), c_menu_indicators_accent_color:GetColor(), Color.new(1, 1, 1, 0))
elseif (c_menu_indicators_accent_type:Get() == 1) then
Render.GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+51), Vector2.new(screen.x/2+(math.abs(desync_delta*58/100)), screen.y/2+53), c_menu_indicators_accent_color:GetColor(), c_menu_indicators_accent_color_gradient:GetColor(), c_menu_indicators_accent_color:GetColor(), c_menu_indicators_accent_color_gradient:GetColor())
Render.GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+51), Vector2.new(screen.x/2+(-math.abs(desync_delta*58/100)), screen.y/2+53), c_menu_indicators_accent_color:GetColor(), c_menu_indicators_accent_color_gradient:GetColor(), c_menu_indicators_accent_color:GetColor(), c_menu_indicators_accent_color_gradient:GetColor())
end
elseif (c_menu_indicators_type:Get() == 1) then
return
end
end
local function asd()
if (c_menu_indicators_type:Get() == 0) then
local lp = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
if lp then
if (lp:GetProp("m_iHealth") > 0) then
local types = {
'NORMAL',
"OPPOSITE",
"SWAY"
}
local h = 28;
local offset = ScopeOrigin:Get()
local leng = toleng;
local sc = EngineClient.GetScreenSize()
local text_aa = ""
if (Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch"):Get() == 0) then
text_aa = "LEGIT AA"
elseif (Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 2) then
text_aa = "RIGHT"
elseif (Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 3) then
text_aa = "LEFT"
elseif (Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 5) then
text_aa = "FREESTANDING"
elseif (edge_yaw:Get()) then
text_aa = "EDGE"
elseif (Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Slow Walk"):Get() and (delta_slow:Get(1) or delta_slow:Get(2))) then
text_aa = "LOW DELTA"
else
if (dodge_jitter_menu:Get() == 1 or dodge_jitter_menu:Get() == 2 or dodge_jitter_menu:Get() == 3 or dodge_jitter_menu:Get() == 4) then
text_aa = "DODGE"
else
text_aa = "OPPOSITE"
end
end
-- local x = sc.x / 2;
local player = EntityList.GetLocalPlayer()
local scoped = player:GetProp("m_bIsScoped");
local y
if SkeetScope:Get() and c_menu_indicators_dynamic:Get() then
if(scoped) then
y = sc.y/2+15+offset+leng
else
y = sc.y/2+15+leng
end
else
y = sc.y/2+15
end
local customw = 50;
local table = 0.25
if (scoped) then
table = 0.25
else
table = 0.25
end
local antiaim = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "LBY Mode")
local doubleTap = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap")
local hideshots = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Hide Shots")
local fakeduck = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Fake Duck")
local binds = Cheat.GetBinds()
local minDMGValue = 0
local minDMG = false
for i = 1, #binds do -- Iterate over our binds...
local bind = binds[i]
if bind:GetName() == 'Minimum Damage' then
minDMG = true
minDMGValue = bind:GetValue()
end
end
text = text_aa
w = Render.CalcTextSize(text, 15, font)
--Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x / 2, y + 14 * table), Vector2.new(sc.x/2 - w.x / 2, y + 14 * table + w.y), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5))
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + 14 * table), Vector2.new(sc.x/2, y + 14 * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + 14 * table), Vector2.new(sc.x/2, y + 14 * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5))
end
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + 14 * table), Color.new(255/255, 255/255, 255/255, 1), 15, font,true)
table = table + 1
if doubleTap:Get() then
if alpha[1] < 255 then alpha[1] = alpha[1] + 5 else alpha[1] = 255 end
local chrg = Exploits.GetCharge()
text = 'DT'
w = Render.CalcTextSize(text, 15, font)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[1]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[1]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[1]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[1]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)))
end
if chrg == 1 then
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(17, alpha[1]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[1]/255), 15, font,true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(13, alpha[1]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[1]/255), 15, font,true)
end
else
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(17, alpha[1]/10) * table), Color.new(255/255, 0/255, 0/255, alpha[1]/255), 15, font, true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(13, alpha[1]/10) * table), Color.new(255/255, 0/255, 0/255, alpha[1]/255), 15, font, true)
end
end
table = table + math.min(1, alpha[1] /17)
else
if alpha[1] > 0 then alpha[1] = alpha[1] - 5 else alpha[1] = 0 end
text = 'DT'
w = Render.CalcTextSize(text, 15, font)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[1]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[1]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[1]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[1]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[1]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(17, alpha[1]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[1]/255), 15, font,true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(13, alpha[1]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[1]/255), 15, font,true)
end
table = table + math.max(0, math.min(1, alpha[1] /17))
end
if hideshots:Get() then
if alpha[2] < 255 then alpha[2] = alpha[2] + 5 else alpha[2] = 255 end
text = 'HIDE SHOTS'
w = Render.CalcTextSize(text, 15)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[2]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[2]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[2]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[2]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(17, alpha[2]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[2]/255), 15, font, true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(13, alpha[2]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[2]/255), 15, font, true)
end
table = table + math.min(1, alpha[2] /17)
else
if alpha[2] > 0 then alpha[2] = alpha[2] - 5 else alpha[2] = 0 end
text = 'HIDE SHOTS'
w = Render.CalcTextSize(text, 15)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[2]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[2]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[2]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[2]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[2]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(17, alpha[2]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[2]/255), 15, font, true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(13, alpha[2]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[2]/255), 15, font, true)
end
table = table + math.max(0, math.min(1, alpha[2] /17))
end
if fakeduck:Get() then
if alpha[3] < 255 then alpha[3] = alpha[3] + 5 else alpha[3] = 255 end
text = 'FAKE DUCK'
w = Render.CalcTextSize(text, 15)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[3]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[3]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[3]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[3]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(17, alpha[3]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[3]/255), 15, font,true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(13, alpha[3]/10) * table), Color.new(152/255, 240/255, 16/255, alpha[3]/255), 15, font,true)
end
table = table + math.min(1, alpha[3] /17)
else
if alpha[3] > 0 then alpha[3] = alpha[3] - 5 else alpha[3] = 0 end
text = 'FAKE DUCK'
w = Render.CalcTextSize(text, 15)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[3]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[3]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[3]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[3]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[3]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(17, alpha[3]/10) * table), Color.new(255/255, 15/255, 15/255, alpha[3]/255), 15, font,true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2 + 5, y + math.min(13, alpha[3]/10) * table), Color.new(255/255, 15/255, 15/255, alpha[3]/255), 15, font,true)
end
table = table + math.max(0, math.min(1, alpha[3] /17))
end
if minDMG == true then
if alpha[4] < 255 then alpha[4] = alpha[4] + 5 else alpha[4] = 255 end
text = 'DMG: ' .. minDMGValue
w = Render.CalcTextSize(text, 15)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[4]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[4]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[4]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[4]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(17, alpha[4]/10) * table), Color.new(255/255, 255/255, 255/255, alpha[4]/255), 15, font,true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(13, alpha[4]/10) * table), Color.new(255/255, 255/255, 255/255, alpha[4]/255), 15, font,true)
end
table = table + math.min(1, alpha[4] /17)
else
if alpha[4] > 0 then alpha[4] = alpha[4] - 5 else alpha[4] = 0 end
text = 'DMG: ' .. minDMGValue
w = Render.CalcTextSize(text, 15)
if (c_menu_indicators_outline:Get()) then
Render.GradientBoxFilled(Vector2.new(sc.x/2 + w.x, y + math.min(17, alpha[4]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[4]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)))
Render.GradientBoxFilled(Vector2.new(sc.x/2 - w.x, y + math.min(17, alpha[4]/10) * table), Vector2.new(sc.x/2, y + math.min(17, alpha[4]) * table + w.y + 1), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, math.min(0.5, alpha[4]/255)))
end
if (c_menu_indicators_outline:Get()) then
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(17, alpha[4]/10) * table), Color.new(255/255, 255, 255/255, alpha[4]/255), 15, font,true)
else
Render.Text(tostring(text), Vector2.new(sc.x/2 - w.x / 2, y + math.min(13, alpha[4]/10) * table), Color.new(255/255, 255, 255/255, alpha[4]/255), 15, font,true)
end
table = table + math.max(0, math.min(1, alpha[4] /17))
end
end
end
end
end
local function side_arrow()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local aa_left = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get()
local aa_right = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get()
local right_force = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 2
local left_force = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 3
local screen_size = EngineClient.GetScreenSize()
real_yaw = AntiAim.GetCurrentRealRotation()
fake_yaw = AntiAim.GetFakeRotation()
delta = math.min(math.abs(real_yaw - fake_yaw)/ 2, 60)
if manualminus == false then
if manualalpha < 255 then manualalpha = manualalpha + 2 else manualminus = true end
else
if manualalpha > 0 then manualalpha = manualalpha - 2 else manualminus = false end
end
local arrow = 40 + tolengf
if (switch_type:Get() == 0) then
if (switch_aa_active:Get() == 1) then
Render.Text("h", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
Render.Text("g", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("h", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("g", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("h", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("g", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
end
end
if (switch_type:Get() == 1) then
if (switch_aa_active:Get() == 1) then
Render.Text("Z", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
Render.Text("X", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("Z", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("X", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("Z", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("X", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
end
end
if (switch_type:Get() == 2) then
if (switch_aa_active:Get() == 1) then
Render.Text("R", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
Render.Text("Q", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("R", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("Q", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("R", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("Q", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
end
end
if (switch_type:Get() == 3) then
if (switch_aa_active:Get() == 1) then
Render.Text("J", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
Render.Text("I", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("J", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("I", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("J", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("I", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
end
end
if (switch_type:Get() == 4) then
if (switch_aa_active:Get() == 1) then
Render.Text(">", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get())
Render.Text("<", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get())
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text(">", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get())
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("<", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get())
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text(">", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get())
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("<", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get())
end
end
end
if (switch_type:Get() == 5) then
if (switch_aa_active:Get() == 1) then
Render.Text("F", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
Render.Text("E", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("F", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("E", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("F", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("E", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
end
end
if (switch_type:Get() == 6) then
if (switch_aa_active:Get() == 1) then
Render.Text("3", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
Render.Text("2", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(0.0, 0.0, 0.0, 0.5), switch_int:Get(), font_arrow)
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("3", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("2", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
elseif (switch_aa_active:Get() == 0) then
if ((aa_right > 70 and aa_right < 110) or right_force) then
Render.Text("3", Vector2.new(screen_size.x / 2 + 45, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
elseif ((aa_left < -70 and aa_left > -110) or left_force) then
Render.Text("2", Vector2.new(screen_size.x / 2 - 65, screen_size.y / 2 * 0.982), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g,water_clr_border:GetColor().b,manualalpha/255), switch_int:Get(), font_arrow)
end
end
end
end
local function force_viewmodel()
local localplayer = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
local scoped = localplayer:GetProp('m_bIsScoped')
local thirdperson = Menu.FindVar('Visuals', 'View', 'Thirdperson', 'Enable Thirdperson')
local fov = Menu.FindVar('Visuals', 'View', 'Camera', 'FOV')
local forcefov = Menu.FindVar('Visuals', 'View', 'Camera', 'Force Second Zoom')
local fovDiff = 90 - fov_scoped:Get()
local fovScope = fov_scoped:Get() + fovDiff
local cvar = CVar.FindVar('fov_cs_debug')
if switch:Get() then
if scoped then
if not thirdperson:Get() then
forcefov:Set(false)
fov:Set(fov_scoped:Get())
cvar:SetInt(fovScope)
else
forcefov:Set(true)
cvar:SetInt(0)
fov:Set(fov_notscoped:Get())
end
else
fov:Set(fov_notscoped:Get())
cvar:SetInt(0)
end
else
forcefov:Set(true)
cvar:SetInt(0)
fov:Set(fov_notscoped:Get())
return;
end
end
local function spread_crosshair_static()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
local screen_size = EngineClient.GetScreenSize();
local screen_size_middle = Vector2.new(screen_size.x / 2, screen_size.y / 2);
local accuracy = weap:GetInaccuracy(weap) * 700.0;
Render.CircleFilled(screen_size_middle, accuracy, 60, spread_crosshair:GetColor())
end
local function fps_boost()
local sv_cheats = CVar.FindVar("sv_cheats")
sv_cheats:SetInt(1) -- to change settings
local mat_bloom = CVar.FindVar("mat_disable_bloom")
local mat_queue_mode = CVar.FindVar("mat_queue_mode")
local dynamic_light = CVar.FindVar("muzzleflash_light")
local particles = CVar.FindVar("r_drawparticles")
local max_items_on_map = CVar.FindVar("func_break_max_pieces")
local slow_volume = CVar.FindVar("dsp_slow_cpu")
if (fps_boost_menu:Get()) then
mat_bloom:SetInt(1)
mat_queue_mode:SetInt(2)
dynamic_light:SetInt(0)
particles:SetInt(0)
max_items_on_map:SetInt(0)
slow_volume:SetInt(1)
else
mat_bloom:SetInt(0)
mat_queue_mode:SetInt(-1)
dynamic_light:SetInt(1)
particles:SetInt(1)
max_items_on_map:SetInt(1)
slow_volume:SetInt(0)
end
end
local function hand_knife()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local force_knife = CVar.FindVar("cl_righthand")
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local local_player = local_entity:GetPlayer()
local weapon = local_player:GetActiveWeapon()
if weapon == nil then
return
end
if (weapon:IsKnife()) then
force_knife:SetFloat(0.0)
elseif (not weapon:IsKnife()) then
force_knife:SetFloat(1.0)
else
force_knife:SetFloat(0.0)
end
if (weapon:IsKnife()) then
force_knife:SetFloat(0.0)
elseif (not weapon:IsKnife()) then
force_knife:SetFloat(1.0)
else
force_knife:SetFloat(0.0)
end
end
local function kill_say_function(event)
local words_kill = c_menu_kill_say_words:GetString()
if event:GetName() == "player_death" then
local victim = EntityList.GetPlayerForUserID(event:GetInt("userid"))
local attacker = EntityList.GetPlayerForUserID( event:GetInt("attacker"))
if victim ~= attacker and attacker == EngineClient.GetLocalPlayer() then
EngineClient.ExecuteClientCmd('say ' .. words_kill)
end
end
end
local function custom_hitsound(event)
local event_name = event:GetName()
if event_name == "player_hurt" then
local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))
if attacker == EngineClient.GetLocalPlayer() then
PlaySound(InputText:GetString())
end
end
end
local function disable_panorama_blur()
local panorama_blur= CVar.FindVar("@panorama_disable_blur")
local party_mode= CVar.FindVar("sv_party_mode")
if (menu_panorama_blur:Get(0)) then
panorama_blur:SetInt(1)
else
panorama_blur:SetInt(0)
end
if (menu_panorama_blur:Get(2)) then
party_mode:SetInt(1)
else
party_mode:SetInt(0)
end
end
local function no_scope_fade()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local sc = EngineClient.GetScreenSize()
local lp_index = EngineClient.GetLocalPlayer();
local lp = EntityList.GetClientEntity(lp_index)
local sv_cheats = CVar.FindVar("sv_cheats")
sv_cheats:SetInt(1)
local no_render_scope = CVar.FindVar("r_drawvgui")
local localplayer = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
local scoped = localplayer:GetProp('m_bIsScoped')
if (scoped) then
if toleng < (ScopeOrigin:Get() / 2 + ScopeWidth:Get()) then toleng = toleng + 4 else toleng = (ScopeOrigin:Get() / 2 + ScopeWidth:Get()) end
no_render_scope:SetFloat(0.0)
Render.GradientBoxFilled(Vector2.new(sc.x / 2 - 0.1, sc.y / 2 - math.min(ScopeOrigin:Get(), toleng)), Vector2.new(sc.x / 2 + 1, sc.y / 2 - math.min(ScopeOrigin:Get(), toleng) - math.min(ScopeWidth:Get(), toleng)), SkeetScope:GetColor(), SkeetScope:GetColor(), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0))
Render.GradientBoxFilled(Vector2.new(sc.x / 2 - math.min(ScopeOrigin:Get(), toleng), sc.y / 2 - 0.1), Vector2.new(sc.x / 2 - math.min(ScopeOrigin:Get(), toleng) - math.min(ScopeWidth:Get(), toleng), sc.y / 2 + 1), SkeetScope:GetColor(), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0), SkeetScope:GetColor(), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0))
Render.GradientBoxFilled(Vector2.new(sc.x / 2 - 0.1, sc.y / 2 + math.min(ScopeOrigin:Get(), toleng)), Vector2.new(sc.x / 2 + 1, sc.y / 2 + math.min(ScopeOrigin:Get(), toleng) + math.min(ScopeWidth:Get(), toleng)), SkeetScope:GetColor(), SkeetScope:GetColor(), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0))
Render.GradientBoxFilled(Vector2.new(sc.x / 2 + math.min(ScopeOrigin:Get(), toleng), sc.y / 2 - 0.1), Vector2.new(sc.x / 2 + math.min(ScopeOrigin:Get(), toleng) + math.min(ScopeWidth:Get(), toleng), sc.y / 2 + 1), SkeetScope:GetColor(), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0), SkeetScope:GetColor(), Color.new(SkeetScope:GetColor().r * 255, SkeetScope:GetColor().g * 255, SkeetScope:GetColor().b * 255, 0))
else
if toleng > 0 then toleng = toleng - 2 else toleng = 0 end
no_render_scope:SetFloat(1.0)
end
end
local function no_render_scope_any()
local no_render_scope = CVar.FindVar("r_drawvgui")
no_render_scope:SetInt(1)
end
local all_enemies_dead = function()
local players = Cheat.GetEntitiesByName("CCSPlayer")
local local_index = EngineClient.GetLocalPlayer()
for i = 1, #players do
local player = players[i]
if player:IsPlayer() and player:EntIndex() ~= local_index then
local baseplayer = player:GetPlayer()
if not baseplayer:IsTeamMate() then
local player_info = EngineClient.GetPlayerInfo(baseplayer:EntIndex())
health = baseplayer:GetProp("m_iHealth")
if health > 0 then
return false
end
end
end
end
return true
end
local function desync_indic()
local screen_size = EngineClient.GetScreenSize();
local x = screen_size.x/2;
local y = screen_size.y/2;
if manualminus == false then
if manualalpha < 255 then manualalpha = manualalpha + 1 else manualminus = true end
else
if manualalpha > 0 then manualalpha = manualalpha - 1 else manualminus = false end
end
if desync_indicator:Get() == true then
if inverter:Get() == false then
Render.PolyFilled(Color.new(water_clr_border:GetColor().r,water_clr_border:GetColor().g, water_clr_border:GetColor().b, manualalpha/255), Vector2.new(x + 43.5, y + 12.5), Vector2.new(x + 45.5, y + 12.5), Vector2.new(x + 45.5, y - 8.5), Vector2.new(x + 43.5, y - 8.5));
Render.PolyFilled(Color.new(0,0,0,0.5), Vector2.new(x - 39, y + 12.5), Vector2.new(x - 42, y + 12.5), Vector2.new(x - 42, y - 8.5), Vector2.new(x - 39, y - 8.5));
elseif inverter:Get() == true then
Render.PolyFilled(Color.new(0,0,0,0.5), Vector2.new(x + 43.5, y + 12.5), Vector2.new(x + 45.5, y + 12.5), Vector2.new(x + 45.5, y - 8.5), Vector2.new(x + 43.5, y - 8.5));
Render.PolyFilled(Color.new(water_clr_border:GetColor().r,water_clr_border:GetColor().g, water_clr_border:GetColor().b, manualalpha/255), Vector2.new(x - 39, y + 12.5), Vector2.new(x - 42, y + 12.5), Vector2.new(x - 42, y - 8.5), Vector2.new(x - 39, y - 8.5));
end
end
end
local function logs_miss(shot)
local entity = EntityList.GetClientEntity(shot.target_index)
local player = entity:GetPlayer()
local reason = ""
if(shot.reason == 1) then
print("[PARANOIA YAW] miss shot due to resolver" .. " [HC: " .. shot.hitchance.." ]")
Cheat.AddEvent("[PARANOIA YAW] miss shot due to resolver" .. " [HC: " .. shot.hitchance.." ]")
elseif(shot.reason == 2) then
print("[PARANOIA YAW] miss shot due to spread" .. " [degree: " .. shot.spread_degree.."]")
Cheat.AddEvent("[PARANOIA YAW] miss shot due to spread" .. " [degree: " .. shot.spread_degree.."]")
elseif(shot.reason == 3) then
print("[PARANOIA YAW] miss shot due to occlusion")
Cheat.AddEvent("[PARANOIA YAW] miss shot due to occlusion")
elseif(shot.reason == 4) then
print("[PARANOIA YAW] miss shot due to prediction error")
Cheat.AddEvent("[PARANOIA YAW] miss shot due to prediction error")
end
end
local function logs_fire(shot)
--if not logs:Get(0) then return end
if not shot then return end
if not shot.index then return end
--if shot.reason > 0 and shot.reason < 5 then return end
local target = EntityList.GetClientEntity(shot.index)
if not target then return end
local player = target:GetPlayer()
local target_name = player:GetName()
local hitchance = 0
if not shot.hitchance or shot.hitchance <= 0 then hitchance = "no"
else hitchance = shot.hitchance end
local bt = 0
if shot.backtrack and shot.backtrack > 0 then bt = shot.backtrack end
local damage = 0
if shot.damage and shot.damage > 0 then damage = shot.damage end
local hitgroup = 1337
if shot.hitgroup then
if shot.hitgroup <= 10 and shot.hitgroup >= 0 then
hitgroup = hitgroups[shot.hitgroup]
else
hitgroup = "?"
end
else
hitgroup = "?"
end
print("[PARANOIA YAW] fired shot at ["..target_name.."] | HB ["..hitgroup.."] | HC ["..hitchance.."] | DMG ["..damage.."] | bt="..bt.."")
Cheat.AddEvent("[PARANOIA YAW] fired shot at ["..target_name.."] | HB ["..hitgroup.."] | HC ["..hitchance.."] | DMG ["..damage.."] | bt="..bt.."")
end
local printHitInfo = function(shot)
local entity = EntityList.GetClientEntity(shot.target_index)
local player = entity:GetPlayer()
local reason = ""
if(shot.reason == 0) then
printShotInfo(shot)
return
elseif(shot.reason == 1) then
reason = "due to resolver " ..""
if(Menu.FindVar("Aimbot", "Ragebot", "Main", "Override Resolver"):Get()) then
reason = "解析\x01命中率: \x07"..""
end
elseif(shot.reason == 2) then
reason = "due to spread "..""
elseif(shot.reason == 3) then
reason = "due to occlusion "..""
elseif(shot.reason == 4) then
reason = "due to prediction error "..""
end
PrintInChat("\x01 \x01[\x01paranoia\x07 yaw\x01] shot miss in "..player:GetName().." cuz "..reason.. " [HC: ".. shot.hitchance.. "]")
end
local function dt_hitchance()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected and not lp then return end
local noscope_hc = Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Get()
local value = c_menu_damage_auto_noscope:Get()
local dt_hc = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local value_dt = c_menu_damage_auto_dt:Get()
local value_dt_scout = c_menu_damage_scout_dt:Get()
local value_dt_awp = c_menu_damage_awp_dt:Get()
local value_jump_scout = c_menu_damage_scout_jump:Get()
local cache_val_auto = c_menu_damage_auto_def:Get()
local cache_val_scout = c_menu_damage_scout_def:Get()
local cache_val_awp = c_menu_damage_awp_def:Get()
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local local_player = local_entity:GetPlayer()
local weapon = local_player:GetActiveWeapon()
local scoped = local_player:GetProp('m_bIsScoped')
local jump = local_player:GetProp('m_hGroundEntity')
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local local_player = local_entity:GetPlayer()
local flags = local_player:GetProp("m_fFlags")
--scar20 = 261, g3s1g = 242, awp = 233, scout = 267
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
if weap == nil then
return
end
local ClassId_CWeaponG3SG1 = 242
local ClassId_CWeaponAWP = 233
local ClassId_CWeaponScout = 267
local ClassId_CWeaponSCAR20 = 261
local weapon_classid = weap:GetClassId()
if ((weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1) and not scoped) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(value)
elseif ((weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1) and dt_hc) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(value_dt)
elseif ((weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1) and scoped and not dt_hc) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(cache_val_auto)
end
if ((weapon_classid == ClassId_CWeaponScout) and jump and not dt_hc) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(cache_val_scout)
elseif ((weapon_classid == ClassId_CWeaponScout) and dt_hc) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(value_dt_scout)
else
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(value_jump_scout)
end
if ((weapon_classid == ClassId_CWeaponAWP) and dt_hc) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(value_dt_awp)
elseif ((weapon_classid == ClassId_CWeaponAWP) and not dt_hc) then
Menu.FindVar("Aimbot", "Ragebot", "Accuracy", "Hit Chance"):Set(cache_val_awp)
end
if (not weapon_classid == ClassId_CWeaponSCAR20 and not weapon_classid == ClassId_CWeaponG3SG1 and not weapon_classid == ClassId_CWeaponAWP and not weapon_classid == ClassId_CWeaponScout) then
return
end
end
local function fast_recharge()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
if weap == nil then
return
end
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local fake_lag_on1 = Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):Get()
if (c_menu_doubletap_recharge:Get() and dt_active and weap:IsSniper()) then
Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):Set(false)
else
Menu.FindVar("Aimbot", "Anti Aim", "Fake Lag", "Enable Fake Lag"):Set(true)
end
end
local function dt_type()
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
if ((c_menu_doubletap_type:Get() == 1) and dt_active) then
Exploits.ForceCharge()
else
return
end
end
local function dt_body_charged(cmd)
if not c_menu_doubletap_body_prefer_charged:Get() then return end
if Exploits.GetCharge() == 1 then
Menu.FindVar("Aimbot", "Ragebot", "Misc", "Body Aim"):Set(1)
else
Menu.FindVar("Aimbot", "Ragebot", "Misc", "Body Aim"):Set(0)
end
end
local function fast_dt()
EngineClient.ExecuteClientCmd("sv_maxusrcmdprocessticks 17")
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
if (c_menu_doubletap_fast_dt:Get() and dt_active) then
Exploits.OverrideDoubleTapSpeed(17)
else
return
end
end
local function force_teleport_knife()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local local_player = local_entity:GetPlayer()
local weapon = local_player:GetActiveWeapon()
if weapon == nil then
return
end
if (c_menu_doubletap_teleport_knife:Get() and dt_active and weapon:IsKnife()) then
Exploits.ForceTeleport()
else
return
end
end
local function main_gun()
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
local ClassId_CWeaponG3SG1 = 242
local ClassId_CWeaponAWP = 233
local ClassId_CWeaponScout = 267
local ClassId_CWeaponSCAR20 = 261
-- local weapon_classid = weap:GetClassId()
--local weapon_type = ((weapon_classid == ClassId_CWeaponG3SG1) or (weapon_classid == ClassId_CWeaponSCAR20))
local weapon = me:GetActiveWeapon()
local dt_active1 = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
if weapon == nil then
return
end
--local dt_active2 = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Set(1)
if (c_menu_doubletap_main_gun:Get() and weapon:IsSniper() and dt_active1) then
Exploits.AllowCharge(true)
elseif (c_menu_doubletap_main_gun:Get() and not weapon:IsSniper()) then
Exploits.AllowCharge(false)
elseif (c_menu_doubletap_second_gun:Get() and weapon:IsPistol() and dt_active1) then
Exploits.AllowCharge(true)
else
Exploits.AllowCharge(true)
end
end
local function dt_correction()
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
if (dt_active) then
CVar.FindVar("cl_clock_correction"):SetInt(0)
CVar.FindVar("cl_clock_correction_adjustment_max_amount"):SetInt(450)
else
CVar.FindVar("cl_clock_correction"):SetInt(1)
CVar.FindVar("cl_clock_correction_adjustment_max_amount"):SetInt(200)
end
end
local function second_dt_gun()
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
local ClassId_CWeaponG3SG1 = 242
local ClassId_CWeaponAWP = 233
local ClassId_CWeaponScout = 267
local ClassId_CWeaponSCAR20 = 261
-- local weapon_classid = weap:GetClassId()
--local weapon_type = ((weapon_classid == ClassId_CWeaponG3SG1) or (weapon_classid == ClassId_CWeaponSCAR20))
local weapon = me:GetActiveWeapon()
local dt_active1 = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
if weapon == nil then
return
end
--local dt_active2 = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Set(1)
if (c_menu_doubletap_second_gun:Get() and weapon:IsPistol() and dt_active1) then
Exploits.AllowCharge(true)
elseif (c_menu_doubletap_main_gun:Get() and c_menu_doubletap_main_gun:Get() and weapon:IsSniper() or weapon:IsPistol()) then
Exploits.AllowCharge(true)
elseif (c_menu_doubletap_main_gun:Get() and not weapon:IsPistol()) then
Exploits.AllowCharge(false)
end
end
local function ext_backtrack()
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
local value = c_menu_ext_backtrack_value:Get()
if weap == nil then
return
end
local ClassId_CWeaponAWP = 233
local ClassId_CWeaponScout = 267
local weapon_classid = weap:GetClassId()
if (weapon_classid == ClassId_CWeaponScout and c_menu_ext_backtrack:Get(0)) then
Menu.FindVar("Miscellaneous", "Main", "Other", "Fake Ping"):Set(value)
elseif (weapon_classid == ClassId_CWeaponAWP and c_menu_ext_backtrack:Get(1)) then
Menu.FindVar("Miscellaneous", "Main", "Other", "Fake Ping"):Set(value)
else
Menu.FindVar("Miscellaneous", "Main", "Other", "Fake Ping"):Set(0)
end
end
local function custom_dt_speed()
local cmd_ticks = CVar.FindVar("sv_maxusrcmdprocessticks")
if (c_menu_doubletap_dt_speed:Get()) then
Exploits.OverrideDoubleTapSpeed(c_menu_damage_dt_speed_ticks:Get())
cmd_ticks:SetInt(c_menu_damage_dt_speed_ticks_cmd:Get())
end
end
local function adaptive_fakelag()
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local sent_packets_num = FakeLag.SentPackets()
local oldOrigin
if local_entity == nil then
return
end
local is_key_pressed = Cheat.IsKeyDown(0x45)
local local_player = local_entity:GetPlayer();
local wish_ticks = 0
local adaptive_ticks = 2
local speed_x = local_player:GetProp("m_vecVelocity[0]")
local GetAbsOrigin = local_player:GetProp("m_vecAbsOrigin")
local speed_y = local_player:GetProp("m_vecVelocity[1]")
local speed_per_tick = math.sqrt(speed_x * speed_x + speed_y * speed_y) * GlobalVars.interval_per_tick
while (wish_ticks * speed_per_tick) <= 68.0 do
if (((adaptive_ticks - 1) * speed_per_tick) > 68.0) then
wish_ticks = wish_ticks + 1;
break
end
if ((adaptive_ticks * speed_per_tick) > 68.0) then
wish_ticks = wish_ticks + 2;
break
end
if ((adaptive_ticks + 1) * speed_per_tick) > 68.0 then
wish_ticks = wish_ticks + 3;
break
end
if ((adaptive_ticks + 2) * speed_per_tick) > 68.0 then
wish_ticks = wish_ticks + 4;
break
end
adaptive_ticks = adaptive_ticks + 5;
wish_ticks = wish_ticks + 5;
if adaptive_ticks > 15 then
break
end
end
local weapon = local_player:GetActiveWeapon();
if weapon ~= nil then
if weapon:GetWeaponID() == 64 then
if wish_ticks > 15 then
wish_ticks = 15
end
end
end
if is_key_pressed then
FakeLag.SetState(false)
end
if ClientState.m_choked_commands < wish_ticks then
FakeLag.SetState(false)
end
end
local function fluctuate_fakelag()
local random1 = 0
local random2 = 0
local used = false
if used then
random1 = math.random(1, c_menu_fakelag_fluctuate_timing:Get())
used = false
else
random1 = math.random(1, c_menu_fakelag_fluctuate_timing:Get())
used = true
end
if random1 == 1 then
menu_fakelag_limit:Set(0)
else
menu_fakelag_limit:Set(15)
end
end
local function fake_lag()
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local local_player = local_entity:GetPlayer();
if (c_menu_fakelag_modes:Get()) == 0 and dt_charging == false then --adaptive FakeLag (AIMWARE_PASTED)
adaptive_fakelag()
else if (c_menu_fakelag_modes:Get()) == 1 then --fluctuate FakeLag
fluctuate_fakelag()
end
end
end
local function jitter_fakelag()
local rnd_int = Utils.RandomInt(c_menu_fakelag_choke_min:Get(), 14)
menu_fakelag_limit:Set(rnd_int)
end
local function dodge_jitter()
if (dodge_jitter_menu:Get() == 1 or dodge_jitter_menu:Get() == 2 or dodge_jitter_menu:Get() == 3 or dodge_jitter_menu:Get() == 4) then
clock = clock + 0.5
if (dodge_jitter_menu:Get() == 1) then
if (clock > 1) then
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(-6)
clock = 0
else
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(16)
end
elseif (dodge_jitter_menu:Get() == 2) then
if (clock > 1) then
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(-16)
clock = 0
else
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(26)
end
elseif (dodge_jitter_menu:Get() == 3) then
if (clock > 1) then
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(-16)
clock = 0
else
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(16)
end
elseif (dodge_jitter_menu:Get() == 4) then
if (clock > 1.5) then
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(-16)
clock = 0
else
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(16)
end
end
end
end
local function lby_offset_func()
AntiAim.OverrideLBYOffset(lby_offset:Get())
if (lby_offset_type:Get() == 0) then
AntiAim.OverrideLBYOffset(lby_offset:Get())
elseif (lby_offset_type:Get() == 1) then
AntiAim.OverrideLBYOffset(Utils.RandomInt(1, 180))
end
end
local function low_delta_slowwalk()
local cache = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Left Limit"):Get()
local cache1 = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Right Limit"):Get()
local slowwalk = Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Slow Walk"):Get()
if (slowwalk and delta_slow:Get() == 1) then
AntiAim.OverrideLimit(17.0)
AntiAim.OverrideLBYOffset(21.0)
AntiAim.OverrideYawOffset(1.0)
AntiAim.OverridePitch(90.0)
end
if (slowwalk and delta_slow:Get() == 2) then
AntiAim.OverrideLimit(21)
end
end
local vecTraceStart = Vector.new()
local function edge_yaw_menu(UserCmd)
if not edge_yaw:Get() then
return
end
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]')
if flVelocityZ ~= 0 or bit.band(UserCmd.buttons, 2) == 2 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
local function freestand_opt()
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local YawBase = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
savedAntiAims[2] = YawBase:Get()
local dt_active1 = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local hs_active1 = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Hide Shots"):Get()
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
if weap == nil then
return
end
local ClassId_CWeaponG3SG1 = 242
local ClassId_CWeaponAWP = 233
local ClassId_CWeaponScout = 267
local ClassId_CWeaponSCAR20 = 261
local weapon_classid = weap:GetClassId()
if (hs_active1 and freestand_options:Get() and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then
YawBase:Set(5)
elseif (hs_active1 and freestand_options:Get() and weapon_classid == ClassId_CWeaponScout) then
YawBase:Set(5)
elseif (hs_active1 and freestand_options:Get() and weapon_classid == ClassId_CWeaponAWP) then
YawBase:Set(5)
elseif (dt_active1 and freestand_options:Get() and weapon_classid == ClassId_CWeaponScout) then
YawBase:Set(5)
elseif (dt_active1 and freestand_options:Get() and weapon_classid == ClassId_CWeaponAWP) then
YawBase:Set(5)
else
return
end
end
local function body_lean()
local r_right = c_menu_body_lean_right:Get()
local r_left = c_menu_body_lean_left:Get()
if (c_menu_custom_body_lean:Get()) then
if (inverter:Get()) then
AntiAim.OverrideYawOffset(r_right)
else
AntiAim.OverrideYawOffset(r_left)
end
end
end
local function leg_fucker()
local cur = GlobalVars.curtime
local local_player = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
local player = local_player:GetPlayer()
if (leg_break:Get()) then
menu_leg_movement:Set(Utils.RandomInt(1, 2))
end
end
local function legit_anti_aim(cmd)
local aa_left = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get()
local aa_right = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add"):Get()
local right_force = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 2
local left_force = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base"):Get() == 3
local local_idx = EngineClient.GetLocalPlayer()
local local_entity = EntityList.GetClientEntity(local_idx)
local local_player = local_entity:GetPlayer()
local flags = local_player:GetProp("m_fFlags")
if bit.band(cmd.buttons, 32) == 32 or flags == 256 then -- Check if IN_USE, not linked to button | Be sure to add additional checks, like bomb, host, weapon, door and more.
AntiAim.OverridePitch(0)
if (left_force or (aa_left < -70 and aa_left > -110)) then
AntiAim.OverrideYawOffset(45)
elseif (right_force or (aa_right > 70 and aa_right < 110)) then
AntiAim.OverrideYawOffset(45)
else
AntiAim.OverrideYawOffset(180)
end
cmd.buttons = bit.band(cmd.buttons, bit.bnot(32)) -- Off that use button
else
return
end
if (legit_aa_type:Get() == 0 and Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch"):Get() == 0) then
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(0)
elseif (legit_aa_type:Get() == 1 and Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch"):Get() == 0) then
Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree"):Set(32)
Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Fake Options"):Set(1)
else
return
end
end
local image_size = Vector2.new(746 / 5, 1070 / 5)
local get_username = Cheat.GetCheatUserName()
local url = string.format("https://forum.neverlose.cc/user_avatar/forum.neverlose.cc/%s/120/9999_2.png", get_username)
local bytes = Http.Get(url)
local penguin = Render.LoadImage(bytes, image_size)
local function extra_windows()
if (c_menu_extra_windows:Get(0)) then
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
if (CVar.FindVar("hidehud"):Get() == 0) then
CVar.FindVar("hidehud"):SetInt(8)
elseif (CVar.FindVar("hidehud"):Get() == 8) then
CVar.FindVar("hidehud"):SetInt(0)
end
local size = Vector2.new(100, 100)
local sc = EngineClient.GetScreenSize()
local pos = Vector2.new(sc.x / 2 - 50, sc.y - 52 - 50)
local ts = Render.CalcTextSize("nade", 16)
Render.CircleFilled(Vector2.new(sc.x / 2, sc.y - 52), 50.2, 50, Color.new(0,0,0,0.5))
Render.Image(penguin, pos, size)
Render.GradientBoxFilled(Vector2.new(sc.x/2+ 210, sc.y - 60), Vector2.new(sc.x/2+(49.55), sc.y - 45), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5))
Render.GradientBoxFilled(Vector2.new(sc.x/2- 210, sc.y - 60), Vector2.new(sc.x/2-(49.55), sc.y - 45), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 0.5))
local health = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer():GetProp("m_iHealth")
local armor = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer():GetProp("m_ArmorValue")
Render.Text(tostring("HP:"), Vector2.new(sc.x/2+ 60, sc.y - 61), Color.new(1.0, 1.0, 1.0, 1.0), 15, font)
Render.Text(tostring(health), Vector2.new(sc.x/2+ 60 + Render.CalcTextSize("HP:", 15).x + 3, sc.y - 61), Color.new((255 - 155 - health + 100)/255, (health + 100)/255, (0)/255, 255/255), 15, font)
Render.Text(tostring("ARMOR:"), Vector2.new(sc.x/2 - 70 - Render.CalcTextSize("ARMOR..:", 15).x - 3, sc.y - 61), Color.new(1.0, 1.0, 1.0, 1.0), 15, font)
Render.Text(tostring(armor), Vector2.new(sc.x/2-80, sc.y - 61), Color.new(7/255, 169/255, 232/255, 1.0), 15, font)
end
if (c_menu_extra_windows:Get(1)) then
local sc = EngineClient.GetScreenSize()
local players = EntityList.GetPlayers()
local speclist = {}
local local_player = EntityList.GetLocalPlayer()
for table_index, player_pointer in pairs(players) do
if player_pointer and player_pointer:GetProp("m_iHealth") <= 0 then
local local_player = EntityList.GetLocalPlayer()
if(local_player:GetProp("m_iHealth") > 0) then
local player = player_pointer
local spec_handle = player:GetProp("m_hObserverTarget")
local spec_player = EntityList.GetClientEntityFromHandle(spec_handle)
if spec_player ~= nil then
if spec_player:GetPlayer() == local_player:GetPlayer() then
speclist[#speclist+1] = player_pointer:GetName()
end
end
else
local observer = player_pointer:GetProp('m_hObserverTarget')
local player = EntityList.GetLocalPlayer()
local localtarget = player:GetProp('m_hObserverTarget')
if observer == localtarget then
speclist[#speclist+1] = player_pointer:GetName()
end
end
end
end
if #speclist > 0 or Cheat.IsMenuVisible() then
local ts = Render.CalcTextSize("spectator list", 16)
local sc = EngineClient.GetScreenSize()
Render.GradientBoxFilled(Vector2.new(SpecX-120, SpecY + 0 * 17), Vector2.new(SpecX, SpecY + 0 * 17-2), water_clr_border:GetColor(), water_clr_border:GetColor(), water_clr_border:GetColor(),water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(SpecX, SpecY + 0 * 17), Vector2.new(SpecX + 120-33, SpecY + 0 * 17-2),water_clr_border:GetColor(),water_clr_border:GetColor(), water_clr_border:GetColor(),water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(SpecX - 120, SpecY + 0 * 17), Vector2.new(SpecX, SpecY + 0 * 17+ts.y + 3), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5))
Render.GradientBoxFilled(Vector2.new(SpecX, SpecY + 0 * 17), Vector2.new(SpecX + 120 - 33, SpecY + 0 * 17+ts.y + 3), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5))
Render.GradientBoxFilled(Vector2.new(SpecX-120-7, SpecY + 0 * 17+19), Vector2.new(SpecX-15, SpecY + 0 * 17+21), Color.new(0,0,0,0), water_clr_border:GetColor(), Color.new(0,0,0,0),water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(SpecX-15, SpecY + 0 * 17+19), Vector2.new(SpecX + 120-33, SpecY + 0 * 17+21), water_clr_border:GetColor(), Color.new(0,0,0,0), water_clr_border:GetColor(),Color.new(0,0,0,0))
Render.Text("spectator list", Vector2.new(SpecX - ts.x/2-15, SpecY + 0 * 17), Color.new(1.0, 1.0, 1.0, 1.0), 16)
for i = 1, #speclist do
local ts = Render.CalcTextSize(speclist[i], 16)
local sc = EngineClient.GetScreenSize()
Render.Text(speclist[i], Vector2.new(SpecX - 120, SpecY + i * 17 + 5), Color.new(1.0, 1.0, 1.0, 1.0), 13)
end
local is_key_pressed = Cheat.IsKeyDown(0x1)
if is_key_pressed then
local mouse = Cheat.GetMousePos()
local ts = Render.CalcTextSize("spectator list", 16)
if SpecDrag == true then
SpecX = mouse.x
SpecY = mouse.y
end
if mouse.x >= SpecX - 120 and mouse.y >= SpecY and mouse.x <= SpecX - 120 + 240 and mouse.y <= SpecY + ts.y then
if BindsDrag == false then SpecDrag = true end
end
else
SpecDrag = false
end
end
end
if (c_menu_extra_windows:Get(2)) then
local sc = EngineClient.GetScreenSize()
local binds = Cheat.GetBinds()
if #binds > 0 or Cheat.IsMenuVisible() then
for i = 1, #binds do
if binds[i]:IsActive() then
if keysList[i] < 255 then keysList[i] = keysList[i] + 5 else keysList[i] = 255 end
else
if keysList[i] > 0 then keysList[i] = keysList[i] - 5 else keysList[i] = 0 end
end
local ts = Render.CalcTextSize(binds[i]:GetValue(), 14)
local sc = EngineClient.GetScreenSize()
Render.Text(binds[i]:GetName(), Vector2.new(BindsX - 120, BindsY + i * math.min(17, keysList[i]) + 5), Color.new(1.0, 1.0, 1.0, keysList[i]/255), 13)
if string.len(binds[i]:GetValue()) > 10 then
local a = -string.len(binds[i]:GetValue()) + 10
fs = Render.CalcTextSize(binds[i]:GetValue():sub(0,a), 14)
Render.Text(binds[i]:GetValue():sub(0,a) .. "..", Vector2.new(BindsX + 90 - fs.x, BindsY + i * math.min(17, keysList[i])), Color.new(1.0, 1.0, 1.0, keysList[i]/255), 13)
else
fs = Render.CalcTextSize(binds[i]:GetValue():sub(0,-15), 14)
Render.Text(binds[i]:GetValue(), Vector2.new(BindsX + 90 - fs.x - 20, BindsY + i * math.min(17, keysList[i]) + 7), Color.new(1.0, 1.0, 1.0, keysList[i]/255), 13)
end
end
local sc = EngineClient.GetScreenSize()
local ts = Render.CalcTextSize('keybinds', 16)
Render.GradientBoxFilled(Vector2.new(BindsX-120, BindsY + 0 * 17), Vector2.new(BindsX, BindsY + 0 * 17-2), water_clr_border:GetColor(), water_clr_border:GetColor(), water_clr_border:GetColor(),water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(BindsX-120, BindsY + 0 * 17), Vector2.new(BindsX, BindsY + 0 * 17+ts.y + 5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5))
Render.GradientBoxFilled(Vector2.new(BindsX, BindsY + 0 * 17), Vector2.new(BindsX + 120-33, BindsY + 0 * 17-2),water_clr_border:GetColor(),water_clr_border:GetColor(), water_clr_border:GetColor(),water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(BindsX, BindsY + 0 * 17), Vector2.new(BindsX + 120 - 33, BindsY + 0 * 17+ts.y + 5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5), Color.new(0, 0, 0, 0.5))
Render.GradientBoxFilled(Vector2.new(BindsX-120-7, BindsY + 0 * 17+19), Vector2.new(BindsX-15, BindsY + 0 * 17+21), Color.new(0,0,0,0), water_clr_border:GetColor(), Color.new(0,0,0,0),water_clr_border:GetColor())
Render.GradientBoxFilled(Vector2.new(BindsX-15, BindsY + 0 * 17+19), Vector2.new(BindsX + 120-33, BindsY + 0 * 17+21), water_clr_border:GetColor(), Color.new(0,0,0,0), water_clr_border:GetColor(),Color.new(0,0,0,0))
Render.Text("keybinds", Vector2.new(BindsX - ts.x/2 - 13, BindsY + 0 * 17), Color.new(1.0, 1.0, 1.0, 1.0), 16)
local is_key_pressed = Cheat.IsKeyDown(0x1)
if is_key_pressed then
local mouse = Cheat.GetMousePos()
local ts = Render.CalcTextSize("keybinds", 16)
if BindsDrag == true then
BindsX = mouse.x
BindsY = mouse.y
end
if mouse.x >= BindsX - 120 and mouse.y >= BindsY and mouse.x <= BindsX - 120 + 240 and mouse.y <= BindsY + ts.y then
if SpecDrag == false then BindsDrag = true end
end
else
BindsDrag = false
end
end
end
if (c_menu_extra_windows:Get(3)) then
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local hs_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Hide Shots"):Get()
local local_player_index = EngineClient.GetLocalPlayer()
local local_player = EntityList.GetClientEntity(local_player_index)
local player = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local real_rotation = AntiAim.GetCurrentRealRotation()
local desync_rotation = AntiAim.GetFakeRotation()
local max_desync_delta = AntiAim.GetMaxDesyncDelta()
local min_desync_delta = AntiAim.GetMinDesyncDelta()
local script_name
script_name = get_max() .. "°"
local desync_delta = real_rotation - desync_rotation
if manualminus == false then
if manualalpha < 255 then manualalpha = manualalpha + 1 else manualminus = true end
else
if manualalpha > 0 then manualalpha = manualalpha - 1 else manualminus = false end
end
if not local_player then
return
end
Render.GradientBoxFilled(Vector2.new(0, 555+35-120), Vector2.new(70, 555+35-117), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(0, 555+35-120), Vector2.new(15, 555+35-73.5), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(0, 555+35-71.5), Vector2.new(140, 555+35-73.5), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0, 0, 0))
Render.BoxFilled(Vector2.new(0, 555+35-117), Vector2.new(180, 555+35-96), Color.new(0.0, 0.0, 0.0, 0.2))
Render.BoxFilled(Vector2.new(0, 555+35-92), Vector2.new(180, 555+35-73.5), Color.new(0.0, 0.0, 0.0, 0.2))
Render.Text("FAKE LAG", Vector2.new(10, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
if (dt_active and Exploits.GetCharge() == 1) then
Render.Text("DOUBLE TAP", Vector2.new(68, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
elseif (c_menu_custom_fakelag:Get() and c_menu_fakelag_modes:Get() == 0) then
Render.Text("ADAPTIVE", Vector2.new(68, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
elseif (c_menu_custom_fakelag:Get() and c_menu_fakelag_modes:Get() == 1) then
Render.Text("FLUCTUATE", Vector2.new(68, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
elseif (c_menu_custom_fakelag:Get() and c_menu_fakelag_modes:Get() == 2) then
Render.Text("JITTER", Vector2.new(68, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
else
Render.Text("DEFAULT", Vector2.new(68, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
end
Render.Text("PARANOIA", Vector2.new(140, 555+35-113), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
local tickbase_shift = c_menu_damage_dt_speed_ticks:Get()
Render.Text(("TICKBASE: [" .. tickbase_shift .. "]"), Vector2.new(10, 555+35-89), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
local tickbase_shift1 = c_menu_damage_dt_speed_ticks_cmd:Get()
Render.Text(("CMD: " .. tickbase_shift1), Vector2.new(95, 555+35-89), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
local fl_amount = menu_fakelag_limit:Get()
Render.Text(("FL: " .. fl_amount), Vector2.new(150, 555+35-89), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
Render.GradientBoxFilled(Vector2.new(0, 555+35-67.5), Vector2.new(70, 555+35-69.5), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(0, 555+35-69.5), Vector2.new(10, 555+35-25), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(0, 555+35-25), Vector2.new(140, 555+35-23), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0, 0, 0))
Render.BoxFilled(Vector2.new(0, 555+35-67.5), Vector2.new(180, 555+35-48.5), Color.new(0.0, 0.0, 0.0, 0.2))
Render.BoxFilled(Vector2.new(0, 555+35-44.5), Vector2.new(180, 555+35-25), Color.new(0.0, 0.0, 0.0, 0.2))
Render.Text("DESYNC: ", Vector2.new(10, 555+35-63.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
Render.Text(script_name, Vector2.new(58, 555+35-63.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
if (c_menu_doubletap_legs_prior:Get() or c_menu_doubletap_body_prefer:Get()) then
Render.Text("DIR: Predict ", Vector2.new(78, 555+35-63.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
else
Render.Text("DIR: PrePred ", Vector2.new(78, 555+35-63.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
end
Render.Text("PARANOIA", Vector2.new(145,555+35-63.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
if (dt_active) then
Render.Text("Curr. cond: Double Tap", Vector2.new(10, 555+35-40.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
elseif (hs_active) then
Render.Text("Curr. cond: Hide Shots", Vector2.new(10, 555+35-40.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
else
Render.Text("Curr. cond: Static", Vector2.new(10, 555+35-40.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
end
Render.Text("Velocity: ", Vector2.new(141, 555+35-40.5), Color.new(255/255, 255/255, 255/255, 255/255), 12, true)
local speed = math.sqrt(player:GetProp("m_vecVelocity[0]")^2 + player:GetProp("m_vecVelocity[1]")^2)
speed = string.format("%.0f", speed)
Render.Text("".. speed, Vector2.new(190, 555+35-40.5), Color.new(1.0, 1.0, 1.0, 1.0), 12, true)
Render.GradientBoxFilled(Vector2.new(10, 555+35-47.5), Vector2.new(55+(math.abs(desync_delta*58/100)), 555+35-45.5), water_clr_border:GetColor(), Color.new(0, 0, 0, 0), water_clr_border:GetColor(), Color.new(0, 0.0, 0.0, 0))
Render.GradientBoxFilled(Vector2.new(0, 555+35-120), Vector2.new(20, 555+35-25), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g, water_clr_border:GetColor().b, manualalpha/255), Color.new(0, 0, 0, 0), Color.new(water_clr_border:GetColor().r, water_clr_border:GetColor().g, water_clr_border:GetColor().b,manualalpha/255), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(180, 555+35-117), Vector2.new(215, 555+35-96), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(180, 555+35-92), Vector2.new(215, 555+35-73.5), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(180, 555+35-67.5), Vector2.new(215, 555+35-48.5), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0))
Render.GradientBoxFilled(Vector2.new(180, 555+35-44.5), Vector2.new(215, 555+35-25), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0), Color.new(0, 0, 0, 1/5), Color.new(0, 0, 0, 0))
--Render.Text("DUCK", Vector2.new(10, y+add_y), Color.new(255/255, 255/255, 255/255, 255/255), 26, font)
end
end
local function force_teleport_ss()
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local chrg = Exploits.GetCharge()
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
if weap == nil then
return
end
local ClassId_CWeaponG3SG1 = 242
local ClassId_CWeaponAWP = 233
local ClassId_CWeaponScout = 267
local ClassId_CWeaponSCAR20 = 261
local weapon_classid = weap:GetClassId()
if (c_menu_doubletap_force_teleport:Get() and dt_active and chrg == 0 and (weapon_classid == ClassId_CWeaponScout or weapon_classid == ClassId_CWeaponAWP)) then
Exploits.ForceTeleport()
Exploits.ForceCharge()
end
end
local function leg_animations()
local ENTITY_LIST_POINTER = ffi.cast("void***", Utils.CreateInterface("client.dll", "VClientEntityList003")) or error("Failed to find VClientEntityList003!")
local GET_CLIENT_ENTITY_FN = ffi.cast("GetClientEntity_4242425_t", ENTITY_LIST_POINTER[0][3])
local ffi_helpers = {
get_animstate_offset = function()
return 14612
end,
get_entity_address = function(entity_index)
local addr = GET_CLIENT_ENTITY_FN(ENTITY_LIST_POINTER, entity_index)
return addr
end
}
if skeet_legs:Get() ~= -1 then
local lp_entity = EntityList.GetLocalPlayer()
if not lp_entity then
return
end
ffi.cast("float*", ffi_helpers.get_entity_address(lp_entity:EntIndex()) + 10100)[0] = 0
if skeet_legs:Get() == 0 then
if GlobalVars.tickcount % 2 == 1 then
cur = 1
else
cur = 2
end
elseif skeet_legs:Get() == 1 then
if GlobalVars.tickcount % 3 == 1 then
cur = 1
else
cur = 2
end
else
if GlobalVars.tickcount % 4 == 1 then
cur = 1
else
cur = 2
end
end
Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement"):Set(cur)
else
Menu.FindVar("Aimbot", "Anti Aim", "Misc", "Leg Movement"):Set(0)
end
end
local safety_hitboxes = {}
local best_hitbox = {}
local best_damage = {}
local function aimbot(UserCmd)
local dt_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):Get()
local hs_active = Menu.FindVar("Aimbot", "Ragebot", "Exploits", "Hide Shots"):Get()
local localplayer = EntityList.GetClientEntity(EngineClient.GetLocalPlayer())
local oldlocalplayer = localplayer
if localplayer then
--local entity_animation_state = ffi.cast("int**", ffi_helpers.get_entity_address(2) + 45952)[0]
--entity_animation_state = 100
localplayer = localplayer:GetPlayer()
else
return
end
safety_hitboxes = {}
for i = 0,10 do
if c_menu_safepoint_hitboxes:Get(i) then
if i == 0 then table.insert( safety_hitboxes, 0 )
elseif i == 1 then table.insert( safety_hitboxes, 6 )
elseif i == 2 then table.insert( safety_hitboxes, 5 )
elseif i == 3 then table.insert( safety_hitboxes, 4 )
elseif i == 4 then table.insert( safety_hitboxes, 3 )
elseif i == 5 then table.insert( safety_hitboxes, 2 )
elseif i == 6 then
for i = 7,12 do
table.insert( safety_hitboxes, i )
end
elseif i == 7 then
for i = 13,18 do
table.insert( safety_hitboxes, i )
end
end
end
end
for i = 1,64 do
local entity = EntityList.GetClientEntity(i)
if not entity then break end
if entity then
local player = entity:GetPlayer()
local isPlayer = entity:IsPlayer()
local flags = localplayer:GetProp("m_fFlags")
local health = player:GetProp("m_iHealth")
local health_local = localplayer:GetProp("m_iHealth")
local armor = player:GetProp("DT_CSPlayer", "m_ArmorValue")
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
local weap = me:GetActiveWeapon()
if weap == nil then
return
end
local ClassId_CWeaponG3SG1 = 242
local ClassId_CWeaponSCAR20 = 261
local weapon_classid = weap:GetClassId()
local two_shot = health / 2 + 5
local speed = math.sqrt(player:GetProp("m_vecVelocity[0]")^2 + player:GetProp("m_vecVelocity[1]")^2)
--UpdateClientSideAnims(ffi.cast("void***", ffi_helpers.get_entity_address(entity:EntIndex())))
for k,v in pairs(safety_hitboxes) do
RageBot.ForceHitboxSafety(entity:EntIndex(), v)
end
if (c_menu_doubletap_legs_prior:Get() and dt_active) then
RageBot.SetHitboxPriority(entity:EntIndex(), 7, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 8, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 9, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 10, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 11, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 12, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 13, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 14, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 15, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 16, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 17, 50)
RageBot.SetHitboxPriority(entity:EntIndex(), 18, 50)
end
if (c_menu_doubletap_body_prefer:Get() and dt_active) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 65)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 65)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 65)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 65)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 65)
end
if (health >= 90 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 50)
elseif (health >= 80 and health <= 89 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 45)
elseif (health >= 70 and health <= 79 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 40)
elseif (health >= 69 and health <= 60 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 35)
elseif (health >= 50 and health <= 59 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 30)
elseif (health >= 40 and health <= 49 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 25)
elseif (health >= 30 and health <= 39 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 20)
elseif (health >= 20 and health <= 29 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 15)
elseif (health >= 10 and health <= 19 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 10)
elseif (health >= 2 and health <= 9 and c_menu_doubletap_two_shot:Get() and dt_active and (weapon_classid == ClassId_CWeaponSCAR20 or weapon_classid == ClassId_CWeaponG3SG1)) then --walking
RageBot.OverrideMinDamage(entity:EntIndex(), 5)
end
if (speed <= 20) then --standing
if (c_menu_baim:Get(0)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(8)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(0)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(8)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (speed > 110) then --walking
if (c_menu_baim:Get(1)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(9)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(1)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(9)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (speed > 20 and speed < 110) then --slowwalking
if (c_menu_baim:Get(2)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(10)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(2)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(10)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (flags == 261) then --crouching
if (c_menu_baim:Get(3)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(11)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(3)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(11)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (flags == 263) then --duck
if (c_menu_baim:Get(4)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(12)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(4)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(12)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (flags == 256) then --in air
if (c_menu_baim:Get(5)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(13)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(5)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(13)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (health_local <= 50) then --on threat
if (c_menu_baim:Get(6)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(14)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
if (c_menu_hsaim:Get(6)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(14)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (dt_active) then
if (c_menu_baim:Get(7)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 70)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 75)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 75)
end
if (c_menu_baim:Get(15)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
end
if (hs_active) then
if (c_menu_hsaim:Get(8)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 80)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 60)
end
if (c_menu_hsaim:Get(16)) then
RageBot.SetHitboxPriority(entity:EntIndex(), 0, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 1, 100)
RageBot.EnableHitbox(entity:EntIndex(), 0, true)
RageBot.EnableHitbox(entity:EntIndex(), 1, true)
RageBot.EnableHitbox(entity:EntIndex(), 2, false)
RageBot.EnableHitbox(entity:EntIndex(), 3, false)
RageBot.EnableHitbox(entity:EntIndex(), 4, false)
RageBot.EnableHitbox(entity:EntIndex(), 5, false)
RageBot.EnableHitbox(entity:EntIndex(), 6, false)
end
end
if (armor <= 0) then
if (c_menu_baim:Get(16)) then
RageBot.EnableHitbox(entity:EntIndex(), 0, false)
RageBot.EnableHitbox(entity:EntIndex(), 1, false)
RageBot.SetHitboxPriority(entity:EntIndex(), 2, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 3, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 4, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 5, 100)
RageBot.SetHitboxPriority(entity:EntIndex(), 6, 100)
end
end
end
end
--peeking:handle()
end
local function firstpersonhe()
local me = EntityList.GetClientEntity(EngineClient.GetLocalPlayer()):GetPlayer()
if not EngineClient.IsConnected() then
return
end
if not EngineClient.IsInGame() then
return
end
local tp_ref = Menu.FindVar("Visuals", "View", "Thirdperson", "Enable Thirdperson")
local weap = me:GetActiveWeapon()
if weap == nil then
return
end
if weap:IsGrenade() then
tp_ref:Set(false)
end
end
local function draw()
local new_state = c_menu_watermarker:Get()
water_combo_border:SetVisible(new_state)
local new_state_indicators = c_menu_indicators:Get() and (c_menu_indicators_type:Get() == 1 or c_menu_indicators_type:Get() == 2)
c_menu_indicators_accent_type:SetVisible(new_state_indicators)
c_menu_indicators_accent_color:SetVisible(new_state_indicators)
c_menu_indicators_outline:SetVisible(new_state_indicators)
c_menu_indicators_type:SetVisible(new_state_indicators)
c_menu_indicators_text_type:SetVisible(new_state_indicators)
local new_state_indic = c_menu_indicators:Get()
c_menu_indicators_outline:SetVisible(new_state_indic)
c_menu_indicators_type:SetVisible(new_state_indic)
local new_state_indicators2 = c_menu_indicators:Get() and c_menu_indicators_type:Get() == 2
c_menu_indicators_accent_type:SetVisible(new_state_indicators2)
local new_state_indicators2_grad = c_menu_indicators:Get() and c_menu_indicators_accent_type:Get() == 1
c_menu_indicators_accent_color_gradient:SetVisible(new_state_indicators2_grad)
local new_state_switch_aa = switch_aa:Get()
switch_type:SetVisible(new_state_switch_aa)
switch_aa_active:SetVisible(new_state_switch_aa)
if (c_menu_watermarker:Get()) then
watermarker()
end
if (c_menu_indicators:Get()) then
indicators()
end
if (SkeetScope:Get()) then
no_scope_fade()
else
no_render_scope_any()
end
if (spread_crosshair:Get()) then
spread_crosshair_static()
end
if (knife_left:Get()) then
hand_knife()
end
if (switch_aa:Get()) then
side_arrow()
end
disable_panorama_blur()
fps_boost()
desync_indic()
extra_windows()
if (c_menu_indicators_type:Get() == 0 and c_menu_indicators:Get()) then
asd()
end
end
Cheat.RegisterCallback("draw", draw)
local function draw_fov(cmd)
local new_state5 = switch:Get()
fov_scoped:SetVisible(new_state5)
fov_notscoped:SetVisible(new_state5)
if (switch:Get()) then
force_viewmodel()
end
if (c_menu_doubletap_main_gun:Get()) then
main_gun()
end
if (c_menu_doubletap_second_gun:Get()) then
second_dt_gun()
end
if (c_menu_doubletap_body_prefer_charged:Get()) then
dt_body_charged(cmd)
end
if (c_menu_grenade:Get()) then
firstpersonhe()
end
end
Cheat.RegisterCallback("createmove",draw_fov)
local function super_events(event)
kill_say_function(event)
custom_hitsound(event)
ext_backtrack()
end
Cheat.RegisterCallback("events",super_events)
local function ragebot_hc(UserCmd)
local Pitch = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Pitch")
local YawBase = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Base")
local YawAdd = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Add")
local YawMod = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Yaw Modifier")
local ModDeg = Menu.FindVar("Aimbot", "Anti Aim", "Main", "Modifier Degree")
local LeftLimit = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Left Limit")
local RightLimit = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Right Limit")
local FakeOptions = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Fake Options")
local LBYMode = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "LBY Mode")
local freestandDesync = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Freestanding Desync")
local DesyncOnShot = Menu.FindVar("Aimbot", "Anti Aim", "Fake Angle", "Desync On Shot")
local connected, lp = EngineClient.IsConnected(), EngineClient.GetLocalPlayer()
if not connected or not lp then return end
local new_state_knife_tp = c_menu_doubletap_main_gun:Get()
c_menu_doubletap_teleport_knife:SetVisible(new_state_knife_tp)
local new_state_legit_aa = legit_aa:Get()
legit_aa_type:SetVisible(new_state_legit_aa)
local new_state_dt_knife = c_menu_doubletap_main_gun:Get()
c_menu_doubletap_teleport_knife:SetVisible(new_state_dt_knife)
c_menu_doubletap_second_gun:SetVisible(new_state_dt_knife)
local new_state_body_lean = c_menu_custom_body_lean:Get()
c_menu_body_lean_right:SetVisible(new_state_body_lean)
c_menu_body_lean_left:SetVisible(new_state_body_lean)
local new_state_dtt = c_menu_doubletap_dt_speed:Get()
c_menu_damage_dt_speed_ticks:SetVisible(new_state_dtt)
c_menu_damage_dt_speed_ticks_cmd:SetVisible(new_state_dtt)
local new_State_fl = c_menu_custom_fakelag:Get() and c_menu_fakelag_modes:Get() == 2
c_menu_fakelag_choke_min:SetVisible(new_State_fl)
local new_State_fl2 = c_menu_custom_fakelag:Get() and c_menu_fakelag_modes:Get() == 0 or c_menu_fakelag_modes:Get() == 1
c_menu_fakelag_fluctuate_timing:SetVisible(new_State_fl2)
if antiaimpresets:Get() == 0 then
if savedAntiAims[12] == 0 then
savedAntiAims[1] = Pitch:Get()
savedAntiAims[2] = YawBase:Get()
savedAntiAims[3] = YawAdd:Get()
savedAntiAims[4] = YawMod:Get()
savedAntiAims[5] = LeftLimit:Get()
savedAntiAims[6] = RightLimit:Get()
savedAntiAims[7] = FakeOptions:Get()
savedAntiAims[8] = LBYMode:Get()
savedAntiAims[9] = freestandDesync:Get()
savedAntiAims[10] = DesyncOnShot:Get()
savedAntiAims[11] = ModDeg:Get()
elseif savedAntiAims[12] == 2 then
Pitch:Set(savedAntiAims[1])
YawBase:Set(savedAntiAims[2])
YawAdd:Set(savedAntiAims[3])
YawMod:Set(savedAntiAims[4])
LeftLimit:Set(savedAntiAims[5])
RightLimit:Set(savedAntiAims[6])
FakeOptions:Set(savedAntiAims[7])
LBYMode:Set(savedAntiAims[8])
freestandDesync:Set(savedAntiAims[9])
DesyncOnShot:Set(savedAntiAims[10])
ModDeg:Set(savedAntiAims[11])
savedAntiAims[12] = 0
end
set = false
settwo = false
setthree = false
setfour = false
elseif antiaimpresets:Get() == 1 then
if set == false then
Pitch:Set(1)
YawBase:Set(1)
YawAdd:Set(7)
YawMod:Set(2)
LeftLimit:Set(51)
RightLimit:Set(38)
FakeOptions:Set(8)
LBYMode:Set(1)
freestandDesync:Set(1)
DesyncOnShot:Set(2)
ModDeg:Set(-9)
set = true
settwo = false
setthree = false
setfour = false
savedAntiAims[12] = 2
end
elseif antiaimpresets:Get() == 2 then
if settwo == false then
Pitch:Set(1)
YawBase:Set(1)
YawAdd:Set(0)
YawMod:Set(2)
LeftLimit:Set(40)
RightLimit:Set(30)
FakeOptions:Set(10)
LBYMode:Set(1)
freestandDesync:Set(1)
DesyncOnShot:Set(3)
ModDeg:Set(7)
set = false
settwo = true
setthree = false
setfour = false
savedAntiAims[12] = 2
end
elseif antiaimpresets:Get() == 3 then
if setthree == false then
Pitch:Set(1)
YawBase:Set(1)
YawAdd:Set(0)
YawMod:Set(0)
LeftLimit:Set(60)
RightLimit:Set(49)
FakeOptions:Set(10)
LBYMode:Set(1)
freestandDesync:Set(1)
DesyncOnShot:Set(3)
set = false
settwo = false
setthree = true
setfour = false
savedAntiAims[12] = 2
end
elseif antiaimpresets:Get() == 4 then
if setfour == false then
Pitch:Set(1)
YawBase:Set(1)
YawAdd:Set(0)
YawMod:Set(0)
LeftLimit:Set(57)
RightLimit:Set(43)
FakeOptions:Set(8)
LBYMode:Set(1)
freestandDesync:Set(1)
DesyncOnShot:Set(0)
ModDeg:Set(0)
set = false
settwo = false
setthree = false
setfour = true
savedAntiAims[12] = 2
end
end
dt_correction()
low_delta_slowwalk()
if (edge_yaw:Get()) then
edge_yaw_menu(UserCmd)
end
force_teleport_ss()
lby_offset_func()
if (c_menu_custom_body_lean:Get()) then
body_lean()
end
if (leg_break:Get()) then
leg_fucker()
end
if (legit_aa:Get()) then
legit_anti_aim(UserCmd)
end
dt_hitchance()
if (c_menu_doubletap_dt_speed:Get()) then
custom_dt_speed()
end
dt_type()
fast_recharge()
if (c_menu_doubletap_fast_dt:Get()) then
fast_dt()
end
if (c_menu_doubletap_teleport_knife:Get()) then
force_teleport_knife()
end
if (c_menu_custom_fakelag:Get()) then
fake_lag()
if (c_menu_fakelag_modes:Get() == 2) then
jitter_fakelag()
end
end
--freestand_opt()
leg_animations()
dodge_jitter()
end
Cheat.RegisterCallback("pre_prediction", ragebot_hc)
local function event_logs(shot)
if (c_menu_logs_shot:Get(0)) then
logs_fire(shot)
end
end
Cheat.RegisterCallback("ragebot_shot", event_logs)
local function event_logs1(shot)
if (c_menu_logs_shot:Get(1)) then
logs_miss(shot)
end
if c_menu_logs_shot:Get(2) then
if shot.reason > 0 and shot.reason < 5 then
printHitInfo(shot)
return
end
local entity = EntityList.GetClientEntity(shot.target_index)
local player = entity:GetPlayer()
local hitbox = ""
if((shot.hitgroup > -1 and shot.hitgroup < 8) or shot.hitgroup == 10) then
hitbox = hitgroups[shot.hitgroup]
else
hitbox = "unknown"
end
PrintInChat("\x01 \x01[\x01paranoia\x05 yaw\x01] hurt ".. player:GetName() .." in the ".. hitbox .." for ".. shot.damage .. "hp")
end
end
Cheat.RegisterCallback("registered_shot", event_logs1)
local function post_pred(UserCmd)
aimbot(UserCmd)
end
Cheat.RegisterCallback("prediction", post_pred)
не фикшеные вроде удаляют с маркета тамскрипт, мне братанчик скинул сурс, говорит он 30 евро стоит на маркете, но я не нашел его там
кстати, туда экстенд десинк тяжело будет добавить?
а чем она говно то, мне ради аа ток и всефайлом
не могу понять нахуя тебе эта луа если говно ебаное, там полный трешак
были бы на нее бабки, я бы и не просил ее фиксить, так вот, в нее екстенд как то добавить можно?а то я затупокПосмотреть вложение 187332 и всё, а вообще самому можно охуенные аа сделать
1 строкабыли бы на нее бабки, я бы и не просил ее фиксить, так вот, в нее екстенд как то добавить можно?а то я затупок
Проект предоставляет различный материал, относящийся к сфере киберспорта, программирования, ПО для игр, а также позволяет его участникам общаться на многие другие темы. Почта для жалоб: admin@yougame.biz