OutdatedYung's shitty hack

Posts 1–6 of 6 · Page 1 of 1
Yung's shitty hack
// Made this when I was 2 weeks old into lua, the bhop was bad no cmd use at all lol. Convars are old and shitty, I didn't yet understand stuff so it may look like i once had autism



Code:
////////////////////////////////
//--------------------------///
// Created By Dad, Yung420 ///
//------------------------///
////////////////////////////

include							("lua_openscript_cl ../../../../../../../../../../../luascripts/yungExploit.lua")
include							("lua_openscript_cl ../../../../../../../../../../../luascripts/yungaimbot.lua")
require							("bSendPacket")


local chatSpam 			= 		table.Copy(_G)

local yESP				= 		table.Copy(_G)

local ConsolePrint 		= 		yESP.print 

local Get				= 		yESP.GetConVar  

local Ply 				= 		LocalPlayer() 

local Text 				= 		chat.AddText 

local CreateVar		 	= 		CreateClientConVar 

local CreateCon			= 		concommand.Add

local CreatorName 		= 		dad

surface.CreateFont( "DazedFont", {
			font = "Tahoma",
			size = 13,
			weight = 300,
			blursize = 0,
			scanlines = 0,
			antialias = true,
			underline = false,
			italic = false,
			strikeout = false,
			symbol = false,
			rotary = false,
			shadow = false,
			additive = false,
			outline = false,
} )

function Notification(message)
	Text(Color(255, 0, 0, 255), "[YungHac] ", Color( 0 ,255 ,255 ,255), message)

	end 

hook.Add("HUDPaint", "YungHacs", function()
draw.DrawText("[' nil value 'daddy' ']", "DazedFont", 1535,1, Color(255, 0, 0, 255))
	
	end)


Notification("Hello ".. LocalPlayer():Nick().."! Your using YungHac!  " )


CreateVar	("yung_esp", 0, true, false)
CreateVar	("yung_box", 1, true, false)
CreateVar	("yung_flashing", 0, true, false)
CreateVar	("yung_autostrafe", 0, true, false)
CreateVar	("yung_crosshair", 0 )
CreateVar	("yung_xray", 0 )
CreateVar	("ChatBackwards", 0)
CreateVar	("spam_chat", 0)



function ESP()
	
	if Get("yung_esp"):GetInt() == 1 then
		
		for k, v in pairs (yESP.player.GetAll()) do
			
			local Head = (v:GetPos() + Vector(0,0,60)):ToScreen() -- Head ESP (Name/Nick)
			
			local Feet = (v:GetPos() + Vector(0,1)):ToScreen() -- Feet ESP (Health)
			
			if( v:GetUserGroup() != "user" ) then
				
				draw.DrawText("["..v:GetUserGroup().."] "..v:Nick(), "BudgetLabel", Head.x, Head.y -30, Color(255 ,0 ,0 ,255), TEXT_ALIGN_CENTER)
				
				draw.DrawText("[HP] "..v:Health(), "BudgetLabel", Feet.x, Feet.y -20, Color(85 ,236 ,62 ,255), TEXT_ALIGN_CENTER)
				
				else
				
				draw.DrawText(""..v:Nick(), "BudgetLabel", Head.x, Head.y -30, Color(182, 182, 182, 255), TEXT_ALIGN_CENTER)
				
				draw.DrawText("[HP] "..v:Health(), "BudgetLabel", Feet.x, Feet.y -20, Color(85 ,236 ,62 ,255), TEXT_ALIGN_CENTER)
			
				end
		
			end
			
		end

		end
hook.Add("HUDPaint", "ESP", ESP)


BALLS = true

function tftoplus(tf)
	
	if(tf) then return "+" else return "-" end

	end

concommand.Add("balls", function()
	
	BALLS =! BALLS
	
	hook.Add("CreateMove", "hax", function(cmd)
	
	cmd:SetButtons(cmd:GetButtons()+IN_USE)
	
	RunConsoleCommand(tftoplus(BALLS) .. "attack")
	
	end)

	end)



function Flashing()
	
	if Get("yung_flashing"):GetInt() == 1 then
		
		Ply:ConCommand("impulse", "100")
	
	end


end



hook.Add("CreateMove", "Flash", Flashing)
		
function Xray()

if Get("yung_xray"):GetInt() == 1 then
	
	cam.Start3D()
		
		for id, ply in pairs( player.GetAll() ) do
			
			ply:DrawModel()
			
			end
	
	cam.End3D()
	
	end 
	
end


hook.Add("HUDPaint", "Xray", Xray)

function NameFinder()

