OutdatedBox + Bone ESP

Posts 1–15 of 15 · Page 1 of 1
Box + Bone ESP
Credits to @Atheon for the box esp.
Figure out how to use this yourself.
Code:
local one =    v:LocalToWorld(Min):ToScreen()
local two =    v:LocalToWorld(Vector(Min.x, Min.y, Max.z)):ToScreen()
local three =  v:LocalToWorld(Vector(Min.x, Min.y + (Max.y * 2), Min.z)):ToScreen()
local four =   v:LocalToWorld(Vector(Min.x + (Max.x * 2), Min.y, Min.z)):ToScreen()
local five =   v:LocalToWorld(Max):ToScreen()
local six =    v:LocalToWorld(Vector(Max.x, Max.y, Min.z)):ToScreen()
local seven =  v:LocalToWorld(Vector(Max.x, Max.y + (Min.y * 2), Max.z)):ToScreen()
local eight =  v:LocalToWorld(Vector(Max.x + (Min.x * 2), Max.y, Max.z)):ToScreen()
-- Bone ESP Positions
local one2 =   v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Head1")):ToScreen()
local two2 =   v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Neck1")):ToScreen()
local three2 = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Spine4")):ToScreen()
local four2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Spine2")):ToScreen()
local five2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Spine1")):ToScreen()
local six2 =   v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_Spine")):ToScreen()
local seven2 = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_UpperArm")):ToScreen()
local eight2 = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_Forearm")):ToScreen()
local nine2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_Hand")):ToScreen()
local ten2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_UpperArm")):ToScreen()
local eleven2 =   v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_Forearm")):ToScreen()
local twelve2 = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_Hand")):ToScreen()
local thirteen2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_Thigh")):ToScreen()
local fourteen2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_Calf")):ToScreen()
local fifteen2 =   v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_Foot")):ToScreen()
local sixteen2 = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_R_Toe0")):ToScreen()
local seventeen2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_Thigh")):ToScreen()
local eighteen2 =  v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_Calf")):ToScreen()
local nineteen2 =   v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_Foot")):ToScreen()
local twenty2 = v:GetBonePosition(v:LookupBone("ValveBiped.Bip01_L_Toe0")):ToScreen()
surface.SetDrawColor(puturowncolorhere)
local function connect(tabone, tabtwo)
    surface.DrawLine(tabone.x, tabone.y, tabtwo.x, tabtwo.y)
end
                        
connect(one, two)
connect(three, eight)
connect(four, seven)
connect(six, five)
connect(four, six)
connect(four, one)
connect(one, three)
connect(three, six)
connect(five, eight)
connect(eight, two)
connect(two, seven)
connect(seven, five)
-- Bone ESP
connect(one2, two2)
connect(two2, three2)
connect(three2, four2)
connect(four2, five2)
connect(five2, six2)
connect(seven2, three2)
connect(eight2, seven2)
connect(nine2, eight2)
connect(ten2, three2)
connect(eleven2, ten2)
connect(twelve2, eleven2)
connect(thirteen2, six2)
connect(fourteen2, thirteen2)
connect(fifteen2, fourteen2)
connect(sixteen2, fifteen2)
connect(seventeen2, six2)
connect(eighteen2, seventeen2)
connect(nineteen2, eighteen2)
connect(twenty2, nineteen2)
Nice C+P of AHack.
420/911
Holy shit its a bad script

Code:
local zeroAngle = Angle(0, 0, 0)
Code:
	g.cam.Start3D( r.Entity.EyePos( me ), r.Vector.Angle( r.Player.GetAimVector( me ) ) );

		for _, ply in g.pairs( playersToDraw ) do

			if ( !ply:IsValid() ) then continue; end;
			if ( ply == me ) then continue; end;

			for group = 0, r.Entity.GetHitBoxGroupCount( ply ) - 1 do
			
				for hitbox = 0, r.Entity.GetHitBoxCount( ply, group ) - 1 do

					local bone = r.Entity.GetHitBoxBone( ply, hitbox, group );
					local bpos, bang = r.Entity.GetBonePosition( ply, bone );
					local mins, maxs = r.Entity.GetHitBoxBounds( ply, hitbox, group );

					g.render.DrawWireframeBox( bpos, bang, mins, maxs, g.Color( 51, 204, 255, 255 ), false );

				end;

			end;

			g.render.DrawWireframeBox( r.Entity.GetPos( ply ), zeroAngle, r.Entity.OBBMins( ply ), r.Entity.OBBMaxs( ply ), g.Color( 255, 204, 51, 255 ), false );

		end;

	g.cam.End3D();
