shouldshowspeed = CreateClientConVar("gravko_showspeed", "0", true, true)
local function showspeed()
if shouldshowspeed:GetBool() then
local speed = math.floor(LocalPlayer():GetVelocity():Length())
draw.SimpleTextOutlined("Speed: "..speed,"trebuchet24",600,15,Color(0,255,0,255),4,1,1,Color(0,0,0,255))
end
end
hook.Add("HUDPaint", "showspeednshit", showspeed)
local CAT = chat.AddText
// Gravko Rotate
Angles = LocalPlayer():EyeAngles()
// OLD GRAVTATE HERE:
// New one is fixed. (I just switched things around to make sure, that it was doing it in the right order.)
/*
function gravtate()
local ply = LocalPlayer()
timer.Create("spawn", 0.01, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props_lab/clipboard.mdl")
LocalPlayer():ConCommand("+attack")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("release", 0.6, 1, function()
LocalPlayer():ConCommand("-attack")
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
timer.Create("undo", 0.6, 1, function()
LocalPlayer():ConCommand("undo")
end)
end
concommand.Add("gravtate", gravtate)
*/
function gravtate()
local ply = LocalPlayer()
//timer.Create("shootstart", 0.01, 1, function()
//LocalPlayer():ConCommand("+attack")
//end)
timer.Create("spawn", 0.1, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props_lab/clipboard.mdl")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("undo", 0.6, 1, function()
LocalPlayer():ConCommand("undo")
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
end
concommand.Add("gravtate", gravtate)
// gravtate_auto
function gravtate_auto()
local ply = LocalPlayer()
timer.Create("shootstart", 0.01, 1, function()
LocalPlayer():ConCommand("+attack")
end)
timer.Create("spawn", 0.01, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props_phx/wheels/magnetic_small.mdl")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("undo", 0.6, 1, function()
LocalPlayer():ConCommand("undo")
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
timer.Create("release", 0.6, 1, function()
LocalPlayer():ConCommand("-attack")
end)
end
concommand.Add("gravtate_auto", gravtate_auto)
// old bhop
/*
// bhop
RunConsoleCommand("bhop_toggle")
local bhop
hook.Add("Think", "bhop", function()
if bhop then
if (input.IsKeyDown( KEY_SPACE ) ) then
if LocalPlayer():IsTyping() then return end
if LocalPlayer():IsOnGround() then
RunConsoleCommand("+jump")
HasJumped = 1
else
RunConsoleCommand("-jump")
HasJumped = 0
end
elseif bhop and LocalPlayer():IsOnGround() then
if HasJumped == 1 then
RunConsoleCommand("-jump")
HasJumped = 0
end
end
end
end)
*/
shouldbhop = CreateClientConVar("gravko_bhop", "0", true, true)
local function gravkobhop()
if shouldbhop:GetBool() then
if (input.IsKeyDown(KEY_SPACE)) then
if LocalPlayer():IsOnGround() then
if LocalPlayer():IsTyping() then return end
RunConsoleCommand("+jump")
jumped = 1
else
RunConsoleCommand("-jump")
jumped = 0
end
elseif LocalPlayer():IsOnGround() then
if jumped == 1 then
RunConsoleCommand("-jump")
jumped = 0
end
end
end
end
hook.Add("Think", "thebhophook", gravkobhop)
/*
concommand.Add("bhop_toggle", function()
if bhop then
bhop = !bhop
else
bhop = !bhop
end
end)
*/
// Break fall
function gravfall()
local ply = LocalPlayer()
local Angles = LocalPlayer():EyeAngles()
timer.Create("down", 0.01, 1, function()
RunConsoleCommand("+attack")
LocalPlayer():SetEyeAngles(Angle(180, Angles.yaw, Angles****ll))
end)
timer.Create("spawn", 0.06, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props/cs_havana/pole_a.mdl")
RunConsoleCommand("-attack")
end)
timer.Create("undo", 0.3, 1, function()
LocalPlayer():ConCommand("undo")
end)
timer.Create("turnback", 0.35, 1, function()
LocalPlayer():SetEyeAngles(Angle(0, Angles.yaw, Angles****ll))
end)
end
concommand.Add("gravfall", gravfall)
// Tell commands
local function gravkolist()
print("BREAK FALL: gravfall")
print("BHOP: bhop_toggle")
print("ROTATE: gravtate")
print("ROTATE: gravtate_auto")
print("ROTATE: gravtate_simple")
print("ROTATE: gravtate1")
print("BOOST UP: gravup")
print("RP SCAMMER: gravkoscam")
print("ESP: gravko_esp 1/0")
print("TELL RANKS: gravko_tellranks")
print("RANDOM NAME: gravko_namechange")
print("NAME STEALER: gravko_namechange2")
print("CHAT SPAMMER: gravko_chatspam_simple 1/0")
print("PROP KILL DELETER: gravko_RemovePropsWhenDead 1/0")
print("SAY FUCK YOU WHEN DEAD: gravko_fuckyou 1/0")
print("CROUCH JUMP: gravko_crouchjump 1/0")
print("ANTI AFK: gravko_antiafk 1/0")
print("CHATSPAM SANDBOX: gravko_chatspam 1/0")
print("CHATSPAM RP: gravko_chatspam_rp 1/0")
print("GRAVKO MENU: gravko_menu")
print("GRAVKO XRAY: gravko_xray")
print("Silence: gravko_silence 1/0")
print("PSAY SPAM: gravko_psayspam 1/0")
print("DUCK SPAM: gravko_spamcrouch 1/0")
print("SHOW SPEED: gravko_showspeed 1/0")
print("ESP 2: gravko_esp2 1/0")
print("CROSSHAIR: gravko_crosshair 1/0")
end
concommand.Add("gravko_list", gravkolist)
// Up boost
function gravup()
local ply = LocalPlayer()
local Angles = LocalPlayer():EyeAngles()
timer.Create("down", 0.01, 1, function()
LocalPlayer():SetEyeAngles(Angle(180, Angles.yaw, Angles****ll))
end)
timer.Create("makesure", 0.02, 1, function()
LocalPlayer():ConCommand("+attack")
end)
timer.Create("makesure2", 0.03, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("spawn", 0.06, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props/de_inferno/wine_barrel_p8.mdl")
end)
timer.Create("turnback", 0.45, 1, function()
LocalPlayer():SetEyeAngles(Angle(0, Angles.yaw, Angles****ll))
LocalPlayer():ConCommand("-jump")
end)
timer.Create("undo", 0.5, 1, function()
LocalPlayer():ConCommand("undo")
LocalPlayer():ConCommand("-attack")
end)
end
concommand.Add("gravup", gravup)
/////////////////////////////// GRAVKO RP SCAM
function gravkoscam()
local ply = LocalPlayer()
timer.Create("dropmoney2", 0.01, 1, function()
LocalPlayer():ConCommand("say /dropmoney 2")
end)
timer.Create("takemoney", 1.2, 1, function()
LocalPlayer():ConCommand("+use")
end)
timer.Create("spawnfakemoney", 1.2, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props/cs_assault/Money.mdl")
end)
timer.Create("stopfirelel", 2, 1, function()
LocalPlayer():ConCommand("-use")
end)
end
concommand.Add("gravkoscam", gravkoscam)
/*
local function checkformoney()
for k,v in pairs(ents.FindByModel("models/props/cs_assault/Money.mdl")) do
if v:IsValid() then
if v:GetVelocity():Length() > 0 then
RunConsoleCommand("undo")
end
end
end
end
hook.Add("Think", "checkmoney", checkformoney)
*/
hook.Add("Think", "rip111", function()
local allprops = ents.FindByClass("prop_physics")
for i = 1, #allprops do
local prop = allprops[i]
if !prop or !IsValid(prop) then continue end
if prop:GetVelocity():Length() == 0 then continue end
if prop:GetModel() != "models/props/cs_assault/Money.mdl" then continue end
RunConsoleCommmand("undo")
end
end)
CreateClientConVar( "gravko_esp", "0", true, false)
showboxes = CreateClientConVar( "gravko_esp_showboxes", "1", true, false)
showhp = CreateClientConVar( "gravko_esp_hp", "1", true, false)
showwep = CreateClientConVar( "gravko_esp_weapon", "1", true, false)
showrank = CreateClientConVar( "gravko_esp_rank", "1", true, false)
showfriend = CreateClientConVar( "gravko_esp_friend", "1", true, false)
showdistance = CreateClientConVar( "gravko_esp_distance", "1", true, false)
local function gravesp()
if tobool( GetConVarNumber( "gravko_esp" ) ) then
for k, v in pairs( player.GetAll() ) do
local pos = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Name: "..v:Nick(), "UiBold", pos.x, pos.y - 40, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local hp = "HP: "..v:Health()
local wep2 = v:GetActiveWeapon()
local rank = "Rank: "..v:GetUserGroup()
local friend = "Friend: "..v:GetFriendStatus()
if showboxes:GetBool() then
local boxpos = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw****undedBox(2, pos.x - 8, pos.y - 62, 15, 15, Color(0, 0, 255, 255), 1)
draw****undedBox(2, pos.x - 6, pos.y - 60, 11, 11, Color(0, 0, 0, 255), 1)
end
if showhp:GetBool() then
draw.SimpleTextOutlined( hp, "UiBold", pos.x, pos.y - 10, Color(150,0,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showdistance:GetBool() then
local targetDistance = "Distance: "..math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
draw.SimpleTextOutlined( targetDistance, "UiBold", pos.x, pos.y - 0, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showrank:GetBool() then
draw.SimpleTextOutlined( rank, "UiBold", pos.x, pos.y - 30, Color(255,0,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showfriend:GetBool() then
draw.SimpleTextOutlined( friend, "UiBold", pos.x, pos.y - 20, Color(0,150,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
end
end
end
hook.Add( "HUDPaint", "esp", gravesp)
/*
// performance esp
CreateClientConVar( "gravko_performance_esp", "0", true, false)
showboxes1 = CreateClientConVar( "gravko_esp_showboxes_performance", "1", true, false)
showhp1 = CreateClientConVar( "gravko_esp_hp_performance", "1", true, false)
showwep1 = CreateClientConVar( "gravko_esp_weapon_performance", "1", true, false)
showrank1 = CreateClientConVar( "gravko_esp_rank_performance", "1", true, false)
showfriend1 = CreateClientConVar( "gravko_esp_friend_perfomance", "1", true, false)
showdistance1 = CreateClientConVar( "gravko_esp_distance_performance", "1", true, false)
local function gravespperformance()
if tobool( GetConVarNumber( "gravko_performance_esp" ) ) then
for k, v in pairs( player.GetAll() ) do
local pos1 = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleText( "Name: "..v:Nick(), "Default", pos.x, pos.y - 40, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local hp1 = "HP: "..v:Health()
local wep21 = v:GetActiveWeapon()
local rank1 = "Rank: "..v:GetUserGroup()
local friend1 = "Friend: "..v:GetFriendStatus()
if showboxes1:GetBool() then
local boxpos1 = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw****undedBox(2, pos.x - 8, pos.y - 62, 15, 15, Color(0, 0, 255, 255), 1)
draw****undedBox(2, pos.x - 6, pos.y - 60, 11, 11, Color(0, 0, 0, 255), 1)
end
if showhp1:GetBool() then
draw.SimpleTextOutlined( hp1, "Default", pos.x, pos.y - 10, Color(150,0,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showdistance1:GetBool() then
local targetDistance1 = "Distance: "..math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
draw.SimpleTextOutlined( targetDistance1, "Default", pos.x, pos.y - 0, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showrank1:GetBool() then
draw.SimpleTextOutlined( rank1, "Default", pos.x, pos.y - 30, Color(255,0,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showfriend1:GetBool() then
draw.SimpleTextOutlined( friend1, "Default", pos.x, pos.y - 20, Color(0,150,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
end
end
end
hook.Add( "HUDPaint", "YOLOSWAGESP", gravespperformance)
*/
CreateClientConVar( "gravko_esp2", "0", true, true)
local function gravesp2()
if tobool( GetConVarNumber( "gravko_esp2" ) ) then
for k, v in pairs( player.GetAll() ) do
local pos = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( v:Nick(), "Default", pos.x + 40, pos.y + 15, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local hp = "HP: "..v:Health()
local teamcol = team.GetColor(v:Team())
local wep2 = v:GetActiveWeapon()
local rank1 = "["..v:GetUserGroup().."]"
local friend = v:GetFriendStatus()
local targetDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local targetDistance3 = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/100000)
//draw.SimpleTextOutlined( targetDistance, "Default", pos.x + 40, pos.y + 30, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( hp, "Default", pos.x + 40, pos.y + 27, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( rank1, "Default", pos.x + 40, pos.y + 5, Color(255,0,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
//draw.SimpleTextOutlined( friend, "Default", pos.x + 40, pos.y + 20, Color(0,150,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local boxpos2 = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw****undedBox(5, pos.x - 6, pos.y + targetDistance3, 11, 11, Color(teamcol.r,teamcol.g,teamcol.b, 255), 1)
end
end
end
hook.Add( "HUDPaint", "esp2", gravesp2)
-- Name Changer1
shouldnamechange = CreateClientConVar( "gravko_namechange", "0", true, true )
function changename1()
if shouldnamechange:GetBool() then
LocalPlayer():ConCommand( "say /rpname " ..tostring( math.random( 9999999, 99999999 ) ) )
end
end
hook.Add( "Think", "Change name1", changename1)
function tellranks()
surface.PlaySound("UI/buttonclick.wav")
for k, v in pairs(player.GetAll()) do
chat.AddText(Color(255, 0, 0), v:Nick()..": is "..v:GetUserGroup())
end
end
concommand.Add("gravko_tellranks", tellranks)
-- Name Changer 2
local function changename2()
rplayer = table.Random(player.GetAll())
for k,v in pairs(player.GetAll()) do
LocalPlayer():ConCommand("say /rpname "..rplayer:Nick().." ")
if rplayer == LocalPlayer() then
end
end
end
concommand.Add("gravko_namechange2", changename2)
/*
shouldstealnames = CreateClientConVar( "gravko_namechange2_toggle", "0", true, true )
local function changename2constant()
if shouldstealnames:GetBool() then
timer.Create("steamnamesconstant", 5, 0, function()
rplayer = table.Random(player.GetAll())
for k,v in pairs(player.GetAll()) do
LocalPlayer():ConCommand("say /rpname "..rplayer:Nick().." ")
if rplayer == LocalPlayer() then
end
end
end)
end
end
*/
function gravtatesimple()
local ply = LocalPlayer()
timer.Create("jumpzzors", 0.1, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnbackzzors", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("-jumpszzors", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
end
concommand.Add("gravtate_simple", gravtatesimple)
deleteshit = CreateClientConVar( "gravko_RemovePropsWhenDead", "0", true, true )
function removeprops()
if deleteshit:GetBool() then
if not LocalPlayer():Alive() then
timer.Create("deleteprops", 0.2, 1, function()
LocalPlayer():ConCommand( "undoall")
end)
else
end
end
end
hook.Add( "Think", "removeshitwhendead", removeprops)
shouldchatspamsimple = CreateClientConVar( "gravko_chatspam_simple", "0", true, true )
function spamchatsimple()
if shouldchatspamsimple:GetBool() then
LocalPlayer():ConCommand( "say can i pls has admen" )
end
end
hook.Add( "Think", "Chat spam1", spamchatsimple)
function gravtate1()
local ply = LocalPlayer()
timer.Create("spawn", 0.1, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props_rooftop/sign_letter_m001.mdl")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
end
concommand.Add("gravtate1", gravtate1)
sayit = CreateClientConVar( "gravko_fuckyou", "0", true, true)
gameevent.Listen("player_hurt")
hook.Add("player_hurt", "sayfuckyou", function( data )
if sayit:GetBool() then
if data.userid == LocalPlayer():UserID() and data.health == 0 then
RunConsoleCommand("say", "fuck you")
end
end
end)
shouldcrouch = CreateClientConVar( "gravko_crouchjump", "0", true, true )
function crouchjump()
if shouldcrouch:GetBool() then
if !LocalPlayer():IsOnGround() then
LocalPlayer():ConCommand( "+duck" )
else
LocalPlayer():ConCommand( "-duck" )
end
end
end
hook.Add( "Think", "crouchjump", crouchjump)
shouldafk = CreateClientConVar( "gravko_antiafk", "0", false, true )
function antiafk()
if shouldafk:GetBool() then
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-10, a.r))
end
end
hook.Add("Think", "antiafk", antiafk)
realchatspam = CreateClientConVar( "gravko_chatspam", "0", false, true)
chitchat = {}
chitchat[1]="can i pls has admen?"
chitchat[2]="what is love?"
chitchat[3]="how do you fly?"
chitchat[4]="i have something called a 40k botnet booter"
chitchat[5]="u mad nugget?"
chitchat[6]="illuminati aint gon take me"
chitchat[7]="you know the smell of farts?"
chitchat[8]="once i fucked a goldfish"
chitchat[9]="u wanna get rekt m8?"
chitchat[10]="cum at me bro"
local function chatspam()
if realchatspam:GetBool() then
RunConsoleCommand("say", table.Random(chitchat).." ")
end
end
hook.Add("Think", "fuckface", chatspam)
realchatspamrp = CreateClientConVar( "gravko_chatspam_rp", "0", false, true)
chitchatrp = {}
chitchatrp[1]="// can i pls has admen?"
chitchatrp[2]="// what is love?"
chitchatrp[3]="// how do you fly?"
chitchatrp[4]="// i have something called a 40k botnet booter"
chitchatrp[5]="// u mad nugget?"
chitchatrp[6]="// illuminati aint gon take me"
chitchatrp[7]="// you know the smell of farts?"
chitchatrp[8]="// once i fucked a goldfish"
chitchatrp[9]="// u wanna get rekt m8?"
chitchatrp[10]="// cum at me bro"
chitchatrp[11]="// uwot m8"
chitchatrp[12]="// gravko is god"
chitchatrp[13]="// why r ppl so stooped?"
chitchatrp[14]="// im owning u"
chitchatrp[15]="// 3fast5u nigr"
local function chatspamrp()
if realchatspamrp:GetBool() then
RunConsoleCommand("say", table.Random(chitchatrp).." ")
end
end
hook.Add("Think", "fuckface1", chatspamrp)
// gravko menu
local function gravkomenu()
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50,50 )
DermaPanel:SetSize( 200, 730 )
DermaPanel:SetTitle( "Gravko scripts menu" )
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( true )
DermaPanel:ShowCloseButton( true )
DermaPanel:MakePopup() -- Show the frame
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,50 )
CheckBoxThing:SetText( "Gravko ESP" )
CheckBoxThing:SetConVar( "gravko_esp" )
//CheckBoxThing:SetValue( 1 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,80 )
CheckBoxThing:SetText( "Chat spammer" )
CheckBoxThing:SetConVar( "gravko_chatspam_rp" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,110 )
CheckBoxThing:SetText( "Random RP name" )
CheckBoxThing:SetConVar( "gravko_namechange" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,140 )
CheckBoxThing:SetText( "Remove props when dead (PK)" )
CheckBoxThing:SetConVar( "gravko_RemovePropsWhenDead" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,170 )
CheckBoxThing:SetText( "Say fuck you when dead" )
CheckBoxThing:SetConVar( "gravko_fuckyou" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,200 )
CheckBoxThing:SetText( "Spam duck" )
CheckBoxThing:SetConVar( "gravko_spamcrouch" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,230 )
CheckBoxThing:SetText( "Anti AFK" )
CheckBoxThing:SetConVar( "gravko_antiafk" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,340 )
CheckBoxThing:SetText( "Crosshair" )
CheckBoxThing:SetConVar( "gravko_crosshair" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,370 )
CheckBoxThing:SetText( "Head Tracers" )
CheckBoxThing:SetConVar( "gravko_headtracers" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,400 )
CheckBoxThing:SetText( "Xray" )
CheckBoxThing:SetConVar( "gravko_xray" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,430 )
CheckBoxThing:SetText( "ESP Show Distance" )
CheckBoxThing:SetConVar( "gravko_esp_distance" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,460 )
CheckBoxThing:SetText( "ESP Show HP" )
CheckBoxThing:SetConVar( "gravko_esp_hp" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,490 )
CheckBoxThing:SetText( "ESP Show Rank" )
CheckBoxThing:SetConVar( "gravko_esp_rank" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,520 )
CheckBoxThing:SetText( "ESP Show Boxes" )
CheckBoxThing:SetConVar( "gravko_esp_showboxes" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,550 )
CheckBoxThing:SetText( "ESP Show Friend Status" )
CheckBoxThing:SetConVar( "gravko_esp_friend" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,580 )
CheckBoxThing:SetText( "Silence" )
CheckBoxThing:SetConVar( "gravko_silence" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,610 )
CheckBoxThing:SetText( "Psay Spam (ulx)" )
CheckBoxThing:SetConVar( "gravko_psayspam" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,640 )
CheckBoxThing:SetText( "DarkRP Loot Hack" )
CheckBoxThing:SetConVar( "gravko_showdarkrploot" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,670 )
CheckBoxThing:SetText( "Autoshoot / triggerbot" )
CheckBoxThing:SetConVar( "gravko_autoshoot" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local CheckBoxThing = vgui.Create( "DCheckBoxLabel", DermaPanel )
CheckBoxThing:SetPos( 10,700 )
CheckBoxThing:SetText( "psay spam all players" )
CheckBoxThing:SetConVar( "gravko_psayspamall" )
//CheckBoxThing:SetValue( 0 )
CheckBoxThing:SizeToContents()
local DermaButton = vgui.Create( "DButton" )
DermaButton:SetParent( DermaPanel )
DermaButton:SetText( "Kill yourself" )
DermaButton:SetPos( 10, 250 )
DermaButton:SetSize( 70, 20 )
DermaButton.DoClick = function ()
RunConsoleCommand( "kill" )
end
local DermaButton = vgui.Create( "DButton" )
DermaButton:SetParent( DermaPanel )
DermaButton:SetText( "Gravko Scam" )
DermaButton:SetPos( 100, 250 )
DermaButton:SetSize( 70, 20 )
DermaButton.DoClick = function ()
RunConsoleCommand( "gravkoscam" )
chat.AddText(Color(0,255,0), "Performed a scam.")
end
local DermaButton = vgui.Create( "DButton" )
DermaButton:SetParent( DermaPanel )
DermaButton:SetText( "Tell ranks" )
DermaButton:SetPos( 100, 280 )
DermaButton:SetSize( 70, 20 )
DermaButton.DoClick = function ()
RunConsoleCommand( "gravko_tellranks" )
chat.AddText(Color(0,255,0), "Told ranks.")
end
local DermaButton = vgui.Create( "DButton" )
DermaButton:SetParent( DermaPanel )
DermaButton:SetText( "Gravtate Auto" )
DermaButton:SetPos( 10, 280 )
DermaButton:SetSize( 70, 20 )
DermaButton.DoClick = function ()
RunConsoleCommand( "gravtate_auto" )
chat.AddText(Color(0,255,0), "You've performed a boost.")
end
local DermaButton = vgui.Create( "DButton" )
DermaButton:SetParent( DermaPanel )
DermaButton:SetText( "RP Name steal" )
DermaButton:SetPos( 10, 310 )
DermaButton:SetSize( 70, 20 )
DermaButton.DoClick = function ()
RunConsoleCommand( "gravko_namechange2" )
chat.AddText(Color(0,255,0), "You've attempted to steal a name.")
end
local DermaButton = vgui.Create( "DButton" )
DermaButton:SetParent( DermaPanel )
DermaButton:SetText( "Bhop" )
DermaButton:SetPos( 100, 310 )
DermaButton:SetSize( 70, 20 )
DermaButton.DoClick = function ()
RunConsoleCommand( "bhop_toggle" )
chat.AddText(Color(255,0,0), "Toggled Bhop.")
end
end
concommand.Add("gravko_menu", gravkomenu)
local function gravkostatus()
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50,50 )
DermaPanel:SetSize( 500, 700 )
DermaPanel:SetTitle( "Gravko's player list" )
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( true )
DermaPanel:ShowCloseButton( true )
DermaPanel:MakePopup()
local DermaListView = vgui.Create("DListView")
DermaListView:SetParent(DermaPanel)
DermaListView:SetPos(25, 50)
DermaListView:SetSize(450, 625)
DermaListView:SetMultiSelect(false)
DermaListView:AddColumn("Names")
DermaListView:AddColumn("Kills")
DermaListView:AddColumn("Steam ID")
DermaListView:AddColumn("Ping")
DermaListView:AddColumn("HP")
DermaListView:AddColumn("Rank")
for k,v in pairs(player.GetAll()) do
DermaListView:AddLine(v:Nick(),v:Frags(),v:SteamID(),v:Ping(),v:Health(),v:GetUserGroup())
end
end
concommand.Add("gravko_status", gravkostatus)
// Crosshair
shouldcrosshair = CreateClientConVar( "gravko_crosshair", "1", true, true)
local function crosshair()
if shouldcrosshair:GetBool() then
local x = ScrW() / 2
local y = ScrH() / 2
surface.SetDrawColor( 150, 255, 0, 255 )
local gap = 15
local length = gap + 20
surface.DrawLine( x - length, y, x - gap, y )
surface.DrawLine( x + length, y, x + gap, y )
surface.DrawLine( x, y - length, x, y - gap )
surface.DrawLine( x, y + length, x, y + gap )
end
end
hook.Add( "HUDPaint", "Crosshairm8", crosshair)
// THANKS TO HESSU HOBO FOR MAKING THIS FOR ME
shouldheadtrace = CreateClientConVar( "gravko_headtracers", "1", true, true)
local function headtracer()
if shouldheadtrace:GetBool() then
for k , v in pairs( player.GetAll() ) do
if v != LocalPlayer() && v:Health() >= 1 && IsValid(v) && !v:IsDormant() then
local startpos = v:GetBonePosition( v:LookupBone( "ValveBiped.Bip01_Head1" ) or 12 )
local tracedata = {}
tracedata.start = startpos
tracedata.endpos = startpos+Vector( 0 , 0 , 10000 )
tracedata.filter = {LocalPlayer() , v }
local tr = util.TraceLine(tracedata)
local b = (tr.HitPos - Vector( 0 , 0 , 1 )):ToScreen()
local a = tr.StartPos:ToScreen()
surface.SetDrawColor( 255 , 0 , 0 )
surface.DrawLine( a.x , a.y , b.x , b.y )
end
end
end
end
hook.Add( "HUDPaint" , "headtracers" , headtracer)
// xray
gravko = {}
gravko.vision = {}
gravko.vision.toggle = true
gravko.vision.materialprop = Material("models/wireframe")
/////////////////////////////////////////XRAY///////////////////////////////////////////////////////
local function CanSee(ent)
local tr = {};
tr.start = LocalPlayer():GetShootPos();
tr.endpos = ent:GetPos() + Vector(0, 0, 5)
tr.filter = {LocalPlayer(), ent};
tr.mask = MASK_SHOT;
local trace = util.TraceLine(tr) ;
if (trace.Fraction == 1) then
return true;
else
return false;
end
end
shouldxray = CreateClientConVar( "gravko_xray", "0", false, true)
local mat1 = CreateMaterial("GA0249aSFJ3","VertexLitGeneric",{
["$basetexture"] = "models/debug/debugwhite",
["$model"] = 1,
["$translucent"] = 1,
["$alpha"] = 1,
["$nocull"] = 1,
["$ignorez"] = 1
}
)
function gravkoxray()
if shouldxray:GetBool() then
hook.Add("PreDrawSkyBox", "removeSkybox", function()
render.Clear(100, 50, 50, 255)
return true
end)
cam.Start3D()
for k,v in pairs(player.GetAll()) do
if v:IsValid() then
render.MaterialOverride(Material("/models/wireframe"))
render.SetColorModulation(255,255,255)
v:DrawModel()
if v:Health() == 0 or v:Health() < 0 then
render.SetColorModulation(255,0,0)
v:DrawModel()
end
end
if v:Team() == TEAM_SPECTATOR then
render.SetColorModulation(0,255,0)
v:DrawModel()
end
if (!CanSee(v) and !v:Alive() ) then
render.SetColorModulation(255,0,0)
v:DrawModel()
elseif (!CanSee(v) and v:Team() == TEAM_SPECTATOR) then
render.SetColorModulation(0,255,0)
v:DrawModel()
elseif (!CanSee(v)) then
render.SetColorModulation(255,170,0)
v:DrawModel()
end
end
for k,v in pairs(ents.FindByClass("prop_physics")) do
if v:IsValid() then
if v:GetVelocity():Length() < 10 then
render.MaterialOverride(gravko.vision.materialprop)
render.SetColorModulation(255,0,0)
render.SetBlend(0.5)
v:DrawModel()
v:SetNoDraw(true)
else
render.MaterialOverride(gravko.vision.materialprop)
//v:SetMaterial("models/shiny")
render.SetColorModulation(0,0,255)
render.SetBlend(0.5)
v:DrawModel()
v:SetNoDraw(true)
end
end
end
for k,v in pairs(ents.FindByClass("money_*")) do
if v:IsValid() then
render.MaterialOverride(gravko.vision.materialprop)
render.SetColorModulation(0,255,0)
render.SetBlend(0.5)
v:DrawModel()
v:SetNoDraw(true)
end
end
for k,v in pairs(ents.FindByClass("spawned_*")) do
if v:IsValid() then
render.MaterialOverride(gravko.vision.materialprop)
render.SetColorModulation(0,255,0)
render.SetBlend(0.5)
v:DrawModel()
v:SetNoDraw(true)
end
end
cam.End3D()
end
end
hook.Add("HUDPaint","wallhack",gravkoxray)
local function fixskybox()
if shouldxray:GetBool() == false then
hook.Add("PreDrawSkyBox", "removeSkybox", function()
render.Clear(255, 255, 255, 0)
return true
end)
end
end
//////////////////////////////////////////
showdarkrpstuff = CreateClientConVar( "gravko_showdarkrploot", "1", true, false)
local function printmoneyshit()
for k, v in pairs( ents.FindByClass("spawned_money") ) do
local moneyDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Money", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..moneyDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster", printmoneyshit)
local function doublecheckprinters()
for k, v in pairs( ents.FindByClass("*_printer_*") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "doublecheck", doublecheckprinters)
local function doublecheckprinters1()
for k, v in pairs( ents.FindByClass("*_printer") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "doublecheck1", doublecheckprinters1)
/*
local function doublecheckprinters2()
for k, v in pairs( ents.FindByClass("*_printer") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "doublecheck2", doublecheckprinters2)
*/
local function printprintershit()
for k, v in pairs( ents.FindByClass("money_*") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster1", printprintershit)
local function printshipshit()
for k, v in pairs( ents.FindByClass("spawned_shipment") ) do
local shipDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Shipment", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..shipDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster2", printshipshit)
local function printshipshit1()
for k, v in pairs( ents.FindByClass("spawned_weapon") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Weapon", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster3", printshipshit1)
local function printshipshit2()
for k, v in pairs( ents.FindByClass("*_money_*") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster4", printshipshit2)
local function printweaponshit()
for k, v in pairs( ents.FindByClass("*_weapon_*") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Weapon", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster5", printweaponshit)
local function addedmore1()
for k, v in pairs( ents.FindByClass("rprint_*") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "addedmore1", addedmore1)
////////////////////////////////////////////////////////////////////////////////////////////////////////////
psay1 = {}
psay1[1] = "eow kid"
psay1[2] = "sup nigr"
psay1[3] = "gmod crash"
psay1[4] = "ERROR ERROR ERROR"
psay1[5] = "shiet son"
psay1[6] = "whahaahhhwaahhawhhwhahggggg"
psay1[7] = "wanna go m8?"
psay1[8] = "are you me or you or flødebolle"
psay1[9] = "do u evn mariokart"
psay1[10] = "im watching sleep bitjnyeggah"
psay1[11] = "how much wood could a woodchuck chuck if ur mom is a fag"
psay1[12] = "shiet daughter"
psay1[13] = "allahu-achbar death to the infidels"
psay1[14] = "swedish tantra sex"
psay1[15] = "i eat u like ur mom pusy"
psay1[16] = "u fink u hardcore??"
psay1[17] = "yer f0cken pushhin me ovr da limit m8"
psay1[18] = "ur a wishard hary"
psay1[19] = "old guy eatin pringels"
psay1[20] = "oh babey a triple"
psayspam = CreateClientConVar("gravko_psayspam", "0", false, false)
local function psayspamshit()
if psayspam:GetBool() then
if (input.IsKeyDown( KEY_E ) ) then
local Ent = LocalPlayer():GetEyeTrace().Entity
if !Ent or !Ent:IsValid() or Ent:GetClass() != "player" then return end
LocalPlayer():ConCommand("ulx psay "..Ent:Name().." "..table.Random(psay1).." " )
end
end
end
// end
//end
hook.Add("Think", "spampeople", psayspamshit)
psay2 = {}
psay2[1] = "eow kid"
psay2[2] = "sup nigr"
psay2[3] = "gmod crash"
psay2[4] = "ERROR ERROR ERROR"
psay2[5] = "shiet son"
psay2[6] = "whahaahhhwaahhawhhwhahggggg"
psay2[7] = "wanna go m8?"
psay2[8] = "are you me or you or flødebolle"
psay2[9] = "do u evn mariokart"
psay2[10] = "im watching sleep bitjnyeggah"
psay2[11] = "how much wood could a woodchuck chuck if ur mom is a fag"
psay2[12] = "shiet daughter"
psay2[13] = "allahu-achbar death to the infidels"
psay2[14] = "swedish tantra sex"
psay2[15] = "i eat u like ur mom pusy"
psay2[16] = "u fink u hardcore??"
psay2[17] = "yer f0cken pushhin me ovr da limit m8"
psay2[18] = "ur a wishard hary"
psay2[19] = "old guy eatin pringels"
psay2[20] = "oh babey a triple"
psayspamall = CreateClientConVar("gravko_psayspamall", "0", false, false)
local function psayspamshitall()
if psayspamall:GetBool() then
if (input.IsKeyDown( KEY_E ) ) then
for k,v in pairs(player.GetAll()) do
LocalPlayer():ConCommand("ulx psay "..v:Nick().." "..table.Random(psay2).." " )
end
end
end
end
hook.Add("Think", "spampeoplenshit", psayspamshitall)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
//--------------------------------------------------------------------------------------------------------------------------------------------------
// autoshoot
shouldshoot = CreateClientConVar("gravko_autoshoot", "0", false, false)
local function autoshoot()
if shouldshoot:GetBool() then
local autoshoot = LocalPlayer():GetEyeTrace().Entity
if autoshoot:IsPlayer() then
RunConsoleCommand("+attack")
shooting = 1
else
RunConsoleCommand("-attack")
shooting = 0
end
end
end
hook.Add("Think", "autoshoot", autoshoot)
//-----------------------------------------------------------------------------------------------------------------
function rerendernshit()
if shouldxray:GetBool() == false then
for k,v in pairs(ents.FindByClass("prop_*")) do
if v:IsValid() then
v:SetNoDraw(false)
end
end
end
end
hook.Add("Think", "swagster", rerendernshit)
function rerendernshit2()
if shouldxray:GetBool() == false then
for k,v in pairs(ents.FindByClass("spawned_*")) do
if v:IsValid() then
v:SetNoDraw(false)
end
end
end
end
hook.Add("Think", "swagster1", rerendernshit2)
function rerendernshit3()
if shouldxray:GetBool() == false then
for k,v in pairs(ents.FindByClass("money_*")) do
if v:IsValid() then
v:SetNoDraw(false)
end
end
end
end
hook.Add("Think", "swagster2", rerendernshit3)
local function thespammer()
timer.Create("thespam", 0.1, 1, function()
RunConsoleCommand("+duck")
end)
timer.Create("thespam1", 0.2, 1, function()
RunConsoleCommand("-duck")
end)
timer.Create("thespam2", 0.3, 1, function()
RunConsoleCommand("+duck")
end)
timer.Create("thespam3", 0.4, 1, function()
RunConsoleCommand("-duck")
end)
end
concommand.Add("thespam", thespammer)
hook.Add("Think", "makesurethatyoudontcrouch", fixcrouch)
shouldspamcrouch = CreateClientConVar("gravko_spamcrouch", "0", false, false)
local function ost()
if shouldspamcrouch:GetBool() then
if LocalPlayer():IsOnGround() then
RunConsoleCommand("thespam")
end
else
end
end
hook.Add("Think", "checkifonground", ost)
// ADDING STUFF FROM FALCOS TO AVOID REBINDS AND STUPID WORK
local enableRoofTiles = CreateClientConVar("falco_rooftiles", 0, true, false)
local DrawPos
local params = {
["$basetexture"] = "phoenix_storms/pack2/train_floor",
["$nodecal"] = 1,
["$model"] = 1,
["$additive"] = 0,
["$nocull"] = 1,
["$alpha"] = 0.95
}
local RoofMaterial = CreateMaterial("RoofMaterialTest8", "UnlitGeneric", params)
hook.Add("PostDrawOpaqueRenderables", "ReplaceSkyBox", function()
if not DrawPos or not tobool(enableRoofTiles:GetInt()) then return end;
local pos1 = DrawPos + Vector( 5000, 5000, 0)
local pos2 = DrawPos + Vector(-5000, 5000, 0)
local pos3 = DrawPos + Vector(-5000, -5000, 0)
local pos4 = DrawPos + Vector( 5000, -5000, 0)
cam.Start3D(EyePos(), EyeAngles())
render.SuppressEngineLighting(true)
render.SetBlend(0.4)
render.SetMaterial(RoofMaterial)
render.DrawQuad(pos1, pos2, pos3, pos4)
render.DrawQuad(pos1 + Vector(5000), pos2 + Vector(5000), pos3 + Vector(5000), pos4 + Vector(5000))
render.DrawQuad(pos1 - Vector(5000), pos2 - Vector(5000), pos3 - Vector(5000), pos4 - Vector(5000))
render.DrawQuad(pos1 - Vector(5000, 5000), pos2 - Vector(5000, 5000), pos3 - Vector(5000, 5000), pos4 - Vector(5000, 5000))
render.DrawQuad(pos1 - Vector(5000, -5000), pos2 - Vector(5000, -5000), pos3 - Vector(5000, -5000), pos4 - Vector(5000, -5000))
render.DrawQuad(pos1 - Vector(0, -5000), pos2 - Vector(0, -5000), pos3 - Vector(0, -5000), pos4 - Vector(0, -5000))
render.DrawQuad(pos1 + Vector(0, -5000), pos2 + Vector(0, -5000), pos3 + Vector(0, -5000), pos4 + Vector(0, -5000))
render.DrawQuad(pos1 - Vector(-5000, -5000), pos2 - Vector(-5000, -5000), pos3 - Vector(-5000, -5000), pos4 - Vector(-5000, -5000))
render.DrawQuad(pos1 - Vector(-5000, 5000), pos2 - Vector(-5000, 5000), pos3 - Vector(-5000, 5000), pos4 - Vector(-5000, 5000))
render.SuppressEngineLighting(false)
render.SetBlend(1)
cam.End3D()
end)
timer.Create("ReplaceSkyBox", 0.1, 0, function()
if not IsValid(LocalPlayer()) then return end
local tracedata = {}
tracedata.start = LocalPlayer():GetShootPos()
tracedata.endpos = tracedata.start + Vector(0,0,9999999)
tracedata.filter = LocalPlayer()
tracedata.mask = MASK_NPCWORLDSTATIC
local trace = util.TraceLine(tracedata)
if trace.HitWorld and trace.HitTexture == "TOOLS/TOOLSSKYBOX" then
DrawPos = DrawPos or trace.HitPos
DrawPos.z = trace.HitPos.z
end
end)
local function Rotate180()
FALCO_NOAUTOPICKUP = true
timer.Simple(0.5, function() FALCO_NOAUTOPICKUP = false end)
if hook.GetTable().CreateMove and hook.GetTable().CreateMove.PickupEnt then
hook.Remove("CreateMove", "PickupEnt")
hook.Remove("CalcView", "Ididntseeit")
timer.Simple(0.05, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p, a.y-180, a.r))
end)
return
end
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p, a.y-180, a.r))
end
concommand.Add("falco_180", Rotate180)
local function Rotate180Up()
FALCO_NOAUTOPICKUP = true
timer.Simple(0.5, function() FALCO_NOAUTOPICKUP = false end)
if hook.GetTable().CreateMove and hook.GetTable().CreateMove.PickupEnt then
hook.Remove("CreateMove", "PickupEnt")
hook.Remove("CalcView", "Ididntseeit")
timer.Simple(0.05, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
RunConsoleCommand("+jump")
timer.Simple(0.2, function() RunConsoleCommand("-jump") end)
end)
return
end
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
RunConsoleCommand("+jump")
timer.Simple(0.2, function() RunConsoleCommand("-jump") end)
end
concommand.Add("falco_180up", Rotate180Up)
local removes = {"env_steam",
"func_illusionary",
"beam",
"class C_BaseEntity",
"env_sprite",
"class C_ShadowControl",
"class C_ClientRagdoll",
"func_illusionary",
"class C_PhysPropClientside",
}
local nolag = false
local function StopLag()
nolag = true
RunConsoleCommand("r_3dsky", 0)
RunConsoleCommand("r_WaterDrawReflection", 0)
RunConsoleCommand("r_waterforcereflectentities", 0)
RunConsoleCommand("r_teeth", 0)
RunConsoleCommand("r_shadows", 0)
RunConsoleCommand("r_ropetranslucent", 0)
RunConsoleCommand("r_maxmodeldecal", 0) --50
RunConsoleCommand("r_maxdlights", 0)--32
RunConsoleCommand("r_decals", 0)--2048
RunConsoleCommand("r_drawmodeldecals", 0)
RunConsoleCommand("r_drawdetailprops", 0)
RunConsoleCommand("r_decal_cullsize", 0)
RunConsoleCommand("r_worldlights", 0)
RunConsoleCommand("r_flashlightrender", 0)
RunConsoleCommand("cl_forcepreload", 1)
RunConsoleCommand("r_threaded_renderables", 1)
RunConsoleCommand("r_threaded_client_shadow_manager", 1)
RunConsoleCommand("snd_mix_async", 1)
RunConsoleCommand("cl_ejectbrass", 0)
RunConsoleCommand("cl_detaildist", 0)
RunConsoleCommand("cl_show_splashes", 0)
--RunConsoleCommand("mat_fastnobump", 1)
RunConsoleCommand("mat_filterlightmaps", 0)
--RunConsoleCommand("mat_filtertextures", 0)
RunConsoleCommand("r_drawflecks", 0)
RunConsoleCommand("r_dynamic", 0)
RunConsoleCommand("r_WaterDrawRefraction", 0)
--RunConsoleCommand("mat_showlowresimage", 1)
for k,v in pairs(removes) do
for a,b in pairs(ents.FindByClass(v)) do
b:SetNoDraw(true)
end
end
end
concommand.Add("falco_stoplag", StopLag)
local function Reset()
nolag = false
RunConsoleCommand("r_3dsky", 1)
RunConsoleCommand("r_WaterDrawReflection", 1)
RunConsoleCommand("r_waterforcereflectentities", 1)
RunConsoleCommand("r_teeth", 1)
RunConsoleCommand("r_shadows", 1)
RunConsoleCommand("r_ropetranslucent", 1)
RunConsoleCommand("r_maxmodeldecal", 50) --50
RunConsoleCommand("r_maxdlights", 32)--32
RunConsoleCommand("r_decals", 2048)--2048
RunConsoleCommand("r_drawmodeldecals", 1)
RunConsoleCommand("r_drawdetailprops", 1)
RunConsoleCommand("r_decal_cullsize", 1000)
RunConsoleCommand("r_worldlights", 1)
RunConsoleCommand("r_flashlightrender", 1)
RunConsoleCommand("cl_forcepreload", 0)
RunConsoleCommand("cl_ejectbrass", 1)
RunConsoleCommand("cl_show_splashes", 1)
RunConsoleCommand("cl_detaildist", 1200)
--RunConsoleCommand("mat_fastnobump", 0)
RunConsoleCommand("mat_filterlightmaps", 1)
RunConsoleCommand("r_threaded_renderables", 0)
RunConsoleCommand("r_threaded_client_shadow_manager", 0)
--RunConsoleCommand("mat_filtertextures", 1)
RunConsoleCommand("r_drawflecks", 1)
RunConsoleCommand("r_WaterDrawRefraction", 0)
--RunConsoleCommand("mat_showlowresimage", 0)
RunConsoleCommand("r_dynamic", 1)
for k,v in pairs(removes) do
for a,b in pairs(ents.FindByClass(v)) do
b:SetNoDraw(false)
end
end
end
concommand.Add("falco_resetlag", Reset)
shouldwh = CreateClientConVar( "gravko_wh", "0", false, true)
local function simplewh()
if shouldwh:GetBool() then
cam.Start3D()
cam.IgnoreZ(true)
for k,v in pairs(player.GetAll()) do
if v:IsValid() then
v:DrawModel()
end
end
end
end
hook.Add("HUDPaint", "megajenswh", simplewh)
shouldsilence = CreateClientConVar( "gravko_silence", "0", false, true)
local function silenceshit()
if shouldsilence:GetBool() then
LocalPlayer():ConCommand("stopsound")
end
end
hook.Add("Think", "yoloswag", silenceshit)
////// adding lennys
CreateClientConVar("lenny_fov", 0)
local newfov = GetConVarNumber("lenny_fov")
local function fov(ply, ori, ang, fov, nz, fz)
local view = {}
view.origin = ori
view.angles = ang
view.fov = newfov
return view
end
-- preperation
hook.Remove("CalcView", "fov")
timer.Simple(1, function()
if GetConVarNumber("lenny_fov") != 0 then
hook.Add("CalcView", "fov", fov)
end
end)
-- end of prep
cvars.AddChangeCallback("lenny_fov", function()
newfov = GetConVarNumber("lenny_fov")
if newfov != 0 then
hook.Add("CalcView", "fov", fov)
else
hook.Remove("CalcView", "fov")
end
end)
// I have not made this esp box! It's just nice and I wanted to add it since I could not do it better myself...
shouldespshit = CreateClientConVar("gravko_esp_box", "0", false, true)
local function thebox()
if shouldespshit:GetBool() then
hook.Add( 'PostPlayerDraw', 'espbox', function( ply )
local n = table.Copy( team.GetColor( ply:Team() ) ) -- color when visible
local z = Color( n.b, n.g, n.r ) -- invisible
local v = ply:GetPos()
local rv = v + ply:OBBCenter()
local rd = ( v:ToScreen().y - ( v + ( ply:OBBMins() + ply:OBBMaxs() ) * 0.5 ):ToScreen().y ) * 0.8 -- box height
cam.Start3D2D( rv, EyeAngles() + Angle( 90, 0, 0 ), rv:Distance( EyePos() ) * 0.003 ) -- same pixel scale at any render distance
local x = -rd * 0.5
cam.IgnoreZ( true )
surface.SetDrawColor( z )
surface.DrawOutlinedRect( x, x, rd, rd ) -- draw box with ignorez first, this box will be seen anytime
cam.IgnoreZ( false )
surface.SetDrawColor( n )
surface.DrawOutlinedRect( x, x, rd, rd ) -- try overlapping it over ignore-z box, if there's no obstacles, it will be overlapped
cam.End3D2D()
end )
end
end
hook.Add("Think", "safa", thebox)
// Thanks to gayry skidman for giving me this esp box! Truly a nice guy
/*
shouldespbox = CreateClientConVar("gravko_espbox", "0", false, true)
function espbox()
if shouldespbox:GetBool() then
for k, v in pairs(player.GetAll()) do
local min,max = v:WorldSpaceAABB()
local diff = max-min
local pos2 = Vector(0,0,0)
local pos1 = Vector(0,0,0)
local pos3 = Vector(0,0,0)
local pos4 = Vector(0,0,0)
local pos5 = Vector(0,0,diff.z)
local pos6 = Vector(0,0,diff.z)
local pos7 = Vector(0,0,diff.z)
local pos8 = Vector(0,0,diff.z)
pos1 = (pos1 + v:WorldSpaceAABB() + Vector(diff.x,diff.y,0)):ToScreen()
pos2 = (pos2 + v:WorldSpaceAABB() + Vector(diff.x,-diff.y/14,0)):ToScreen()
pos3 = (pos3 + v:WorldSpaceAABB() + Vector(-diff.x/14,-diff.y/14,0)):ToScreen()
pos4 = (pos4 + v:WorldSpaceAABB() + Vector(-diff.x/14,diff.y,0)):ToScreen()
pos5 = (pos5 + v:WorldSpaceAABB() + Vector(diff.x,diff.y,0)):ToScreen()
pos6 = (pos6 + v:WorldSpaceAABB() + Vector(diff.x,-diff.y/14,0)):ToScreen()
pos7 = (pos7 + v:WorldSpaceAABB() + Vector(-diff.x/14,-diff.y/14,0)):ToScreen()
pos8 = (pos8 + v:WorldSpaceAABB() + Vector(-diff.x/14,diff.y,0)):ToScreen()
surface.SetDrawColor(0,0,255,255)
surface.DrawLine(pos1.x, pos1.y, pos2.x, pos2.y)
surface.DrawLine(pos2.x, pos2.y, pos3.x, pos3.y)
surface.DrawLine(pos3.x, pos3.y, pos4.x, pos4.y)
surface.DrawLine(pos1.x, pos1.y, pos4.x, pos4.y)
surface.DrawLine(pos1.x, pos1.y, pos3.x, pos3.y)
surface.DrawLine(pos2.x, pos2.y, pos4.x, pos4.y)
surface.SetDrawColor(team.GetColor(v:Team()))
surface.DrawLine(pos1.x, pos1.y, pos5.x, pos5.y)
surface.DrawLine(pos2.x, pos2.y, pos6.x, pos6.y)
surface.DrawLine(pos3.x, pos3.y, pos7.x, pos7.y)
surface.DrawLine(pos4.x, pos4.y, pos8.x, pos8.y)
surface.SetDrawColor(90,20,50,255)
surface.DrawLine(pos5.x, pos5.y, pos6.x, pos6.y)
surface.DrawLine(pos6.x, pos6.y, pos7.x, pos7.y)
surface.DrawLine(pos7.x, pos7.y, pos8.x, pos8.y)
surface.DrawLine(pos5.x, pos5.y, pos8.x, pos8.y)
surface.DrawLine(pos5.x, pos5.y, pos7.x, pos7.y)
surface.DrawLine(pos6.x, pos6.y, pos8.x, pos8.y)
end
end
end
hook.Add("HUDPaint", "espboxnshit", espbox)
*/
/*
skalbhoppe = CreateClientConVar("jens_bhop", "0", true, true)
local function bhop()
if skalbhoppe:GetBool() == 1 then
if (input.IsKeyDown(KEY_SPACE)) then
if LocalPlayer():IsOnGround() then
RunConsoleCommand("+jump")
jumped = 1
else
RunConsoleCommand("-jump")
jumped = 0
end
if LocalPlayer():IsOnGround() then
if jumped = 1 then
jumped = 0
end
end
end
end
end
hook.Add("Think", "yoloswag", bhop)
*/
CreateClientConVar("tracers", "0", false, true)
hook.Add("HUDPaint", "tracers", function()
if GetConVarNumber("tracers") != 1 then return end
local allplys = player.GetAll()
for i = 1, #allplys do
local v = allplys[i]
if !v:IsValid() or v:Health() < 1 or v == LocalPlayer() then
continue
end
local pos = v:LocalToWorld(v:OBBCenter())
pos = pos:ToScreen()
if v:GetFriendStatus() == "friend" then
surface.SetDrawColor(0,255,0)
elseif v:IsAdmin() then
surface.SetDrawColor(255,0,0)
else
surface.SetDrawColor(0,0,255)
end
surface.DrawLine(ScrW() * .5, ScrH() * .5, pos.x, pos.y)
end
end)
/*
for k, v in pairs(ents.GetAll()) do
print(v)
end
*/
/*
theblacklist = {""}
local function detectshit()
local blacklist = "func_door_rotating"
local blacklist2 = "prop_door_rotating"
local blacklist3 = "prop_dynamic"
local blacklist4 = "prop_physics_multiplayer"
local blacklist5 = "func_door"
local blacklist6 = "class C_BaseEntity"
local blacklist7 = "env_sprite"
local blacklist8 = "prop_physics"
local blacklist9 = "func_brush"
local blacklist10 = "class C_EnvTonemapController"
local blacklist11 = "class C_RopeKeyframe"
local blacklist12 = "viewmodel"
local blacklist13 = "gmod_hands"
local blacklist14 = "manipulate_bone"
local blacklist15 = "class C_GMODGameRulesProxy"
local blacklist16 = "class C_PlayerResource"
local blacklist17 = "class C_RopeKeyframe"
local blacklist18 = "class C_FuncAreaPortalWindow"
local blacklist19 = "class C_Sun"
local blacklist20 = "class C_ColorCorrection"
local blacklist21 = "class C_EnvWind"
local blacklist22 = "class C_FogController"
local blacklist23 = "func_tracktrain"
local blacklist24 = "prop_dynamic_override"
local blacklist25 = "class CLuaEffect"
local blacklist26 = "weapon_physgun"
local blacklist27 = "gmod_camera"
local blacklist28 = "gmod_tool"
local blacklist29 = "weapon_ar2"
local blacklist30 = "weapon_rpg"
//if v:GetClass() != blacklist and v:GetClass() != blacklist2 and v:GetClass() != blacklist3 and v:GetClass() != blacklist4 and v:GetClass() != blacklist5 and v:GetClass() != blacklist6 and v:GetClass() != blacklist7 and v:GetClass() != blacklist8 and v:GetClass() != blacklist9 and v:GetClass() != blacklist10 and v:GetClass() != blacklist11 and v:GetClass() != blacklist12 and v:GetClass() != blacklist13 and v:GetClass() != blacklist14 and v:GetClass() != blacklist15 and v:GetClass() != blacklist16 and v:GetClass() != blacklist17 and v:GetClass() != blacklist18 and v:GetClass() != blacklist19 and v:GetClass() != blacklist20 and v:GetClass() != blacklist21 and v:GetClass() != blacklist22 and v:GetClass() != blacklist23 and v:GetClass() != blacklist24 and v:GetClass() != blacklist25 and v:GetClass() != blacklist26 and v:GetClass() != blacklist27 and v:GetClass() != blacklist28 and v:GetClass() != blacklist29 and v:GetClass() != blacklist30 then
for k, v in pairs(ents.FindByClass("*_*")) do
local mDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
Pos = v:GetPos():ToScreen()
if v:GetClass() != blacklist and v:GetClass() != blacklist2 and v:GetClass() != blacklist3 and v:GetClass() != blacklist4 and v:GetClass() != blacklist5 and v:GetClass() != blacklist6 and v:GetClass() != blacklist7 and v:GetClass() != blacklist8 and v:GetClass() != blacklist9 and v:GetClass() != blacklist10 and v:GetClass() != blacklist11 and v:GetClass() != blacklist12 and v:GetClass() != blacklist13 and v:GetClass() != blacklist14 and v:GetClass() != blacklist15 and v:GetClass() != blacklist16 and v:GetClass() != blacklist17 and v:GetClass() != blacklist18 and v:GetClass() != blacklist19 and v:GetClass() != blacklist20 and v:GetClass() != blacklist21 and v:GetClass() != blacklist22 and v:GetClass() != blacklist23 and v:GetClass() != blacklist24 and v:GetClass() != blacklist25 and v:GetClass() != blacklist26 and v:GetClass() != blacklist27 and v:GetClass() != blacklist28 and v:GetClass() != blacklist29 and v:GetClass() != blacklist30 and v:GetClass() != "physgun_beam" and v:GetClass() != "weapon_357" then
if v:GetClass() == "*_printer_*" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
// Pos:draw.SimpleText("Printer", "Default", 0, 20, Color(0,0,255), 0, 0)
// Pos:draw.SimpleText(v:GetClass(), "Default", 0, 10, Color(0,0,255), 0, 0)
elseif v:GetClass() == "*_printer" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
// Pos:draw.SimpleText("Printer", "Default", 0, 20, Color(0,0,255), 0, 0)
// Pos:draw.SimpleText(v:GetClass()), "Default", 0, 10, Color(0,0,255), 0, 0)
elseif v:GetClass() == "*_rprinter_*" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
// Pos:draw.SimpleText("Printer", "Default", 0, 20, Color(0,0,255), 0, 0)
// Pos:draw.SimpleText(v:GetClass(), "Default", 0, 10, Color(0,0,255), 0, 0)
elseif v:GetClass() == "spawned_shipment" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
// Pos:draw.SimpleText("Shipment", "Default", 0, 20, Color(0,0,255), 0, 0)
// Pos:draw.SimpleText(v:GetClass(), "Default", 0, 10, Color(0,0,255), 0, 0)
elseif v:GetClass() == "spawned_weapon" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
// Pos:draw.SimpleText("Weapon", "Default", 0, 20, Color(0,0,255), 0, 0)
// Pos:draw.SimpleText(v:GetClass(), "Default", 0, 10, Color(0,0,255), 0, 0)
elseif v:GetClass() == "spawned_money" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1) ---------------------------------------------
draw.SimpleTextOutlined("Money", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 15, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
else
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw.SimpleTextOutlined("Unknown Entity", "Default", Pos.x + 40, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
end
end
end
end
hook.Add("HUDPaint", "detectlootv2", detectshit)
*/
/*
local function removemats()
for k, v in pairs(ents.GetAll()) do
v:SetMaterial("")
end
end
hook.Add("HUDPaint", "removethemats", removemats)
concommand.Add("gravko_RemoveMaterials", removemats)
*/
shouldloot = CreateClientConVar("gravko_showdarkrploot2", "0", false, true)
hook.Add("HUDPaint", "findtherpshit", function()
if shouldloot:GetBool() then
for k, v in pairs(ents.GetAll()) do
local mDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
Pos = v:GetPos():ToScreen()
if not string.find(v:GetClass(), "prop") and not string.find(v:GetClass(), "func") and not string.find(v:GetClass(), "class") and not string.find(v:GetClass(), "env") and not string.find(v:GetClass(), "player") and not string.find(v:GetClass(), "view") and not string.find(v:GetClass(), "world") and not string.find(v:GetClass(), "weapon_") and not string.find(v:GetClass(), "gmod") and not string.find(v:GetClass(), "beam") and not string.find(v:GetClass(), "manipulate") and not string.find(v:GetClass(), "sent") and not string.find(v:GetClass(), "m9k") and not string.find(v:GetClass(), "gun") and not string.find(v:GetClass(), "pocket") and not string.find(v:GetClass(), "vending") and not string.find(v:GetClass(), "npc") and not string.find(v:GetClass(), "sammy") and not string.find(v:GetClass(), "stunstick") and not string.find(v:GetClass(), "unarrest_stick") and not string.find(v:GetClass(), "arrest_stick") and not string.find(v:GetClass(), "door") and not string.find(v:GetClass(), "keys") and not string.find(v:GetClass(), "keypad") and not string.find(v:GetClass(), "lock") and not string.find(v:GetClass(), "chat") and not string.find(v:GetClass(), "gmt") and not string.find(v:GetClass(), "weaponchecker") and not string.find(v:GetClass(), "Keypad") and not string.find(v:GetClass(), "med_") and not string.find(v:GetClass(), "darkrp") and not string.find(v:GetClass(), "swep") and not string.find(v:GetClass(), "fas2") and not string.find(v:GetClass(), "ent_spike") and not string.find(v:GetClass(), "car") and not string.find(v:GetClass(), "fuel") and not string.find(v:GetClass(), "taser") and not string.find(v:GetClass(), "point") and not string.find(v:GetClass(), "hook") and not string.find(v:GetClass(), "tv") and not string.find(v:GetClass(), "newspaper") and not string.find(v:GetClass(), "atm") and not string.find(v:GetClass(), "handcuffs") and not string.find(v:GetClass(), "payphone") then
if string.find(v:GetClass(), "printer") then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 100, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Printer", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 54, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif v:GetClass() == "spawned_shipment" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 100, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Shipment", "Default", Pos.x + 30, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 55, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif string.find(v:GetClass(), "durgz") then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Drugs", "Default", Pos.x + 23, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif v:GetClass() == "spawned_weapon" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Weapon", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif v:GetClass() == "spawned_money" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Money", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
else
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Unknown Entity", "Default", Pos.x + 47, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 53, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
end
end
end
end
end)

local function detectshit() local blacklist = "func_door_rotating" local blacklist2 = "prop_door_rotating" local blacklist3 = "prop_dynamic" local blacklist4 = "prop_physics_multiplayer" local blacklist5 = "func_door" local blacklist6 = "class C_BaseEntity" local blacklist7 = "env_sprite" local blacklist8 = "prop_physics" local blacklist9 = "func_brush" local blacklist10 = "class C_EnvTonemapController" local blacklist11 = "class C_RopeKeyframe" local blacklist12 = "viewmodel" local blacklist13 = "gmod_hands" local blacklist14 = "manipulate_bone" local blacklist15 = "class C_GMODGameRulesProxy" local blacklist16 = "class C_PlayerResource" local blacklist17 = "class C_RopeKeyframe" local blacklist18 = "class C_FuncAreaPortalWindow" local blacklist19 = "class C_Sun" local blacklist20 = "class C_ColorCorrection" local blacklist21 = "class C_EnvWind" local blacklist22 = "class C_FogController" local blacklist23 = "func_tracktrain" local blacklist24 = "prop_dynamic_override" local blacklist25 = "class CLuaEffect" local blacklist26 = "weapon_physgun" local blacklist27 = "gmod_camera" local blacklist28 = "gmod_tool" local blacklist29 = "weapon_ar2" local blacklist30 = "weapon_rpg" //if v:GetClass() != blacklist and v:GetClass() != blacklist2 and v:GetClass() != blacklist3 and v:GetClass() != blacklist4 and v:GetClass() != blacklist5 and v:GetClass() != blacklist6 and v:GetClass() != blacklist7 and v:GetClass() != blacklist8 and v:GetClass() != blacklist9 and v:GetClass() != blacklist10 and v:GetClass() != blacklist11 and v:GetClass() != blacklist12 and v:GetClass() != blacklist13 and v:GetClass() != blacklist14 and v:GetClass() != blacklist15 and v:GetClass() != blacklist16 and v:GetClass() != blacklist17 and v:GetClass() != blacklist18 and v:GetClass() != blacklist19 and v:GetClass() != blacklist20 and v:GetClass() != blacklist21 and v:GetClass() != blacklist22 and v:GetClass() != blacklist23 and v:GetClass() != blacklist24 and v:GetClass() != blacklist25 and v:GetClass() != blacklist26 and v:GetClass() != blacklist27 and v:GetClass() != blacklist28 and v:GetClass() != blacklist29 and v:GetClass() != blacklist30 then

if not string.find(v:GetClass(), "prop") and not string.find(v:GetClass(), "func") and not string.find(v:GetClass(), "class") and not string.find(v:GetClass(), "env") and not string.find(v:GetClass(), "player") and not string.find(v:GetClass(), "view") and not string.find(v:GetClass(), "world") and not string.find(v:GetClass(), "weapon_") and not string.find(v:GetClass(), "gmod") and not string.find(v:GetClass(), "beam") and not string.find(v:GetClass(), "manipulate") and not string.find(v:GetClass(), "sent") and not string.find(v:GetClass(), "m9k") and not string.find(v:GetClass(), "gun") and not string.find(v:GetClass(), "pocket") and not string.find(v:GetClass(), "vending") and not string.find(v:GetClass(), "npc") and not string.find(v:GetClass(), "sammy") and not string.find(v:GetClass(), "stunstick") and not string.find(v:GetClass(), "unarrest_stick") and not string.find(v:GetClass(), "arrest_stick") and not string.find(v:GetClass(), "door") and not string.find(v:GetClass(), "keys") and not string.find(v:GetClass(), "keypad") and not string.find(v:GetClass(), "lock") and not string.find(v:GetClass(), "chat") and not string.find(v:GetClass(), "gmt") and not string.find(v:GetClass(), "weaponchecker") and not string.find(v:GetClass(), "Keypad") and not string.find(v:GetClass(), "med_") and not string.find(v:GetClass(), "darkrp") and not string.find(v:GetClass(), "swep") and not string.find(v:GetClass(), "fas2") and not string.find(v:GetClass(), "ent_spike") and not string.find(v:GetClass(), "car") and not string.find(v:GetClass(), "fuel") and not string.find(v:GetClass(), "taser") and not string.find(v:GetClass(), "point") and not string.find(v:GetClass(), "hook") and not string.find(v:GetClass(), "tv") and not string.find(v:GetClass(), "newspaper") and not string.find(v:GetClass(), "atm") and not string.find(v:GetClass(), "handcuffs") and not string.find(v:GetClass(), "payphone") then
if v:GetClass() != blacklist and v:GetClass() != blacklist2 and v:GetClass() != blacklist3 and v:GetClass() != blacklist4 and v:GetClass() != blacklist5 and v:GetClass() != blacklist6 and v:GetClass() != blacklist7 and v:GetClass() != blacklist8 and v:GetClass() != blacklist9 and v:GetClass() != blacklist10 and v:GetClass() != blacklist11 and v:GetClass() != blacklist12 and v:GetClass() != blacklist13 and v:GetClass() != blacklist14 and v:GetClass() != blacklist15 and v:GetClass() != blacklist16 and v:GetClass() != blacklist17 and v:GetClass() != blacklist18 and v:GetClass() != blacklist19 and v:GetClass() != blacklist20 and v:GetClass() != blacklist21 and v:GetClass() != blacklist22 and v:GetClass() != blacklist23 and v:GetClass() != blacklist24 and v:GetClass() != blacklist25 and v:GetClass() != blacklist26 and v:GetClass() != blacklist27 and v:GetClass() != blacklist28 and v:GetClass() != blacklist29 and v:GetClass() != blacklist30 then
for k, v in pairs(ents.FindByClass("*_*")) do
local mDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
Pos = v:GetPos():ToScreen()
if v:GetClass() != blacklist and v:GetClass() != blacklist2 and v:GetClass() != blacklist3 and v:GetClass() != blacklist4 and v:GetClass() != blacklist5 and v:GetClass() != blacklist6 and v:GetClass() != blacklist7 and v:GetClass() != blacklist8 and v:GetClass() != blacklist9 and v:GetClass() != blacklist10 and v:GetClass() != blacklist11 and v:GetClass() != blacklist12 and v:GetClass() != blacklist13 and v:GetClass() != blacklist14 and v:GetClass() != blacklist15 and v:GetClass() != blacklist16 and v:GetClass() != blacklist17 and v:GetClass() != blacklist18 and v:GetClass() != blacklist19 and v:GetClass() != blacklist20 and v:GetClass() != blacklist21 and v:GetClass() != blacklist22 and v:GetClass() != blacklist23 and v:GetClass() != blacklist24 and v:GetClass() != blacklist25 and v:GetClass() != blacklist26 and v:GetClass() != blacklist27 and v:GetClass() != blacklist28 and v:GetClass() != blacklist29 and v:GetClass() != blacklist30 and v:GetClass() != "physgun_beam" and v:GetClass() != "weapon_357" then
surface.PlaySound( "npc/sniper/reload1.wav" )
chat.AddText(Color(0, 255, 0), "Gravko Scripts are now open and ready for use.")
chat.AddText(Color(255, 0, 0), "Bhop is turned ON. Use gravko_bhop to turn OFF.")
local myLabel = vgui.Create("DLabel", myParent)
myLabel:SetPos(1750,1050) // Position
myLabel:SetColor(Color(0,255,0,255))
myLabel:SetFont("trebuchet24")
myLabel:SetText("Gravkoscripts v1")
myLabel:SizeToContents()
showeyelazers = CreateClientConVar("gravko_showeyelazers", "0", false, true)
function EyeSight()
if GetConVarNumber("gravko_showeyelazers") != 1 then return end
cam.Start3D(EyePos(), EyeAngles())
for k,ply in pairs(player.GetAll()) do
if ply != LocalPlayer() && ply:Alive() then
local shootPos = ply:GetShootPos()
local eyeAngles = ply:EyeAngles()
local data = {}
data.start = shootPos
data.endpos = shootPos + eyeAngles:Forward() * 10000
data.filter = ply
local tr = util.TraceLine(data)
cam.Start3D2D(shootPos, eyeAngles, 1)
if IsValid(tr.Entity) then
surface.SetDrawColor(255, 0, 0, 255)
else
surface.SetDrawColor(0, 0, 255, 255)
end
surface.DrawLine(0, 0, tr.HitPos:Distance(shootPos), 0)
cam.End3D2D()
end
end
cam.End3D()
end
hook.Add("RenderScreenspaceEffects", "EyeSightt", EyeSight)
showposlzers = CreateClientConVar("gravko_playertracers", "1", true, true)
function HeadLines2()
local neededAngles = Angle(-90, 0, 0)
if GetConVarNumber("gravko_playertracers") != 1 then return end
cam.Start3D(EyePos(), EyeAngles())
for k,ply in pairs(player.GetAll()) do
if ply != LocalPlayer() && ply:Alive() then
local shootPos = ply:GetShootPos()
local data = {}
data.start = shootPos
data.endpos = shootPos + neededAngles:Forward() * 10000
data.filter = ply
local tr = util.TraceLine(data)
cam.Start3D2D(shootPos, neededAngles, 1)
if IsValid(tr.Entity) then
surface.SetDrawColor(255, 0, 0, 255)
else
surface.SetDrawColor(0, 0, 255, 255)
end
surface.DrawLine(0, 0, tr.HitPos:Distance(shootPos), 0)
cam.End3D2D()
end
end
cam.End3D()
end
hook.Add("HUDPaint", "HeadLines2", HeadLines2)
hook.Add("HUDPaint", function()
for k,v in pairs(ents.FindByClass("prop_door_rotating")) do
if v:IsValid() then
render.SuppressEngineLighting(true)
render.SetBlend(0.3)
v:DrawModel()
v:SetColor(Color(255, 255, 255, 150))
v:SetRenderMode( RENDERMODE_TRANSALPHA )
//v:SetNoDraw(true)
end
end
for k,v in pairs(ents.FindByClass("func_door_rotating")) do
if v:IsValid() then
render.SuppressEngineLighting(true)
render.SetBlend(0.3)
v:DrawModel()
v:SetColor(Color(255, 255, 255, 150))
v:SetRenderMode( RENDERMODE_TRANSALPHA )
//v:SetNoDraw(true)
end
end
for k,v in pairs(ents.FindByClass("func_door")) do
if v:IsValid() then
render.SuppressEngineLighting(true)
render.SetBlend(0.3)
v:DrawModel()
v:SetColor(Color(255, 255, 255, 150))
v:SetRenderMode( RENDERMODE_TRANSALPHA )
//v:SetNoDraw(true)
end
end
end)
shouldshowspeed = CreateClientConVar("gravko_showspeed", "0", true, true)
local function showspeed()
if shouldshowspeed:GetBool() then
local speed = math.floor(LocalPlayer():GetVelocity():Length())
draw.SimpleTextOutlined("Speed: "..speed,"trebuchet24",600,15,Color(0,255,0,255),4,1,1,Color(0,0,0,255))
end
end
hook.Add("HUDPaint", "showspeednshit", showspeed)
local CAT = chat.AddText
// Gravko Rotate
Angles = LocalPlayer():EyeAngles()
function gravtate()
local ply = LocalPlayer()
//timer.Create("shootstart", 0.01, 1, function()
//LocalPlayer():ConCommand("+attack")
//end)
timer.Create("spawn", 0.1, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props/de_inferno/picture3.mdl")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("undo", 0.6, 1, function()
LocalPlayer():ConCommand("undo")
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
end
concommand.Add("gravtate", gravtate)
// gravtate_auto
function gravtate_auto()
local ply = LocalPlayer()
timer.Create("shootstart", 0.01, 1, function()
LocalPlayer():ConCommand("+attack")
end)
timer.Create("spawn", 0.01, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props_phx/wheels/magnetic_small.mdl")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("undo", 0.6, 1, function()
LocalPlayer():ConCommand("undo")
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
timer.Create("release", 0.6, 1, function()
LocalPlayer():ConCommand("-attack")
end)
end
concommand.Add("gravtate_auto", gravtate_auto)
shouldbhop = CreateClientConVar("gravko_bhop", "0", true, true)
local function gravkobhop()
if shouldbhop:GetBool() then
if (input.IsKeyDown(KEY_SPACE)) then
if LocalPlayer():IsOnGround() then
if LocalPlayer():IsTyping() then return end
RunConsoleCommand("+jump")
jumped = 1
else
RunConsoleCommand("-jump")
jumped = 0
end
elseif LocalPlayer():IsOnGround() then
if jumped == 1 then
RunConsoleCommand("-jump")
jumped = 0
end
end
end
end
hook.Add("Think", "thebhophook", gravkobhop)
// Break fall
hook.Add("HUDPaint", "NoGun", function()
local p = LocalPlayer()
local w, e = p:GetActiveWeapon(), p:GetViewModel()
if !w:IsValid() or !e:IsValid() then return end
if w:GetClass() != "weapon_physgun" then return end
e:SetNoDraw(true)
end)
function gravfall()
local ply = LocalPlayer()
local Angles = LocalPlayer():EyeAngles()
timer.Create("down", 0.01, 1, function()
RunConsoleCommand("+attack")
LocalPlayer():SetEyeAngles(Angle(180, Angles.yaw, Angles****ll))
end)
timer.Create("spawn", 0.06, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props/cs_havana/pole_a.mdl")
RunConsoleCommand("-attack")
end)
timer.Create("undo", 0.3, 1, function()
LocalPlayer():ConCommand("undo")
end)
timer.Create("turnback", 0.35, 1, function()
LocalPlayer():SetEyeAngles(Angle(0, Angles.yaw, Angles****ll))
end)
end
concommand.Add("gravfall", gravfall)
/////////////////////////////// GRAVKO RP SCAM
function gravkoscam()
local ply = LocalPlayer()
timer.Create("dropmoney2", 0.01, 1, function()
LocalPlayer():ConCommand("say /dropmoney 2")
end)
timer.Create("takemoney", 1.2, 1, function()
LocalPlayer():ConCommand("+use")
end)
timer.Create("spawnfakemoney", 1.2, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props/cs_assault/Money.mdl")
end)
timer.Create("stopfirelel", 2, 1, function()
LocalPlayer():ConCommand("-use")
end)
end
concommand.Add("gravkoscam", gravkoscam)
function scamcheck()
for k, v in pairs(ents.FindByModel("models/props/cs_assault/Money.mdl")) do
if v:GetVelocity():Length() > 0 then
RunConsoleCommand("undo")
end
end
end
hook.Add("Think", "azsdasdasdadad", scamcheck)
-- old really shitty esp here
/*
CreateClientConVar( "gravko_esp", "0", true, false)
showboxes = CreateClientConVar( "gravko_esp_showboxes", "1", true, false)
showhp = CreateClientConVar( "gravko_esp_hp", "1", true, false)
showwep = CreateClientConVar( "gravko_esp_weapon", "1", true, false)
showrank = CreateClientConVar( "gravko_esp_rank", "1", true, false)
showfriend = CreateClientConVar( "gravko_esp_friend", "1", true, false)
showdistance = CreateClientConVar( "gravko_esp_distance", "1", true, false)
local function gravesp()
if tobool( GetConVarNumber( "gravko_esp" ) ) then
for k, v in pairs( player.GetAll() ) do
local pos = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Name: "..v:Nick(), "UiBold", pos.x, pos.y - 40, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local hp = "HP: "..v:Health()
local wep2 = v:GetActiveWeapon()
local rank = "Rank: "..v:GetUserGroup()
local friend = "Friend: "..v:GetFriendStatus()
if showboxes:GetBool() then
local boxpos = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw****undedBox(2, pos.x - 8, pos.y - 62, 15, 15, Color(0, 0, 255, 255), 1)
draw****undedBox(2, pos.x - 6, pos.y - 60, 11, 11, Color(0, 0, 0, 255), 1)
end
if showhp:GetBool() then
draw.SimpleTextOutlined( hp, "UiBold", pos.x, pos.y - 10, Color(150,0,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showdistance:GetBool() then
local targetDistance = "Distance: "..math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
draw.SimpleTextOutlined( targetDistance, "UiBold", pos.x, pos.y - 0, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showrank:GetBool() then
draw.SimpleTextOutlined( rank, "UiBold", pos.x, pos.y - 30, Color(255,0,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
if showfriend:GetBool() then
draw.SimpleTextOutlined( friend, "UiBold", pos.x, pos.y - 20, Color(0,150,255), 1, 1, 1, Color( 0, 0, 0, 255 ) )
end
end
end
end
hook.Add( "HUDPaint", "esp", gravesp)
*/
CreateClientConVar( "gravko_esp", "0", true, true)
local function gravesp2()
if tobool( GetConVarNumber( "gravko_esp" ) ) then
for k, v in pairs( player.GetAll() ) do
local pos = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( v:Nick(), "Default", pos.x + 30, pos.y + 15, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local hp = "HP: "..v:Health()
local teamcol = team.GetColor(v:Team())
local wep2 = v:GetActiveWeapon()
local rank1 = "["..v:GetUserGroup().."]"
local friend = v:GetFriendStatus()
local themoney = v:GetNWInt( "money" )
local targetDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local targetDistance3 = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/100000)
draw.SimpleTextOutlined( hp, "Default", pos.x + 30 - targetDistance3, pos.y + 27, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
//draw.SimpleTextOutlined( "$: "..themoney, "Default", pos.x + 30 - targetDistance3, pos.y + 37, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( rank1, "Default", pos.x + 30 - targetDistance3, pos.y + 5, Color(255,0,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
local boxpos2 = ( v:GetShootPos() + Vector( 0, 0, 30) ):ToScreen()
draw****undedBox(5, pos.x - 6, pos.y + targetDistance3, 11, 11, Color(teamcol.r,teamcol.g,teamcol.b, 255), 1)
end
end
end
hook.Add( "HUDPaint", "esp2", gravesp2)
-- Name Changer1
shouldnamechange = CreateClientConVar( "gravko_namechange", "0", true, true )
function changename1()
if shouldnamechange:GetBool() then
LocalPlayer():ConCommand( "say /rpname " ..tostring( math.random( 9999999, 99999999 ) ) )
end
end
hook.Add( "Think", "Change name1", changename1)
function tellranks()
surface.PlaySound("UI/buttonclick.wav")
for k, v in pairs(player.GetAll()) do
chat.AddText(Color(255, 0, 0), v:Nick()..": is "..v:GetUserGroup())
end
end
concommand.Add("gravko_tellranks", tellranks)
-- Name Changer 2
local function changename2()
rplayer = table.Random(player.GetAll())
for k,v in pairs(player.GetAll()) do
if rplayer == LocalPlayer() then return end
LocalPlayer():ConCommand("say /rpname "..rplayer:Nick().." ")
end
end
concommand.Add("gravko_namechange2", changename2)
function gravtatesimple()
local ply = LocalPlayer()
timer.Create("jumpzzors", 0.1, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnbackzzors", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("-jumpszzors", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
end
concommand.Add("gravtate_simple", gravtatesimple)
deleteshit = CreateClientConVar( "gravko_RemovePropsWhenDead", "0", true, true )
function removeprops()
if deleteshit:GetBool() then
if not LocalPlayer():Alive() then
timer.Create("deleteprops", 0.2, 1, function()
LocalPlayer():ConCommand( "undoall")
end)
else
end
end
end
hook.Add( "Think", "removeshitwhendead", removeprops)
shouldchatspamsimple = CreateClientConVar( "gravko_chatspam_simple", "0", true, true )
function spamchatsimple()
if shouldchatspamsimple:GetBool() then
LocalPlayer():ConCommand( "say can i pls has admen" )
end
end
hook.Add( "Think", "Chat spam1", spamchatsimple)
function gravtate1()
local ply = LocalPlayer()
timer.Create("spawn", 0.1, 1, function()
LocalPlayer():ConCommand("gm_spawn models/props_rooftop/sign_letter_m001.mdl")
end)
timer.Create("jump", 0.10, 1, function()
LocalPlayer():ConCommand("+jump")
end)
timer.Create("turnback", 0.2, 1, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
end)
timer.Create("-jumps", 0.3, 1, function()
LocalPlayer():ConCommand("-jump")
end)
end
concommand.Add("gravtate1", gravtate1)
sayit = CreateClientConVar( "gravko_fuckyou", "0", true, true)
gameevent.Listen("player_hurt")
hook.Add("player_hurt", "sayfuckyou", function( data )
if sayit:GetBool() then
if data.userid == LocalPlayer():UserID() and data.health == 0 then
RunConsoleCommand("say", "fuck you")
end
end
end)
shouldafk = CreateClientConVar( "gravko_antiafk", "0", false, true )
function antiafk()
if shouldafk:GetBool() then
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-10, a.r))
end
end
hook.Add("Think", "antiafk", antiafk)
realchatspam = CreateClientConVar( "gravko_chatspam", "0", false, true)
chitchat = {}
chitchat[1]="can i pls has admen?"
chitchat[2]="what is love?"
chitchat[3]="how do you fly?"
chitchat[4]="i have something called a 40k botnet booter"
chitchat[5]="u mad nugget?"
chitchat[6]="illuminati aint gon take me"
chitchat[7]="you know the smell of farts?"
chitchat[8]="once i fucked a goldfish"
chitchat[9]="u wanna get rekt m8?"
chitchat[10]="cum at me bro"
local function chatspam()
if realchatspam:GetBool() then
RunConsoleCommand("say", table.Random(chitchat).." ")
end
end
hook.Add("Think", "fuckface", chatspam)
realchatspamrp = CreateClientConVar( "gravko_chatspam_rp", "0", false, true)
chitchatrp = {}
chitchatrp[1]="// can i pls has admen?"
chitchatrp[2]="// what is love?"
chitchatrp[3]="// how do you fly?"
chitchatrp[4]="// i have something called a 40k botnet booter"
chitchatrp[5]="// u mad nugget?"
chitchatrp[6]="// illuminati aint gon take me"
chitchatrp[7]="// you know the smell of farts?"
chitchatrp[8]="// once i fucked a goldfish"
chitchatrp[9]="// u wanna get rekt m8?"
chitchatrp[10]="// cum at me bro"
chitchatrp[11]="// uwot m8"
chitchatrp[12]="// gravko is god"
chitchatrp[13]="// why r ppl so stooped?"
chitchatrp[14]="// im owning u"
chitchatrp[15]="// 3fast5u nigr"
local function chatspamrp()
if realchatspamrp:GetBool() then
RunConsoleCommand("say", table.Random(chitchatrp).." ")
end
end
hook.Add("Think", "fuckface1", chatspamrp)
local function gravkostatus()
local DermaPanel = vgui.Create( "DFrame" )
DermaPanel:SetPos( 50,50 )
DermaPanel:SetSize( 500, 700 )
DermaPanel:SetTitle( "Gravko's player list" )
DermaPanel:SetVisible( true )
DermaPanel:SetDraggable( true )
DermaPanel:ShowCloseButton( true )
DermaPanel:MakePopup()
local DermaListView = vgui.Create("DListView")
DermaListView:SetParent(DermaPanel)
DermaListView:SetPos(25, 50)
DermaListView:SetSize(450, 625)
DermaListView:SetMultiSelect(false)
DermaListView:AddColumn("Names")
DermaListView:AddColumn("Kills")
DermaListView:AddColumn("Steam ID")
DermaListView:AddColumn("Ping")
DermaListView:AddColumn("HP")
DermaListView:AddColumn("Rank")
for k,v in pairs(player.GetAll()) do
DermaListView:AddLine(v:Nick(),v:Frags(),v:SteamID(),v:Ping(),v:Health(),v:GetUserGroup())
end
end
concommand.Add("gravko_status", gravkostatus)
// Crosshair
shouldcrosshair = CreateClientConVar( "gravko_crosshair", "1", true, true)
local function crosshair()
if shouldcrosshair:GetBool() then
local x = ScrW() / 2
local y = ScrH() / 2
surface.SetDrawColor( 150, 255, 0, 255 )
local gap = 0
local length = gap + 10
surface.DrawLine( x - length, y, x - gap, y )
surface.DrawLine( x + length, y, x + gap, y )
surface.DrawLine( x, y - length, x, y - gap )
surface.DrawLine( x, y + length, x, y + gap )
end
end
hook.Add( "HUDPaint", "Crosshairm8", crosshair)
// xray
gravko = {}
gravko.vision = {}
gravko.vision.toggle = true
gravko.vision.materialprop = Material("models/wireframe")
/////////////////////////////////////////XRAY///////////////////////////////////////////////////////
function CanSee(ent)
local tr = {};
tr.start = LocalPlayer():GetShootPos();
tr.endpos = ent:GetPos() + Vector(0, 0, 5)
tr.filter = {LocalPlayer(), ent};
tr.mask = MASK_SHOT;
local trace = util.TraceLine(tr) ;
if (trace.Fraction == 1) then
return true;
else
return false;
end
end
shouldxray = CreateClientConVar( "gravko_xray", "0", false, true)
local mat1 = CreateMaterial("GA0249aSFJ3","VertexLitGeneric",{
["$basetexture"] = "models/debug/debugwhite",
["$model"] = 1,
["$translucent"] = 1,
["$alpha"] = 1,
["$nocull"] = 1,
["$ignorez"] = 1
}
)
function gravkoxray()
if shouldxray:GetBool() then
hook.Add("PreDrawSkyBox", "removeSkybox", function()
render.Clear(100, 50, 50, 255)
return true
end)
cam.Start3D()
for k,v in pairs(player.GetAll()) do
if v:IsValid() then
render.MaterialOverride(Material("models/debug/debugwhite"))
render.SetColorModulation(255,255,255)
render.SuppressEngineLighting(true)
v:DrawModel()
if v:Health() == 0 or v:Health() < 0 then
render.SetColorModulation(255,0,0)
v:DrawModel()
end
end
if v:Team() == TEAM_SPECTATOR then
render.SetColorModulation(0,255,0)
v:DrawModel()
end
if (!CanSee(v) and !v:Alive() ) then
render.SetColorModulation(255,0,0)
v:DrawModel()
elseif (!CanSee(v) and v:Team() == TEAM_SPECTATOR) then
render.SetColorModulation(0,255,0)
v:DrawModel()
elseif (!CanSee(v)) then
render.SetColorModulation(255,170,0)
v:DrawModel()
end
end
for k,v in pairs(ents.FindByClass("prop_physics")) do
if v:IsValid() then
if v:GetVelocity():Length() == 0 then
render.MaterialOverride(mat1)
render.SetColorModulation(0,0,255)
render.SuppressEngineLighting(true)
render.SetBlend(0.3)
v:DrawModel()
//v:SetNoDraw(true)
v:SetColor(Color(255, 255, 255, 0))
v:SetRenderMode( RENDERMODE_TRANSALPHA )
else
render.MaterialOverride(mat1)
//v:SetMaterial("models/shiny")
render.SetColorModulation(255,0,0)
render.SuppressEngineLighting(true)
render.SetBlend(0.3)
v:DrawModel()
v:SetColor(Color(255, 255, 255, 0))
v:SetRenderMode( RENDERMODE_TRANSALPHA )
//v:SetNoDraw(true)
end
end
end
for k,v in pairs(ents.FindByClass("money_*")) do
if v:IsValid() then
render.MaterialOverride(gravko.vision.materialprop)
render.SetColorModulation(0,255,0)
render.SetBlend(0.5)
v:DrawModel()
v:SetNoDraw(true)
end
end
for k,v in pairs(ents.FindByClass("spawned_*")) do
if v:IsValid() then
render.MaterialOverride(gravko.vision.materialprop)
render.SetColorModulation(0,255,0)
render.SetBlend(0.5)
v:DrawModel()
v:SetNoDraw(true)
end
end
cam.End3D()
end
end
hook.Add("HUDPaint","wallhack",gravkoxray)
//////////////////////////////////////////
showdarkrpstuff = CreateClientConVar( "gravko_showdarkrploot", "1", true, false)
local function printmoneyshit()
for k, v in pairs( ents.FindByClass("spawned_money") ) do
local moneyDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Money", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..moneyDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster", printmoneyshit)
local function doublecheckprinters()
for k, v in pairs( ents.FindByClass("*_printer_*") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "doublecheck", doublecheckprinters)
local function doublecheckprinters1()
for k, v in pairs( ents.FindByClass("*_printer") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "doublecheck1", doublecheckprinters1)
local function printprintershit()
for k, v in pairs( ents.FindByClass("money_*") ) do
local printerDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..printerDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster1", printprintershit)
local function printshipshit()
for k, v in pairs( ents.FindByClass("spawned_shipment") ) do
local shipDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Shipment", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..shipDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster2", printshipshit)
local function printshipshit1()
for k, v in pairs( ents.FindByClass("spawned_weapon") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Weapon", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster3", printshipshit1)
local function printshipshit2()
for k, v in pairs( ents.FindByClass("*_money_*") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster4", printshipshit2)
local function printweaponshit()
for k, v in pairs( ents.FindByClass("*_weapon_*") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Weapon", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "yolohipster5", printweaponshit)
local function addedmore1()
for k, v in pairs( ents.FindByClass("rprint_*") ) do
local wepDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
local printnames = v:GetClass()
if showdarkrpstuff:GetBool() then
local pos = ( v:GetPos() + Vector( 0, 0, 30) ):ToScreen()
draw.SimpleTextOutlined( "Printer", "UiBold", pos.x, pos.y, Color(0,255,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( "Distance: "..wepDistance, "UiBold", pos.x, pos.y + 15, Color(255,160,0), 1, 1, 1, Color( 0, 0, 0, 255 ) )
draw.SimpleTextOutlined( printnames, "UiBold", pos.x, pos.y + 30, Color(255,160,0), 1, 1, 1, Color(0, 0, 0, 255))
draw****undedBox(2, pos.x - 5, pos.y - 20, 15, 15, Color(0, 255, 0, 255), 1)
end
end
end
hook.Add("HUDPaint", "addedmore1", addedmore1)
////////////////////////////////////////////////////////////////////////////////////////////////////////////
psay1 = {}
psay1[1] = "eow kid"
psay1[2] = "sup nigr"
psay1[3] = "gmod crash"
psay1[4] = "ERROR ERROR ERROR"
psay1[5] = "shiet son"
psay1[6] = "whahaahhhwaahhawhhwhahggggg"
psay1[7] = "wanna go m8?"
psay1[8] = "are you me or you or flødebolle"
psay1[9] = "do u evn mariokart"
psay1[10] = "im watching sleep bitjnyeggah"
psay1[11] = "how much wood could a woodchuck chuck if ur mom is a fag"
psay1[12] = "shiet daughter"
psay1[13] = "allahu-achbar death to the infidels"
psay1[14] = "swedish tantra sex"
psay1[15] = "i eat u like ur mom pusy"
psay1[16] = "u fink u hardcore??"
psay1[17] = "yer f0cken pushhin me ovr da limit m8"
psay1[18] = "ur a wishard hary"
psay1[19] = "old guy eatin pringels"
psay1[20] = "oh babey a triple"
psayspam = CreateClientConVar("gravko_psayspam", "0", false, false)
local function psayspamshit()
if psayspam:GetBool() then
if (input.IsKeyDown( KEY_E ) ) then
local Ent = LocalPlayer():GetEyeTrace().Entity
if !Ent or !Ent:IsValid() or Ent:GetClass() != "player" then return end
LocalPlayer():ConCommand("ulx psay "..Ent:Name().." "..table.Random(psay1).." " )
end
end
end
// end
//end
hook.Add("Think", "spampeople", psayspamshit)
psay2 = {}
psay2[1] = "eow kid"
psay2[2] = "sup nigr"
psay2[3] = "gmod crash"
psay2[4] = "ERROR ERROR ERROR"
psay2[5] = "shiet son"
psay2[6] = "whahaahhhwaahhawhhwhahggggg"
psay2[7] = "wanna go m8?"
psay2[8] = "are you me or you or flødebolle"
psay2[9] = "do u evn mariokart"
psay2[10] = "im watching sleep bitjnyeggah"
psay2[11] = "how much wood could a woodchuck chuck if ur mom is a fag"
psay2[12] = "shiet daughter"
psay2[13] = "allahu-achbar death to the infidels"
psay2[14] = "swedish tantra sex"
psay2[15] = "i eat u like ur mom pusy"
psay2[16] = "u fink u hardcore??"
psay2[17] = "yer f0cken pushhin me ovr da limit m8"
psay2[18] = "ur a wishard hary"
psay2[19] = "old guy eatin pringels"
psay2[20] = "oh babey a triple"
psayspamall = CreateClientConVar("gravko_psayspamall", "0", false, false)
local function psayspamshitall()
if psayspamall:GetBool() then
if (input.IsKeyDown( KEY_E ) ) then
for k,v in pairs(player.GetAll()) do
LocalPlayer():ConCommand("ulx psay "..v:Nick().." "..table.Random(psay2).." " )
end
end
end
end
hook.Add("Think", "spampeoplenshit", psayspamshitall)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
//--------------------------------------------------------------------------------------------------------------------------------------------------
// autoshoot
shouldshoot = CreateClientConVar("gravko_autoshoot", "0", false, false)
local function autoshoot()
if shouldshoot:GetBool() then
local autoshoots = LocalPlayer():GetEyeTrace().Entity
if autoshoots:IsPlayer() then
RunConsoleCommand("+attack")
shooting = 1
else
RunConsoleCommand("-attack")
shooting = 0
end
if !autoshoots:IsPlayer() and shooting == 1 then
shooting = 0
end
end
end
hook.Add("Think", "autoshoot", autoshoot)
//-----------------------------------------------------------------------------------------------------------------
function rerendernshit()
if shouldxray:GetBool() == false then
for k,v in pairs(ents.FindByClass("prop_*")) do
if v:IsValid() then
v:SetNoDraw(false)
v:SetColor(Color(255, 255, 255, 255))
render.MaterialOverride(Material("models/debug/debugwhite"))
end
end
end
end
hook.Add("Think", "swagster", rerendernshit)
function rerendernshit2()
if shouldxray:GetBool() == false then
for k,v in pairs(ents.FindByClass("spawned_*")) do
if v:IsValid() then
v:SetNoDraw(false)
end
end
end
end
hook.Add("Think", "swagster1", rerendernshit2)
function rerendernshit3()
if shouldxray:GetBool() == false then
for k,v in pairs(ents.FindByClass("money_*")) do
if v:IsValid() then
v:SetNoDraw(false)
end
end
end
end
hook.Add("Think", "swagster2", rerendernshit3)
local function thespammer()
timer.Create("thespam", 0.1, 1, function()
RunConsoleCommand("+duck")
end)
timer.Create("thespam1", 0.2, 1, function()
RunConsoleCommand("-duck")
end)
timer.Create("thespam2", 0.3, 1, function()
RunConsoleCommand("+duck")
end)
timer.Create("thespam3", 0.4, 1, function()
RunConsoleCommand("-duck")
end)
end
concommand.Add("thespam", thespammer)
hook.Add("Think", "makesurethatyoudontcrouch", fixcrouch)
shouldspamcrouch = CreateClientConVar("gravko_spamcrouch", "0", false, false)
local function ost()
if shouldspamcrouch:GetBool() then
if LocalPlayer():IsOnGround() then
RunConsoleCommand("thespam")
end
else
end
end
hook.Add("Think", "checkifonground", ost)
// ADDING STUFF FROM FALCOS TO AVOID REBINDS AND STUPID WORK
local enableRoofTiles = CreateClientConVar("falco_rooftiles", 0, true, false)
local DrawPos
local params = {
["$basetexture"] = "phoenix_storms/pack2/train_floor",
["$nodecal"] = 1,
["$model"] = 1,
["$additive"] = 0,
["$nocull"] = 1,
["$alpha"] = 0.95
}
local RoofMaterial = CreateMaterial("RoofMaterialTest8", "UnlitGeneric", params)
hook.Add("PostDrawOpaqueRenderables", "ReplaceSkyBox", function()
if not DrawPos or not tobool(enableRoofTiles:GetInt()) then return end;
local pos1 = DrawPos + Vector( 5000, 5000, 0)
local pos2 = DrawPos + Vector(-5000, 5000, 0)
local pos3 = DrawPos + Vector(-5000, -5000, 0)
local pos4 = DrawPos + Vector( 5000, -5000, 0)
cam.Start3D(EyePos(), EyeAngles())
render.SuppressEngineLighting(true)
render.SetBlend(0.4)
render.SetMaterial(RoofMaterial)
render.DrawQuad(pos1, pos2, pos3, pos4)
render.DrawQuad(pos1 + Vector(5000), pos2 + Vector(5000), pos3 + Vector(5000), pos4 + Vector(5000))
render.DrawQuad(pos1 - Vector(5000), pos2 - Vector(5000), pos3 - Vector(5000), pos4 - Vector(5000))
render.DrawQuad(pos1 - Vector(5000, 5000), pos2 - Vector(5000, 5000), pos3 - Vector(5000, 5000), pos4 - Vector(5000, 5000))
render.DrawQuad(pos1 - Vector(5000, -5000), pos2 - Vector(5000, -5000), pos3 - Vector(5000, -5000), pos4 - Vector(5000, -5000))
render.DrawQuad(pos1 - Vector(0, -5000), pos2 - Vector(0, -5000), pos3 - Vector(0, -5000), pos4 - Vector(0, -5000))
render.DrawQuad(pos1 + Vector(0, -5000), pos2 + Vector(0, -5000), pos3 + Vector(0, -5000), pos4 + Vector(0, -5000))
render.DrawQuad(pos1 - Vector(-5000, -5000), pos2 - Vector(-5000, -5000), pos3 - Vector(-5000, -5000), pos4 - Vector(-5000, -5000))
render.DrawQuad(pos1 - Vector(-5000, 5000), pos2 - Vector(-5000, 5000), pos3 - Vector(-5000, 5000), pos4 - Vector(-5000, 5000))
render.SuppressEngineLighting(false)
render.SetBlend(1)
cam.End3D()
end)
timer.Create("ReplaceSkyBox", 0.1, 0, function()
if not IsValid(LocalPlayer()) then return end
local tracedata = {}
tracedata.start = LocalPlayer():GetShootPos()
tracedata.endpos = tracedata.start + Vector(0,0,9999999)
tracedata.filter = LocalPlayer()
tracedata.mask = MASK_NPCWORLDSTATIC
local trace = util.TraceLine(tracedata)
if trace.HitWorld and trace.HitTexture == "TOOLS/TOOLSSKYBOX" then
DrawPos = DrawPos or trace.HitPos
DrawPos.z = trace.HitPos.z
end
end)
local function Rotate180()
FALCO_NOAUTOPICKUP = true
timer.Simple(0.5, function() FALCO_NOAUTOPICKUP = false end)
if hook.GetTable().CreateMove and hook.GetTable().CreateMove.PickupEnt then
hook.Remove("CreateMove", "PickupEnt")
hook.Remove("CalcView", "Ididntseeit")
timer.Simple(0.05, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p, a.y-180, a.r))
end)
return
end
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p, a.y-180, a.r))
end
concommand.Add("falco_180", Rotate180)
local function Rotate180Up()
FALCO_NOAUTOPICKUP = true
timer.Simple(0.5, function() FALCO_NOAUTOPICKUP = false end)
if hook.GetTable().CreateMove and hook.GetTable().CreateMove.PickupEnt then
hook.Remove("CreateMove", "PickupEnt")
hook.Remove("CalcView", "Ididntseeit")
timer.Simple(0.05, function()
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
RunConsoleCommand("+jump")
timer.Simple(0.2, function() RunConsoleCommand("-jump") end)
end)
return
end
local a = LocalPlayer():EyeAngles() LocalPlayer():SetEyeAngles(Angle(a.p-a.p-a.p, a.y-180, a.r))
RunConsoleCommand("+jump")
timer.Simple(0.2, function() RunConsoleCommand("-jump") end)
end
concommand.Add("falco_180up", Rotate180Up)
local removes = {"env_steam",
"func_illusionary",
"beam",
"class C_BaseEntity",
"env_sprite",
"class C_ShadowControl",
"class C_ClientRagdoll",
"func_illusionary",
"class C_PhysPropClientside",
}
local nolag = false
local function StopLag()
nolag = true
RunConsoleCommand("r_3dsky", 0)
RunConsoleCommand("r_WaterDrawReflection", 0)
RunConsoleCommand("r_waterforcereflectentities", 0)
RunConsoleCommand("r_teeth", 0)
RunConsoleCommand("r_shadows", 0)
RunConsoleCommand("r_ropetranslucent", 0)
RunConsoleCommand("r_maxmodeldecal", 0) --50
RunConsoleCommand("r_maxdlights", 0)--32
RunConsoleCommand("r_decals", 0)--2048
RunConsoleCommand("r_drawmodeldecals", 0)
RunConsoleCommand("r_drawdetailprops", 0)
RunConsoleCommand("r_decal_cullsize", 0)
RunConsoleCommand("r_worldlights", 0)
RunConsoleCommand("r_flashlightrender", 0)
RunConsoleCommand("cl_forcepreload", 1)
RunConsoleCommand("r_threaded_renderables", 1)
RunConsoleCommand("r_threaded_client_shadow_manager", 1)
RunConsoleCommand("snd_mix_async", 1)
RunConsoleCommand("cl_ejectbrass", 0)
RunConsoleCommand("cl_detaildist", 0)
RunConsoleCommand("cl_show_splashes", 0)
--RunConsoleCommand("mat_fastnobump", 1)
RunConsoleCommand("mat_filterlightmaps", 0)
--RunConsoleCommand("mat_filtertextures", 0)
RunConsoleCommand("r_drawflecks", 0)
RunConsoleCommand("r_dynamic", 0)
RunConsoleCommand("r_WaterDrawRefraction", 0)
--RunConsoleCommand("mat_showlowresimage", 1)
for k,v in pairs(removes) do
for a,b in pairs(ents.FindByClass(v)) do
b:SetNoDraw(true)
end
end
end
concommand.Add("falco_stoplag", StopLag)
local function Reset()
nolag = false
RunConsoleCommand("r_3dsky", 1)
RunConsoleCommand("r_WaterDrawReflection", 1)
RunConsoleCommand("r_waterforcereflectentities", 1)
RunConsoleCommand("r_teeth", 1)
RunConsoleCommand("r_shadows", 1)
RunConsoleCommand("r_ropetranslucent", 1)
RunConsoleCommand("r_maxmodeldecal", 50) --50
RunConsoleCommand("r_maxdlights", 32)--32
RunConsoleCommand("r_decals", 2048)--2048
RunConsoleCommand("r_drawmodeldecals", 1)
RunConsoleCommand("r_drawdetailprops", 1)
RunConsoleCommand("r_decal_cullsize", 1000)
RunConsoleCommand("r_worldlights", 1)
RunConsoleCommand("r_flashlightrender", 1)
RunConsoleCommand("cl_forcepreload", 0)
RunConsoleCommand("cl_ejectbrass", 1)
RunConsoleCommand("cl_show_splashes", 1)
RunConsoleCommand("cl_detaildist", 1200)
--RunConsoleCommand("mat_fastnobump", 0)
RunConsoleCommand("mat_filterlightmaps", 1)
RunConsoleCommand("r_threaded_renderables", 0)
RunConsoleCommand("r_threaded_client_shadow_manager", 0)
--RunConsoleCommand("mat_filtertextures", 1)
RunConsoleCommand("r_drawflecks", 1)
RunConsoleCommand("r_WaterDrawRefraction", 0)
--RunConsoleCommand("mat_showlowresimage", 0)
RunConsoleCommand("r_dynamic", 1)
for k,v in pairs(removes) do
for a,b in pairs(ents.FindByClass(v)) do
b:SetNoDraw(false)
end
end
end
concommand.Add("falco_resetlag", Reset)
shouldwh = CreateClientConVar( "gravko_wh", "0", false, true)
local function simplewh()
if shouldwh:GetBool() then
cam.Start3D()
cam.IgnoreZ(true)
for k,v in pairs(player.GetAll()) do
if v:IsValid() then
v:DrawModel()
end
end
end
end
hook.Add("HUDPaint", "megajenswh", simplewh)
shouldsilence = CreateClientConVar( "gravko_silence", "0", false, true)
local function silenceshit()
if shouldsilence:GetBool() then
LocalPlayer():ConCommand("stopsound")
end
end
hook.Add("Think", "yoloswag", silenceshit)
////// adding lennys
CreateClientConVar("lenny_fov", 0)
local newfov = GetConVarNumber("lenny_fov")
local function fov(ply, ori, ang, fov, nz, fz)
local view = {}
view.origin = ori
view.angles = ang
view.fov = newfov
return view
end
-- preperation
hook.Remove("CalcView", "fov")
timer.Simple(1, function()
if GetConVarNumber("lenny_fov") != 0 then
hook.Add("CalcView", "fov", fov)
end
end)
-- end of prep
cvars.AddChangeCallback("lenny_fov", function()
newfov = GetConVarNumber("lenny_fov")
if newfov != 0 then
hook.Add("CalcView", "fov", fov)
else
hook.Remove("CalcView", "fov")
end
end)
// I have not made this esp box! It's just nice and I wanted to add it since I could not do it better myself...
shouldespshit = CreateClientConVar("gravko_esp_box", "0", false, true)
local function thebox()
if shouldespshit:GetBool() then
hook.Add( 'PostPlayerDraw', 'espbox', function( ply )
local n = table.Copy( team.GetColor( ply:Team() ) ) -- color when visible
local z = Color( n.b, n.g, n.r ) -- invisible
local v = ply:GetPos()
local rv = v + ply:OBBCenter()
local rd = ( v:ToScreen().y - ( v + ( ply:OBBMins() + ply:OBBMaxs() ) * 0.5 ):ToScreen().y ) * 0.8 -- box height
cam.Start3D2D( rv, EyeAngles() + Angle( 90, 0, 0 ), rv:Distance( EyePos() ) * 0.003 ) -- same pixel scale at any render distance
local x = -rd * 0.5
cam.IgnoreZ( true )
surface.SetDrawColor( z )
surface.DrawOutlinedRect( x, x, rd, rd ) -- draw box with ignorez first, this box will be seen anytime
cam.IgnoreZ( false )
surface.SetDrawColor( n )
surface.DrawOutlinedRect( x, x, rd, rd ) -- try overlapping it over ignore-z box, if there's no obstacles, it will be overlapped
cam.End3D2D()
end )
end
end
hook.Add("Think", "safa", thebox)
// Thanks to gayry skidman for giving me this esp box! Truly a nice guy
/*
shouldespbox = CreateClientConVar("gravko_espbox", "0", false, true)
function espbox()
if shouldespbox:GetBool() then
for k, v in pairs(player.GetAll()) do
local min,max = v:WorldSpaceAABB()
local diff = max-min
local pos2 = Vector(0,0,0)
local pos1 = Vector(0,0,0)
local pos3 = Vector(0,0,0)
local pos4 = Vector(0,0,0)
local pos5 = Vector(0,0,diff.z)
local pos6 = Vector(0,0,diff.z)
local pos7 = Vector(0,0,diff.z)
local pos8 = Vector(0,0,diff.z)
pos1 = (pos1 + v:WorldSpaceAABB() + Vector(diff.x,diff.y,0)):ToScreen()
pos2 = (pos2 + v:WorldSpaceAABB() + Vector(diff.x,-diff.y/14,0)):ToScreen()
pos3 = (pos3 + v:WorldSpaceAABB() + Vector(-diff.x/14,-diff.y/14,0)):ToScreen()
pos4 = (pos4 + v:WorldSpaceAABB() + Vector(-diff.x/14,diff.y,0)):ToScreen()
pos5 = (pos5 + v:WorldSpaceAABB() + Vector(diff.x,diff.y,0)):ToScreen()
pos6 = (pos6 + v:WorldSpaceAABB() + Vector(diff.x,-diff.y/14,0)):ToScreen()
pos7 = (pos7 + v:WorldSpaceAABB() + Vector(-diff.x/14,-diff.y/14,0)):ToScreen()
pos8 = (pos8 + v:WorldSpaceAABB() + Vector(-diff.x/14,diff.y,0)):ToScreen()
surface.SetDrawColor(0,0,255,255)
surface.DrawLine(pos1.x, pos1.y, pos2.x, pos2.y)
surface.DrawLine(pos2.x, pos2.y, pos3.x, pos3.y)
surface.DrawLine(pos3.x, pos3.y, pos4.x, pos4.y)
surface.DrawLine(pos1.x, pos1.y, pos4.x, pos4.y)
surface.DrawLine(pos1.x, pos1.y, pos3.x, pos3.y)
surface.DrawLine(pos2.x, pos2.y, pos4.x, pos4.y)
surface.SetDrawColor(team.GetColor(v:Team()))
surface.DrawLine(pos1.x, pos1.y, pos5.x, pos5.y)
surface.DrawLine(pos2.x, pos2.y, pos6.x, pos6.y)
surface.DrawLine(pos3.x, pos3.y, pos7.x, pos7.y)
surface.DrawLine(pos4.x, pos4.y, pos8.x, pos8.y)
surface.SetDrawColor(90,20,50,255)
surface.DrawLine(pos5.x, pos5.y, pos6.x, pos6.y)
surface.DrawLine(pos6.x, pos6.y, pos7.x, pos7.y)
surface.DrawLine(pos7.x, pos7.y, pos8.x, pos8.y)
surface.DrawLine(pos5.x, pos5.y, pos8.x, pos8.y)
surface.DrawLine(pos5.x, pos5.y, pos7.x, pos7.y)
surface.DrawLine(pos6.x, pos6.y, pos8.x, pos8.y)
end
end
end
hook.Add("HUDPaint", "espboxnshit", espbox)
*/
CreateClientConVar("gravko_tracers", "0", false, true)
hook.Add("HUDPaint", "tracers111", function()
if GetConVarNumber("tracers") != 1 then return end
local allplys = player.GetAll()
for i = 1, #allplys do
local v = allplys[i]
if !v:IsValid() or v:Health() < 1 or v == LocalPlayer() then
continue
end
local pos = v:LocalToWorld(v:OBBCenter())
pos = pos:ToScreen()
if v:GetFriendStatus() == "friend" then
surface.SetDrawColor(0,255,0)
elseif v:IsAdmin() then
surface.SetDrawColor(255,0,0)
else
surface.SetDrawColor(0,0,255)
end
surface.DrawLine(ScrW() * .5, ScrH() * .5, pos.x, pos.y)
end
end)
shouldloot = CreateClientConVar("gravko_showdarkrploot2", "0", false, true)
hook.Add("HUDPaint", "findtherpshit", function()
if shouldloot:GetBool() then
for k, v in pairs(ents.GetAll()) do
local mDistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
Pos = v:GetPos():ToScreen()
if not string.find(v:GetClass(), "prop") and not string.find(v:GetClass(), "func") and not string.find(v:GetClass(), "class") and not string.find(v:GetClass(), "env") and not string.find(v:GetClass(), "player") and not string.find(v:GetClass(), "view") and not string.find(v:GetClass(), "world") and not string.find(v:GetClass(), "weapon_") and not string.find(v:GetClass(), "gmod") and not string.find(v:GetClass(), "beam") and not string.find(v:GetClass(), "manipulate") and not string.find(v:GetClass(), "sent") and not string.find(v:GetClass(), "m9k") and not string.find(v:GetClass(), "gun") and not string.find(v:GetClass(), "pocket") and not string.find(v:GetClass(), "vending") and not string.find(v:GetClass(), "npc") and not string.find(v:GetClass(), "sammy") and not string.find(v:GetClass(), "stunstick") and not string.find(v:GetClass(), "unarrest_stick") and not string.find(v:GetClass(), "arrest_stick") and not string.find(v:GetClass(), "door") and not string.find(v:GetClass(), "keys") and not string.find(v:GetClass(), "keypad") and not string.find(v:GetClass(), "lock") and not string.find(v:GetClass(), "chat") and not string.find(v:GetClass(), "gmt") and not string.find(v:GetClass(), "weaponchecker") and not string.find(v:GetClass(), "Keypad") and not string.find(v:GetClass(), "med_") and not string.find(v:GetClass(), "darkrp") and not string.find(v:GetClass(), "swep") and not string.find(v:GetClass(), "fas2") and not string.find(v:GetClass(), "ent_spike") and not string.find(v:GetClass(), "car") and not string.find(v:GetClass(), "fuel") and not string.find(v:GetClass(), "taser") and not string.find(v:GetClass(), "point") and not string.find(v:GetClass(), "hook") and not string.find(v:GetClass(), "tv") and not string.find(v:GetClass(), "newspaper") and not string.find(v:GetClass(), "atm") and not string.find(v:GetClass(), "handcuffs") and not string.find(v:GetClass(), "payphone") then
if string.find(v:GetClass(), "printer") then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 100, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Printer", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 54, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif v:GetClass() == "spawned_shipment" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 100, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Shipment", "Default", Pos.x + 30, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 55, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif string.find(v:GetClass(), "durgz") then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Drugs", "Default", Pos.x + 23, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif v:GetClass() == "spawned_weapon" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Weapon", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
elseif v:GetClass() == "spawned_money" then
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Money", "Default", Pos.x + 25, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 50, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
else
draw****undedBox(5, Pos.x - 6, Pos.y - 30, 11, 11, Color(0, 0, 255, 255), 1)
draw****undedBox(6, Pos.x + 5, Pos.y - 38, 95, 40, Color(0,0,0,120), 1)
draw.SimpleTextOutlined("Unknown Entity", "Default", Pos.x + 47, Pos.y - 30, Color(0,255,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined(v:GetClass(), "Default", Pos.x + 53, Pos.y - 20, Color(255,170,0), 1, 1, 1, Color(0,0,0,255))
draw.SimpleTextOutlined("["..mDistance.."]", "Default", Pos.x + 18, Pos.y - 8, Color(255,0,0), 1, 1, 1, Color(0,0,0,255))
end
end
end
end
end)
-- admin box
CreateClientConVar("gravko_showadmins", "1", true, true)
local shitheads = true
local shitheadrank = true
hook.Add("HUDPaint", "printadminsonscreen", function()
if GetConVarNumber( "gravko_showadmins" ) <= 0 then return end
local shitheads = {}
local shitheadrank = {}
local x = 0
for k,v in pairs(player.GetAll()) do
if not string.find(v:GetUserGroup(), "user") and not string.find(v:GetUserGroup(), "vip") and not string.find(v:GetUserGroup(), "VIP") then
table.insert(shitheads, v:Name())
table.insert(shitheadrank, v)
end
end
local textLength = surface.GetTextSize(table.concat(shitheads) ) / 3
draw****undedBox(1, ScrW() - 170, ScrH() - ScrH() + 15, 150, 30 + textLength, Color(0,0,0,150))
draw.SimpleText("Admins", "default", ScrW() - 165, ScrH() - ScrH() + 17, Color(255, 0, 0))
for k, v in pairs(shitheads) do
draw.SimpleText(v, "default", ScrW() - 165, ScrH() - ScrH() + 35 + x, Color(255, 255, 255, 255))
x = x + 15
end
end)
shouldshowthings1 = CreateClientConVar("gravko_showaimthing", "1", true, true)
local function shouldshowthings()
if shouldshowthings1:GetBool() then
local getaimthing = LocalPlayer():GetEyeTrace().Entity:GetClass()
local getaimthing2 = LocalPlayer():GetEyeTrace().Entity:GetModel()
if getaimthing == "worldspawn" then return end
draw.SimpleTextOutlined(getaimthing,"Default",ScrW() - 1000,ScrH() - 70,Color(0,255,0,255),4,1,1,Color(0,0,0,255))
if getaimthing == "worldspawn" then return end
draw.SimpleTextOutlined(getaimthing2,"Default",ScrW() - 1000,ScrH() - 50,Color(255,0,0,255),4,1,1,Color(0,0,0,255))
end
end
hook.Add("HUDPaint", "atatatta", shouldshowthings)
local function printlookingthings()
local getaimthing = LocalPlayer():GetEyeTrace().Entity:GetClass()
local getaimthing2 = LocalPlayer():GetEyeTrace().Entity:GetModel()
print("Class: "..getaimthing)
print("Model: "..getaimthing2)
end
concommand.Add("gravko_printlookingat", printlookingthings)
/*
CreateClientConVar("gravko_fixerrors", "1", true, true)
local function errorfix()
if GetConVarNumber("gravko_fixerrors") != 1 then return end
for k, v in pairs(player.GetAll()) do
if v:GetModel() == "models/error.mdl" then
v:SetModel("models/player/Group01/male_04.mdl")
end
end
for k, v in pairs(ents.FindByClass("prop_physics")) do
if v:GetModel() == "models/error.mdl" then
v:SetModel("models/props_junk/PopCan01a.mdl")
end
end
for k, v in pairs(ents.FindByClass("prop_vehicle_jeep")) do
if v:GetModel() == "models/error.mdl" then
v:SetModel("models/buggy.mdl")
end
end
end
hook.Add("HUDPaint", "removeerrors", errorfix)
*/
//Class: prop_vehicle_jeep
//Model: models/tdmcars/for_f350.mdl
local function fixerrors()
timer.Create("2", 1, 0, function()
for k, v in pairs(player.GetAll()) do
v:SetModel("models/player/Group01/male_04.mdl")
end
end)
timer.Create("1", 2.5, 0, function()
for k, v in pairs(player.GetAll()) do
v:SetModel("models/player/Group01/female_01.mdl")
end
end)
----------------------------------------
timer.Create("3", 3, 0, function()
for k, v in pairs(ents.FindByClass("prop_vehicle_jeep")) do
v:SetModel("models/buggy.mdl")
end
end)
----------------------------------------
timer.Create("4", 3, 0, function()
for k, v in pairs(ents.FindByClass("prop_physics")) do
if v:GetModel() == "models/error.mdl" then
v:SetModel("models/props_junk/PopCan01a.mdl")
end
end
end)
---------------------------------------
end
concommand.Add("gravko_fixerrors", fixerrors)
local function stopfixerrors()
timer.Remove("1")
timer.Remove("2")
timer.Remove("3")
timer.Remove("4")
timer.Remove("5")
timer.Remove("6")
timer.Remove("7")
end
concommand.Add("gravko_stopfixerrors", stopfixerrors)
------------------------------------------------------------------------------------
local function CanSee(ent)
local tr = {};
tr.start = LocalPlayer():GetShootPos();
tr.endpos = ent:GetPos() + Vector(0, 0, 5)
tr.filter = {LocalPlayer(), ent};
tr.mask = MASK_SHOT;
local trace = util.TraceLine(tr) ;
if (trace.Fraction == 1) then
return true;
else
return false;
end
end
CreateClientConVar("gravko_aimbot", "0", false, false)
hook.Add("Think", "aimbothook", function()
if GetConVarNumber("gravko_aimbot") != 1 then return end
for k, v in pairs(player.GetAll()) do
local aimingat = LocalPlayer():GetEyeTrace().Entity
local playerdistance = math.floor((LocalPlayer():GetPos():Distance( v:GetPos()))/40)
if v:IsValid() and v:IsPlayer() and v != LocalPlayer() and v:Alive() and CanSee(v) and v:Team() then
local targethead = v:LookupBone("ValveBiped.Bip01_Head1")
local targetheadpos,targetheadang = v:GetBonePosition(targethead)
ply:SetEyeAngles((targetheadpos - ply:GetShootPos()):Angle())
end
end
end)
/*
CreateClientConVar("Glitch_runat", 1) -- Creates the convar we need for the script to turn it on and off
function Glitch.runat()
local ply = LocalPlayer() -- Localises the local player (eg. you)
local target = Glitch.target
for k, v in pairs(player.GetAll()) do -- Loops through all players in the server
if v:IsValid() and v:Nick() == target then -- Checks if each player is valid and if their SteamID the same as the one provided
local targethead = v:LookupBone("ValveBiped.Bip01_Head1") -- Localises the target's head
local targetheadpos,targetheadang = v:GetBonePosition(targethead) -- Localises the target's head position and angle
ply:SetEyeAngles((targetheadpos - ply:GetShootPos()):Angle()) -- Sets the local player's eye position to the target's head
end -- Ends the 'if' statement
end -- Closes the loop
end -- Closes the function
hook.Remove("Think", "runat") -- Removes the think hook
timer.Simple(1, function() -- Creates a simple timer...
if GetConVarNumber("Glitch_runat") == 1 then -- ... that checks each second if the convar created earlier is set to 1
hook.Add("Think", "runat", Glitch.runat) -- If it is then calls the function that was created earlier and attaches the 'Think' hook to it, and names it "runat"
end -- Ends the 'if' statement
end) -- Ends the timer's function
cvars.AddChangeCallback("Glitch_runat", function() -- Calls a function every time the 'Glitch_runat' convar is changed
if GetConVarNumber("Glitch_runat") == 1 then -- If it is equal to 1 (eg. active) then
hook.Add("Think", "runat", Glitch.runat) -- Add the hook to the function
RunConsoleCommand("+forward") -- Make the player move forward
RunConsoleCommand("+speed") -- Make the player sprint
timer.Create("RunAt", 5, 0, Glitch.printmessage) -- Creates a timer called "RunAt" which runs every 5 seconds forever that uses the function 'printmessage'
else
hook.Remove("Think", "runat") -- Remove the hook from the function to stop it
RunConsoleCommand("-forward") -- Stop the player from moving forward
RunConsoleCommand("-speed") -- Stop them from sprinting
timer.Destroy("RunAt") -- Destroys the timer to stop the chatspam
RunConsoleCommand("say", "I don't love you anymore") -- Tells the target in chat that they don't love them anymore </3
end -- Ends the 'if' statement
end) -- Ends the callback
function Glitch.printmessage() -- The function called by the timer above ^
RunConsoleCommand("say", "I love you, let's be friends forever!") -- Posts the message in the chat
end -- Ends the function
concommand.Add("Glitch_target", function(cmd, ply, args) -- Creates a console command that allows the user to input arguments
local name = args[1] -- Assigns the first argument (the name) to a variable
if not name then -- If there isn't a first argument entered...
Glitch.Message("You must enter a name" ) -- ...Message the player telling them they need to put one in...
return -- ... Then return
end
for k,v in pairs(player.GetAll()) do -- Loop through all players in the server
if name == v:Nick() then -- If the substring of the first argument is found in a players name...
Glitch.target = name -- ... Assign that player's name to the global 'Glitch.target'
break -- Stop looping
else
Glitch.target = "Bot01" -- Assign a placeholder value for it
end -- End the 'if' statement
end -- End the loop
Glitch.Message("Target is: " ..Glitch.target) -- Debugging message telling the player who their target is
end)
-- Made by Snaggle (STEAM_0:0:22593800)
*/