Code:
ply = LocalPlayer()
hook.Add('HUDPaint','SkeletonEsp', function()
for i,v in pairs(player.GetAll()) do
if v == ply then
else
surface.SetDrawColor( 255, 0, 0, 255 )
rshoulder = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_R_UpperArm') ):ToScreen()
lshoulder = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_L_UpperArm') ):ToScreen()
relbow = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_R_Forearm') ):ToScreen()
lelbow = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_L_Forearm') ):ToScreen()
lwrist = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_L_Hand') ):ToScreen()
rwrist = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_R_Hand') ):ToScreen()
head = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_Head1') ):ToScreen()
pelvis = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_Pelvis') ):ToScreen()
rthigh = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_R_Calf') ):ToScreen()
lthigh = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_L_Calf') ):ToScreen()
rfoot = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_R_Foot') ):ToScreen()
lfoot = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_L_Foot') ):ToScreen()
surface.DrawLine(rshoulder.x,rshoulder.y,lshoulder.x,lshoulder.y)
surface.DrawLine(rshoulder.x,rshoulder.y,relbow.x,relbow.y)
surface.DrawLine(lshoulder.x,lshoulder.y,lelbow.x,lelbow.y)
surface.DrawLine(relbow.x,relbow.y,rwrist.x,rwrist.y)
surface.DrawLine(lelbow.x,lelbow.y,lwrist.x,lwrist.y)
surface.DrawLine(head.x,head.y,pelvis.x,pelvis.y)
surface.DrawLine(pelvis.x,pelvis.y,rthigh.x,rthigh.y)
surface.DrawLine(pelvis.x,pelvis.y,lthigh.x,lthigh.y)
surface.DrawLine(rthigh.x,rthigh.y,rfoot.x,rfoot.y)
surface.DrawLine(lthigh.x,lthigh.y,lfoot.x,lfoot.y)
end
end
end)
p Skeleton esp
Code:
ply = LocalPlayer()
hook.Add('HUDPaint','Esp', function()
for i,v in pairs(player.GetAll()) do
if v == ply then
else
size = 1
screenpos = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_Head1') ):ToScreen()
if ply:GetPos():Distance(v:GetPos()) < 2000 then
size = 15-(ply:GetPos():Distance(v:GetPos()))/150
elseif ply:GetPos():Distance(v:GetPos()) < 2000 then
size = 2
end
surface.DrawCircle(screenpos.x,screenpos.y,size or 0,255,0,0,255)
end
end
end)
P circle on head esp
Code:
ply = LocalPlayer()
hook.Add('HUDPaint','Tracer', function()
for i,v in pairs(player.GetAll()) do
if v == ply then
else
surface.SetDrawColor( 255, 100, 100, 255 )
pstart = v:GetBonePosition( v:LookupBone('ValveBiped.Bip01_Head1') ):ToScreen()
pend = util.TraceLine(util.GetPlayerTrace(v)).HitPos:ToScreen()
surface.DrawLine(pstart.x,pstart.y,pend.x,pend.y)
end
end
end)
p player tracers