LUA скрипт Chimera {defensive replica by me} [NL]

Начинающий
Статус
Оффлайн
Регистрация
10 Май 2023
Сообщения
60
Реакции[?]
3
Поинты[?]
3K
Код:
local pui = require("neverlose/pui")

local top = pui.create("table")

local defensive = top:switch("Defensive Anti-Aim", false, function(settings)
    return {
        pitch = settings:combo("Pitch", {"None", "Down", "Up", "Random", "PAKETA", "Semi-Up", "Semi-Down"}),
        yaw = settings:combo("Yaw", {"None", "Spinbot", "Opposite", "SideWays", "Random", "3-way", "5-way"}),
        disablers = settings:selectable("Disablers", {"Freestanding", "Manual Yaw Base"}),
    }
end)

local values = {
    pitch_value = 0,
    yaw_value = 0,
    PAKETA = 0,
    spin = 0,
    opposite = 0,
    sideways = 0,
    way5 = {-1,0.5,0,0.5,1},
    way3 = {-1,0,1},
}

local ref = {
    hidden = ui.find("Aimbot", "Anti Aim", "Angles", "Yaw", "Hidden"),
}

events.createmove:set(function(cmd)
    local way5_value = 180 * way5[globals.tickcount % 5 + 1]
    local way3_value = 180 * way3[globals.tickcount % 3 + 1]
    if values.PAKETA >= 89 then
        values.PAKETA = -89
    else
        values.PAKETA = values.PAKETA + 1
    end

    if values.spin >= 180 then
        values.spin = -180
    else
        values.spin = values.spin + 20
    end

    if values.opposite >= 180 then
        values.opposite = -180
    else
        values.opposite = values.opposite + 180
    end

    if values.sideways >= 180 then
        values.sideways = -180
    else
        values.sideways = values.sideways + 90
    end

    if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end

    if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end

    if defensive:get() then
        ref.hidden:set(true)
        rage.antiaim:override_hidden_pitch(pitch_value)
        rage.antiaim:override_hidden_yaw_offset(defensive.yaw:get())
        else
        ref.hidden:set(false)
    end
end)
 
🍫
Участник
Статус
Оффлайн
Регистрация
13 Ноя 2020
Сообщения
1,230
Реакции[?]
181
Поинты[?]
71K
Код:
    if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end

    if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end
Че это за хуйня? Оно ебать как не красиво выглядит. Это даже хуже, чем говнокожу я.

Upd: Ток щас заметил, что у него не neverlose, а nevelose. Может это какой-то отдельный вид кодинга?
 
Модератор раздела "Создание скриптов для читов"
Модератор
Статус
Оффлайн
Регистрация
1 Фев 2020
Сообщения
1,240
Реакции[?]
405
Поинты[?]
45K
Начинающий
Статус
Оффлайн
Регистрация
10 Май 2023
Сообщения
60
Реакции[?]
3
Поинты[?]
3K
nl · ["ind"]:29: attempt to index global 'way5' (a nil value)
наделал много ошибок вот фикс

Код:
local pui = require("neverlose/pui")

local top = pui.create("table")

local defensive = top:switch("Defensive Anti-Aim", false, function(settings)
    return {
        pitch = settings:combo("Pitch", {"None", "Down", "Up", "Random", "PAKETA", "Semi-Up", "Semi-Down"}),
        yaw = settings:combo("Yaw", {"None", "Spinbot", "Opposite", "SideWays", "Random", "3-way", "5-way"}),
        disablers = settings:selectable("Disablers", {"Freestanding", "Manual Yaw Base"}),
    }
end)

local values = {
    pitch_value = 0,
    yaw_value = 0,
    PAKETA = 0,
    spin = 0,
    opposite = 0,
    sideways = 0,
    way5 = {-1,0.5,0,0.5,1},
    way3 = {-1,0,1},
}

local ref = {
    hidden = ui.find("Aimbot", "Anti Aim", "Angles", "Yaw", "Hidden"),
}

