FRESH LEAK! SNIXZZ2!

Posts 115 of 44 · Page 1 of 3
FRESH LEAK! SNIXZZ2!
hi ******s i got this from someone i ratted with darkcomet (rofl)

Code:
/*
	Anti-cheat detection, just informs you if an anti-cheat is present
	Must be loaded before module is loaded and the snixzz table is
	actually created
*/

if _G["_snixzz"] then
	_G["_snixzz"] = nil
	MsgC( Color( 255, 0, 0 ), "[snixzz2] Detected an anti-cheat, or snixzz2 was reloaded.\n" )
end
if _G["snixzz"] then
	_G["snixzz"] = nil 
	MsgC( Color( 255, 0, 0 ), "[snixzz2] Detected an anti-cheat, or snixzz2 was reloaded.\n" )
end

if _G["cvar3"] then
	_G["cvar3"] = nil
	MsgC( Color( 255, 0, 0 ), "[snixzz2] Detected an anti-cheat\n" )
end
if _G["cvar3"] then
	_G["cvar3"] = nil 
	MsgC( Color( 255, 0, 0 ), "[snixzz2] Detected an anti-cheat, or snixzz2 was reloaded.\n" )
end

local snixzz = {}
snixzz.DataFolder = "savedata"

local _R = debug["getregistry"]()

snixzz["Copy"] = {
	["table"] = table,
	["hook"] = hook,
	["math"] = math,
	["surface"] = surface,
	["render"] = render,
	["draw"] = draw,
	["util"] = util,
	["http"] = http,
	["player"] = player,
	["input"] = input,
	["timer"] = timer,
	["cam"] = cam,
	["team"] = team,
	["ents"] = ents,
	["concommand"] = concommand,
	["vgui"] = vgui,
	["string"] = string,
	["file"] = file,
	["ScrW"] = ScrW,
	["ScrH"] = ScrH,
	["pairs"] = pairs,
	["IsValid"] = IsValid,
	["LocalPlayer"] = LocalPlayer,
	["GetConVarNumber"] = GetConVarNumber,
	["SetMaterialOverride"] = SetMaterialOverride,
	["CreateMaterial"] = CreateMaterial,
	["Vector"] = Vector,
	["Material"] = Material,
	["EyePos"] = EyePos,
	["EyeAngles"] = EyeAngles,
	["Color"] = Color,
	["RealFrameTime"] = RealFrameTime,
	["RunConsoleCommand"] = RunConsoleCommand,
	["require"] = require,
	["MsgN"] = MsgN,
	["tostring"] = tostring,
	["Angle"] = Angle,
}

snixzz["Hooks"] = {
}
snixzz["Detours"] = {
}
snixzz["Spoof"] = {
	["sv_allowcslua"] = snixzz["Copy"]["GetConVarNumber"]( "sv_allowcslua" ), // some anti-cheats man..
	["sv_cheats"] = 0,
	["host_timescale"] = 1,
	["host_framerate"] = 0,
}	

// Aimbot vars nd shit
snixzz["Target"] = nil
snixzz["Distance"] = 2147483647 // max aimbot distance
snixzz["Shooting"] = false
snixzz["Typing"] = false
snixzz["Locked"] = false
snixzz["Whitelist"] = {
}
snixzz["Attachments"] = {
	"eyes",
	"forward",
	"head",
}

snixzz.Bools = {
	
	-- Aimbot & view settings
	["aim_toggle"] = false,
	["aim_autoshoot"] = true,
	["aim_antiaim"] = true,
	["aim_silent"] = true,
	["aim_nospread"] = true,
	["aim_norecoil"] = true,
	["aim_prediction"] = true,	
	["aim_ignoresteam"] = true,
	["aim_ignoreadmins"] = false,
	["aim_ignorebots"] = false,
	["aim_ignoreteam"] = false,
	
	-- ESP settings
	["esp_enabled"] = true,
	["esp_name"] = true,
	["esp_weapon"] = true,
	["esp_box"] = true,
	["esp_crosshair"] = true,
	["esp_crosshair_box"] = true,
	["esp_tracer"] = false,
	["esp_nohands"] = true,
	["esp_status"] = true,
	["esp_list"] = true,
	
	["misc_bhop"] = true,
	
	
}

snixzz.Vars = {
	
	-- Aimbot Vars
	["aim_distance"] = 2147483647,
	
	-- ESP Vars
	["esp_distance"] = 3000,
	
	-- Misc Vars
	["speedhack_speed"] = 3.5,
	["speedhack_type"] = "pSpeed",
	
	["misc_menucolor"] = Color( 0, 188, 255, 75 ),
	
}

snixzz.Binds = {
	["+aimbot"] = KEY_F,
	["+menu"] = KEY_G,
	["+speedhack"] = KEY_B,
	["+misc_list"] = KEY_T,
}

snixzz.Keys = {
	[1] = { Name = "A", Key = KEY_A },
	[2] = { Name = "B", Key = KEY_B },
	[3] = { Name = "C", Key = KEY_C },
	[4] = { Name = "D", Key = KEY_D },
	[5] = { Name = "E", Key = KEY_E },
	[6] = { Name = "F", Key = KEY_F },
	[7] = { Name = "G", Key = KEY_G },		
	[8] = { Name = "H", Key = KEY_H },
	[9] = { Name = "I", Key = KEY_I },
	[10] = { Name = "J", Key = KEY_J },
	[11] = { Name = "K", Key = KEY_K },
	[12] = { Name = "L", Key = KEY_L },
	[13] = { Name = "M", Key = KEY_M },
	[14] = { Name = "N", Key = KEY_N },
	[15] = { Name = "O", Key = KEY_O },
	[16] = { Name = "P", Key = KEY_P },
	[17] = { Name = "Q", Key = KEY_Q },
	[18] = { Name = "R", Key = KEY_R },
	[19] = { Name = "S", Key = KEY_S },
	[20] = { Name = "T", Key = KEY_T },
	[21] = { Name = "U", Key = KEY_U },
	[22] = { Name = "V", Key = KEY_V },
	[23] = { Name = "W", Key = KEY_W },
	[24] = { Name = "X", Key = KEY_X },
	[25] = { Name = "Y", Key = KEY_Y },
	[26] = { Name = "Z", Key = KEY_Z },
	[27] = { Name = "SPACE", Key = KEY_SPACE },
	[28] = { Name = "TAB", Key = KEY_TAB },
	[29] = { Name = "Left Shift", Key = KEY_LSHIFT },
	[30] = { Name = "Right Shift", Key = KEY_RSHIFT },
	[31] = { Name = "Left Alt", Key = KEY_LALT },
	[32] = { Name = "Right Alt", Key = KEY_RALT },
	[33] = { Name = "Delete", Key = KEY_DELETE },
	[34] = { Name = ".", Key = KEY_PERIOD },
	[35] = { Name = "/", Key = KEY_SLASH },
	[36] = { Name = "[", Key = KEY_LBRACKET },
	[37] = { Name = ";", Key = KEY_SEMICOLON },
	[38] = { Name = "'", Key = KEY_APOSTROPHE },
	[39] = { Name = ",", Key = KEY_COMMA },	
}

// nospread shit
snixzz.RecoilBackup = {}
snixzz["Cones"] = {
	["HL2"] = {	
		["weapon_pistol"] = snixzz["Copy"]["Vector"]( 0.0100, 0.0100, 0.0100 ),
		["weapon_smg1"] = snixzz["Copy"]["Vector"]( 0.04362, 0.04362, 0.04362 ),
		["weapon_ar2"] = snixzz["Copy"]["Vector"]( 0.02618, 0.02618, 0.02618 ),
		["weapon_shotgun"] = snixzz["Copy"]["Vector"]( 0.08716, 0.08716, 0.08716 ),
	},
}
snixzz["ConeBase"] = {
	["weapon_cs_base"] = true,
	["weapon_zs_base"] = true,
}

snixzz.BadWeapons = {
	["gmod_tool"] = true,
	["gmod_camera"] = true,
	["phys_cannon"] = true,
}