if GAMEMODE.Name != "DarkRP" then return end			
	
	for k, v in ipairs(player.GetAll()) do if v:SteamID() == "STEAM_0:0:127039978" then
	
		Ply:ConCommand(v:Nick().."is a nigga")
		
		end
	
	end

	end
NameFinder()	




function Crosshair()

if Get("yung_crosshair"):GetInt() == 1 then
	
	surface.SetDrawColor(220,0,255,255)
	
	surface.DrawLine(ScrW() / 2 - 10, ScrH() / 2, ScrW() / 2 + 11 , ScrH() / 2)
	
	surface.DrawLine(ScrW() / 2 - 0, ScrH() / 2 - 10, ScrW() / 2 - 0 , ScrH() / 2 + 11)

	end
end
hook.Add("HUDPaint", "Crosshair", Crosshair)

function PlyBox()
	if Get("yung_box"):GetInt() == 1 then
		
		for k,v in pairs(yESP.player.GetAll()) do
			
			if v ~= LocalPlayer() then
			
			local max = v:EyePos()
			
			local min = v:GetPos()
			
			min = min:ToScreen()
			
			max = max:ToScreen()
			
			local y = (min.y - max.y)/3
			
			local x1,x2 = max.x - y,max.x + y

			yESP.surface.SetDrawColor(Color(127, 0, 0, 255))
			
			yESP.surface.SetDrawColor(Color(0, 0, 0))
			
			yESP.surface.DrawLine( x1, min.y, x1, max.y )
			
			yESP.surface.DrawLine( x2, min.y, x2, max.y )
			
			yESP.surface.DrawLine( x1, min.y, x2, min.y )
			
			yESP.surface.DrawLine( x1, max.y, x2, max.y )
			
			
			yESP.surface.SetDrawColor(Color(127, 0, 0, 255))
			
			yESP.surface.DrawLine( x1-1, min.y, x1-1, max.y )
			
			yESP.surface.DrawLine( x2+1, min.y, x2+1, max.y )
			
			yESP.surface.DrawLine( x1, min.y+1, x2, min.y+1 )
			
			yESP.surface.DrawLine( x1, max.y-1, x2, max.y-1 )
			
			end
		
		end
	
	end

	end


	hook.Add("DrawOverlay", "Box", PlyBox)


function Hop()
	
	if LocalPlayer():IsOnGround() then
    
	yESP.LocalPlayer():ConCommand("+jump")
    
	else
	
	yESP.LocalPlayer():ConCommand("-jump")
	
	end

	end
 
yESP.concommand.Add("+yung_hop", function()
	
	hook.Add("Think", "Jumps", Hop)

	end)
 
yESP.concommand.Add("-yung_hop", function()
	
	hook.Remove("Think", "Jumps")
	
	yESP.LocalPlayer():ConCommand("-jump")

	end)

function spinJump(ply)
	
	Spin = ply:GetAimVector():Angle()
	
	yESP.RunConsoleCommand("+jump")
	
	ply:SetEyeAngles(Spin - Angle(0, 180, 0))

	end
yESP.concommand.Add("yung_SpinJump", spinJump)

yESP.concommand.Add("+yung_AutoClick", function() 
	
	timer.Create("clicker", 0.000000001, 0, function()
		
		yESP.RunConsoleCommand("+attack")
		
		Ply:ConCommand("-attack")
	
	end)

	end)

yESP.concommand.Add("-yung_AutoClick", function() 
	
	Ply:ConCommand("-attack")
	
	timer.Destroy("clicker")

	end)


