LUA cool under crosshair indicator

Статус
В этой теме нельзя размещать новые ответы.
  • 2
  • 3
Решил запостить индикатор ведь многим New users в неверлузе при making new luas могут понадобиться индикаторы
Код:
--INDICATORS
local dt_text    = "Soon on the market!"
local script_name = "The best lua"
local script_name_color = menu.SwitchColor("Settings", "Text 1 Color", false, Color.new(1.0, 1.0, 1.0, 1.0))
local dt_text_color = menu.SwitchColor("Settings", "Text 2 Color", false, Color.new(1.0, 1.0, 1.0, 1.0))

local color1 = script_name_color:GetColor()
local color2 = dt_text_color:GetColor()

local screen = g_EngineClient:GetScreenSize()
local dt_text_size = g_Render:CalcTextSize(dt_text, 12)
local script_name_text_size = g_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)+20)
local pos_name = Vector2.new((screen.x/2)-(script_name_text_size.x/2),screen.y/2+(script_name_text_size.y/2))

local function draw()
    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

    
    --Text Shit
    g_Render:Text(dt_text, pos_mid, color2, 12)
    g_Render:Text(script_name, pos_name, color1, 12)

    --Desync line
    g_Render:GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+21), Vector2.new(screen.x/2+(math.abs(desync_delta*58/100)), screen.y/2+23), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0))
    g_Render:GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+21), Vector2.new(screen.x/2+(-math.abs(desync_delta*58/100)), screen.y/2+23), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0))
end

cheat.RegisterCallback("draw", draw)
 
  • 469
  • 128
Решил запостить индикатор ведь многим New users в неверлузе при making new luas могут понадобиться индикаторы
Код:
--INDICATORS
local dt_text    = "Soon on the market!"
local script_name = "The best lua"
local script_name_color = menu.SwitchColor("Settings", "Text 1 Color", false, Color.new(1.0, 1.0, 1.0, 1.0))
local dt_text_color = menu.SwitchColor("Settings", "Text 2 Color", false, Color.new(1.0, 1.0, 1.0, 1.0))

local color1 = script_name_color:GetColor()
local color2 = dt_text_color:GetColor()

local screen = g_EngineClient:GetScreenSize()
local dt_text_size = g_Render:CalcTextSize(dt_text, 12)
local script_name_text_size = g_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)+20)
local pos_name = Vector2.new((screen.x/2)-(script_name_text_size.x/2),screen.y/2+(script_name_text_size.y/2))

local function draw()
    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

   
    --Text Shit
    g_Render:Text(dt_text, pos_mid, color2, 12)
    g_Render:Text(script_name, pos_name, color1, 12)

    --Desync line
    g_Render:GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+21), Vector2.new(screen.x/2+(math.abs(desync_delta*58/100)), screen.y/2+23), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0))
    g_Render:GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+21), Vector2.new(screen.x/2+(-math.abs(desync_delta*58/100)), screen.y/2+23), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0))
end

cheat.RegisterCallback("draw", draw)
SS?
 
  • 247
  • 23
Решил запостить индикатор ведь многим New users в неверлузе при making new luas могут понадобиться индикаторы
Код:
--INDICATORS
local dt_text    = "Soon on the market!"
local script_name = "The best lua"
local script_name_color = menu.SwitchColor("Settings", "Text 1 Color", false, Color.new(1.0, 1.0, 1.0, 1.0))
local dt_text_color = menu.SwitchColor("Settings", "Text 2 Color", false, Color.new(1.0, 1.0, 1.0, 1.0))

local color1 = script_name_color:GetColor()
local color2 = dt_text_color:GetColor()

local screen = g_EngineClient:GetScreenSize()
local dt_text_size = g_Render:CalcTextSize(dt_text, 12)
local script_name_text_size = g_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)+20)
local pos_name = Vector2.new((screen.x/2)-(script_name_text_size.x/2),screen.y/2+(script_name_text_size.y/2))

local function draw()
    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

   
    --Text Shit
    g_Render:Text(dt_text, pos_mid, color2, 12)
    g_Render:Text(script_name, pos_name, color1, 12)

    --Desync line
    g_Render:GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+21), Vector2.new(screen.x/2+(math.abs(desync_delta*58/100)), screen.y/2+23), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0))
    g_Render:GradientBoxFilled(Vector2.new(screen.x/2, screen.y/2+21), Vector2.new(screen.x/2+(-math.abs(desync_delta*58/100)), screen.y/2+23), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0), Color.new(1, 1, 1, 1), Color.new(1, 1, 1, 0))
end

cheat.RegisterCallback("draw", draw)
ss?
 
Статус
В этой теме нельзя размещать новые ответы.
Активность
Пока что здесь никого нет
Сверху Снизу