snixzz["Colors"] = {
	["White"] = Color( 255, 255, 255, 255 ),
	["Black"] = Color( 0, 0, 0, 255 ),
	["Green"] = Color( 0, 255, 0, 255 ),
	["Red"] = Color( 255, 0, 0, 255 ),
	["DarkRed"] = Color( 200, 50, 50, 255 ),
	["Cyan"] = Color( 0, 255, 255, 255 ),
}

snixzz["Block"] = {
	["net"] = {
	
	}
}

snixzz["Copy"]["surface"]["CreateFont"]( "snixzz", { font = "Trebuchet18", size = 12, antialias = false } )
snixzz["Copy"]["surface"]["CreateFont"]( "snixzz_status", { font = "coolvetica", size = 20, antialias = true } ) -- HudHintTextLarge
snixzz["Copy"]["surface"]["CreateFont"]( "snixzz_list", { font = "coolvetica", size = 12, antialias = true } )

/* General notification/display functions */
function snixzz.Message( col, txt )
	MsgC( snixzz["Colors"]["Cyan"], "[snixzz2]: " )
	MsgC( col, txt .. "\n" )
end

/* Detour function */
function snixzz.Detour( Old, New )
	snixzz["Detours"][New] = Old
	snixzz["Message"]( Color( 200, 150, 255 ), "Detouring function " .. snixzz["Copy"]["tostring"]( Old ) .. "." )
	return New
end

snixzz["Copy"]["require"]( "snixzz2" ) // not a hack module....
snixzz.Copy.require( "pspeed" )
local _snixzz = _G["NHTable"]
snixzz.pSpeed = _G["SetSpeed"]
_G["NHTable"] = nil // hacker.
_G["SetSpeed"] = nil

/* Anti-Cheat bypass functions */
function snixzz.AntiCheats()
	
	if _G["CheckVars"] then
		snixzz["Message"]( Color( 50, 255, 50 ), "function CheckVars exists, detouring the scan." )
		_G["CheckVars"] = snixzz["Detour"]( _G["CheckVars"], function()
			snixzz["Message"]( Color( 50, 255, 50 ), "HERP-AC attempted to scan cvars, stopping that..." )
		end )
	end
	
	if _G["RunCheck"] then
		snixzz["Message"]( Color( 0, 255, 50 ), "function RunCheck exists, detouring." )
		_G["RunCheck"] = snixzz["Detour"]( _G["RunCheck"], function()
			snixzz["Message"]( Color( 50, 255, 50 ), "TAC attempted to run a check, returning no information." )
		end )
 	end
	
	if _G["CAC"] then -- lol old as fuck but still works for cracked i believe
		snixzz["Message"]( Color( 0, 255, 50 ), "table CAC exists, bypassing anti-cheat." )
		snixzz["Copy"]["timer"]["Destroy"]( "CAC" )
	end
		
	
	snixzz["Copy"]["concommand"]["Remove"]( "0_u_found" )
	snixzz["Copy"]["concommand"]["Add"]( "0_u_found", function()
		snixzz["Message"]( Color( 50, 255, 50 ), "anti-cheat concommand 0_u_found blocked" )
	end )
	snixzz["Copy"]["hook"]["Remove"]( "InitPostEntity", "detrp" )
	
end
snixzz["AntiCheats"]()

/* Hooking functions */

function snixzz.RegisterHook( Type, Function )
	snixzz["Message"]( Color( 255, 255, 255 ), "Hooking function " .. Type .." into " .. snixzz["Copy"]["string"]["Replace"]( snixzz["Copy"]["tostring"]( Function ), "function: ", "" ) )
	snixzz["Copy"]["table"]["insert"]( snixzz["Hooks"], snixzz["Copy"]["string"]["Replace"]( snixzz["Copy"]["tostring"]( Function ), "function: ", "" ) )
	return snixzz["Copy"]["hook"]["Add"]( Type, snixzz["Copy"]["string"]["Replace"]( snixzz["Copy"]["tostring"]( Function ), "function: ", "" ), Function )
end

/*

	Settings & Menu backend.
	
*/

function snixzz.CreateOption( dtype, parent, oText, oBool, xPos, yPos, oWide, xPos2, yPos2, oDec )
	local addx, addy = 3, 3.5
	
	if ( dtype == "Checkbox" ) then
		dtype = "DCheckBoxLabel"
		local text, bool, x, y = oText, oBool, xPos, yPos
		local checkbox = snixzz.Copy****ui.Create( dtype, parent )
		checkbox:SetText( text )
		checkbox:SetCursor( "crosshair" )
		checkbox:SetPos( x + addx, y + addy )
		checkbox:SizeToContents()
		checkbox:SetTextColor( Color( 255, 255, 255 ) )
		checkbox:SetChecked( snixzz.Bools[bool] ) 
		checkbox.OnChange = function( check ) 
			snixzz.Bools[bool] = checkbox:GetChecked() 
		end 	
		
	elseif ( dtype == "Slider" ) then
		dtype = "DNumSlider"
		local text, var, min, max, wide, x, y, Dec = oText, oBool, xPos, yPos, oWide, xPos2, yPos2, oDec
		local slider = vgui.Create( dtype, parent )
		slider:SetPos( x + addx, y + addy )
		slider:SetWide( wide )
		slider:SetCursor( "crosshair" )
		slider:SetText( text )
		slider:SetMin( min )
		slider:SetMax( max )
		slider:SetDecimals( Dec )
		slider:SetValue( snixzz.Vars[var] ) 
		slider.OnValueChanged = function( p, v ) 
			snixzz.Vars[var] = v 
		end
		
	elseif ( dtype == "Label" ) then
		dtype = "DLabel"
		local text, x, y = oText, oBool, xPos
		local label = vgui.Create( dtype, parent )
		label:SetPos( x, y )
		label:SetCursor( "crosshair" )
		label:SetText( text )
		label:SizeToContents()
		label:SetTextColor( color_white )
	end
end

function snixzz.SaveConfig( cfg )
	local save = {}
	save.Vars = snixzz.Vars
	save.Bools = snixzz.Bools
	save.Binds = snixzz.Binds
	cfg = snixzz.Copy.string.gsub( cfg, " ", "_" )
	if !snixzz.Copy.file.Exists( snixzz.DataFolder .. "/configs/" .. cfg .. ".txt", "DATA" ) then
		snixzz.Copy.table.insert( snixzz.Configs, cfg )
		snixzz.Copy.file.Write( snixzz.DataFolder .. "/configs/" .. cfg .. ".txt", snixzz.Copy.util.TableToJSON( save ) )
		snixzz.Message( snixzz.Colors["Green"], "Created config " .. cfg .. "!" )
	else
		snixzz.Message( snixzz.Colors["Red"], "Config " .. cfg .. " already exists!" )
	end
end

function snixzz.LoadConfig( cfg )
	cfg = snixzz.Copy.string.lower( cfg )
	if snixzz.CurrentConfig != cfg then
		if snixzz.Copy.file.Exists( snixzz.DataFolder .. "/configs/" .. cfg .. ".txt", "DATA" ) then
			local ToRead = snixzz.Copy.util.JSONToTable( snixzz.Copy.file.Read( snixzz.DataFolder .. "/configs/" .. cfg .. ".txt", "DATA" ) )
			snixzz.Vars = ToRead.Vars
			snixzz.Bools = ToRead.Bools
			snixzz.Binds = ToRead.Binds
		else
			snixzz.Message( Color( 255, 0, 0 ), "Invalid config file!" )
		end
		snixzz.Message( snixzz.Colors["Green"], "Loaded config " .. cfg )
		snixzz.CurrentConfig = cfg
	else
		snixzz.Message( snixzz.Colors["White"], "Config " .. cfg .. " is already loaded!" )
	end
end

function snixzz.DeleteConfig( cfg )
	cfg = snixzz.Copy.string.lower( cfg )
	if cfg != "default" then
		if snixzz.Copy.file.Exists( snixzz.DataFolder .. "/configs/" .. cfg .. ".txt", "DATA" ) then
			snixzz.Copy.file.Delete( snixzz.DataFolder .. "/configs/" .. cfg .. ".txt" )
			snixzz.Message( snixzz.Colors["DarkRed"], "Deleted config " .. cfg )
		else
			snixzz.Message( Color( 255, 0, 0 ), "Unable to find config " .. cfg "!" )
		end
	else
		snixzz.Message( snixzz.Colors["Red"], "You cannot delete the default config!" )
	end