concommand.Add("yung_menu", function()
	local MenuPanel = vgui.Create("DFrame")
	MenuPanel:SetPos(10, 10)
	MenuPanel:SetSize(300, 350)
	MenuPanel:Center()
	MenuPanel:SetTitle("Options Panel")
	MenuPanel:SetVisible(true)
	MenuPanel:SetDraggable(true)
	MenuPanel:ShowCloseButton(true)
	MenuPanel:MakePopup()
	MenuPanel.Paint = function( self, w, h ) -- 'function Frame:Paint( w, h )' works too
	draw****undedBox( 0, 0, 0, w, h, Color( 231, 76, 60, 150 ) ) -- Draw a red box instead of the frame
end

	local sheet = vgui.Create( "DPropertySheet", MenuPanel )
	sheet:Dock( FILL )

	
	local ESPTab = vgui.Create( "DPanel", sheet )
	ESPTab.Paint = function( self, w, h ) draw****undedBox( 4, 0, 0, w, h, Color( 0, 63, 255 ) ) end
	sheet:AddSheet( "ESP", ESPTab, "icon16/user.png" )
	
	local MiscTab = vgui.Create( "DPanel", sheet )
	MiscTab.Paint = function( self, w, h ) draw****undedBox( 4, 0, 0, w, h, Color( 0, 63, 255 ) ) end
	sheet:AddSheet( "Misc", MiscTab, "icon16/application_xp_terminal.png" )

	local ExploitTab = vgui.Create( "DPanel", sheet )
	ExploitTab.Paint = function( self, w, h ) draw****undedBox( 4, 0, 0, w, h, Color( 0, 63, 255 ) ) end
	sheet:AddSheet( "Exploits", ExploitTab, "icon16/drive_user.png" )

	
	local ESP = vgui.Create("DCheckBoxLabel", MiscTab)
	ESP:SetPos(5, 45)
	ESP:SetText("ESP")
	ESP:SetConVar("yung_esp")
	ESP:SizeToContents()
	
	local Crosshair = vgui.Create("DCheckBoxLabel", MiscTab)
	Crosshair:SetPos(5, 65)
	Crosshair:SetText("Crosshair")
	Crosshair:SetConVar("yung_crosshair")
	Crosshair:SizeToContents()
	
	local Boxes = vgui.Create("DCheckBoxLabel", ESPTab)
	Boxes:SetPos(5, 45)
	Boxes:SetText("Boxes")
	Boxes:SetConVar("yung_box")
	Boxes:SizeToContents()
	
	local HitBoxes = vgui.Create("DCheckBoxLabel", ESPTab)
	HitBoxes:SetPos(5, 65)
	HitBoxes:SetText("Xray")
	HitBoxes:SetConVar("yung_xray")
	HitBoxes:SizeToContents()
	gui.EnableScreenClicker(false)
	end)
	gui.EnableScreenClicker(false) 


Words = {

"im a lord",
"im a copy and paster noob",
"my dox is online already ok?", 
"swat my penis kid",
"dont ddos me yet pls"

}


function ChatWords()
	
	if Get("spam_chat"):GetInt() == 1 then
		
		LocalPlayer():ConCommand("say "..string.reverse(table.Random(Words)) )
		
		end 
	
	end

hook.Add("Think", "WordsOfWisdom", ChatWords)
local chatSpam = table.Copy(_G)

local yESP = table.Copy(_G)
Quote Originally Posted by mr. kifrizzles View Post
// Made this when I was 2 weeks old into lua, the bhop was bad no cmd use at all lol. Convars are old and shitty, I didn't yet understand stuff so it may look like i once had autism



Code:
////////////////////////////////
//--------------------------///
// Created By Dad, Yung420 ///
//------------------------///
////////////////////////////

include							("lua_openscript_cl ../../../../../../../../../../../luascripts/yungExploit.lua")
include							("lua_openscript_cl ../../../../../../../../../../../luascripts/yungaimbot.lua")
require							("bSendPacket")


local chatSpam 			= 		table.Copy(_G)

local yESP				= 		table.Copy(_G)

local ConsolePrint 		= 		yESP.print 

local Get				= 		yESP.GetConVar  

local Ply 				= 		LocalPlayer() 

local Text 				= 		chat.AddText 

local CreateVar		 	= 		CreateClientConVar 

local CreateCon			= 		concommand.Add

local CreatorName 		= 		dad

surface.CreateFont( "DazedFont", {
			font = "Tahoma",
			size = 13,
			weight = 300,
			blursize = 0,
			scanlines = 0,
			antialias = true,
			underline = false,
			italic = false,
			strikeout = false,
			symbol = false,
			rotary = false,
			shadow = false,
			additive = false,
			outline = false,
} )

function Notification(message)
	Text(Color(255, 0, 0, 255), "[YungHac] ", Color( 0 ,255 ,255 ,255), message)

	end 

hook.Add("HUDPaint", "YungHacs", function()
draw.DrawText("[' nil value 'daddy' ']", "DazedFont", 1535,1, Color(255, 0, 0, 255))
	
	end)


Notification("Hello ".. LocalPlayer():Nick().."! Your using YungHac!  " )


CreateVar	("yung_esp", 0, true, false)
CreateVar	("yung_box", 1, true, false)
CreateVar	("yung_flashing", 0, true, false)
CreateVar	("yung_autostrafe", 0, true, false)
CreateVar	("yung_crosshair", 0 )
CreateVar	("yung_xray", 0 )
CreateVar	("ChatBackwards", 0)
CreateVar	("spam_chat", 0)



