LUA скрипт [aimware.net] aetherius

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

yes, shit LUA but still.

code_language.lua:
local setConVar = function(name, value, unrestrict) if client.GetConVar(name) ~= value then client.SetConVar(name, value, unrestrict) end end
local gv = gui.GetValue
local sv = function(name, value) local val = gv(name) if val == true or 1 then val = 1 elseif val == false or 0 then val = 0 elseif val == "On" then val = 1 elseif val == "Off" then val = 0 end if val ~= value then gui.SetValue(name, value) return end end
local screen_x, screen_y = draw.GetScreenSize()

local fonts = {
    indicator_text = draw.CreateFont("Verdana", 12, 0),
    indicator_glow = draw.CreateFont("Verdana", 12, 0)
}

local aetherius = gui.Tab(gui.Reference("Ragebot"), "aetherius", "aetherius")

local box = {
    exploits    = gui.Groupbox(aetherius, "exploits", 15,  15, 130, 200),
    antiaim     = gui.Groupbox(aetherius, "antiaim",      160, 15, 200, 200),
    visuals     = gui.Groupbox(aetherius, "visuals",  375, 15, 249, 200)
}

local priority_doubletap = gui.Checkbox(box.exploits, "exploit.doubletap.priority", "DT priority", true)                                   priority_doubletap:SetDescription("prioritise DT over HS")
local toggle_doubletap   = gui.Checkbox(box.exploits, "exploit.doubletap",          "DT",          false)                                  toggle_doubletap:SetDescription("toggle doubletap")
local toggle_hideshots   = gui.Checkbox(box.exploits, "exploit.hideshots",          "HS",          false)                                  toggle_hideshots:SetDescription("toggle hideshots")
local toggle_fakeduck    = gui.Keybox  (box.exploits, "exploit.fakeduck",           "FD",          gv("rbot.antiaim.extra.fakecrouchkey")) toggle_fakeduck:SetDescription("toggle fakeduck")


local toggle_freestand   = gui.Checkbox(box.antiaim, "antiaim.freestand",           "freestand",           false)   toggle_freestand:SetDescription("toggle freestand antiaim")
local toggle_expjitter   = gui.Checkbox(box.antiaim, "antiaim.jitter.experimental", "experimental jitter", false)   toggle_expjitter:SetDescription("toggle experimental jitter")


local toggle_indicator   = gui.Checkbox(box.visuals, "visuals.indicators",          "indicators",  true)                                   toggle_indicator:SetDescription("enable dt/hs/fd/fs/dmg indicator")
local select_indicator   = gui.Multibox(box.visuals, "show indicators")
local list_indicators = {
    indicator_text       = gui.Checkbox(select_indicator, "visuals.indicators.text"     , "text", true),
    indicator_doubletap  = gui.Checkbox(select_indicator, "visuals.indicators.doubletap", "DT"  , true),
    indicator_hideshots  = gui.Checkbox(select_indicator, "visuals.indicators.hideshots", "HS"  , true),
    indicator_fakeduck   = gui.Checkbox(select_indicator, "visuals.indicators.fakeduck" ,  "FD" , true),
    indicator_mindamage  = gui.Checkbox(select_indicator, "visuals.indicators.mindamage", "DMG" , true),
    indicator_freestand  = gui.Checkbox(select_indicator, "visuals.indicators.freestand", "FS"  , true)
}
local list_indicators_colors = {
    gui.ColorPicker(list_indicators.indicator_text,       "visuals.indicators.text"     , "text", 255, 255, 255, 255),
    gui.ColorPicker(list_indicators.indicator_doubletap,  "visuals.indicators.doubletap", "DT"  , 255, 255, 255, 255),
    gui.ColorPicker(list_indicators.indicator_hideshots,  "visuals.indicators.hideshots", "HS"  , 255, 255, 255, 255),
    gui.ColorPicker(list_indicators.indicator_fakeduck,   "visuals.indicators.fakeduck" ,  "FD" , 255, 255, 255, 255),
    gui.ColorPicker(list_indicators.indicator_mindamage,  "visuals.indicators.mindamage", "DMG" , 255, 255, 255, 255),
    gui.ColorPicker(list_indicators.indicator_freestand,  "visuals.indicators.freestand", "FS"  , 255, 255, 255, 255)
}
local list_indicators_value = {
    ["doubletap"] = 2,
    ["hideshots"] = 3,
    ["fakeduck"]  = 4,
    ["mindamage"] = 5,
    ["freestand"] = 6
}
local slider_aspectratio = gui.Slider(box.visuals, "visuals.aspectratio", "aspect ratio", screen_x/screen_y, 0.5, 3, 0.00001)
local toggle_unsafe      = gui.Checkbox(box.visuals, "visuals.unsafe", "allow unsafe settings", false)
local viewmodel          = gui.Multibox(box.visuals, "viewmodel settings")
local viewmodel_settings = {
    gui.Slider(viewmodel, "visuals.viewmodel.x", "view x", 0, -20, 20, 0.1)
}