end

function snixzz.RenameConfig( Old, New )
New = snixzz.Copy.string.gsub( New, " ", "_" )
	if Old != "default" then
		if !snixzz.Copy.file.Exists( snixzz.DataFolder .. "/configs/" .. New .. ".txt", "DATA" ) then
			local OldConfig = snixzz.Copy.file.Read( snixzz.DataFolder .. "/configs/" .. Old .. ".txt", "DATA" )
			if snixzz.Copy.file.Exists( snixzz.DataFolder .. "/configs/" .. Old .. ".txt", "DATA" ) then
				snixzz.Copy.file.Delete( snixzz.DataFolder .. "/configs/" .. Old .. ".txt", "DATA" )
			end
			snixzz.Copy.file.Write( snixzz.DataFolder .. "/configs/" .. snixzz.Copy.string.lower( New ) .. ".txt", OldConfig )
			snixzz.Message( snixzz.Colors["DarkRed"], "Renamed " .. Old .. " to " .. snixzz.Copy.string.lower( New ) .. "." )
		else
			snixzz.Message( Color( 255, 0, 0 ), "Config " .. New .. " already exists! Pick a different name." )
		end
	else
		snixzz.Message( snixzz.Colors["Red"], "You cannot rename the default config!" )
	end
end

function snixzz.BindKey( Bind, Key ) 
	if snixzz.Binds[Bind] then 
		for _, v in snixzz.Copy.pairs( snixzz.Keys ) do 
			if Key == v.Name then 
				snixzz.Binds[ Bind ] = v.Key 
				snixzz.Message( snixzz.Colors["Green"], "Bound " .. Bind .. " to " .. Key .. "!" )
			end 
		end  
	end 
end

function snixzz.Unbind( Bind )
	if snixzz.Binds[ Bind ] then
		snixzz.Binds[ Bind ] = nil
		snixzz.Message( snixzz.Colors["DarkRed"], "Unbound " .. Bind .. "!" )
	end
end

function snixzz.GetConfigs() 
	local files = snixzz.Copy.file.Find( snixzz.DataFolder .. "/configs/*.txt", "DATA") 
	for k, v in snixzz.Copy.pairs( files ) do 
		files[ k ] = snixzz.Copy.string.Replace( v, ".txt", "" ) 
	end  
	return files 
end 
snixzz.Configs = snixzz.GetConfigs()

function snixzz.FileSystem()
	if !snixzz.Copy.file.IsDir( snixzz.DataFolder, "DATA" ) then
		snixzz.Copy.file.CreateDir( snixzz.DataFolder )
		snixzz.Message( Color( 0, 255, 0 ), "Creating '" .. snixzz.DataFolder .. "' data folder." )
	end
	if !snixzz.Copy.file.IsDir( snixzz.DataFolder .. "/configs", "DATA" ) then
		snixzz.Copy.file.CreateDir( snixzz.DataFolder .. "/configs" )
		snixzz.Message( Color( 0, 255, 0 ), "Creating '" .. snixzz.DataFolder .. "/configs' data folder." )
	end
	if !snixzz.Copy.file.Exists( snixzz.DataFolder .. "/default.txt", "DATA" ) then
		snixzz.SaveConfig( "default" )
	end
end
snixzz.Message( Color( 255, 255, 0 ), "Loading filesystem.." )
snixzz.FileSystem()


/********************/
/*					*/
/* Aimbot functions */
/*					*/
/********************/

function snixzz.GetCone( wep )

	if !snixzz["Copy"]["IsValid"]( wep ) then
		return 0 
	end	
	
	if snixzz["Cones"][ wep:GetClass() ] then
		return snixzz["Cones"][ wep:GetClass() ] 
	elseif snixzz["ConeBase"][ wep["Base"] ] then 
		return wep["Cone"] or wep["Primary"]["Cone"] or 0
	elseif snixzz["Cones"]["HL2"][ wep:GetClass() ] then
		return snixzz["Cones"]["HL2"][ wep:GetClass() ]
	else
		local Cone = wep["Cone"]	
		if !Cone then
			Cone = wep["Primary"] && wep["Primary"]["Cone"] or 0
		end	
	end
	return Cone || 0
end

function snixzz.IsAutomatic( wep )
	if wep == NULL then return false end
	if snixzz.Cones.HL2[wep:GetClass()] then return false end
	if !wep.Primary then return false end
	if snixzz.BadWeapons[wep:GetClass()] then return false end
	return !wep.Primary.Automatic
end

function snixzz.PredictSpread( cmd, ang )
local w = snixzz["Copy"]["LocalPlayer"]():GetActiveWeapon()
local vecCone, valCone = snixzz.Copy.Vector( 0, 0, 0 )
	if ( w && w:IsValid() && ( type( w["Initialize"] ) == "function" ) ) then
		valCone = snixzz["GetCone"]( w )                    
		if ( type( valCone ) == "number" ) then
			vecCone = snixzz["Copy"]["Vector"]( -valCone, -valCone, -valCone )                      
		elseif ( type( valCone ) == "Vector" ) then
			vecCone = valCone * -1
		end
	else
		if ( w:IsValid() && snixzz["Cones"]["HL2"][ w:GetClass() ] ) then
			vecCone = snixzz["Cones"]["HL2"][ w:GetClass() ]
		end
	end
	return _snixzz["ZeroSpread"]( cmd, ang, vecCone )
end

function snixzz.Aimspot( e )

	for k, v in snixzz["Copy"]["pairs"]( snixzz["Attachments"] ) do
		if e:EyeAngles()["p"] < -89 or e:EyeAngles()["p"] < -181 then
			return e:LocalToWorld( e:OBBCenter())		
		elseif e:LookupAttachment( v ) then
			local att = e:GetAttachment( e:LookupAttachment( v ) )
			if( att ) then
				return att["Pos"]
			end
		end
	end
	
	return ( e:LocalToWorld( e:OBBCenter() ) )
end


function snixzz.IsVisible( v )
	return _snixzz["IsVisible"]( snixzz["Copy"]["LocalPlayer"]():GetShootPos(), snixzz["Aimspot"]( v ), v:EntIndex() )
end

function snixzz.OnScreen( v )
	local a, f = _R["Player"]["GetAimVector"]( snixzz["Copy"]["LocalPlayer"]() ):Angle() - ( v:GetPos() - snixzz["Copy"]["LocalPlayer"]():GetShootPos() ):Angle(), _R["Player"]["GetFOV"]( snixzz["Copy"]["LocalPlayer"]() )     
	return ( snixzz["Copy"]["math"]["NormalizeAngle"]( a["y"] ) < f + 2 && snixzz["Copy"]["math"]["NormalizeAngle"]( a["p"] ) < f + 2 )
end

function snixzz.IsValid( v )

	if ( !snixzz["Copy"]["IsValid"]( v ) || v == snixzz["Copy"]["LocalPlayer"]() ) then
		return false
	end

	// visible check
	if !snixzz["IsVisible"]( v ) then
		return false
	end
	
	if _snixzz["IsDormant"]( v:EntIndex() ) then 
		return false
	end
	
	if snixzz.Bools["aim_ignorebots"] && v:IsBot() then
		return false
	end
	
	if snixzz["Copy"]["table"]["HasValue"]( snixzz["Whitelist"], v:SteamID() ) then 
		return false	
	end
	
	if ( !v:Alive() || !v:IsPlayer() || v:InVehicle() ) then 
		return false 
	end
	
	if ( snixzz["Copy"]["GetConVarNumber"]( "sbox_noclip" ) == 0 && v:GetMoveType() == MOVETYPE_NOCLIP ) then 
		return false 
	end
	
	-- Ignore Steam friends
	if snixzz.Bools["aim_ignoresteam"] then
		if v:GetFriendStatus() == "friend" then 
			return false 
		end
	end
	
	-- Friendly Fire
	if snixzz.Bools["aim_ignoreteam"] then
		if ( v:Team() == snixzz["Copy"]["LocalPlayer"]():Team() ) then
			return false
		end
	end
			
	if ( v:GetMoveType() == MOVETYPE_OBSERVER || v:Team() == TEAM_SPECTATOR ) then 
		return false 
	end
	
	// ignore T buddies
	if snixzz["Copy"]["string"]["find"]( GAMEMODE["Name"] , "Trouble in Terror" ) then
		if ( snixzz["Copy"]["LocalPlayer"]():IsTraitor() && v:IsTraitor() ) then
			return false
		end
	end
	
	// spawn protection (multiple server detection methods)
	local col = v:GetColor()
	if col["a"] < 255 then
		return false
	end
	if snixzz["Copy"]["LocalPlayer"]():GetColor()["a"] < 255 then
		return false
	end
	
	// gun game server
	if v:GetMaterial() == "models/props_combine/stasisshield_sheet" then
		return false
	end

	return true