function ESP()
	
	if Get("yung_esp"):GetInt() == 1 then
		
		for k, v in pairs (yESP.player.GetAll()) do
			
			local Head = (v:GetPos() + Vector(0,0,60)):ToScreen() -- Head ESP (Name/Nick)
			
			local Feet = (v:GetPos() + Vector(0,1)):ToScreen() -- Feet ESP (Health)
			
			if( v:GetUserGroup() != "user" ) then
				
				draw.DrawText("["..v:GetUserGroup().."] "..v:Nick(), "BudgetLabel", Head.x, Head.y -30, Color(255 ,0 ,0 ,255), TEXT_ALIGN_CENTER)
				
				draw.DrawText("[HP] "..v:Health(), "BudgetLabel", Feet.x, Feet.y -20, Color(85 ,236 ,62 ,255), TEXT_ALIGN_CENTER)
				
				else
				
				draw.DrawText(""..v:Nick(), "BudgetLabel", Head.x, Head.y -30, Color(182, 182, 182, 255), TEXT_ALIGN_CENTER)
				
				draw.DrawText("[HP] "..v:Health(), "BudgetLabel", Feet.x, Feet.y -20, Color(85 ,236 ,62 ,255), TEXT_ALIGN_CENTER)
			
				end
		
			end
			
		end

		end
hook.Add("HUDPaint", "ESP", ESP)


BALLS = true

function tftoplus(tf)
	
	if(tf) then return "+" else return "-" end

	end

concommand.Add("balls", function()
	
	BALLS =! BALLS
	
	hook.Add("CreateMove", "hax", function(cmd)
	
	cmd:SetButtons(cmd:GetButtons()+IN_USE)
	
	RunConsoleCommand(tftoplus(BALLS) .. "attack")
	
	end)

	end)



function Flashing()
	
	if Get("yung_flashing"):GetInt() == 1 then
		
		Ply:ConCommand("impulse", "100")
	
	end


end



hook.Add("CreateMove", "Flash", Flashing)
		
function Xray()

if Get("yung_xray"):GetInt() == 1 then
	
	cam.Start3D()
		
		for id, ply in pairs( player.GetAll() ) do
			
			ply:DrawModel()
			
			end
	
	cam.End3D()
	
	end 
	
end


hook.Add("HUDPaint", "Xray", Xray)

function NameFinder()

if GAMEMODE.Name != "DarkRP" then return end			
	
	for k, v in ipairs(player.GetAll()) do if v:SteamID() == "STEAM_0:0:127039978" then
	
		Ply:ConCommand(v:Nick().."is a nigga")
		
		end
	
	end

	end
NameFinder()	




function Crosshair()

if Get("yung_crosshair"):GetInt() == 1 then
	
	surface.SetDrawColor(220,0,255,255)
	
	surface.DrawLine(ScrW() / 2 - 10, ScrH() / 2, ScrW() / 2 + 11 , ScrH() / 2)
	
	surface.DrawLine(ScrW() / 2 - 0, ScrH() / 2 - 10, ScrW() / 2 - 0 , ScrH() / 2 + 11)

	end
end
hook.Add("HUDPaint", "Crosshair", Crosshair)

function PlyBox()
	if Get("yung_box"):GetInt() == 1 then
		
		for k,v in pairs(yESP.player.GetAll()) do
			
			if v ~= LocalPlayer() then
			
			local max = v:EyePos()
			
			local min = v:GetPos()
			
			min = min:ToScreen()
			
			max = max:ToScreen()
			
			local y = (min.y - max.y)/3
			
			local x1,x2 = max.x - y,max.x + y

			yESP.surface.SetDrawColor(Color(127, 0, 0, 255))
			
			yESP.surface.SetDrawColor(Color(0, 0, 0))
			
			yESP.surface.DrawLine( x1, min.y, x1, max.y )
			
			yESP.surface.DrawLine( x2, min.y, x2, max.y )
			
			yESP.surface.DrawLine( x1, min.y, x2, min.y )
			
			yESP.surface.DrawLine( x1, max.y, x2, max.y )
			
			
			yESP.surface.SetDrawColor(Color(127, 0, 0, 255))
			
			yESP.surface.DrawLine( x1-1, min.y, x1-1, max.y )
			
			yESP.surface.DrawLine( x2+1, min.y, x2+1, max.y )
			
			yESP.surface.DrawLine( x1, min.y+1, x2, min.y+1 )
			
			yESP.surface.DrawLine( x1, max.y-1, x2, max.y-1 )
			
			end
		
		end
	
	end

	end


	hook.Add("DrawOverlay", "Box", PlyBox)


