Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
138 views12 pages

Lumeo.lua: Gaming UI Enhancements

The document contains the Lua source code for a Counter-Strike: Global Offensive cheat menu. It defines functions for drawing various menu elements like buttons, checkboxes, and sliders. It also contains code for drawing indicators, keybinds, and handling the change log button. The code defines colors, fonts, and callbacks for painting the menu and responding to user input.

Uploaded by

Skittle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
138 views12 pages

Lumeo.lua: Gaming UI Enhancements

The document contains the Lua source code for a Counter-Strike: Global Offensive cheat menu. It defines functions for drawing various menu elements like buttons, checkboxes, and sliders. It also contains code for drawing indicators, keybinds, and handling the change log button. The code defines colors, fonts, and callbacks for painting the menu and responding to user input.

Uploaded by

Skittle
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 12

-- Спасибо За Помощь Xissayala | https://brokencore.

club/members/46210

-- Start: Useful Local


local size_x, size_y = render.get_screen()
local s_x, s_y = render.get_screen()

local main_color = color.new(163, 146, 243)


local cheat_color = ui.get("Profile", "General", "Global settings", "Menu accent
color")
-- End: Useful Local

-- Start: Menu Buttons


ui.add_label(" (ノ>ω<)ノ :。・:*:・゚’★,。・:*:・゚’☆")
ui.add_label(" lumeo.lua")
ui.add_label(" youtube.com/w1ndyxz")
local changelog = ui.add_button("ChangeLog")
ui.add_label("")

ui.add_label("Anti-Aim (=⌒‿‿⌒=)")
local tank_aa = ui.add_checkbox("Tank AA");
local slider_rangeaa = ui.add_slider("Range AA", 0, 60)
local slider_time = ui.add_slider("Switch Time", 1, 5)
local presetaa = ui.add_button("Load Random Preset")
ui.add_label("")

ui.add_label("Visuals (〃^▽^〃)")
local indicators = ui.add_checkbox("Indicators")
ui.add_label("")
local keybinds = ui.add_checkbox("Keybinds")
local keybinds_style = ui.add_dropdown("Keybinds Style", {"Default", "Default
Fade", "Fade", "Future"})
local kb_rectangle_color_text = ui.add_label("Rectangle Color")
local kb_rectangle_color = ui.add_cog("Accent color for keybinds rectangle", true,
false)
kb_rectangle_color:set_color(color.new(0, 0, 0, 170))
local kb_pos_x = ui.add_slider("Position X", 0, size_x)
local kb_pos_y = ui.add_slider("Position Y", 0, size_y)
ui.add_label("")
local custom_scopre = ui.add_checkbox("Custom Scope")
local scope_color_label = ui.add_label("Scope color")
local scope_color = ui.add_cog("Accent color for scope", true, false)
local scope_size = ui.add_slider("Scope Size", 0, 500)
local scope_padding = ui.add_slider("Scope padding", 0, 250)
local scopetype = ui.get("Visuals", "General", "Other group", "Scope effect type")

ui.add_label("Misc (´。• ω •。`)")


local thirdperson_distance = ui.add_checkbox("Thirdperson")
local thirdperson_distance_slider = ui.add_slider("Thirdperson Distance", 30, 200)
ui.add_label("")
local viewmodel_in_scope = ui.add_checkbox("Viewmodel In Scope")
ui.add_label("")
local killsay = ui.add_checkbox("KillSay")
ui.add_label("")
-- End: Menu Buttons
-- Start: Fonts
local small_fonts = render.create_font("Small Fonts", 13, 500,
bit.bor(font_flags.dropshadow, font_flags.antialias));

local small_fonts2 = render.create_font("Small Fonts", 12, 500,


bit.bor(font_flags.dropshadow, font_flags.antialias));
-- End: Fonts

-- Start: ChangeLog
changelog:add_callback(function()
client.log(">> ChangeLog ヾ(・ω・*)", color.new(255, 255, 255), "lumeo.lua",
true)
client.log(" ", color.new(255, 255, 255), "lumeo.lua", true)
client.log("[+] Added New", color.new(255, 255, 255), "lumeo.lua", true)
client.log("[+] More style for keybinds (⌒‿⌒)", color.new(255, 255, 255),
"lumeo.lua", true)
client.log("[+] Tank AA (⌒‿⌒)", color.new(255, 255, 255), "lumeo.lua", true)
client.log("[+] Clantag (⌒‿⌒)", color.new(255, 255, 255), "lumeo.lua", true)
client.log(" ", color.new(255, 255, 255), "lumeo.lua", true)
client.log("[-] Removed", color.new(255, 255, 255), "lumeo.lua", true)
client.log("[-] たくさんのこと ( ̄_ ̄)・・・", color.new(255, 255, 255),
"lumeo.lua", true)
client.log(" ", color.new(255, 255, 255), "lumeo.lua", true)
client.log(">> 終わり ❤(>ᴗ•)", color.new(255, 255, 255), "lumeo.lua", true)

end)
-- End: ChangeLog

-- Start: Indicators
local ss = {};
ss.x, ss.y = render.get_screen();
local ind_pos = {};
ind_pos.x, ind_pos.y = ss.x / 2, ss.y / 2 + 5 -- + 5 Это высота индикаторов
local indlum = {}
local lerp = function (a, b, c) return a + (b - a) * c end

indlum.is_scoped = function(entity)
if entity then
local scoped = entity:get_prop("DT_CSPlayer", "m_bIsScoped"):get_int()
if scoped == 1 then
return true
end
end
return false
end

callbacks.register("paint", function()
if indicators:get() == true then

if not client.is_alive() or not engine.is_connected() then


return
end

local dt = ui.get("Rage", "Exploits", "General", "Double tap


key"):get_key()
local hs = ui.get("Rage", "Exploits", "General", "Hide shots
key"):get_key()
local md = ui.get("Rage", "Aimbot", "General", "Minimum damage override
key"):get_key()

local local_player =
entity_list.get_client_entity(engine.get_local_player())
if not local_player then
return
end

ind_pos.x = lerp(
ind_pos.x,
(indlum.is_scoped(local_player) and
(ss.x / 2 + 30) or
(ss.x / 2)
),
global_vars.frametime * 16
)

small_fonts:text(ind_pos.x - 22, ind_pos.y + 10, color.new(255, 255, 255,


255), "lumeo.lua");

if dt then
small_fonts:text(ind_pos.x - 17, ind_pos.y + 23, color.new(255, 255,
255, 255), "DT");
else
small_fonts:text(ind_pos.x - 17, ind_pos.y + 23, color.new(100, 100,
100, 255), "DT");
end

if hs then
small_fonts:text(ind_pos.x + 3, ind_pos.y + 23, color.new(255, 255,
255, 255), "HS");
else
small_fonts:text(ind_pos.x + 3, ind_pos.y + 23, color.new(100, 100,
100, 255), "HS");
end

if md then
small_fonts:text(ind_pos.x - 12, ind_pos.y + 36, color.new(255, 255,
255, 255), "DMG");
else
small_fonts:text(ind_pos.x - 12, ind_pos.y + 36, color.new(100, 100,
100, 255), "DMG");
end
end
end)
-- End: Indicators

-- Start: Keybinds
callbacks.register("paint", function()
if keybinds:get() == true then

local x_pos, y_pos = kb_pos_x:get(), kb_pos_y:get()


local kb_double_tap = ui.get("Rage", "Exploits", "General", "Double tap
key")
local kb_body_aim = ui.get("Rage", "Aimbot", "Accuracy", "Force body-aim
key")
local kb_fake_duck = ui.get("Rage", "Anti-aim", "Fake-lag", "Fake duck
key")
local kb_dmg_ovr = ui.get("Rage", "Aimbot", "General", "Minimum damage
override key")
local kb_force_safe = ui.get("Rage", "Aimbot", "General", "Force safety
key")
local kb_roll_reso = ui.get("Rage", "Aimbot", "General", "Roll resolver")
local kb_hide_shots = ui.get("Rage", "Exploits", "General", "Hide shots
key")
local kb_third_person = ui.get("Visuals", "General", "Other group", "Third
person key")
local kb_slow_motion = ui.get("Misc", "General", "Movement", "Slow motion
key")
local kb_auto_peek = ui.get("Misc", "General", "Movement", "Auto peek key")
local kb_freestanding = ui.get("Rage", "Anti-aim", "General", "Freestanding
key")
local kb_manual_left = ui.get("Rage", "Anti-aim", "General", "Manual left
key")
local kb_manual_right = ui.get("Rage", "Anti-aim", "General", "Manual right
key")
local kb_manual_back = ui.get("Rage", "Anti-aim", "General", "Manual
backwards key")

local kb_i = {}

if kb_third_person:get_key() then
table.insert(kb_i, {text = "Thirdperson", color =
color.new(255,255,255,255)})
end

if kb_dmg_ovr:get_key() then
table.insert(kb_i, {text = "Minimum damage", color =
color.new(255,255,255,255)})
end

if kb_double_tap:get_key() then
table.insert(kb_i, {text = "Double Tap", color =
color.new(255,255,255,255)})
end

if kb_hide_shots:get_key() then
table.insert(kb_i, {text = "Hide Shots", color =
color.new(255,255,255,255)})
end

if kb_body_aim:get_key() then
table.insert(kb_i, {text = "Body Aim", color =
color.new(255,255,255,255)})
end

if kb_fake_duck:get_key() then
table.insert(kb_i, {text = "Fakeduck", color =
color.new(255,255,255,255)})
end
if kb_force_safe:get_key() then
table.insert(kb_i, {text = "Force Safety", color =
color.new(255,255,255,255)})
end

if kb_roll_reso:get_key() then
table.insert(kb_i, {text = "Roll Resolver", color =
color.new(255,255,255,255)})
end

if kb_slow_motion:get_key() then
table.insert(kb_i, {text = "Slow Walk", color =
color.new(255,255,255,255)})
end

if kb_auto_peek:get_key() then
table.insert(kb_i, {text = "Auto Peek", color =
color.new(255,255,255,255)})
end

if kb_manual_left:get_key() then
table.insert(kb_i, {text = "Manual Left", color =
color.new(255,255,255,255)})
end

if kb_manual_back:get_key() then
table.insert(kb_i, {text = "Manual Back", color =
color.new(255,255,255,255)})
end

if kb_manual_right:get_key() then
table.insert(kb_i, {text = "Manual Right", color =
color.new(255,255,255,255)})
end

if kb_freestanding:get_key() then
table.insert(kb_i, {text = "Freestanding", color =
color.new(255,255,255,255)})
end

-- Основа ( Не трогать! )
render.rectangle_filled(x_pos + 0, y_pos + 0, 166, 21,
kb_rectangle_color:get_color())

if keybinds_style:get() == 0 then
render.rectangle_filled(x_pos + 0, y_pos + 0, 166, 2,
cheat_color:get_color())
end

if keybinds_style:get() == 1 then
render.gradient(x_pos - 1, y_pos + 0, 83, 2, color.new(0, 0, 0, 0),
cheat_color:get_color(), true)
render.gradient(x_pos + 82, y_pos + 0, 85, 2, cheat_color:get_color(),
color.new(0, 0, 0, 0), true)
end

if keybinds_style:get() == 2 then
render.rectangle_filled(x_pos + 0, y_pos + 0, 166, 2,
cheat_color:get_color())
render.gradient(x_pos + 0, y_pos + 2, 2, 19, cheat_color:get_color(),
color.new(0, 0, 0, 0), false)
render.gradient(x_pos + 164, y_pos + 2, 2, 19, cheat_color:get_color(),
color.new(0, 0, 0, 0), false)
end

if keybinds_style:get() == 3 then
-- Верх
render.gradient(x_pos + 0, y_pos + 0, 80, 2, cheat_color:get_color(),
color.new(0, 0, 0, 0), true)
render.gradient(x_pos + 86, y_pos + 0, 80, 2, color.new(0, 0, 0, 0),
cheat_color:get_color(), true)

-- Бока
render.rectangle_filled(x_pos - 0, y_pos + 2, 2, 17,
cheat_color:get_color()) -- Лево
render.rectangle_filled(x_pos + 164, y_pos + 2, 2, 17,
cheat_color:get_color()) -- Право

-- Низ
render.gradient(x_pos + 0, y_pos + 19, 80, 2, cheat_color:get_color(),
color.new(0, 0, 0, 0), true)
render.gradient(x_pos + 86, y_pos + 19, 80, 2, color.new(0, 0, 0, 0),
cheat_color:get_color(), true)
end

small_fonts2:text(x_pos + 62, y_pos + 5, color.new(255, 255, 255, 255),


"Keybinds");

for idx = 1, #kb_i do


local kb_i = kb_i[idx]

small_fonts2:text(x_pos + 2, y_pos + 10 + idx * 15, kb_i.color,


kb_i.text)
small_fonts2:text(x_pos + 144, y_pos + 10 + idx * 15, kb_i.color,
"[on]")
end
end
end)
-- End: Keybinds

-- Start: Custom Scope


local entity_get_client_entity = entity_list.get_client_entity
local alpha = 0

callbacks.register("paint", function()
if custom_scopre:get() then

scopetype:set(0)

local screen_size_x, screen_size_y = render.get_screen()


local screen_center = vector2d.new(screen_size_x / 2, screen_size_y / 2)

local_player = entity_get_client_entity(engine.get_local_player())

if not engine.in_game() then


return
end

if local_player == nil then


return
end

if local_player:get_prop("DT_BasePlayer", "m_iHealth"):get_int() <= 0 then


return
end

local multiplier = (1.0 / (225/1000)) * global_vars.frametime

if local_player:get_prop("DT_CSPlayer", "m_bIsScoped"):get_bool() then


if alpha < 1.0 then
alpha = alpha + multiplier
end
else
if alpha > 0.0 then
alpha = alpha - multiplier
end
end

if alpha >= 1.0 then


alpha = 1
end

if alpha <= 0.0 then


alpha = 0
return
end

local r, g, b, a = scope_color:get_color():r(),
scope_color:get_color():g(), scope_color:get_color():b(),
scope_color:get_color():a()

local sizee = scope_size:get()

-- top
pos = vector2d.new(screen_center.x, screen_center.y - sizee)
size = vector2d.new(1, sizee * alpha)
pos.y = pos.y - (scope_padding:get() - 1)
render.gradient(pos.x, pos.y, size.x, size.y, color.new(0,0,0,0),
color.new(r,g,b,a * alpha), false)

-- bottom
pos = vector2d.new(screen_center.x, screen_center.y + (sizee * ( 1.0 -
alpha ) ))
size = vector2d.new(1, scope_size:get() - ( sizee * ( 1.0 - alpha ) ))
pos.y = pos.y + scope_padding:get()
render.gradient(pos.x, pos.y, size.x, size.y, color.new(r,g,b,a * alpha),
color.new(0,0,0,0), false)

-- left
pos = vector2d.new(screen_center.x - sizee, screen_center.y)
size = vector2d.new(sizee * alpha, 1)
pos.x = pos.x - (scope_padding:get() - 1)
render.gradient(pos.x, pos.y, size.x, size.y, color.new(0,0,0,0),
color.new(r,g,b,a * alpha), true)
-- right
pos = vector2d.new(screen_center.x + (sizee * ( 1.0 - alpha ) ),
screen_center.y)
size = vector2d.new(sizee - ( sizee * ( 1.0 - alpha ) ), 1)
pos.x = pos.x + scope_padding:get()
render.gradient(pos.x, pos.y, size.x, size.y, color.new(r,g,b,a * alpha),
color.new(0,0,0,0), true)
end

if custom_scopre:get() == false then


scopetype:set(1)
end
end)
-- End: Custom Scope

-- Start: Tank AA
local timer = 0

callbacks.register("post_move", function()
if tank_aa:get() then

timer = timer +1

local range = slider_rangeaa:get()

local body_yaw = ui.get("Rage", "Anti-aim", "General", "Body yaw limit")


local fake_yaw = ui.get("Rage", "Anti-aim", "General", "Fake yaw limit")

if(timer > 1) then


body_yaw:set(range-(range*2))
fake_yaw:set(-60)
end

if(timer > 2 + slider_time:get()) then


body_yaw:set(60)
fake_yaw:set(60)

if(timer > 2 + slider_time:get() + 1) then


timer = 0
end

end
end
end)
-- End: Tank AA

-- Start: Button Preset


presetaa:add_callback(function()
slider_rangeaa:set(math.random(1, 60))
slider_time:set(math.random(1, 5))
end)
-- End: Button Preset
-- Start: KillSay
function on_player_death(event)
if killsay:get() then

local phrases = {
"Лучшая LUA для Pandora - lumeo.lua | YouTube - w1ndyxz",
"Лучшая LUA для Pandora - lumeo.lua | YouTube - w1ndyxz",
"Лучшая LUA для Pandora - lumeo.lua | YouTube - w1ndyxz",
"Лучшая LUA для Pandora - lumeo.lua | YouTube - w1ndyxz",
"Лучшая LUA для Pandora - lumeo.lua | YouTube - w1ndyxz",
"сомкни еблет потомок рыбы капли",
"я в пизду твоей матери метоксихлордиэтиламинометилбутиламиноакридин
засыпал",
"что это скорая? тут одно они поддерживают лгбт.",
"ньюкамер жирный с админки сняли?",
"и сдохни в слезах паскуда ебаная. залупоголовая блядоящерица.
трипиздоблядская промудохуина. распроеб твою мать блять",
"я анти аимы бю алах акбар",
"батя врывается говорит пиздец понос тиктокерский",
"смачные яйца опухли",
"там нищи с луа)",
"я завтра в ебашу твоей комнате",
"виндикз ебет все хвх)",
"w1ndyxz ебет все хвх)",
"w1ndyxz ахуевший ютубер на ютубе блять",
"если эти буквы к нему, это ахуеть",
"подрочи мартышке",
"нашел зип архив с св с кайфариком",
"w1ndyxz пора на трассу сука",
"w1ndyxz биг нейм хвх бой 2023",
"ты че блять чо ты ахуел",
"сама пошла нахуй мою матььь, блять я манал",
"трусики под пизду твоей прабабки",
"D=b^2-4ac",
"w1ndyxz выключай комп когда узнал что все нахуй",
"челы юзают кряк фаталити:pleading_face:",
"разве что мой хуй прыщавый",
"-ban w1ndyxz уёбище ротик свой юид дашь",
"так вот всё ебало нищий упал ауу нищ нахуя",
"трусы прабабки на пизду араба натянул",
"Пиздес нахуй вапше ахует можна",
"@w1ndyxz @intell я смотрел кулинарию от отчима",
"сука я твою мать шлюшку поебушку на койке отъебал нахуй",
"ебать у тебя там поменутно расписано когда дрочить",
"43.104245, 131.902375",
"можем тебе мозга не благодарный",
"сука у w1ndyxz кфг хуета",
"не такие ахуенные фраги от жакофреска",
"не такие ахуенные фраги от w1ndyxz",
"подписуйся на ютуб канал w1ndyxz",
"я в пизду твоей матери метоксихлордиэтиламинометилбутиламиноакридин
засыпал",
"я в пизду твоей матери метоксихлордиэтиламинометилбутиламиноакридин
засыпал",
"потом её чистую, узкую, девственную щёлку, и язычке, охватывающих
толстый член, скользкий от скримеров",
"Настройки -> Как играть",
"ну это я люблю сосать член интеллу и w1ndyxz:heart_eyes: я щас
покажу",
"@w1ndyxz хутао = position.y = дети потных сук",
"body aim - бан",
"я люблю неверлуз:fire::fire: и будут меня рука жопе",
"Завали ебало сын перфоратора даже если мут или бан дадут мне похуй
хуйло ты полосатое",
"ананас в рабство",
"ну если вас хуесосит админ, вы не обижайся",
"ах интел жесше ах интел жесше интел жесше ах ах интел пидорас убежал",
"иди нахуй вырубаешь",
"фуу нищ упал)))",
"нужно впитывать до китая сьежю",
"а ты писюн",
"там сука я ютуб сматр. не а еще не надо подумать",
"жмых бобр 228",
"w1ndyxz хуйни не посоветует (посоветует)",
"идите нахуй скончался от пандора бесплатный чит",
"это нарушение которое уходит",
"нужно до утра. словно кукла барби",
"пруфы или обезьяны тебя закодируют нахуй",
"пруфы или обезьяны тебя закодируют нахуй",
"пруфы или обезьяны тебя закодируют нахуй",
"в итоге сломанная челюсть и он мой хуй",
"обьясните, какого хуя в террарию",
"пр кд чд",
"мой хуй это был",
"качай геншин импакт хуета ебанная сука я не снимал",
"я ща через свой хуй пущу электро заряд тебе в мозг",
"сын собаки слышь долбанутая иди отсюда и мамку свою прихвати",
"я на пизде твоей матери построил басейн и там же устроил вечеринку",
"я в пизду твоей матери шарики несквик с молоком заливал",
"я на пизде твоей матери снимал форсаж 15",
"я на пизде твоей матери устраивал уличные гонки",
"с этой провокацией ты глатал кончу матери а та ссала тебе в ебло и что
тебе орала",
"я сожал свой хуй на клиторе твоей матери как на аэрофлот истрибителя",
"мой хуй отправлял тебя до чили чтоб ты мог увидеть все красоты мира на
моем хуе",
"мой хуй ставил критические условия пизде твоей мамаши ведь ебаться на
ледниках эвереста крайне опасно для жизни",
"я подал иск против пизды твоей мамаши он решил взыскать всё имущество
с её пизды лобковые волоса и литр моей спермы которую она украла",
"я в пизде твоей матери газовую станцию построил что бы моему хую было
земой тепло",
"слышь щавель нахуй) ты хули ко мне давал свою мать выебать за букет
цветов то",
"твоя мамашка овощем стала её губочки устали сосать а половые вообще
стерлись там пол москвы побывало… нерусские все почленно",
"будулай утырчатый)) у меня сука спинного мозга больше чем у тебя и
твоей мамашки головного кретины сука",
"ээ ты не петушись ты ж осёл ска тупенький пиздец)) вот поэтому тебя
все на секс разводят и твой рот так расширился от кол-ва хуев кото",
"через тернии к зведздам так добиваются цели нормальные люди но не ты)
твой слоган сосал и буду сосать)))) да вы все сосунки уроды",
"ты знаешь что я тот самый паренек член которого суждено было тебе
взять в рот) ну так теперь знай)",
"слышь чурокобесс ебаный ты понимаешь что я щас полбу твоей матери
своим хуем буду хуярить отбивное мясо нахуй",
"они кто они) те которые твою мать ебали время 04:20:00 пора идти ебать
твою мать",
"твоя мать при помощи моего хуя себе зубы чистит",
"фу нефор кавказа",
"@w1ndyxz ах.. ах.. полегче пожалуйста сделать",
"@w1ndyxz ебало у меня снимут?",
}

local userid = event:get_int("userid")


local attacker = event:get_int("attacker")
local local_player = engine.get_local_player()
local attacker_entindex = engine.get_player_for_user_id(attacker)
local victim_entindex = engine.get_player_for_user_id(userid)

if attacker_entindex ~= local_player or victim_entindex == local_player


then
return
end

engine.execute_client_cmd("say " .. phrases[math.random(1, #phrases)])

end
end

callbacks.register("player_death", on_player_death)
-- End: KillSay

-- Start: Viewmodel In Scope


local cstrike = {}

cstrike.is_scoped = function(entity)
if entity then
local scoped = entity:get_prop("DT_CSPlayer", "m_bIsScoped"):get_int()
if scoped == 1 then
return true
end
end

return false
end

callbacks.register("paint", function()
local fov_cs_debug = cvar.find_var("fov_cs_debug")

if not viewmodel_in_scope:get() then


fov_cs_debug:set_value_int(0)
return
end

local local_player = entity_list.get_client_entity(engine.get_local_player())


if not local_player then
return
end

if cstrike.is_scoped(local_player) then
fov_cs_debug:set_value_int(90)
else
fov_cs_debug:set_value_int(0)
end
end)
-- End: Viewmodel In Scope

-- Start: Thirdperson
local get_cam_idealdist = cvar.find_var("cam_idealdist")

callbacks.register("paint", function()

if thirdperson_distance:get() == true then


get_cam_idealdist:set_value_int(thirdperson_distance_slider:get())
end

if thirdperson_distance:get() == false then


get_cam_idealdist:set_value_int(90)
end

end)
-- End: Thirdperson

You might also like