LUA скрипт [SpirtHack] Simple kill say

Эксперт
Статус
Оффлайн
Регистрация
10 Фев 2021
Сообщения
1,740
Реакции[?]
559
Поинты[?]
2K
простенький кил сей, щас делаю что то типа идел яв(разные сеты под мувы стенды ну и так далее)
1635188322771.png
C++:
local enable = Menu.Switch("Main","Enable say on kill",false)
local type = Menu.Switch("Main","Enable custom", false)
local custom = Menu.TextBox("Main","Custom text",64,"1.")
local preset = {
    "ez",
    "too fucking easy",
    "effortless",
    "easiest kill of my life",
    "retard blasted",
    "cleans?",
    "nice memesense retard",
    "hello mind explaining what happened there",
    "pounce out of your window disgusting tranny, you shouldnt exist in this world",
    "lmao ur so ugly irl like bro doesnt it hurt to live like that, btw you know you can just end it all",
    "ROFL NICE *DEAD* HHHHHHHHHHHHHHHHHH",
    "take the cooldown and let your team surr retard",
    "go take some estrogen tranny",
    "uid police here present your user identification number right now",
    "tranny holzed",
    "better buy the superior hack!",
    "whatcha shootin at retard",
    "nice 0.5x0.5m room you poorfag, how the fuck did you afford an acc hhhhhh",
    "imagine losing at video games couldn't ever be me",
    "nice chromosome count you sell??", "nice thirdworldspeak ROFL",
    "nn4ik shat on",
}
Cheat.RegisterCallback("draw", function(event)
    type:SetVisible(enable:Get())
    custom:SetVisible(type:Get() and enable:Get())
    if type:Get() then
        text = custom:Get()
    else
        text = preset[Utils.RandomInt(1, #preset)]
    end
end)
Cheat.RegisterCallback("events", function(event)
    if event:GetName() == "player_death" and enable:Get() then
        local lc = EntityList.GetLocalPlayer()
        local attacked = EntityList.GetPlayerForUserID(event:GetInt("userid"))
        local attacker = EntityList.GetPlayerForUserID(event:GetInt("attacker"))
        if lc == attacker and attacked ~= lc then
            EngineClient.ExecuteClientCmd("say "..text)
        end
    end
end)
 
Эксперт
Статус
Оффлайн
Регистрация
10 Фев 2021
Сообщения
1,740
Реакции[?]
559
Поинты[?]
2K
Сверху Снизу