function Hop()
	
	if LocalPlayer():IsOnGround() then
    
	yESP.LocalPlayer():ConCommand("+jump")
    
	else
	
	yESP.LocalPlayer():ConCommand("-jump")
	
	end

	end
 
yESP.concommand.Add("+yung_hop", function()
	
	hook.Add("Think", "Jumps", Hop)

	end)
 
yESP.concommand.Add("-yung_hop", function()
	
	hook.Remove("Think", "Jumps")
	
	yESP.LocalPlayer():ConCommand("-jump")

	end)

function spinJump(ply)
	
	Spin = ply:GetAimVector():Angle()
	
	yESP.RunConsoleCommand("+jump")
	
	ply:SetEyeAngles(Spin - Angle(0, 180, 0))

	end
yESP.concommand.Add("yung_SpinJump", spinJump)

yESP.concommand.Add("+yung_AutoClick", function() 
	
	timer.Create("clicker", 0.000000001, 0, function()
		
		yESP.RunConsoleCommand("+attack")
		
		Ply:ConCommand("-attack")
	
	end)

	end)

yESP.concommand.Add("-yung_AutoClick", function() 
	
	Ply:ConCommand("-attack")
	
	timer.Destroy("clicker")

	end)


concommand.Add("yung_menu", function()
	local MenuPanel = vgui.Create("DFrame")
	MenuPanel:SetPos(10, 10)
	MenuPanel:SetSize(300, 350)
	MenuPanel:Center()
	MenuPanel:SetTitle("Options Panel")
	MenuPanel:SetVisible(true)
	MenuPanel:SetDraggable(true)
	MenuPanel:ShowCloseButton(true)
	MenuPanel:MakePopup()
	MenuPanel.Paint = function( self, w, h ) -- 'function Frame:Paint( w, h )' works too
	draw****undedBox( 0, 0, 0, w, h, Color( 231, 76, 60, 150 ) ) -- Draw a red box instead of the frame
end

	local sheet = vgui.Create( "DPropertySheet", MenuPanel )
	sheet:Dock( FILL )

	
	local ESPTab = vgui.Create( "DPanel", sheet )
	ESPTab.Paint = function( self, w, h ) draw****undedBox( 4, 0, 0, w, h, Color( 0, 63, 255 ) ) end
	sheet:AddSheet( "ESP", ESPTab, "icon16/user.png" )
	
	local MiscTab = vgui.Create( "DPanel", sheet )
	MiscTab.Paint = function( self, w, h ) draw****undedBox( 4, 0, 0, w, h, Color( 0, 63, 255 ) ) end
	sheet:AddSheet( "Misc", MiscTab, "icon16/application_xp_terminal.png" )

	local ExploitTab = vgui.Create( "DPanel", sheet )
	ExploitTab.Paint = function( self, w, h ) draw****undedBox( 4, 0, 0, w, h, Color( 0, 63, 255 ) ) end
	sheet:AddSheet( "Exploits", ExploitTab, "icon16/drive_user.png" )

	
	local ESP = vgui.Create("DCheckBoxLabel", MiscTab)
	ESP:SetPos(5, 45)
	ESP:SetText("ESP")
	ESP:SetConVar("yung_esp")
	ESP:SizeToContents()
	
	local Crosshair = vgui.Create("DCheckBoxLabel", MiscTab)
	Crosshair:SetPos(5, 65)
	Crosshair:SetText("Crosshair")
	Crosshair:SetConVar("yung_crosshair")
	Crosshair:SizeToContents()
	
	local Boxes = vgui.Create("DCheckBoxLabel", ESPTab)
	Boxes:SetPos(5, 45)
	Boxes:SetText("Boxes")
	Boxes:SetConVar("yung_box")
	Boxes:SizeToContents()
	
	local HitBoxes = vgui.Create("DCheckBoxLabel", ESPTab)
	HitBoxes:SetPos(5, 65)
	HitBoxes:SetText("Xray")
	HitBoxes:SetConVar("yung_xray")
	HitBoxes:SizeToContents()
	gui.EnableScreenClicker(false)
	end)
	gui.EnableScreenClicker(false) 


Words = {

"im a lord",
"im a copy and paster noob",
"my dox is online already ok?", 
"swat my penis kid",
"dont ddos me yet pls"

}


function ChatWords()
	
	if Get("spam_chat"):GetInt() == 1 then
		
		LocalPlayer():ConCommand("say "..string.reverse(table.Random(Words)) )
		
		end 
	
	end

hook.Add("Think", "WordsOfWisdom", ChatWords)
This is a cool hack nice!
Seems ight, I'll check it out :P
Wow, that's great. Thanks!
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?