LUA скрипт [FTC] Skeet indicator (better version)

Посрал
Участник
Статус
Оффлайн
Регистрация
28 Ноя 2020
Сообщения
517
Реакции[?]
152
Поинты[?]
0
Remaked old indicators
1. Lua without MINDMG indicator
2. FakeDuck indicator not animated
1. Now dont crash
2. Script have checkbox-enabler (Misc -> Movement -> Enable indicators)
2.1 Script will enable after connect to server
3. New font (thanks for anton chaplin)
4. New code
5. All indicators can move
csgo_8x0FZM9oBw.png
Also script have "LC" indicator
(It activated when dt and hideshots disabled and in air)
SAFE - Force safepoint
DT - Double tap
AX - Anti-defensive (anti-exploit)
DA - Dormant Aimbot (Target dormant)
DUCK - Fakeduck
ONSHOT - Hide shot(s)
FREESTAND - Freestand o_o
LC - Lagcompensation
1638893416977.png
Код:
local render = fatality.render
local menu = fatality.menu
local config = fatality.config
local callbacks = fatality.callbacks
local input = fatality.input
local engine_client = csgo.interface_handler:get_engine_client()

local font = render:create_font("Calibri", 35, 700, true)
local enable = config:add_item("enable", 0)
menu:add_checkbox("Enable indicators", "Misc", "Movement", "Movement", enable)

