Outdated👍 Custom coded team based chams by LuaHax!

Posts 1–9 of 9 · Page 1 of 1
👍 Custom coded team based chams by LuaHax!
Hello fellow hackers,

I've coded my own custom chams that I use personally. I've decided to share it with you guys. I know it's basic but they're chams and it's a short lua script so you guys shouldn't lag to much.
To enable type lua_openscript_cl <Whatever you saved it as>.lua
To enable the wallhack itself (once you have ran the script) you type "luahax_esp_chams 1".
Have fun wallhacking :)
If this helped you then click the thanks button.

 
Code
CreateClientConVar("render_test",0,true, false)





function LuaHax.Material()



local BaseInfo = {

["$basetexture"] = "models/debug/debugwhite",

["$ignorez"] = 1

}



local mat = CreateMaterial( "LuaHax", "VertexLitGeneric", BaseInfo )



return mat



end



function LuaHax.Chams()

local losttarget = false

if(GetConVarNumber("luahax_esp_chams") == 0 ) then

return true

elseif(GetConVarNumber("luahax_esp_chams") == 1) then



for k, e in ipairs( Enemys ) do

if(e == nil ) then

local losttarget = true

end

if(!e:IsValid()) then return end

if(losttarget == false) then

if ( e:Alive() ) then

cam.Start3D( EyePos(), EyeAngles() )

if(!LuaHax.IsVisible(e)) then

local mat = LuaHax.Material()

render.SuppressEngineLighting( true )

render.SetColorModulation( (Cheat_EnemyIV.r/255 ), (Cheat_EnemyIV.g/255), ( Cheat_EnemyIV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

render.SuppressEngineLighting( false )

render.SetColorModulation( (Cheat_EnemyIV.r/255 ), (Cheat_EnemyIV.g/255), ( Cheat_EnemyIV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

elseif(LuaHax.IsVisible(e) ) then

local mat = LuaHax.Material()

render.SuppressEngineLighting( true )

render.SetColorModulation( (Cheat_EnemyV.r/255 ), (Cheat_EnemyV.g/255), ( Cheat_EnemyV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

render.SuppressEngineLighting( false )

render.SetColorModulation( (Cheat_EnemyV.r/255 ), (Cheat_EnemyV.g/255), ( Cheat_EnemyV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

end

cam.End3D()

end

end

SetMaterialOverride( nil )

end

end

for k,e in ipairs( Friends ) do

if(e == nil ) then

local losttarget = true

end

if(!e:IsValid()) then return end

if(losttarget == false) then

if ( e:Alive() ) then

cam.Start3D( EyePos(), EyeAngles() )

if(!LuaHax.IsVisible(e)) then

local mat = LuaHax.Material()

render.SuppressEngineLighting( true )

render.SetColorModulation( (Cheat_TeamIV.r/255 ), (Cheat_TeamIV.g/255), ( Cheat_TeamIV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

render.SuppressEngineLighting( false )

render.SetColorModulation( (Cheat_TeamIV.r/255 ), (Cheat_TeamIV.g/255), ( Cheat_TeamIV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

elseif(LuaHax.IsVisible(e) ) then

local mat = LuaHax.Material()

render.SuppressEngineLighting( true )

render.SetColorModulation( (Cheat_TeamV.r/255 ), (Cheat_TeamV.g/255), ( Cheat_TeamV.b/255 ) )

SetMaterialOverride( mat )

e":DrawModel()

render.SuppressEngineLighting( false )

render.SetColorModulation( (Cheat_TeamV.r/255 ), (Cheat_TeamV.g/255), ( Cheat_TeamV.b/255 ) )

SetMaterialOverride( mat )

e:DrawModel()

end

cam.End3D()

end

end

SetMaterialOverride( nil )

end

end



timer.Create("fix",1,1,function()

hook.Add("RenderScreenspaceEffects","re",LuaHax.Ch ams)

end)

Thanks, I would assume setting thr command to 0 would properly disable the chams?
The thing is, this won't even work.
Code:
CreateClientConVar("render_test",0,true, false)


if(GetConVarNumber("luahax_esp_chams") == 0 ) then

return true

elseif(GetConVarNumber("luahax_esp_chams") == 1) then
9/11 top kek

I laughed at how you claimed this was "custom coded" please stop saying that you coded things, this is so unoptimized and awful that no one should use it in the first place, you didn't even use the code tag correctly.
Quote Originally Posted by TheyCallMeDaz View Post
I laughed at how you claimed this was "custom coded" please stop saying that you coded things, this is so unoptimized and awful that no one should use it in the first place, you didn't even use the code tag correctly.
Shhh, the code is a secret, it's a spoiler.
Wait is this even more crappy then the wiki's version? -_-
So you basically copypasted the source for chams that are broke that I posted and changed the name of some values. Nice.
Quote Originally Posted by Trollaux View Post
So you basically copypasted the source for chams that are broke that I posted and changed the name of some values. Nice.
Omg hi daddy.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us