LUA скрипт [PDC] Anti-aim / Мега рандом

🍫
Участник
Статус
Оффлайн
Регистрация
13 Ноя 2020
Сообщения
1,230
Реакции[?]
181
Поинты[?]
71K
Рандомит почти все в антиаимах:
code_language.lua:
local yaw = ui.get("Rage", "Anti-aim", "General", "Yaw additive")
local pitch = ui.get("Rage", "Anti-aim", "General", "Pitch")
local cspitch = ui.get("Rage", "Anti-aim", "General", "Custom pitch")
local jyaw = ui.get("Rage", "Anti-aim", "General", "Yaw jitter range")
local jyawtype = ui.get("Rage", "Anti-aim", "General", "Yaw jitter type")
local desy = ui.get("Rage", "Anti-aim", "General", "Body yaw limit")
local fl = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag amount")
local exfl = ui.get("Rage", "Exploits", "General", "Exploit lag limit")
local fltype = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag type")

callbacks.register("paint", function()
    local current_stage = math.random(-9, 9)
    local current_st1ge = math.random(-9, 9)
    local current_st2ge = math.random(-9, 9)
    local current_stage1 = math.random(0, 6)
    local current_stage2 = math.random(0, 7)
    local current_stage3 = math.random(0, 2)
    local current_stage4 = math.random(0, 3)

    if current_st1ge == - 9 then
        cspitch:set(-90)
    elseif current_st1ge == -8 then
        cspitch:set(-80)
    elseif current_st1ge == -7 then
        cspitch:set(-70)
    elseif current_st1ge == -6 then
        cspitch:set(-60)
    elseif current_st1ge == -5 then
        cspitch:set(-50)
    elseif current_st1ge == -4 then
        cspitch:set(-40)
    elseif current_st1ge == -3 then
        cspitch:set(-30)
    elseif current_st1ge == -2 then
        cspitch:set(-20)
    elseif current_st1ge == -1 then
        cspitch:set(-10)
    elseif current_st1ge == 0 then
        cspitch:set(0)
    elseif current_st1ge == 1 then
        cspitch:set(10)
    elseif current_st1ge == 2 then
        cspitch:set(20)
    elseif current_st1ge == 3 then
        cspitch:set(30)
    elseif current_st1ge == 4 then
        cspitch:set(40)
    elseif current_st1ge == 5 then
        cspitch:set(50)
    elseif current_st1ge == 6 then
        cspitch:set(60)
    elseif current_st1ge == 7 then
        cspitch:set(70)
    elseif current_st1ge == 8 then
        cspitch:set(80)
    elseif current_st1ge == 9 then
        cspitch:set(90)
    end

    if current_stage4 == 0 then
        pitch:set(0)
    elseif current_stage4 == 1 then
        pitch:set(1)
    elseif current_stage4 == 2 then
        pitch:set(2)
    elseif current_stage4 == 3 then
        pitch:set(3)
    elseif current_stage4 == 4 then
        pitch:set(4)
    end

    if current_stage1 == 0 then
        exfl:set(0)
    elseif current_stage1 == 1 then
        exfl:set(1)
    elseif current_stage1 == 2 then
        exfl:set(2)
    elseif current_stage1 == 3 then
        exfl:set(3)
    elseif current_stage1 == 4 then
        exfl:set(4)
    elseif current_stage1 == 5 then
        exfl:set(5)
    elseif current_stage1 == 6 then
        exfl:set(6)
    end

    if current_stage3 == 0 then
        jyawtype:set(0)
    elseif current_stage3 == 1 then
        jyawtype:set(1)
    elseif current_stage3 == 2 then
        jyawtype:set(2)
    end

    if current_stage3 == 0 then
        fltype:set(0)
    elseif current_stage3 == 1 then
        fltype:set(1)
    elseif current_stage3 == 2 then
        fltype:set(2)
    end

    if current_st2ge == - 9 then
        yaw:set(-180)
    elseif current_st2ge == -8 then
        yaw:set(-160)
    elseif current_st2ge == -7 then
        yaw:set(-140)
    elseif current_st2ge == -6 then
        yaw:set(-120)
    elseif current_st2ge == -5 then
        yaw:set(-100)
    elseif current_st2ge == -4 then
        yaw:set(-80)
    elseif current_st2ge == -3 then
        yaw:set(-60)
    elseif current_st2ge == -2 then
        yaw:set(-40)
    elseif current_st2ge == -1 then
        yaw:set(-20)
    elseif current_st2ge == 0 then
        yaw:set(0)
    elseif current_st2ge == 1 then
        yaw:set(20)
    elseif current_st2ge == 2 then
        yaw:set(40)
    elseif current_st2ge == 3 then
        yaw:set(60)
    elseif current_st2ge == 4 then
        yaw:set(80)
    elseif current_st2ge == 5 then
        yaw:set(100)
    elseif current_st2ge == 6 then
        yaw:set(120)
    elseif current_st2ge == 7 then
        yaw:set(140)
    elseif current_st2ge == 8 then
        yaw:set(160)
    elseif current_st2ge == 9 then
        yaw:set(180)
    end


    if current_stage == - 9 then
        jyaw:set(-180)
    elseif current_stage == -8 then
        jyaw:set(-160)
    elseif current_stage == -7 then
        jyaw:set(-140)
    elseif current_stage == -6 then
        jyaw:set(-120)
    elseif current_stage == -5 then
        jyaw:set(-100)
    elseif current_stage == -4 then
        jyaw:set(-80)
    elseif current_stage == -3 then
        jyaw:set(-60)
    elseif current_stage == -2 then
        jyaw:set(-40)
    elseif current_stage == -1 then
        jyaw:set(-20)
    elseif current_stage == 0 then
        jyaw:set(0)
    elseif current_stage == 1 then
        jyaw:set(20)
    elseif current_stage == 2 then
        jyaw:set(40)
    elseif current_stage == 3 then
        jyaw:set(60)
    elseif current_stage == 4 then
        jyaw:set(80)
    elseif current_stage == 5 then
        jyaw:set(100)
    elseif current_stage == 6 then
        jyaw:set(120)
    elseif current_stage == 7 then
        jyaw:set(140)
    elseif current_stage == 8 then
        jyaw:set(160)
    elseif current_stage == 9 then
        jyaw:set(180)
    end


    if current_stage1 == 0 then
        desy:set(0)
    elseif current_stage1 == 1 then
        desy:set(10)
    elseif current_stage1 == 2 then
        desy:set(20)
    elseif current_stage1 == 3 then
        desy:set(30)
    elseif current_stage1 == 4 then
        desy:set(40)
    elseif current_stage1 == 5 then
        desy:set(50)
    elseif current_stage1 == 6 then
        desy:set(60)
    end


    if current_stage2 == 0 then
        fl:set(0)
    elseif current_stage2 == 1 then
        fl:set(2)
    elseif current_stage2 == 2 then
        fl:set(4)
    elseif current_stage2 == 3 then
        fl:set(6)
    elseif current_stage2 == 4 then
        fl:set(8)
    elseif current_stage2 == 5 then
        fl:set(10)
    elseif current_stage2 == 6 then
        fl:set(12)
    elseif current_stage2 == 7 then
        fl:set(14)
    end
end)
 