end

function snixzz.GetTarget()
	local distance = snixzz["Copy"]["math"]["huge"]
	for k, v in snixzz["Copy"]["pairs"]( snixzz["Copy"]["player"]["GetAll"]() ) do
		if snixzz["IsValid"]( v ) then
			local distance2 = v:GetPos():DistToSqr( snixzz["Copy"]["LocalPlayer"]():GetPos() )
			if distance2 < distance then
				distance = distance2
				snixzz["Target"] = v
			end
		else
			continue;
		end
	end
	return snixzz["Target"]
end

function snixzz.NormalizeAngles( Angl )
	Angl["p"] = snixzz["Copy"]["math"]["NormalizeAngle"]( Angl["p"] )
	Angl["y"] = snixzz["Copy"]["math"]["NormalizeAngle"]( Angl["y"] )
	Angl["r"] = 0
end

function snixzz.Prediction( Pos, v )
	if ( snixzz["Copy"]["IsValid"]( v ) && type( v:GetVelocity() ) == "Vector" && v["GetPos"] && type( v:GetPos() ) == "Vector" ) then
		local vSpeed = snixzz["Target"]():GetVelocity() * 0.013
        local plySpeed = snixzz["Copy"]["LocalPlayer"]():GetVelocity() * 0.013	
		return ( Pos - plySpeed + vSpeed )
	end
	return Pos
end

/*
	ESP functions
*/

snixzz.AdminGroups = {
	["trialmod"] = true,
	["tmod"] = true,
	["trial-mod"] = true,
	["trialmoderator"] = true,
	["t-mod"] = true,
	["mod"] = true,
	["moderator"] = true,
	["operator"] = true,
	["vipmod"] = true,
	["vipmoderator"] = true,
	["admin"] = true,
	["vipadmin"] = true,
	["head-admin"] = true,
	["headadmin"] = true,
	["manager"] = true,
	["developer"] = true,
	["dev"] = true,
	["superadmin"] = true,
	["sadmin"] = true,
	["super"] = true,
	["vipsuperadmin"] = true, -- i cry
	["owner"] = true,
	["root_user"] = true,
	["vipowner"] = true, -- wouldn't be surprised it
}

function snixzz.IsAdmin( v )

	if v:IsAdmin() then
		return true
	end
	
	if v:IsSuperAdmin() then
		return true
	end
	
	if snixzz.AdminGroups[v:GetUserGroup()] then
		return true
	end
	
end

function snixzz.ShouldDraw( v )

	// better fps maybe
	local distance = v:GetPos():Distance( snixzz["Copy"]["LocalPlayer"]():GetPos() )
	if snixzz.Vars["esp_distance"] != 0 && distance >= snixzz.Vars["esp_distance"] then
		return false
	end
	
	if ( !v:IsPlayer() or !v:Alive() or v == snixzz["Copy"]["LocalPlayer"]() ) then
		return false
	end
	
	if ( v:Team() == TEAM_SPECTATOR or snixzz["Copy"]["string"]["find"]( snixzz["Copy"]["team"]["GetName"]( v:Team() ), "spectator" ) ) then
		return false
	end
	
	if _snixzz["IsDormant"]( v:EntIndex() ) then
		return false
	end
	
	if !snixzz["OnScreen"]( v ) then
		return false
	end
	
	return true	
end

/*=======================


Hooked functions below


=========================*/

snixzz.Status = "Waiting..."
snixzz.StatusColor = Color( 255, 255, 0, 150 )
snixzz.Silent = snixzz.Copy.Angle()
snixzz.ShouldFire = nil
local shouldfire 

function snixzz.CreateMove( ucmd )
	// Aimbot vars
	--snixzz["Angles"] = ucmd:GetViewAngles()
	snixzz["Target"] = snixzz["GetTarget"]()
	snixzz.Offset = snixzz["Copy"]["Vector"]( 0, 0, 0 )
	
	// Silent aim
	if snixzz.Bools["aim_silent"] then
		snixzz.Silent = snixzz.Silent + snixzz.Copy.Angle( ucmd:GetMouseY() * 0.023, -ucmd:GetMouseX() * 0.023, 0 )
		snixzz.Silent.p = snixzz.Copy.math.Clamp( snixzz.Silent.p, -89, 89 )
		if ucmd:CommandNumber() == 0 then
			ucmd:SetViewAngles( snixzz.Silent )
			return
		end		
		snixzz.Angles = snixzz.Silent
	end
	
	// Aimbot core
	if ( snixzz.Copy.input.IsKeyDown( snixzz.Binds["+aimbot"] ) && !snixzz.Typing or snixzz.Bools["aim_toggle"] ) then
	
		if snixzz["Target"] && snixzz["IsValid"]( snixzz["Target"] ) && snixzz.Copy.LocalPlayer():Alive() then
			
			-- WIP
			if snixzz.Target:EyeAngles().p < -89 or snixzz.Target:EyeAngles().p < -179 then
				snixzz.Offset = snixzz.Copy.Vector( 0, 0, 10 )
			end			
			
			if snixzz.Bools["aim_prediction"] then
				snixzz.Angles = snixzz.Prediction( snixzz.Aimspot( snixzz.Target ) - snixzz.Offset )
			else
				snixzz.Angles = snixzz.Aimspot( snixzz.Target ) - snixzz.Offset
			end
			
			snixzz.Angles = ( snixzz.Angles - snixzz.Copy.LocalPlayer():GetShootPos() ):GetNormal():Angle()
	
			-- Silent aim
			if snixzz.Bools["aim_silent"] then
				snixzz.Angles.p = snixzz.Angles.p > 180 && snixzz.Angles.p - 360 or snixzz.Angles.p
				snixzz.Angles.r = 0
			end
			
			-- Normalize that shit
			snixzz["NormalizeAngles"]( snixzz["Angles"] )
			
			-- Spread Prediction
			if snixzz.Bools["aim_nospread"] then
				snixzz.SetAngle = snixzz.PredictSpread( ucmd, snixzz.Copy.Angle( snixzz.Angles.p, snixzz.Angles.y, 0 ) )
			else
				snixzz.SetAngle = snixzz.Angles
			end
			
			-- READY THE CANNON.
			_snixzz["SetViewAngles"]( ucmd, snixzz["SetAngle"] )

			if snixzz.Bools["aim_autoshoot"] then
				ucmd:SetButtons( bit["bor"]( ucmd:GetButtons(), IN_ATTACK ) )
			end
			
			-- Silent aim view correction
			if snixzz.Bools["aim_silent"] then
				if snixzz.Copy.LocalPlayer():GetMoveType() == 2 then
					local side = snixzz.Copy.Vector( ucmd:GetForwardMove(), ucmd:GetSideMove(), 0 )
					side = (( side:GetNormal() ):Angle() + ( ucmd:GetViewAngles() - snixzz.Copy.Angle( 0, snixzz.Silent.y, 0 ))):Forward() * side:Length()
					ucmd:SetForwardMove( side.x )
					ucmd:SetSideMove( side.y )
				end
			end
			
			-- status bullshit
			snixzz.Status = "Target! (" .. snixzz.Target:Nick() .. ")"
			snixzz.StatusColor = Color( 255, 0, 0, 150 )
			snixzz["Locked"] = true
							
		else	
			-- Static AA (WIP)
			--_snixzz["SetViewAngles"]( ucmd, snixzz.Copy.Angle( -snixzz.Angles["p"] + 900, snixzz.Angles["y"] + 180, 0 ) )
			snixzz.Status = "Searching..."
			snixzz.StatusColor = Color( 0, 255, 0, 150 )
			snixzz.Locked = false		
		end
	end
	
	if !snixzz.Bools["aim_silent"] then
		snixzz.Angles = ucmd:GetViewAngles()
	end
	
	// Bunnyhop
	if snixzz.Bools["misc_bhop"] then
		if !snixzz.Copy.LocalPlayer():IsOnGround() then
			ucmd:SetButtons( bit.band( ucmd:GetButtons(), bit.bnot( IN_JUMP ) ) )
		end
	end
	
	-- Recoil Backup
	if snixzz.Bools["aim_norecoil"] then
		if snixzz.Copy.LocalPlayer():GetActiveWeapon()["Primary"] then
			snixzz.Copy.LocalPlayer():GetActiveWeapon()["Primary"]["Recoil"] = 0
		end
	end
	/*
	local wep = snixzz.Copy.LocalPlayer():GetActiveWeapon()
	if snixzz.Copy.LocalPlayer():Alive() && snixzz.Copy.IsValid( wep ) then
		if !wep["Primary"]["Recoil"] != 0 then
			snixzz.RecoilBackup[wep:GetClass()] = wep["Primary"]["Recoil"]
		end
		
		-- No Recoil
		if snixzz.Bools["aim_norecoil"] then
			if wep["Primary"] then
				wep["Primary"]["Recoil"] = 0
			end
		end
	end*/
	
	if snixzz.Copy.input.IsKeyDown( snixzz.Binds["+speedhack"] ) && !snixzz.Typing then
		snixzz.pSpeed( snixzz.Vars["speedhack_speed"] )
	else
		snixzz.pSpeed( 0 )
	end
	
	-- Menu opening
	if ( snixzz.Copy.input.IsKeyDown( snixzz.Binds["+menu"] ) && !snixzz.Typing && !snixzz.MenuOpen && !gui.IsConsoleVisible() ) then
		snixzz.Menu()
		snixzz.MenuOpen = true
	end
	
	// No hands
	if snixzz.Bools["esp_nohands"] then
		_snixzz.NoDraw( snixzz.Copy.Material( "models/weapons/v_models/hands/v_hands" ), true )
	else
		_snixzz.NoDraw( snixzz.Copy.Material( "models/weapons/v_models/hands/v_hands" ), false )
	end

