Dynamic bone esp
Hey guys, I coded a really nice dynamic bone esp for you guys and im gonna share it because im a really nice person.
shout out to my boys at dango mafia!!!
Sreenshot:
i.gyazo.com/8ec216a37d2bef64899a822dbd6a9ca0.jpg
enjoy!!!
edit: make you you place this in materials folder as "skeleton.png"
pngimg.com/upload/skeleton_PNG5556.png
shout out to my boys at dango mafia!!!
Code:
--[[
Skeleton esp
by Aria
]]--
local SpookyMat = Material("skeleton2.png", "nocull")
local function DrawBones(ent)
surface.SetMaterial( SpookyMat )
local Min = ent:GetPos()
local Max = Min + Vector( 0, 0, ent:OBBMaxs().z )
Max = Max:ToScreen()
Min = Min:ToScreen()
local Height = -(Max.y - Min.y)
local Width = Height*.5
surface.SetDrawColor( 255, 255, 255, 100 )
surface.DrawRect( Min.x - Width*.5, Max.y, Width, Height )
surface.SetDrawColor( 255, 255, 255, 255 )
surface.DrawTexturedRect( Min.x - Width*.5, Max.y, Width, Height )
surface.SetDrawColor( 0, 0, 0, 255 )
surface.DrawOutlinedRect( Min.x - Width*.5 - 1, Max.y - 1, Width + 2, Height + 2 )
end
hook.Add("HUDPaint", "esp", function()
local players = player.GetAll()
for i = 1, #players do
if players[i] != LocalPlayer() then
DrawBones( players[i] )
end
end
end)
i.gyazo.com/8ec216a37d2bef64899a822dbd6a9ca0.jpg
enjoy!!!
edit: make you you place this in materials folder as "skeleton.png"
pngimg.com/upload/skeleton_PNG5556.png