Вложения

  • 832 байт Просмотры: 27
Последнее редактирование:
Начинающий
Статус
Оффлайн
Регистрация
24 Май 2022
Сообщения
38
Реакции[?]
3
Поинты[?]
0
Рандомит почти все в антиаимах:
code_language.lua:
local yaw = ui.get("Rage", "Anti-aim", "General", "Yaw additive")
local pitch = ui.get("Rage", "Anti-aim", "General", "Pitch")
local cspitch = ui.get("Rage", "Anti-aim", "General", "Custom pitch")
local jyaw = ui.get("Rage", "Anti-aim", "General", "Yaw jitter range")
local jyawtype = ui.get("Rage", "Anti-aim", "General", "Yaw jitter type")
local desy = ui.get("Rage", "Anti-aim", "General", "Body yaw limit")
local fl = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag amount")
local exfl = ui.get("Rage", "Exploits", "General", "Exploit lag limit")
local fltype = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag type")

callbacks.register("paint", function()
    local current_stage = math.random(-9, 9)
    local current_st1ge = math.random(-9, 9)
    local current_st2ge = math.random(-9, 9)
    local current_stage1 = math.random(0, 6)
    local current_stage2 = math.random(0, 7)
    local current_stage3 = math.random(0, 2)
    local current_stage4 = math.random(0, 3)

    if current_st1ge == - 9 then
        cspitch:set(-90)
    elseif current_st1ge == -8 then
        cspitch:set(-80)
    elseif current_st1ge == -7 then
        cspitch:set(-70)
    elseif current_st1ge == -6 then
        cspitch:set(-60)
    elseif current_st1ge == -5 then
        cspitch:set(-50)
    elseif current_st1ge == -4 then
        cspitch:set(-40)
    elseif current_st1ge == -3 then
        cspitch:set(-30)
    elseif current_st1ge == -2 then
        cspitch:set(-20)
    elseif current_st1ge == -1 then
        cspitch:set(-10)
    elseif current_st1ge == 0 then
        cspitch:set(0)
    elseif current_st1ge == 1 then
        cspitch:set(10)
    elseif current_st1ge == 2 then
        cspitch:set(20)
    elseif current_st1ge == 3 then
        cspitch:set(30)
    elseif current_st1ge == 4 then
        cspitch:set(40)
    elseif current_st1ge == 5 then
        cspitch:set(50)
    elseif current_st1ge == 6 then
        cspitch:set(60)
    elseif current_st1ge == 7 then
        cspitch:set(70)
    elseif current_st1ge == 8 then
        cspitch:set(80)
    elseif current_st1ge == 9 then
        cspitch:set(90)
    end

    if current_stage4 == 0 then
        pitch:set(0)
    elseif current_stage4 == 1 then
        pitch:set(1)
    elseif current_stage4 == 2 then
        pitch:set(2)
    elseif current_stage4 == 3 then
        pitch:set(3)
    elseif current_stage4 == 4 then
        pitch:set(4)
    end

    if current_stage1 == 0 then
        exfl:set(0)
    elseif current_stage1 == 1 then
        exfl:set(1)
    elseif current_stage1 == 2 then
        exfl:set(2)
    elseif current_stage1 == 3 then
        exfl:set(3)
    elseif current_stage1 == 4 then
        exfl:set(4)
    elseif current_stage1 == 5 then
        exfl:set(5)
    elseif current_stage1 == 6 then
        exfl:set(6)
    end

    if current_stage3 == 0 then
        jyawtype:set(0)
    elseif current_stage3 == 1 then
        jyawtype:set(1)
    elseif current_stage3 == 2 then
        jyawtype:set(2)
    end

    if current_stage3 == 0 then
        fltype:set(0)
    elseif current_stage3 == 1 then
        fltype:set(1)
    elseif current_stage3 == 2 then
        fltype:set(2)
    end

    if current_st2ge == - 9 then
        yaw:set(-180)
    elseif current_st2ge == -8 then
        yaw:set(-160)
    elseif current_st2ge == -7 then
        yaw:set(-140)
    elseif current_st2ge == -6 then
        yaw:set(-120)
    elseif current_st2ge == -5 then
        yaw:set(-100)
    elseif current_st2ge == -4 then
        yaw:set(-80)
    elseif current_st2ge == -3 then
        yaw:set(-60)
    elseif current_st2ge == -2 then
        yaw:set(-40)
    elseif current_st2ge == -1 then
        yaw:set(-20)
    elseif current_st2ge == 0 then
        yaw:set(0)
    elseif current_st2ge == 1 then
        yaw:set(20)
    elseif current_st2ge == 2 then
        yaw:set(40)
    elseif current_st2ge == 3 then
        yaw:set(60)
    elseif current_st2ge == 4 then
        yaw:set(80)
    elseif current_st2ge == 5 then
        yaw:set(100)
    elseif current_st2ge == 6 then
        yaw:set(120)
    elseif current_st2ge == 7 then
        yaw:set(140)
    elseif current_st2ge == 8 then
        yaw:set(160)
    elseif current_st2ge == 9 then
        yaw:set(180)
    end


    if current_stage == - 9 then
        jyaw:set(-180)
    elseif current_stage == -8 then
        jyaw:set(-160)
    elseif current_stage == -7 then
        jyaw:set(-140)
    elseif current_stage == -6 then
        jyaw:set(-120)
    elseif current_stage == -5 then
        jyaw:set(-100)
    elseif current_stage == -4 then
        jyaw:set(-80)
    elseif current_stage == -3 then
        jyaw:set(-60)
    elseif current_stage == -2 then
        jyaw:set(-40)
    elseif current_stage == -1 then
        jyaw:set(-20)
    elseif current_stage == 0 then
        jyaw:set(0)
    elseif current_stage == 1 then
        jyaw:set(20)
    elseif current_stage == 2 then
        jyaw:set(40)
    elseif current_stage == 3 then
        jyaw:set(60)
    elseif current_stage == 4 then
        jyaw:set(80)
    elseif current_stage == 5 then
        jyaw:set(100)
    elseif current_stage == 6 then
        jyaw:set(120)
    elseif current_stage == 7 then
        jyaw:set(140)
    elseif current_stage == 8 then
        jyaw:set(160)
    elseif current_stage == 9 then
        jyaw:set(180)
    end


    if current_stage1 == 0 then
        desy:set(0)
    elseif current_stage1 == 1 then
        desy:set(10)
    elseif current_stage1 == 2 then
        desy:set(20)
    elseif current_stage1 == 3 then
        desy:set(30)
    elseif current_stage1 == 4 then
        desy:set(40)
    elseif current_stage1 == 5 then
        desy:set(50)
    elseif current_stage1 == 6 then
        desy:set(60)
    end


    if current_stage2 == 0 then
        fl:set(0)
    elseif current_stage2 == 1 then
        fl:set(2)
    elseif current_stage2 == 2 then
        fl:set(4)
    elseif current_stage2 == 3 then
        fl:set(6)
    elseif current_stage2 == 4 then
        fl:set(8)
    elseif current_stage2 == 5 then
        fl:set(10)
    elseif current_stage2 == 6 then
        fl:set(12)
    elseif current_stage2 == 7 then
        fl:set(14)
    end
end)
пиздец ты что сделал
пиздец ты что сделал
очень просто можно было бы улучшить код... тем что ты сделал, что-то типо стейтов ничего не поменяется.. math.random(-90,90) заменит твои 60 строк
 