end

function snixzz.CalcView( ply, origin, angles, FOV )
	local ply = snixzz.Copy.LocalPlayer()
	local wep = ply:GetActiveWeapon()
	local view = GAMEMODE:CalcView( ply, origin, angles, FOV ) || {}
	
	// visual no recoil
	if snixzz.Bools["aim_norecoil"] then
		if wep["Primary"] then wep["Primary"]["Recoil"] = 0 end
		if wep["Secondary"] then wep["Secondary"]["Recoil"]	= 0 end
	end
	
	-- visual no recoil
	/*if snixzz.Bools["aim_norecoil"] then
		if snixzz.Copy.LocalPlayer():Alive() && snixzz.Copy.IsValid( wep ) then
			if wep["Primary"] then
				wep["Primary"]["Recoil"] = 0
			end
		end
	end*/
	
	// Silent aim
	if snixzz.Bools["aim_silent"] then
		view.angles = snixzz.Silent
		view.vm_angles = snixzz.Silent
		view.origin = origin
		view.fov = 90
	else
		view.angles = snixzz.Angles
		view.angles.r = 0
		view.fov = 90
	end
	
	return view	
end

function snixzz.HUDPaint()

	if !snixzz.Bools["esp_enabled"] then return end
	
	local font = "snixzz"
	local listpos = snixzz["Copy"]["ScrH"]() / 3.5

	for k, v in snixzz.Copy.pairs( snixzz["Copy"]["ents"]["GetAll"]() ) do		
		
		// Player esp	
		if snixzz.ShouldDraw( v ) && snixzz.Copy.LocalPlayer():Alive() then
			
			// ESP Positions
			local bottom = ( v:GetPos() - snixzz["Copy"]["Vector"]( 0, 0, 10 ) ):ToScreen()
			local top = ( v:GetPos() + snixzz["Copy"]["Vector"]( 0, 0, 70 ) ):ToScreen()
			local height = ( bottom["y"] - top["y"] )
			local width = ( height / 4 )
			
			local wep
			if snixzz["Copy"]["IsValid"]( v:GetActiveWeapon() ) then
				wep = v:GetActiveWeapon():GetPrintName()
			else
				wep = "Unknown"
			end
			
			// player text color
			local color = snixzz["Copy"]["team"]["GetColor"]( v:Team() )
			
			// player box color
			local boxcolor = snixzz["Copy"]["team"]["GetColor"]( v:Team() )
			if v == snixzz["Target"] then
				boxcolor = Color( 255, 0, 0, 255 )
			else
				boxcolor = Color( 0, 200, 0, 255 )
			end
			
			// ESP text
			if snixzz.Bools["esp_name"] then
				snixzz.Copy.draw.SimpleTextOutlined( v:Nick() .. " [" .. v:Health() .. "]", font, top["x"], top["y"] - 10, color, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color( 0, 0, 0, 255 ) )
			end
			
			if snixzz.Bools["esp_weapon"] then
				snixzz.Copy.draw.SimpleTextOutlined( wep, font, bottom["x"], bottom["y"] + 10, color, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color( 0, 0, 0, 255 ) )
			end
			
			// Box ESP
			if snixzz.Bools["esp_box"] then
				snixzz.Copy.surface["SetDrawColor"]( boxcolor )
				snixzz.Copy.surface["DrawOutlinedRect"]( top["x"] - width, top["y"], width * 2, height )
			end
			
			if snixzz.Bools["esp_tracer"] then
				snixzz.Copy.cam.Start3D( snixzz.Copy.EyePos(), snixzz.Copy.EyeAngles() )
					snixzz.Copy.render.SetMaterial( snixzz.Copy.Material( "trails/laser" ) )
					local startpos = snixzz.Copy.LocalPlayer():GetPos()
					local endpos = v:GetBonePosition( v:LookupBone( "ValveBiped.Bip01_Head1" ) ) or v:GetPos()
					snixzz.Copy.render.DrawBeam( startpos, endpos, 3, 0, 0, boxcolor )
				snixzz.Copy.cam.End3D()
			end

		else
			continue;
		end	
	
	
		// spectator/admin list
		if snixzz.Bools["esp_list"] then
			if snixzz["Copy"]["input"]["IsKeyDown"]( snixzz.Binds["+misc_list"] ) then
				if v:IsPlayer() then
					if v:GetObserverTarget() == snixzz["Copy"]["LocalPlayer"]() then
						snixzz["Copy"]["draw"]["SimpleText"]( v:Nick(), "snixzz_list", 2, listpos, Color( 0, 255, 255, 200 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
						listpos = listpos + 12
					end
				end
			else	
				if v:IsPlayer() then
					if snixzz["IsAdmin"]( v ) then
						snixzz["Copy"]["draw"]["SimpleText"]( v:Nick(), "snixzz_list", 2, listpos, Color( 255, 80, 80, 200 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
						listpos = listpos + 12
					end
				end
			end
		end
	end
	
	// Crosshair
	local x = ScrW() / 2
	local y = ScrH() / 2
	
	local crosscolor = Color( 0, 0, 0, 255 )
	local crosslength = 50
	local gap = 2
	
	local boxsize = 5
		
	-- Box
	if snixzz.Bools["esp_crosshair_box"] then
		snixzz.Copy.surface.SetDrawColor( Color( 255, 255, 255 ) )
		snixzz.Copy.surface.DrawOutlinedRect( x - boxsize - 2, y - boxsize - 2, ( boxsize + 2 ) * 2 + 1, ( boxsize + 2 ) * 2 + 1 )
	end
	
	-- Crosshair
	if snixzz.Bools["esp_crosshair"] then
		snixzz.Copy.surface.SetDrawColor( 0, 0, 0, 255 )
		snixzz.Copy.surface.DrawLine( x - crosslength, y, x - gap, y )
		snixzz.Copy.surface.DrawLine( x + crosslength, y, x + gap, y )
		
		snixzz.Copy.surface.DrawLine( x, y - crosslength, x, y - gap )
		snixzz.Copy.surface.DrawLine( x, y + crosslength, x, y + gap )
	end
	
	// Aim status & shit
	if snixzz.Bools["esp_status"] then
		snixzz.Copy.draw.DrawText( snixzz.Status, "snixzz_status", ScrW() * 0.5, ScrH() * 0.5 + 50, snixzz.StatusColor, TEXT_ALIGN_CENTER )
	end

	
	-- Red dot
	//draw****undedBox( 4, ( ScrW() / 2 ) - 3, ( ScrH() / 2 ) - 3, 7, 7, Color( 255, 0, 0, 75 ) )	
		
	/* old swastika crosshair, saving for crosshair selection eventually.
	surface["SetDrawColor"]( Color( 233, 78, 78 ) )
	local size = 14 // Swastika size
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2, snixzz["Copy"]["ScrW"]() / 2 + size, snixzz["Copy"]["ScrH"]() / 2 )
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2 + size, snixzz["Copy"]["ScrH"]() / 2, snixzz["Copy"]["ScrW"]() / 2 + size, snixzz["Copy"]["ScrH"]() / 2 + size )
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2, snixzz["Copy"]["ScrW"]() / 2 - size, snixzz["Copy"]["ScrH"]() / 2 )
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2 - size, snixzz["Copy"]["ScrH"]() / 2, snixzz["Copy"]["ScrW"]() / 2 - size, snixzz["Copy"]["ScrH"]() / 2 - size )
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2, snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2 - size )
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2 - size, snixzz["Copy"]["ScrW"]() / 2 + size, snixzz["Copy"]["ScrH"]() / 2 - size )
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2, snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2 + size )		
	surface["DrawLine"]( snixzz["Copy"]["ScrW"]() / 2, snixzz["Copy"]["ScrH"]() / 2 + size, snixzz["Copy"]["ScrW"]() / 2 - size, snixzz["Copy"]["ScrH"]() / 2 + size )
	*/
end
		
/*
	DETOURS
	Adding them as I go, don't bitch that I haven't detoured every function 
*/
_R["Entity"]["FireBullets"] = snixzz["Detour"]( _R["Entity"]["FireBullets"], function( e, bullet )
	//snixzz["Message"]( Color( 0, 255, 150 ), "Found cone " .. snixzz["Copy"]["tostring"]( bullet["Spread"] ) .. " for weapon " .. snixzz["Copy"]["LocalPlayer"]():GetActiveWeapon():GetPrintName() )
	snixzz["Cones"][ snixzz["Copy"]["LocalPlayer"]():GetActiveWeapon():GetClass() ] = bullet["Spread"]
	return snixzz["Detours"][ _R["Entity"]["FireBullets"] ]( e, bullet )
end )

file["Exists"] = snixzz["Detour"]( file["Exists"], function( filename, dir )
	if string["find"]( filename, "snixzz" ) then // stay out
		snixzz["Message"]( Color( 255, 0, 0 ), "An anti-cheat attempted to search for snixzz" )
		return false
	else
		return snixzz["Detours"][ file["Exists"] ]( filename, dir )
	end
end )

file["Read"] = snixzz["Detour"]( file["Read"], function( filename, dir )
	if string["find"]( filename, "snixzz" ) then 
		return "No, you cannot have my source code."
	else
		return snixzz["Detours"][ file["Read"] ]( filename, dir )
	end
end )

net.Start = snixzz["Detour"]( net["Start"], function( name )
	if ( name == "checksaum" || name == "send" || name == "leyac_cmd" ) then
		snixzz["Message"]( Color( 255, 0, 0 ), "Blocked net.Send " .. name )
		return
	else
		snixzz["Message"]( Color( 255, 255, 255 ), "*DEBUG* net.Send( '" .. name .. "' )" )
		return snixzz["Detours"][ net["Start"] ]( name )
	end
end )

net.WriteString = snixzz["Detour"]( net["WriteString"], function( str )
	if snixzz["Copy"]["string"]["find"]( str, "snixzz" ) then
		return "fuck that"
	else
		snixzz["Message"]( Color( 255, 255, 255 ), "*DEBUG* net.WriteString( " .. str .. " )" )
		return snixzz["Detours"][ net["WriteString"] ]( str )
	end
end )

GetConVarNumber = snixzz["Detour"]( GetConVarNumber, function( cvar )
	for k, v in snixzz["Copy"]["pairs"]( snixzz["Spoof"] ) do
		if cvar == v then
			snixzz["Message"]( Color( 255, 255, 255 ), "*ANTICHEAT ALERT* Server tried to check convar " .. v .. " returning default value " .. k )
			return k
		else
			return snixzz["Detours"][ GetConVarNumber ]( cvar )
		end
	end
end )

RunConsoleCommand = snixzz["Detour"]( RunConsoleCommand, function( cmd, ... )
	snixzz["Message"]( Color( 255, 255, 255 ), "RunConsoleCommand( '" .. cmd .. "' )" )
	return snixzz["Detours"][ RunConsoleCommand ]( cmd, ... )
end )

snixzz["StartChat"] = GAMEMODE["StartChat"] 
function GAMEMODE:StartChat() 
	snixzz["StartChat"]() 
	snixzz["Typing"] = true 
end 
snixzz["FinishChat"] = GAMEMODE["FinishChat"] 
function GAMEMODE:FinishChat() 
	snixzz["FinishChat"]() 
	snixzz["Typing"] = false 
end 

/*
	
	Menu Core
	
*/


function snixzz.Menu()
	local tabs, menuheight, menuwidth, w, h = {}, 270, 240, ScrW() / 2, ScrH() / 2
	local menucol = Color( 0, 188, 255, 75 )
	
	snixzz.Frame = snixzz.Copy****ui.Create( "DPropertySheet" )
	snixzz.Frame:SetCursor( "crosshair" )
	snixzz.Frame:SetParent( snixzz.Frame )
	snixzz.Frame:SetPos( 20, 60 )
	--snixzz.Frame:SetPos( w - ( menuwidth / 2 ), h - ( menuheight / 2 ) )
	snixzz.Frame:SetSize( menuwidth, menuheight )
	snixzz.Frame:SetVisible( true )
	snixzz.Frame:MakePopup()
	snixzz.Frame.Think = function()
		if !snixzz.Copy.input.IsKeyDown( snixzz.Binds["+menu"] ) then
			snixzz.MenuOpen = false
			snixzz.Frame:SetVisible( false )
		end
	end		
	snixzz.Frame.Paint = function() 
		snixzz.Copy.draw****undedBox( 0, 0, 0, snixzz.Frame:GetWide(), snixzz.Frame:GetTall(), snixzz.Vars["misc_menucolor"] )
		snixzz.Copy.surface.SetDrawColor( Color( 0, 0, 0 ) )
		snixzz.Copy.surface.DrawOutlinedRect( 0, 0, snixzz.Frame:GetWide() , snixzz.Frame:GetTall() )
		--snixzz.Copy.surface.DrawOutlinedRect( 0, 25, snixzz.Frame:GetWide(), snixzz.Frame:GetTall() )
	end

	-- Parents for the tabs
	tabs.aimbot = vgui.Create( "DLabel", snixzz.Frame )
	tabs.aimbot:SetPos( 0, 0 )
	tabs.aimbot:SetText( "" )
	tabs.aimbot:SetCursor( "crosshair" )
	
	tabs.esp = vgui.Create( "DLabel", snixzz.Frame )
	tabs.esp:SetPos( 0, 0 )
	tabs.esp:SetText( "" )
	tabs.esp:SetCursor( "crosshair" )
	
	tabs.misc = vgui.Create( "DLabel", snixzz.Frame )
	tabs.misc:SetPos( 0, 0 )
	tabs.misc:SetText( "" )
	tabs.misc:SetCursor( "crosshair" )

	tabs.config = vgui.Create( "DLabel", snixzz.Frame )
	tabs.config:SetPos( 0, 0 )
	tabs.config:SetText( "" )
	tabs.config:SetCursor( "crosshair" )

	snixzz.Frame:AddSheet( "Aimbot", tabs.aimbot, "icon16/bomb.png", false, false )
	snixzz.Frame:AddSheet( "Visual", tabs.esp, "icon16/picture_edit.png", false, false )
	snixzz.Frame:AddSheet( "Misc", tabs.misc, "icon16/plugin.png", false, false )
	snixzz.Frame:AddSheet( "Config", tabs.config, "icon16/wrench.png", false, false )

	-- Aimbot Settings
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Aimbot Toggle", "aim_toggle", 5, 5 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Autoshoot", "aim_autoshoot", 5, 25 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Silent Aim", "aim_silent", 5, 45 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Spread Prediction", "aim_nospread", 5, 65 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Velocity Prediction", "aim_prediction", 5, 85 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Remove Recoil", "aim_norecoil", 5, 105 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Ignore Team", "aim_ignoreteam", 5, 125 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Ignore Admins", "aim_ignoreadmins", 5, 145 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Ignore Steam Friends", "aim_ignoresteam", 5, 165 )
	snixzz.CreateOption( "Checkbox", tabs.aimbot, "Ignore Bots", "aim_ignorebots", 5, 185 )

	-- Visual Settings
	snixzz.CreateOption( "Checkbox", tabs.esp, "Enable Visuals", "esp_enabled", 5, 5 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Player Name & HP", "esp_name", 5, 25 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Player Weapon", "esp_weapon", 5, 45 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Player Box", "esp_box", 5, 65 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Draw Tracers", "esp_tracer", 5, 85 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Crosshair", "esp_crosshair", 5, 105 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Crosshair Box", "esp_crosshair_box", 5, 125 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Remove Hands", "esp_nohands", 5, 145 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Aimbot Status", "esp_status", 5, 165 )
	snixzz.CreateOption( "Checkbox", tabs.esp, "Admin/Spectator List", "esp_list", 5, 185 )
	snixzz.CreateOption( "Slider", tabs.esp, "Render Distance", "esp_distance", 0, 7500, 235, 5, 205, 0 )
	
	-- Misc Settings
	snixzz.CreateOption( "Checkbox", tabs.misc, "Enable Bunnyhop", "misc_bhop", 5, 5 )
	snixzz.CreateOption( "Slider", tabs.misc, "Speedhack Speed", "speedhack_speed", 1.5, 5, 235, 5, 205, 1 )
	
	-- Config Tab
		--Menu Settings
	snixzz.CreateOption( "Label", tabs.config, "Menu Color", 5, 5 )
	local Mixer = vgui.Create( "DColorMixer", tabs.config )
	Mixer:SetPos( 105, 165 ) 
	Mixer:SetSize( 130, 70 )
	--Mixer:Dock( FILL )
	Mixer:SetPalette( false )
	Mixer:SetAlphaBar( true )
	Mixer:SetWangs( false )
	Mixer:SetColor( snixzz.Vars["misc_menucolor"] )
	Mixer.ValueChanged = function()
		snixzz.Vars["misc_menucolor"] = Mixer:GetColor()
	end
	
	local CfgList = snixzz.Copy****ui.Create( "DListView", tabs.config ) 
	CfgList:SetPos( 5, 5 ) 
	CfgList:SetMultiSelect( false ) 
	CfgList:SetSize( 235, 80 )
	CfgList:AddColumn( "Config" ) 
	for k, v in snixzz.Copy.pairs( snixzz.Configs ) do 
		CfgList:AddLine( v ) 
	end 
	CfgList.DoDoubleClick = function() 
		local line = CfgList:GetSelectedLine() 
		if line != nil then 
			local config = CfgList:GetLine( line ):GetValue( 1 ) 
			snixzz.LoadConfig( config ) 
		end 
	end 
		
	// Direct from ginject
	local CreateConfig = snixzz.Copy****ui.Create( "DButton", tabs.config ) 
	CreateConfig:SetText( "Create New" ) 
	CreateConfig:SetSize( 105, 30 )
	CreateConfig:SetPos( 5, 90 )
	CreateConfig.DoClick = function() 
		Derma_StringRequest( "New Config", "Name of the new config", "", function( txt ) 
			snixzz.SaveConfig( txt ) 
		end )
	end 

	local RenameConfig = snixzz.Copy****ui.Create( "DButton", tabs.config ) 
	RenameConfig:SetText( "Rename" ) 
	RenameConfig:SetSize( 105, 30 )
	RenameConfig:SetPos( 5, 130 )
	RenameConfig.DoClick = function()
		Derma_StringRequest( "Rename Config", "Name of the new config", "", function( NewConfig ) 
			local line = CfgList:GetSelectedLine() 
			if line != nil then 
				local OldConfig = CfgList:GetLine( line ):GetValue( 1 ) 
				if OldConfig != "default" then
					snixzz.RenameConfig( OldConfig, NewConfig )
					snixzz.Copy.table.remove( snixzz.Configs, CfgList:GetSelectedLine() )
					snixzz.Copy.table.insert( snixzz.Configs, NewConfig )
				else
					snixzz.Message( snixzz.Colors["Red"], "You cannot rename the default config!" )
				end
			end
		end )
	end	
	
	local DeleteConfig = snixzz.Copy****ui.Create( "DButton", tabs.config ) 
	DeleteConfig:SetText( "Delete" ) 
	DeleteConfig:SetSize( 105, 30 )
	DeleteConfig:SetPos( 120, 90 )
	DeleteConfig.DoClick = function() 
		local line = CfgList:GetSelectedLine() 
		if line != nil then
			local config = CfgList:GetLine( line ):GetValue( 1 ) 
			if config != "default" then
				for k, v in snixzz.Copy.pairs( snixzz.Configs ) do 
					if v == config then 
						snixzz.DeleteConfig( config )
						snixzz.Copy.table.remove( snixzz.Configs, k ) 
					end 
				end
			else
				snixzz.Message( snixzz.Colors["Red"], "You cannot delete the default config!" )
			end
		end 
	end 
	
	local LoadConfig = snixzz.Copy****ui.Create( "DButton", tabs.config ) 
	LoadConfig:SetText( "Load" ) 
	LoadConfig:SetSize( 105, 30 )
	LoadConfig:SetPos( 120, 130 )
	LoadConfig.DoClick = function()
		local line = CfgList:GetSelectedLine() 
		if line != nil then 
			local config = CfgList:GetLine( line ):GetValue( 1 ) 
			snixzz.LoadConfig( config )
			snixzz.Frame:SetVisible( false )
			snixzz.MenuOpen = false
		end
	end
	
	// Binds
	local BindCommands = snixzz.Copy****ui.Create( "DComboBox", tabs.config )
	BindCommands:SetPos( 5, 165 )
	BindCommands:SetSize( 95, 20 )
	for k, v in snixzz.Copy.pairs( snixzz.Binds ) do
		BindCommands:AddChoice( k )
	end
	
	local BindKeys = snixzz.Copy****ui.Create( "DComboBox", tabs.config )
	BindKeys:SetPos( 5, 190 )
	BindKeys:SetSize( 95, 20 )
	for k, v in snixzz.Copy.pairs( snixzz.Keys ) do
		BindKeys:AddChoice( v.Name )
	end
	
	local RebindKey = snixzz.Copy****ui.Create( "DButton", tabs.config ) 
	RebindKey:SetText( "Bind" ) 
	RebindKey:SetSize( 95, 18 )
	RebindKey:SetPos( 5, 215 )
	RebindKey.DoClick = function() 
		local Key = BindKeys:GetValue()
		local Command = BindCommands:GetValue()
		if ( BindKeys:GetValue() != "" && BindCommands:GetValue() != "" ) then
			snixzz.Frame:SetVisible( false )
			snixzz.MenuOpen = false
			snixzz.BindKey( Command, Key )
		end
	end 
	
end

/*

	Hooking & loading.
	
*/
snixzz["Message"]( Color( 255, 180, 180, 255 ), "Loading hooks..." )
snixzz["RegisterHook"]( "CreateMove", snixzz["CreateMove"] )
snixzz["RegisterHook"]( "HUDPaint", snixzz["HUDPaint"] )
snixzz["RegisterHook"]( "CalcView", snixzz["CalcView"] )
@0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron @0xymoron
your garbage got leaked retard get owned :^):^):^):^):^)