events.createmove:set(function(cmd)
    local way5_value = 180 * values.way5[globals.tickcount % 5 + 1]
    local way3_value = 180 * values.way3[globals.tickcount % 3 + 1]
    if values.PAKETA >= 89 then
        values.PAKETA = -89
    else
        values.PAKETA = values.PAKETA + 1
    end

    if values.spin >= 180 then
        values.spin = -180
    else
        values.spin = values.spin + 20
    end

    if values.opposite >= 180 then
        values.opposite = -180
    else
        values.opposite = values.opposite + 180
    end

    if values.sideways >= 180 then
        values.sideways = -180
    else
        values.sideways = values.sideways + 90
    end

    if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end

    if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end

    if defensive:get() then
        ref.hidden:set(true)
        rage.antiaim:override_hidden_pitch(pitch_value)
        rage.antiaim:override_hidden_yaw_offset(yaw_value)
        else
        ref.hidden:set(false)
    end
end)
 
Начинающий
Статус
Оффлайн
Регистрация
7 Май 2021
Сообщения
77
Реакции[?]
3
Поинты[?]
3K
наделал много ошибок вот фикс

Код:
local pui = require("neverlose/pui")

local top = pui.create("table")

local defensive = top:switch("Defensive Anti-Aim", false, function(settings)
    return {
        pitch = settings:combo("Pitch", {"None", "Down", "Up", "Random", "PAKETA", "Semi-Up", "Semi-Down"}),
        yaw = settings:combo("Yaw", {"None", "Spinbot", "Opposite", "SideWays", "Random", "3-way", "5-way"}),
        disablers = settings:selectable("Disablers", {"Freestanding", "Manual Yaw Base"}),
    }
end)

local values = {
    pitch_value = 0,
    yaw_value = 0,
    PAKETA = 0,
    spin = 0,
    opposite = 0,
    sideways = 0,
    way5 = {-1,0.5,0,0.5,1},
    way3 = {-1,0,1},
}

local ref = {
    hidden = ui.find("Aimbot", "Anti Aim", "Angles", "Yaw", "Hidden"),
}

events.createmove:set(function(cmd)
    local way5_value = 180 * values.way5[globals.tickcount % 5 + 1]
    local way3_value = 180 * values.way3[globals.tickcount % 3 + 1]
    if values.PAKETA >= 89 then
        values.PAKETA = -89
    else
        values.PAKETA = values.PAKETA + 1
    end

    if values.spin >= 180 then
        values.spin = -180
    else
        values.spin = values.spin + 20
    end

    if values.opposite >= 180 then
        values.opposite = -180
    else
        values.opposite = values.opposite + 180
    end

    if values.sideways >= 180 then
        values.sideways = -180
    else
        values.sideways = values.sideways + 90
    end

    if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end

    if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end

    if defensive:get() then
        ref.hidden:set(true)
        rage.antiaim:override_hidden_pitch(pitch_value)
        rage.antiaim:override_hidden_yaw_offset(yaw_value)
        else
        ref.hidden:set(false)
    end
end)
nl · ["ind"]:61: bad argument #2 (number expected, received nil: not a numeric type)
 
Начинающий
Статус
Оффлайн
Регистрация
7 Май 2021
Сообщения
77
Реакции[?]
3
Поинты[?]
3K
Код:
local pui = require("neverlose/pui")

local top = pui.create("table")

local defensive = top:switch("Defensive Anti-Aim", false, function(settings)
    return {
        pitch = settings:combo("Pitch", {"None", "Down", "Up", "Random", "PAKETA", "Semi-Up", "Semi-Down"}),
        yaw = settings:combo("Yaw", {"None", "Spinbot", "Opposite", "SideWays", "Random", "3-way", "5-way"}),
        disablers = settings:selectable("Disablers", {"Freestanding", "Manual Yaw Base"}),
    }
end)

local values = {
    pitch_value = 0,
    yaw_value = 0,
    PAKETA = 0,
    spin = 0,
    opposite = 0,
    sideways = 0,
    way5 = {-1,0.5,0,0.5,1},
    way3 = {-1,0,1},
}

local ref = {
    hidden = ui.find("Aimbot", "Anti Aim", "Angles", "Yaw", "Hidden"),
}