🍫
Участник
Статус
Оффлайн
Регистрация
13 Ноя 2020
Сообщения
1,230
Реакции[?]
181
Поинты[?]
71K
пиздец ты что сделал

очень просто можно было бы улучшить код... тем что ты сделал, что-то типо стейтов ничего не поменяется.. math.random(-90,90) заменит твои 60 строк
Оно и так на рандоме…Screenshot_2023-01-15-17-29-54-91_21da60175e70af211acc4f26191b7a77.jpg
 
Участник
Статус
Оффлайн
Регистрация
15 Янв 2021
Сообщения
492
Реакции[?]
289
Поинты[?]
79K
лучше не смотреть а то глаза вытекут
Ну так сделал бы нормально...Делов то..

code_language.lua:
local yaw = ui.get("Rage", "Anti-aim", "General", "Yaw additive")
local pitch = ui.get("Rage", "Anti-aim", "General", "Pitch")
local cspitch = ui.get("Rage", "Anti-aim", "General", "Custom pitch")
local jyaw = ui.get("Rage", "Anti-aim", "General", "Yaw jitter range")
local jyawtype = ui.get("Rage", "Anti-aim", "General", "Yaw jitter type")
local desy = ui.get("Rage", "Anti-aim", "General", "Body yaw limit")
local fl = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag amount")
local exfl = ui.get("Rage", "Exploits", "General", "Exploit lag limit")
local fltype = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag type")

