Outdatedhot oj cut hack

Posts 1–2 of 2 · Page 1 of 1
hot oj cut hack
ok so this post doesn't get removed simple esp:
Code:
local enabled = CreateClientConVar("cs_esp", 1)
local players = CreateClientConVar("cs_esp_players", 1)
local teamcol = CreateClientConVar("cs_esp_players_teamcol", 0)
local rank = CreateClientConVar("cs_esp_players_rank", 1)
local pmoney = CreateClientConVar("cs_esp_players_money", 1)
local names = CreateClientConVar("cs_esp_players_names", 1)
local health = CreateClientConVar("cs_esp_players_health", 1)
local playerbox = CreateClientConVar("cs_esp_players_box", 1)
local printers = CreateClientConVar("cs_esp_printers", 1)
local money = CreateClientConVar("cs_esp_money", 1)
local ply = LocalPlayer()

local function GetColor(ent)
    if teamcol:GetBool() then return team.GetColor(ent:Team()) end
    return ent:Team() == ply:Team() and Color(0, 255, 0) or Color(255, 0, 0)
end

local function Esp()
    if players:GetBool() then
        for enum,ent in pairs(player.GetAll()) do
            if !enabled:GetBool() or !IsValid(ent) or !IsEntity(ent) or ent == ply or !ent:Alive() or 0 >= ent:Health() then continue end      
            
            local min, max = ent:OBBMins(), ent:OBBMaxs()
            local top = (ent:GetPos() + Vector(0, 0, max.z)):ToScreen()
            local bottom = (ent:GetPos()):ToScreen()
            local middle = bottom.y - top.y
            local width = middle / 4
            local pos = 10

            if names:GetBool() then
                draw.SimpleText(ent:Nick(), "Trebuchet18", top.x, top.y - 10, color_white, 1, 1)
            end
             
            if playerbox:GetBool() then
                surface.SetDrawColor(GetColor(ent))
                surface.DrawOutlinedRect(top.x - width, top.y, width * 2, middle)
                surface.SetDrawColor(Color(0, 0, 0))
                surface.DrawOutlinedRect(top.x - width - 1, top.y - 1, width * 2 + 2, middle + 2)
                surface.DrawOutlinedRect(top.x - width + 1, top.y + 1, width * 2 - 2, middle - 2)
            end
             
            if health:GetBool() then
                draw.SimpleText(ent:Health() .. " HP", "Trebuchet18", top.x, bottom.y + pos, Color(0, 255, 0), 1, 1)
                pos = pos + 12
            end
            
            if pmoney:GetBool() and ent.DarkRPVars and ent.DarkRPVars.money then
                local moola = ent.DarkRPVars.money
                draw.SimpleText("$" .. moola, "Trebuchet18", top.x, bottom.y + pos, Color(0, 255, 0), 1, 1)
                pos = pos + 12
            end
            
            if rank:GetBool() and ent:GetUserGroup() then
                local col = ent:IsAdmin() and Color(255, 0, 0) or Color(255, 255, 0)
                draw.SimpleText(ent:GetUserGroup(), "Trebuchet18", top.x, bottom.y + pos, col, 1, 1)
                pos = pos + 12
            end
        end
    end
    
    if printers:GetBool() then
        for enum,ent in pairs(ents.GetAll()) do
            if !enabled:GetBool() or !IsValid(ent) or !IsEntity(ent) then continue end
            
            local min, max = ent:OBBMins(), ent:OBBMaxs()
            local top = (ent:GetPos() + Vector(0, 0, max.z)):ToScreen()
            local bottom = (ent:GetPos()):ToScreen()
            local middle = bottom.y - top.y
            
            if string.find(ent:GetClass(), "printer") then
                draw.SimpleText("MONEY PRINTER - " .. ent:GetClass(), "Trebuchet18", top.x, bottom.y + 10, (ent.GetOwner and IsValid(ent:GetOwner()) and ent:GetOwner():IsPlayer()) and team.GetColor(ent:GetOwner():Team()) or Color(0, 200, 0), 1, 1)
            end
        end
    end
    
    if printers:GetBool() or money:GetBool() then
        for enum,ent in pairs(ents.GetAll()) do
            if !enabled:GetBool() or !IsValid(ent) or !IsEntity(ent) then continue end
            
            local min, max = ent:OBBMins(), ent:OBBMaxs()
            local top = (ent:GetPos() + Vector(0, 0, max.z)):ToScreen()
            local bottom = (ent:GetPos()):ToScreen()
            local middle = bottom.y - top.y
            
            if ent:GetClass() == "spawned_money" then
                draw.SimpleText("$" .. ent:Getamount(), "Trebuchet18", top.x, bottom.y + 10, Color(0, 255, 0), 1, 1)
            end
        end
    end
end

hook.Add("HUDPaint", "CS.Esp", Esp)
Not a release...

/Moved
Posts 1–2 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us