Pastebin link because mpgh censors some parts of the code
http://pastebin.com/hM5nJNCw
you should leak ashley #2ezy's scripts she got rcon hacks and weapon exploids
Yo i dont know what this is all about but it says this with a lot of cheats and no1 can help me

[ERROR] lua/snixzz2.lua:304: unexpected symbol near '*'
1. unknown - lua/snixzz2.lua:0
Quote Originally Posted by danishboy123 View Post
Yo i dont know what this is all about but it says this with a lot of cheats and no1 can help me

[ERROR] lua/snixzz2.lua:304: unexpected symbol near '*'
1. unknown - lua/snixzz2.lua:0
Use the pastebin link, MPGH censors some parts of the cheat.
Quote Originally Posted by Kyouko View Post
Use the pastebin link, MPGH censors some parts of the cheat.
But then it says this

] lua_openscript_cl fresh_leak!_snixzz2!.lua
Running script fresh_leak!_snixzz2!.lua...
Couldn't include file 'includes\modules\snixzz2.lua' (File not found) (@lua/fresh_leak!_snixzz2!.lua (line 245))

[ERROR] lua/fresh_leak!_snixzz2!.lua:245: Module not found!
1. require - [C]:-1
2. unknown - lua/fresh_leak!_snixzz2!.lua:245