callbacks.register("paint", function()
    local current_stage = math.random(-9, 9)
    local current_st1ge = math.random(-9, 9)
    local current_st2ge = math.random(-9, 9)
    local current_stage1 = math.random(0, 6)
    local current_stage2 = math.random(0, 7)
    local current_stage3 = math.random(0, 2)
    local current_stage4 = math.random(0, 3)
    
    cspitch:set(current_st1ge * 10)
    pitch:set(current_stage4)
    exfl:set(current_stage1)
    jyawtype:set(current_stage3)
    fltype:set(current_stage3)
    yaw:set(current_st2ge * 20)
    jyaw:set(current_stage * 20)
    desy:set(current_stage1 * 10)
    fl:set(current_stage2 * 2)
end)
 
Эксперт
Статус
Оффлайн
Регистрация
10 Фев 2021
Сообщения
1,740
Реакции[?]
559
Поинты[?]
2K
Ну так сделал бы нормально...Делов то..

code_language.lua:
local yaw = ui.get("Rage", "Anti-aim", "General", "Yaw additive")
local pitch = ui.get("Rage", "Anti-aim", "General", "Pitch")
local cspitch = ui.get("Rage", "Anti-aim", "General", "Custom pitch")
local jyaw = ui.get("Rage", "Anti-aim", "General", "Yaw jitter range")
local jyawtype = ui.get("Rage", "Anti-aim", "General", "Yaw jitter type")
local desy = ui.get("Rage", "Anti-aim", "General", "Body yaw limit")
local fl = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag amount")
local exfl = ui.get("Rage", "Exploits", "General", "Exploit lag limit")
local fltype = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag type")