function on_paint()
 local is_sf = menu:get_reference("Rage", "Aimbot", "Aimbot", "Force safepoint")
 local is_dt = menu:get_reference("Rage", "Aimbot", "Aimbot", "Double tap")
 local is_ax = menu:get_reference("Rage", "Aimbot", "Aimbot", "Anti-exploit")
 local is_fd = menu:get_reference("Misc", "Movement", "Movement", "Fake duck")
 local is_da = menu:get_reference("Rage", "Aimbot", "Aimbot", "Target dormant")
 local is_onshot = menu:get_reference("Rage", "Aimbot", "Aimbot", "Hide shot")
 local is_fs = menu:get_reference("Rage", "Anti-Aim", "General", "Freestand")
 local x, y = render:screen_size().x / 2 - 950, render:screen_size().y / 2 + 150
 local sp = 1

 if enable:get_bool() and engine_client:is_connected() then
 
  if is_sf:get_bool() then
    render:text(font, x + 10, y * sp, "SAFE", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end
 
   if is_dt:get_bool() then
    render:text(font, x + 10, y + 15 * sp, "DT", csgo.color(170, 170, 170, 255))
    if is_ax:get_bool() then
      render:text(font, x + 50, y + 15 * sp, "AX", csgo.color(170, 255, 170, 255))
    end
    sp = sp + 1
   end
  
   if is_da:get_bool() then
    render:text(font, x + 10, y + 20 * sp, "DA", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end
 
   if is_fd:get_bool() then
    render:text(font, x + 10, y + 22 * sp, "DUCK", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end
   if is_onshot:get_bool() then
    render:text(font, x + 10, y + 23 * sp, "ONSHOT", csgo.color(132, 195, 16, 255))
    sp = sp + 1
   end
   if is_fs:get_bool() then
    render:text(font, x + 10, y + 24 * sp, "FREESTAND", csgo.color(132, 195, 16, 255))
    sp = sp + 1
   end
   if not is_dt:get_bool() and not is_onshot:get_bool() and input:is_key_down(0x20) then
    render:text(font, x + 10, y + 25 * sp, "LC", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end
 end
end

callbacks:add("paint", on_paint)
 
Эксперт
Статус
Оффлайн
Регистрация
7 Сен 2019
Сообщения
2,107
Реакции[?]
984
Поинты[?]
88K
Немного переделал:

Выглядит намного лучше.
1638895601383.png

Оригинал с темы:


Оригинал (скит):
1638895612090.png

Код:
local render = fatality.render
local menu = fatality.menu
local config = fatality.config
local callbacks = fatality.callbacks
local input = fatality.input
local engine_client = csgo.interface_handler:get_engine_client()
local font = render:create_font("Calibri", 30, 600, true)
local enable = config:add_item("enable", 0)
menu:add_checkbox("Enable indicators", "Misc", "Movement", "Movement", enable)
function on_paint()
local is_sf = menu:get_reference("Rage", "Aimbot", "Aimbot", "Force safepoint")
local is_dt = menu:get_reference("Rage", "Aimbot", "Aimbot", "Double tap")
local is_ax = menu:get_reference("Rage", "Aimbot", "Aimbot", "Anti-exploit")
local is_fd = menu:get_reference("Misc", "Movement", "Movement", "Fake duck")
local is_da = menu:get_reference("Rage", "Aimbot", "Aimbot", "Target dormant")
local is_onshot = menu:get_reference("Rage", "Aimbot", "Aimbot", "Hide shot")
local is_fs = menu:get_reference("Rage", "Anti-Aim", "General", "Freestand")
local x, y = render:screen_size().x / 2 - 950, render:screen_size().y / 2 + 150
local sp = 1
if enable:get_bool() and engine_client:is_connected() then

  if is_sf:get_bool() then
    render:text(font, x + 5, y * sp, "SAFE", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end

   if is_dt:get_bool() then
    render:text(font, x + 5, y + 15 * sp, "DT", csgo.color(244, 244, 255, 200))
    sp = sp + 1
   end
   if is_ax:get_bool() then
    render:text(font, x + 5, y + 21 * sp, "AX", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end

   if is_da:get_bool() then
    render:text(font, x + 5, y + 22 * sp, "DA", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end

   if is_fd:get_bool() then
    render:text(font, x + 5, y + 23 * sp, "DUCK", csgo.color(197, 197, 197, 200))
    sp = sp + 1
   end
   if is_onshot:get_bool() then
    render:text(font, x + 5, y + 24 * sp, "ONSHOT", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end
   if is_fs:get_bool() then
    render:text(font, x + 5, y + 25 * sp, "FREESTAND", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end
   if not is_dt:get_bool() and not is_onshot:get_bool() and input:is_key_down(0x20) then
    render:text(font, x + 5, y + 26 * sp, "LC", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end
end
end
callbacks:add("paint", on_paint)
 
Последнее редактирование:
nn?
Пользователь
Статус
Оффлайн
Регистрация
22 Июл 2019
Сообщения
214
Реакции[?]
66
Поинты[?]
0
Remaked old indicators
1. Lua without MINDMG indicator
2. FakeDuck indicator not animated
1. Now dont crash
2. Script have checkbox-enabler (Misc -> Movement -> Enable indicators)
2.1 Script will enable after connect to server
3. New font (thanks for anton chaplin)
4. New code
5. All indicators can move
Also script have "LC" indicator
(It activated when dt and hideshots disabled and in air)
SAFE - Force safepoint
DT - Double tap
AX - Anti-defensive (anti-exploit)
DA - Dormant Aimbot (Target dormant)
DUCK - Fakeduck
ONSHOT - Hide shot(s)
FREESTAND - Freestand o_o
LC - Lagcompensation
Код:
local render = fatality.render
local menu = fatality.menu
local config = fatality.config
local callbacks = fatality.callbacks
local input = fatality.input
local engine_client = csgo.interface_handler:get_engine_client()

local font = render:create_font("Calibri", 35, 700, true)
local enable = config:add_item("enable", 0)
menu:add_checkbox("Enable indicators", "Misc", "Movement", "Movement", enable)

function on_paint()
local is_sf = menu:get_reference("Rage", "Aimbot", "Aimbot", "Force safepoint")
local is_dt = menu:get_reference("Rage", "Aimbot", "Aimbot", "Double tap")
local is_ax = menu:get_reference("Rage", "Aimbot", "Aimbot", "Anti-exploit")
local is_fd = menu:get_reference("Misc", "Movement", "Movement", "Fake duck")
local is_da = menu:get_reference("Rage", "Aimbot", "Aimbot", "Target dormant")
local is_onshot = menu:get_reference("Rage", "Aimbot", "Aimbot", "Hide shot")
local is_fs = menu:get_reference("Rage", "Anti-Aim", "General", "Freestand")
local x, y = render:screen_size().x / 2 - 950, render:screen_size().y / 2 + 150
local sp = 1

if enable:get_bool() and engine_client:is_connected() then

  if is_sf:get_bool() then
    render:text(font, x + 10, y * sp, "SAFE", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end

   if is_dt:get_bool() then
    render:text(font, x + 10, y + 15 * sp, "DT", csgo.color(170, 170, 170, 255))
    if is_ax:get_bool() then
      render:text(font, x + 50, y + 15 * sp, "AX", csgo.color(170, 255, 170, 255))
    end
    sp = sp + 1
   end

   if is_da:get_bool() then
    render:text(font, x + 10, y + 20 * sp, "DA", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end

   if is_fd:get_bool() then
    render:text(font, x + 10, y + 22 * sp, "DUCK", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end
   if is_onshot:get_bool() then
    render:text(font, x + 10, y + 23 * sp, "ONSHOT", csgo.color(132, 195, 16, 255))
    sp = sp + 1
   end
   if is_fs:get_bool() then
    render:text(font, x + 10, y + 24 * sp, "FREESTAND", csgo.color(132, 195, 16, 255))
    sp = sp + 1
   end
   if not is_dt:get_bool() and not is_onshot:get_bool() and input:is_key_down(0x20) then
    render:text(font, x + 10, y + 25 * sp, "LC", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end
end
end

callbacks:add("paint", on_paint)
братух найс, что ты начал луашки пилить! здоровья тебе!
upd: луашка не работает =(, я не знаю, в чём проблема, вроде как скопировал всё правильно!1638896285622.png
 
Последнее редактирование:
Содер
Участник
Статус
Оффлайн
Регистрация
23 Мар 2021
Сообщения
568
Реакции[?]
227
Поинты[?]
17K
Немного переделал:

Выглядит намного лучше.
Посмотреть вложение 183307

Оригинал с темы:


Оригинал (скит):
Посмотреть вложение 183308

Код:
local render = fatality.render
local menu = fatality.menu
local config = fatality.config
local callbacks = fatality.callbacks
local input = fatality.input
local engine_client = csgo.interface_handler:get_engine_client()
local font = render:create_font("Calibri", 30, 600, true)
local enable = config:add_item("enable", 0)
menu:add_checkbox("Enable indicators", "Misc", "Movement", "Movement", enable)
function on_paint()
local is_sf = menu:get_reference("Rage", "Aimbot", "Aimbot", "Force safepoint")
local is_dt = menu:get_reference("Rage", "Aimbot", "Aimbot", "Double tap")
local is_ax = menu:get_reference("Rage", "Aimbot", "Aimbot", "Anti-exploit")
local is_fd = menu:get_reference("Misc", "Movement", "Movement", "Fake duck")
local is_da = menu:get_reference("Rage", "Aimbot", "Aimbot", "Target dormant")
local is_onshot = menu:get_reference("Rage", "Aimbot", "Aimbot", "Hide shot")
local is_fs = menu:get_reference("Rage", "Anti-Aim", "General", "Freestand")
local x, y = render:screen_size().x / 2 - 950, render:screen_size().y / 2 + 150
local sp = 1
if enable:get_bool() and engine_client:is_connected() then

  if is_sf:get_bool() then
    render:text(font, x + 5, y * sp, "SAFE", csgo.color(255, 255, 255, 255))
    sp = sp + 1
   end

   if is_dt:get_bool() then
    render:text(font, x + 5, y + 15 * sp, "DT", csgo.color(244, 244, 255, 200))
    sp = sp + 1
   end
   if is_ax:get_bool() then
    render:text(font, x + 5, y + 21 * sp, "AX", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end

   if is_da:get_bool() then
    render:text(font, x + 5, y + 22 * sp, "DA", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end

   if is_fd:get_bool() then
    render:text(font, x + 5, y + 23 * sp, "DUCK", csgo.color(197, 197, 197, 200))
    sp = sp + 1
   end
   if is_onshot:get_bool() then
    render:text(font, x + 5, y + 24 * sp, "ONSHOT", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end
   if is_fs:get_bool() then
    render:text(font, x + 5, y + 25 * sp, "FREESTAND", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end
   if not is_dt:get_bool() and not is_onshot:get_bool() and input:is_key_down(0x20) then
    render:text(font, x + 5, y + 26 * sp, "LC", csgo.color(123, 194, 21, 255))
    sp = sp + 1
   end
end
end
callbacks:add("paint", on_paint)
Это ты цвета пофиксил верно?
 
Посрал
Участник
Статус
Оффлайн
Регистрация
28 Ноя 2020
Сообщения
517
Реакции[?]
152
Поинты[?]
0
братух найс, что ты начал луашки пилить! здоровья тебе!
upd: луашка не работает =(, я не знаю, в чём проблема, вроде как скопировал всё правильно!Посмотреть вложение 183314
Там во вкладке миск есть чекбокс чтоб включить их.
В случае так же мб оно может не работать из-за других луашек.
Попробуй выгрузить луашки и загрузить только индикаторы
 
nn?
Пользователь
Статус
Оффлайн
Регистрация
22 Июл 2019
Сообщения
214
Реакции[?]
66
Поинты[?]
0
Там во вкладке миск есть чекбокс чтоб включить их.
В случае так же мб оно может не работать из-за других луашек.
Попробуй выгрузить луашки и загрузить только индикаторы
сейчас попробую!! upd: неа =(
1638897284223.png
 
Олдфаг
Статус
Оффлайн
Регистрация
28 Дек 2018
Сообщения
2,585
Реакции[?]
1,437
Поинты[?]
1K
сделал бы через массив, зачем лепить такое дерьмо...

example for neverlose
Код:
local binds = {}

binds.data = {}

table.insert(binds.data, {name = "DT", path = {"Aimbot", "Ragebot", "Exploits", "Double Tap"}})
table.insert(binds.data, {name = "HS", path = {"Aimbot", "Ragebot", "Exploits", "Hide Shots"}})

binds.get_active = function()
    local active_binds = {}

    for i, data in pairs(binds.data) do
        local a, b, c, d = unpack(data.path)
        local menu_var = Menu.FindVar(a, b, c, d)

        if menu_var:Get() then
            table.insert(active_binds, data.name)
        end
    end

    return active_binds
end

binds.on_draw = function()
    local active_binds = binds.get_active()

    for i, name in pairs(active_binds) do
        Render.Text(name, Vector2.new(150, 150 + (15 * i)), Color.RGBA(255, 255, 255), 15)
    end
end

Cheat.RegisterCallback("draw", binds.on_draw)
 
Посрал
Участник
Статус
Оффлайн
Регистрация
28 Ноя 2020
Сообщения
517
Реакции[?]
152
Поинты[?]
0
сделал бы через массив, зачем лепить такое дерьмо...


Код:
local binds = {}

binds.data = {}

table.insert(binds.data, {name = "DT", path = {"Aimbot", "Ragebot", "Exploits", "Double Tap"}})
table.insert(binds.data, {name = "HS", path = {"Aimbot", "Ragebot", "Exploits", "Hide Shots"}})

binds.get_active = function()
    local active_binds = {}

    for i, data in pairs(binds.data) do
        local a, b, c, d = unpack(data.path)
        local menu_var = Menu.FindVar(a, b, c, d)

        if menu_var:Get() then
            table.insert(active_binds, data.name)
        end
    end

    return active_binds
end

binds.on_draw = function()
    local active_binds = binds.get_active()

    for i, name in pairs(active_binds) do
        Render.Text(name, Vector2.new(150, 150 + (15 * i)), Color.RGBA(255, 255, 255), 15)
    end
end

Cheat.RegisterCallback("draw", binds.on_draw)
В будущем учту, спасибо
 
Сверху Снизу