local function exploits()

    if priority_doubletap:GetValue() then
        if toggle_doubletap:GetValue() and toggle_hideshots:GetValue() then
            toggle_hideshots:SetValue(false)
        end
    else
        if toggle_doubletap:GetValue() and toggle_hideshots:GetValue() then
            toggle_doubletap:SetValue(false)
        end
    end
   
    for _, value in pairs({"shared","asniper","hpistol","knife","lmg","pistol","rifle","scout","shotgun","smg","sniper","zeus"}) do
        sv("rbot.accuracy.attack." .. value .. ".fire", toggle_doubletap:GetValue() and "Defensive Warp Fire" or toggle_hideshots:GetValue() and "Shift Fire" or "Off")
    end

    sv("rbot.antiaim.extra.fakecrouchkey", toggle_fakeduck:GetValue())

end



local function qol()

end



local function visuals()

    local function indicators()

        if not gv("rbot.antiaim.extra.fakecrouchkey") then
            return
        end

        local show = {  }

        if gv("rbot.antiaim.extra.fakecrouchkey") == nil or gv("rbot.antiaim.extra.fakecrouchkey") == 0 then
            sv("rbot.antiaim.extra.fakecrouchkey", 145)
        end

        if input.IsButtonDown(gv("rbot.antiaim.extra.fakecrouchkey")) then
            table.insert(show, "fakeduck")
        else
            if toggle_doubletap:GetValue() then
                table.insert(show, "doubletap")
            end

            if toggle_hideshots:GetValue() then
                table.insert(show, "hideshots")
            end
        end

        if gv("rbot.aetherius.antiaim.freestand") then
            table.insert(show, "freestand")
        end

        draw.SetFont(fonts.indicator_text)

        local _abcd, _efgh, _ijkl, a = list_indicators_colors[1]:GetValue()

        draw.Color(0, 0, 0, a * 0.75)
        draw.TextShadow(screen_x/2 - draw.GetTextSize("aetherius.lua")/2-1, screen_y/2 + 20-1, "aetherius.lua")
        draw.Color(list_indicators_colors[1]:GetValue())
        draw.TextShadow(screen_x/2 - draw.GetTextSize("aetherius.lua")/2, screen_y/2 + 20, "aetherius.lua")

        for i, value in pairs(show) do
            local r, g, b, a = list_indicators_colors[list_indicators_value[value]]:GetValue()
            draw.Color(0, 0, 0, a * 0.75)
            draw.TextShadow(screen_x/2 - draw.GetTextSize(value)/2-1, screen_y/2+40+(i-1)*15-1, value)
            draw.Color(r, g, b, a)
            draw.TextShadow(screen_x/2 - draw.GetTextSize(value)/2, screen_y/2+40+(i-1)*15, value)
        end

    end

    if toggle_indicator:GetValue() then
        indicators()
    end

    setConVar("r_aspectratio", slider_aspectratio:GetValue(), true)

end



local function freestand()

    sv("rbot.antiaim.condition.autodir.edges", toggle_freestand:GetValue() and 1 or 0)

end



local function main()

    if not gv("rbot.master") then
        return
    end

    screen_x, screen_y = draw.GetScreenSize()

    freestand()
    exploits()
    qol()
    visuals()

end



callbacks.Register("Draw", main)

callbacks.Register("CreateMove", function()

    if toggle_expjitter:GetValue() then
        if math.random(1, 2) == 1 then
            sv("rbot.antiaim.base.rotation", gv("rbot.antiaim.base.rotation") * -1)
        end
    end

end)
 
Сверху Снизу