dont ask how to use it
Quote Originally Posted by MeepDarknessMeep View Post
why do you guys make things so difficult
I released a simple hack anyone could C+P and people have to hate.


31 lines including the hooking function and white space
Quote Originally Posted by MeepDarknessMeep View Post


31 lines including the hooking function and white space
Yeah I could make my code smaller but hell if it aint broke why fix it.
Quote Originally Posted by Trollaux View Post


Yeah I could make my code smaller but hell if it aint broke why fix it.
because your code sucks and won't work with all models
Quote Originally Posted by niller303 View Post
Holy shit its a bad script

Code:
local zeroAngle = Angle(0, 0, 0)
Code:
	g.cam.Start3D( r.Entity.EyePos( me ), r.Vector.Angle( r.Player.GetAimVector( me ) ) );

		for _, ply in g.pairs( playersToDraw ) do

			if ( !ply:IsValid() ) then continue; end;
			if ( ply == me ) then continue; end;

			for group = 0, r.Entity.GetHitBoxGroupCount( ply ) - 1 do
			
				for hitbox = 0, r.Entity.GetHitBoxCount( ply, group ) - 1 do

					local bone = r.Entity.GetHitBoxBone( ply, hitbox, group );
					local bpos, bang = r.Entity.GetBonePosition( ply, bone );
					local mins, maxs = r.Entity.GetHitBoxBounds( ply, hitbox, group );

					g.render.DrawWireframeBox( bpos, bang, mins, maxs, g.Color( 51, 204, 255, 255 ), false );

				end;

			end;

			g.render.DrawWireframeBox( r.Entity.GetPos( ply ), zeroAngle, r.Entity.OBBMins( ply ), r.Entity.OBBMaxs( ply ), g.Color( 255, 204, 51, 255 ), false );

		end;

	g.cam.End3D();
dont ask how to use it
Thanks for contribution

Quote Originally Posted by MeepDarknessMeep View Post
because your code sucks and won't work with all models
XhLDRM4.gif34 KB · 4 downloads
Quote Originally Posted by MeepDarknessMeep View Post


31 lines including the hooking function and white space
Are you fucking kidding me? The one in Herpes (used for mainly debug purposes, as it has an option for printing hitbox nums as well) is like 5, die.
Quote Originally Posted by TheyCallMeDaz View Post
Are you fucking kidding me? The one in Herpes (used for mainly debug purposes, as it has an option for printing hitbox nums as well) is like 5, die.
debugoverlay is NOT cool
Code:
local function DrawBone(b1, b2)
	surface.DrawLine(b1.y, b1.x, b2.y, b2.x);
end

local fake = Angle(0,0,0); -- don't know why some bones fuck up like this but ok

local function boneesp(ply)
	local cur = nil;
	local ths = nil;
	local real, lcal;
	for i = ply:GetBoneCount() - 1, 0, -1  do
		real, lcal = ply:GetBonePosition(i);
		if(lcal == fake) then continue; end
		cur = (real):ToScreen();
		for k,v in pairs(ply:GetChildBones(i)) do
			real, lcal = ply:GetBonePosition(v);
			if(lcal == fake) then continue; end
			ths = (ply:GetBonePosition(v)):ToScreen();
			DrawBone(cur, ths);
		end
	end
end

dismay.AddHook("HUDPaint", "fuck", function()
	surface.SetDrawColor(255,0,255,255);
	for k,v in pairs(players.GetAll()) do
		boneesp(k, v); 
	end
end);
Quote Originally Posted by MeepDarknessMeep View Post
Code:
local function DrawBone(b1, b2)
	surface.DrawLine(b1.y, b1.x, b2.y, b2.x);
end

local fake = Angle(0,0,0); -- don't know why some bones fuck up like this but ok

local function boneesp(ply)
	local cur = nil;
	local ths = nil;
	local real, lcal;
	for i = ply:GetBoneCount() - 1, 0, -1  do
		real, lcal = ply:GetBonePosition(i);
		if(lcal == fake) then continue; end
		cur = (real):ToScreen();
		for k,v in pairs(ply:GetChildBones(i)) do
			real, lcal = ply:GetBonePosition(v);
			if(lcal == fake) then continue; end
			ths = (ply:GetBonePosition(v)):ToScreen();
			DrawBone(cur, ths);
		end
	end
end

dismay.AddHook("HUDPaint", "fuck", function()
	surface.SetDrawColor(255,0,255,255);
	for k,v in pairs(players.GetAll()) do
		boneesp(k, v); 
	end
end);
players.GetAll nice
retarded code
Fresh big hacks 10/10 was an inside job
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us