callbacks.register("paint", function()
    local current_stage = math.random(-9, 9)
    local current_st1ge = math.random(-9, 9)
    local current_st2ge = math.random(-9, 9)
    local current_stage1 = math.random(0, 6)
    local current_stage2 = math.random(0, 7)
    local current_stage3 = math.random(0, 2)
    local current_stage4 = math.random(0, 3)
   
    cspitch:set(current_st1ge * 10)
    pitch:set(current_stage4)
    exfl:set(current_stage1)
    jyawtype:set(current_stage3)
    fltype:set(current_stage3)
    yaw:set(current_st2ge * 20)
    jyaw:set(current_stage * 20)
    desy:set(current_stage1 * 10)
    fl:set(current_stage2 * 2)
end)
ну дак сделал бы нормально....
Код:
local data = {
    { item = ui.get("Rage", "Anti-aim", "General", "Yaw additive"), val = { -180, 180 } },
    { item = ui.get("Rage", "Anti-aim", "General", "Pitch"), val = { 0, 3 } },
    { item = ui.get("Rage", "Anti-aim", "General", "Custom pitch"), val = { -180, 180 } },
    { item = ui.get("Rage", "Anti-aim", "General", "Yaw jitter range"), val = { -180, 180 } },
    { item = ui.get("Rage", "Anti-aim", "General", "Yaw jitter type"), val = { 0, 2 } },
    { item = ui.get("Rage", "Anti-aim", "General", "Body yaw limit"), val = { 0, 60 } },
    { item = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag amount"), val = { 0, 14 } },
    { item = ui.get("Rage", "Exploits", "General", "Exploit lag limit"), val = { 0, 6 } },
    { item = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake lag type"), val = { 0, 2 } },
}
callbacks.register("paint", function()
    for k, v in pairs(data) do
        v.item:set(math.random(v.val[1], v.val[2]))
    end
end)
 
Сверху Снизу