events.createmove:set(function(cmd)
    local way5_value = 180 * way5[globals.tickcount % 5 + 1]
    local way3_value = 180 * way3[globals.tickcount % 3 + 1]
    if values.PAKETA >= 89 then
        values.PAKETA = -89
    else
        values.PAKETA = values.PAKETA + 1
    end

    if values.spin >= 180 then
        values.spin = -180
    else
        values.spin = values.spin + 20
    end

    if values.opposite >= 180 then
        values.opposite = -180
    else
        values.opposite = values.opposite + 180
    end

    if values.sideways >= 180 then
        values.sideways = -180
    else
        values.sideways = values.sideways + 90
    end

    if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end

    if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end

    if defensive:get() then
        ref.hidden:set(true)
        rage.antiaim:override_hidden_pitch(pitch_value)
        rage.antiaim:override_hidden_yaw_offset(defensive.yaw:get())
        else
        ref.hidden:set(false)
    end
end)
неработает даже с фиксом что бы не было ошибок в консоли выбираю up,random, и т.д нечё не работает
 
Начинающий
Статус
Оффлайн
Регистрация
11 Дек 2018
Сообщения
45
Реакции[?]
31
Поинты[?]
12K
Код:
local pui = require("neverlose/pui")

local top = pui.create("table")

local defensive = top:switch("Defensive Anti-Aim", false, function(settings)
    return {
        pitch = settings:combo("Pitch", {"None", "Down", "Up", "Random", "PAKETA", "Semi-Up", "Semi-Down"}),
        yaw = settings:combo("Yaw", {"None", "Spinbot", "Opposite", "SideWays", "Random", "3-way", "5-way"}),
        disablers = settings:selectable("Disablers", {"Freestanding", "Manual Yaw Base"}),
    }
end)

local values = {
    pitch_value = 0,
    yaw_value = 0,
    PAKETA = 0,
    spin = 0,
    opposite = 0,
    sideways = 0,
    way5 = {-1,0.5,0,0.5,1},
    way3 = {-1,0,1},
}

local ref = {
    hidden = ui.find("Aimbot", "Anti Aim", "Angles", "Yaw", "Hidden"),
}

events.createmove:set(function(cmd)
    local way5_value = 180 * way5[globals.tickcount % 5 + 1]
    local way3_value = 180 * way3[globals.tickcount % 3 + 1]
    if values.PAKETA >= 89 then
        values.PAKETA = -89
    else
        values.PAKETA = values.PAKETA + 1
    end

    if values.spin >= 180 then
        values.spin = -180
    else
        values.spin = values.spin + 20
    end

    if values.opposite >= 180 then
        values.opposite = -180
    else
        values.opposite = values.opposite + 180
    end

    if values.sideways >= 180 then
        values.sideways = -180
    else
        values.sideways = values.sideways + 90
    end

    if defensive.pitch:get() == "Down" then pitch_value = 89 elseif defensive.pitch:get() == "Up" then pitch_value = -89 elseif defensive.pitch:get() == "Random" then pitch_value = utils.random_int(-89,89) elseif defensive.pitch:get() == "PAKETA" then pitch_value = values.PAKETA elseif defensive.pitch:get() == "Semi-Up" then pitch_value = -44 elseif defensive.pitch:get() == "Semi-Down" then pitch_value = 44 end

    if defensive.yaw:get() == "Spinbot" then yaw_value = values.spin elseif defensive.yaw:get() == "Opposite" then yaw_value = values.opposite elseif defensive.yaw:get() == "SideWays" then yaw_value = values.sideways elseif defensive.yaw:get() == "Random" then yaw_value = utils.random_int(-180,180) elseif defensive.yaw:get() == "3-way" then yaw_value = way3_value elseif defensive.yaw:get() == "5-way" then yaw_value = way5_value end

    if defensive:get() then
        ref.hidden:set(true)
        rage.antiaim:override_hidden_pitch(pitch_value)
        rage.antiaim:override_hidden_yaw_offset(defensive.yaw:get())
        else
        ref.hidden:set(false)
    end
end)
СПАСИБО, СПАЩУ!
 
Модератор раздела "Создание скриптов для читов"
Модератор
Статус
Оффлайн
Регистрация
1 Фев 2020
Сообщения
1,240
Реакции[?]
405
Поинты[?]
45K
Начинающий
Статус
Оффлайн
Регистрация
7 Май 2021
Сообщения
77
Реакции[?]
3
Поинты[?]
3K
Сверху Снизу