local script_name_color = menu.SwitchColor("Settings", "Holo Color", false, Color.new(1.0, 1.0, 1.0, 1.0))
local color = script_name_color:GetColor()
local function get_desync()
local RealYaw =AntiAim.GetCurrentRealRotation()
local FakeYaw = AntiAim.GetFakeRotation()
local delta = math.min(math.abs(RealYaw - FakeYaw) / 2, 58)
return delta
end
local function lerp(a, b, percentage)
return a + (b - a) * percentage
end
local font_size = 11
local font2 = g_Render:InitFont("Verdana", font_size )
local font3 = g_Render:InitFont("Verdana", font_size )
local anim_y_os = 0
local anim_line = 0
local anim_width_sp = 0
local default_height = 65
local default_width = 170
local animx = 0
local animy = 0
local anim_alpha_stand = 0
local function on_draw()
local in_game = EngineClient.IsInGame()
if in_game == false then
return 1
end
local real_rotation = antiaim.GetCurrentRealRotation()
local desync_rotation = antiaim.GetFakeRotation()
local max_desync_delta = antiaim.GetMaxDesyncDelta()
local min_desync_delta = antiaim.GetMinDesyncDelta()
local desync_delta = real_rotation - desync_rotation
if (desync_delta > max_desync_delta) then
desync_delta = max_desync_delta
elseif (desync_delta < min_desync_delta) then
desync_delta = min_desync_delta
end
local lc_pl = g_EntityList:GetClientEntity(g_EngineClient:GetLocalPlayer()):GetPlayer()
local pos = lc_pl:GetRenderOrigin()
pos.z = pos.z + 64
local screen_pos = Render.WorldToScreen(pos)
local screen_size = EngineClient.GetScreenSize()
screen_size.x = screen_size.x/2
screen_size.y = screen_size.y/2
local RealYaw = AntiAim.GetCurrentRealRotation()
local FakeYaw = AntiAim.GetFakeRotation()
local delta = math.min(math.abs(RealYaw - FakeYaw) / 2, 58)
delta = delta /2
if g_Config:FindVar("Visuals", "View", "Thirdperson", "Enable Thirdperson"):GetBool() == true then
Render.Line(Vector2.new(screen_pos.x, screen_pos.y), Vector2.new(screen_pos.x + 300, screen_pos.y - 70), Color.new(1.0, 1.0, 1.0, 1.0))
end
Render.Circle(Vector2.new(screen_size.x, screen_size.y), 13.0, 40, Color.new(1 ,1 , 1), 4.0)
Render.Circle(Vector2.new(screen_size.x, screen_size.y), 13.0, 40, Color.new(0.98, 0.5, 0.45, 1), 4.0, 90 - delta*3, 90 + delta*3)
if g_Config:FindVar("Visuals", "View", "Thirdperson", "Enable Thirdperson"):GetBool() == true then
Render.BoxFilled(Vector2.new(screen_pos.x + 300, screen_pos.y - 70), Vector2.new(screen_pos.x + 470, screen_pos.y - 135), Color.new(0.06, 0.06, 0.06, 0.4))
Render.BoxFilled(Vector2.new(screen_pos.x + 300, screen_pos.y - 135), Vector2.new(screen_pos.x + 470, screen_pos.y - 133), Color.new(0.98, 0.5, 0.45, 1))
Render.Text("ANTI-AIMBOT DEBUG", Vector2.new(screen_pos.x + 307, screen_pos.y - 130), Color.new(1.0, 1.0, 1.0, 1.0), font_size , font2)
if desync_delta < 5 then desync_delta = 5 end
Render.GradientBoxFilled(Vector2.new(screen_pos.x + 316, screen_pos.y - 110 - 4), Vector2.new(screen_pos.x + 316 + (math.abs(desync_delta/3 *58/100)), screen_pos.y - 85 - 4 - 9), color.new(color.r, color.g, color.b, 255), color.new(color.r, color.g, color.b, 0), color.new(color.r, color.g, color.b, 255), color.new(color.r, color.g, color.b, 0))
Render.GradientBoxFilled(Vector2.new(screen_pos.x + 316, screen_pos.y - 110 - 4), Vector2.new(screen_pos.x + 316 +(-math.abs(desync_delta/3 *58/100)), screen_pos.y - 85 - 4 - 9), color.new(color.r, color.g, color.b, 255), color.new(color.r, color.g, color.b, 0), color.new(color.r, color.g, color.b, 255), color.new(color.r, color.g, color.b, 0))
Render.Text("FAKE ("..math.floor(desync_delta).."°) ", Vector2.new(screen_pos.x + 337, screen_pos.y - 112), Color.new(1.0, 1.0, 1.0, 1.0), 12, font3)
Render.Text("SP : ", Vector2.new(screen_pos.x + 310, screen_pos.y - 95), Color.new(1.0, 1.0, 1.0, 1.0), 12, font2)
local pidriha = 362 - desync_delta/2.5
Render.BoxFilled(Vector2.new(screen_pos.x + 328, screen_pos.y - 93), Vector2.new(screen_pos.x + 395, screen_pos.y - 84), Color.new(0, 0, 0, 0.3))
Render.BoxFilled(Vector2.new(screen_pos.x + (pidriha - 4), screen_pos.y - 92), Vector2.new(screen_pos.x + (pidriha + 4), screen_pos.y - 85), Color.new(0.98, 0.5, 0.45, 0.6))
Render.Text("OSAA:", Vector2.new(screen_pos.x + 420, screen_pos.y - 87), Color.new(1.0, 1.0, 1.0, 1.0), 12, font2)
if g_Config:FindVar("Aimbot", "Ragebot", "Exploits", "Double Tap"):GetBool() == true then
Render.Text("ON", Vector2.new(screen_pos.x + 447, screen_pos.y - 87), Color.new(0, 1.0, 0, 1.0), 12, font2)
else
Render.Text("OFF", Vector2.new(screen_pos.x + 447, screen_pos.y - 87), Color.new(1.0, 0, 0, 1.0), 12, font2)
end
local chrg = Exploits.GetCharge()
if chrg == 1 then
Render.Text("[DT Ready]", Vector2.new(screen_pos.x + 400, screen_pos.y - 112), Color.new(1.0, 1.0, 1.0, 1.0), 12, font3)
else
Render.Text("[DT Recharge]", Vector2.new(screen_pos.x + 395, screen_pos.y - 112), Color.new(1.0, 1.0, 1.0, 1.0), 12, font3)
end
end
-- Render.Text("ANTI-AIMBOT DEBUG", Vector2.new(animx + 107 + add_x, animy - 143 + add_y), Color.new(1.0, 1.0, 1.0, anim_alpha_stand), 5, font2, false)
end
cheat.RegisterCallback("draw", on_draw)