[My steam name|2|MY STEAM_ID] Lua Error:
Couldn't include file 'includes\modules\snixzz2.lua' (File not found) (@lua/fresh_leak!_snixzz2!.lua (line 245))

[My steam name|2|MY STEAM_ID] Lua Error:

[ERROR] lua/fresh_leak!_snixzz2!.lua:245: Module not found!
1. require - [C]:-1
2. unknown - lua/fresh_leak!_snixzz2!.lua:245
Quote Originally Posted by danishboy123 View Post
But then it says this

] lua_openscript_cl fresh_leak!_snixzz2!.lua
Running script fresh_leak!_snixzz2!.lua...
Couldn't include file 'includes\modules\snixzz2.lua' (File not found) (@lua/fresh_leak!_snixzz2!.lua (line 245))

[ERROR] lua/fresh_leak!_snixzz2!.lua:245: Module not found!
1. require - [C]:-1
2. unknown - lua/fresh_leak!_snixzz2!.lua:245

[My steam name|2|MY STEAM_ID] Lua Error:
Couldn't include file 'includes\modules\snixzz2.lua' (File not found) (@lua/fresh_leak!_snixzz2!.lua (line 245))

[My steam name|2|MY STEAM_ID] Lua Error:

[ERROR] lua/fresh_leak!_snixzz2!.lua:245: Module not found!
1. require - [C]:-1
2. unknown - lua/fresh_leak!_snixzz2!.lua:245
because you don't have the modules, dumbass
and you probably never will
Lmfao...
You didn't get this from anyone you "ratted" you pathetic attention whoring skid.
This is a super old version I posted on Pastebin for a friend to check out, I don't care if you have it.
This is literally the first revision of snixzz2 so enjoy.

- - - Updated - - -

i really hope this helps grow your ego bbygurl
time to see thousands of people re-leak this for the next 20 years

- - - Updated - - -

Funny because literally no one else has snixzz2 besides me & my buddy from over 5 years
also he just formatted his PC a week or so ago so I know you're full of shit lmao

look at you telling people you ratted someone, goddamn your ego is huge ******

- - - Updated - - -

ur cute bby
cum back when u got da newest version and maybe i'll be mad for 10 mins so ur epeen can grow

- - - Updated - - -

the more i'm looking through this the more funny you are

this doesn't even have anti-aim

the new version has like 7 methods of anti-aim

wow ur cute fami

- - - Updated - - -

One last note
This is basically snixzz v1 with a menu, before I actually stripped it down & started writing the real snixzz2
Quote Originally Posted by 0xymoron View Post
Lmfao...
You didn't get this from anyone you "ratted" you pathetic attention whoring skid.
This is a super old version I posted on Pastebin for a friend to check out, I don't care if you have it.
This is literally the first revision of snixzz2 so enjoy.

- - - Updated - - -

i really hope this helps grow your ego bbygurl
time to see thousands of people re-leak this for the next 20 years

- - - Updated - - -

Funny because literally no one else has snixzz2 besides me & my buddy from over 5 years
also he just formatted his PC a week or so ago so I know you're full of shit lmao

look at you telling people you ratted someone, goddamn your ego is huge ******

- - - Updated - - -

ur cute bby
cum back when u got da newest version and maybe i'll be mad for 10 mins so ur epeen can grow

- - - Updated - - -

the more i'm looking through this the more funny you are

this doesn't even have anti-aim

the new version has like 7 methods of anti-aim

wow ur cute fami

- - - Updated - - -

One last note
This is basically snixzz v1 with a menu, before I actually stripped it down & started writing the real snixzz2
he still leaked it???? you said you were waiting for someone to leak it and he did
Quote Originally Posted by Friendly101 View Post
he still leaked it???? you said you were waiting for someone to leak it and he did
tru tru

i'm actually surprised someone took the time to leak this
but whatever, like i said this isn't even half of the current code.

Code:
[snixzz2] Hello, Tyler.
[snixzz2.dll] Loading local copy of snixzz2.lua
[snixzz2] Loaded lua. build 1.3.7, Last updated 9/1/15, 96kb, 2877 lines long.
- - - Updated - - -

tbh i probably would've released this version if I saved it anyways, it's not very good at all.
don't judge snixzz2 by the crappy code in this leak, this is just snixzz1 with a menu

- - - Updated - - -

here's a screenshot with the recoded esp because why not
Quote Originally Posted by 0xymoron View Post
tru tru

i'm actually surprised someone took the time to leak this
but whatever, like i said this isn't even half of the current code.

Code:
[snixzz2] Hello, Tyler.
[snixzz2.dll] Loading local copy of snixzz2.lua
[snixzz2] Loaded lua. build 1.3.7, Last updated 9/1/15, 96kb, 2877 lines long.
- - - Updated - - -

tbh i probably would've released this version if I saved it anyways, it's not very good at all.
don't judge snixzz2 by the crappy code in this leak, this is just snixzz1 with a menu

- - - Updated - - -

here's a screenshot with the recoded esp because why not
Tyler, Tyler, Tyler...

Why the fuck did you c+p gdaaps really really fucking gay "searching" thing.
If you didn't it's fucking identical and the function is gay
Quote Originally Posted by 0xymoron View Post
You didn't get this from anyone you "ratted" you pathetic attention whoring skid.
look at you telling people you ratted someone


- - - Updated - - -

Quote Originally Posted by 0xymoron View Post
don't judge snixzz2 by the crappy code in this leak, this is just snixzz1 with a menu
it doesn't matter, function wrecks you with a cheat i wrote in like 10/15 mins?
Quote Originally Posted by Scetch08 View Post
Tyler, Tyler, Tyler...

Why the fuck did you c+p gdaaps really really fucking gay "searching" thing.
If you didn't it's fucking identical and the function is gay
it wasn't even from gdaap in the first place, it was from older gmod 12 cheats like sethhack and faphack iirc

--Edit
if you guys are still mad at tyler why don't you call him with google hangouts for free: +1.4144583138
http :// i . imgur . com / cWc3YFH . jpg




Help plez
Quote Originally Posted by Kyouko2 View Post
It's pretty funny coming from a little piece of shit like you.
Pretty funny coming from a skid who pretends to have a RAT to impress little mpgh skiddies & grow your epenis
good luck w/ life nerd
try leaking new snixzz2 if you have a RAT, the only people who have EVER had snixzz2 all have updates.
So use your pro hacker rat big boy & grab the new source

or shut your mouth

- - - Updated - - -

Quote Originally Posted by NiP Puncake View Post
http :// i . imgur . com / cWc3YFH . jpg




Help plez
NO ONE IS GOING TO HELP YOU.
THIS WILL NOT WORK
YOU WIILL NOT BE ABLE TO GET THIS TO WORK, MOVE ON.
Quote Originally Posted by 0xymoron View Post
either way you're full of shit and you ain't bout shit.
It's pretty funny coming from a little piece of shit like you.
Posts 115 of 44 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?