Advertisement
Caliber_

Shitcheat 3.0, now with better freecam

Jun 26th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 36.16 KB | None | 0 0
  1. local defcon = { Menu = { t = {}; b = {}; c = 0}; Alive = {};}
  2. defcon.Normal           = {
  3.     aimbot                  = true;
  4.     aimbot_fov              = 5;
  5.     aimbot_friendly_fire    = true;
  6.     triggerbot              = true;
  7.    
  8.     esp_player              = true;
  9.     esp_player_dist         = 16000;
  10.     esp_player_showdist     = true;
  11.     esp_player_name         = true;
  12.     esp_player_rank         = true;
  13.     esp_player_health       = true;
  14.     esp_player_armor        = true;
  15.     esp_player_glow         = true;
  16.    
  17.     esp_entity              = true;
  18.     esp_entity_dist         = 16000;
  19.    
  20.     flashlight_spam         = false;
  21.    
  22.     darkrp_money            = false;
  23.     darkrp_god              = false;
  24.    
  25.     ttt_deathnotifs         = true;
  26.     bhop_bhop               = true;
  27.     crosshair               = false;
  28.     velocity                = false;
  29.     chatspam1               = false;
  30.     chatspam2               = false;
  31.     lasereyes               = false;
  32.     freecam_below           = false;
  33.     freecam_below2          = false;
  34.     freecam_below3          = false;
  35.     freecam_above           = false;
  36.     freecam_above2          = false;
  37.     freecam_above3          = false;
  38.     freecam_side            = false;
  39.     freecam_side2           = false;
  40.     freecam_side3           = false;
  41.     cl_noclip               = false;
  42. }
  43. defcon.Settings         = (file.Exists("d_settings.txt", "DATA") and util.JSONToTable(file.Read("d_settings.txt", "DATA"))) or defcon.Normal
  44. defcon.Entities         = (file.Exists("d_entities.txt", "DATA") and util.JSONToTable(file.Read("d_entities.txt", "DATA"))) or {}
  45. defcon.Whitelist        = (file.Exists("d_whitelist.txt", "DATA") and util.JSONToTable(file.Read("d_whitelist.txt", "DATA"))) or {}
  46. defcon.AimKey           = (file.Exists("d_aimkey.txt", "DATA") and tonumber(file.Read("d_aimkey.txt", "DATA"))) or KEY_LALT
  47. --print shit
  48.  
  49. --colors
  50. red = Color(255,0,0,255);
  51. black = Color(0,0,0,255);
  52. green = Color(0,255,0,255);
  53. white = Color(255,255,255,255);
  54. blue = Color(0,0,255,255);
  55. cyan = Color(0,255,255,255);
  56. pink = Color(255,0,255,255);
  57. blue = Color(0,0,255,255);
  58. grey = Color(100,100,100,255);
  59. gold = Color(255,228,0,255);
  60. lightblue = Color(155,205,248);
  61. lightgreen = Color(174,255,0);
  62. iceblue = Color(116,187,251,255);
  63. orange = Color(255,165,0,255);
  64. brown = Color(112, 89, 50, 255);
  65. --menu display messages
  66. defcon.Phrases          = {
  67.     "niggerniggerniggernigger";
  68.     "bob good is not so good";
  69.     "sheo is a kike";
  70.     "new shitcheat";
  71.     "i hate niggers";
  72.     "suck my dick";
  73.     "donul trump";
  74.     "remove kebab";
  75.     "remember, no russian";
  76.     "Made by the Madbluntz.rs Team";
  77.     "we need to nuke japan again";
  78.     "now with freecam";
  79.     "go fast eat ass";
  80.     "[OOC]Johnny Nutmegg: you fucking suck dick bro";
  81. }
  82. defcon.Keys = {
  83. "KEY_0", "KEY_1", "KEY_2", "KEY_3", "KEY_4", "KEY_5",
  84. "KEY_6", "KEY_7", "KEY_8", "KEY_9", "KEY_A", "KEY_B", "KEY_C",
  85. "KEY_D", "KEY_E", "KEY_F", "KEY_G", "KEY_H", "KEY_I", "KEY_J",
  86. "KEY_K", "KEY_L", "KEY_M", "KEY_N", "KEY_O", "KEY_P", "KEY_Q",
  87. "KEY_R", "KEY_S", "KEY_T", "KEY_U", "KEY_V", "KEY_W", "KEY_X",
  88. "KEY_Y", "KEY_Z", "KEY_PAD_0", "KEY_PAD_1", "KEY_PAD_2", "KEY_PAD_3",
  89. "KEY_PAD_4", "KEY_PAD_5", "KEY_PAD_6", "KEY_PAD_7", "KEY_PAD_8", "KEY_PAD_9",
  90. "KEY_PAD_DIVIDE", "KEY_PAD_MULTIPLY", "KEY_PAD_MINUS", "KEY_PAD_PLUS", "KEY_PAD_ENTER",
  91. "KEY_PAD_DECIMAL", "KEY_LBRACKET", "KEY_RBRACKET", "KEY_SEMICOLON", "KEY_APOSTROPHE",
  92. "KEY_BACKQUOTE", "KEY_COMMA", "KEY_PERIOD", "KEY_SLASH", "KEY_BACKSLASH", "KEY_MINUS",
  93. "KEY_EQUAL", "KEY_ENTER", "KEY_SPACE", "KEY_BACKSPACE", "KEY_TAB", "KEY_CAPSLOCK",
  94. "KEY_NUMLOCK", "KEY_ESCAPE", "KEY_SCROLLLOCK", "KEY_INSERT", "KEY_DELETE", "KEY_HOME",
  95. "KEY_END", "KEY_PAGEUP", "KEY_PAGEDOWN", "KEY_BREAK", "KEY_LSHIFT", "KEY_RSHIFT",
  96. "KEY_LALT", "KEY_RALT", "KEY_LCONTROL", "KEY_RCONTROL", "KEY_LWIN", "KEY_RWIN",
  97. "KEY_APP", "KEY_UP", "KEY_LEFT", "KEY_DOWN", "KEY_RIGHT", "KEY_F1", "KEY_F2",
  98. "KEY_F3", "KEY_F4", "KEY_F5", "KEY_F6", "KEY_F7", "KEY_F8", "KEY_F9",
  99. "KEY_F10", "KEY_F11", "KEY_F12", "KEY_CAPSLOCKTOGGLE", "KEY_NUMLOCKTOGGLE",
  100. "KEY_SCROLLLOCKTOGGLE"
  101. };
  102.  
  103. for k,v in pairs(defcon.Normal) do
  104.     if defcon.Settings[k] == nil then
  105.         defcon.Settings = defcon.Normal
  106.         -- so that if a new key is added to the normal config, the Settings will reset
  107.     end
  108. end
  109.  
  110. -- functions
  111. function defcon.Update(x,y,z, ok)
  112.     if x == "setting" then
  113.         defcon.Settings[y] = z
  114.         if ok == true then
  115.             file.Write("d_settings.txt", util.TableToJSON(defcon.Settings))
  116.         end
  117.     elseif x == "entity" then
  118.         file.Write("d_entities.txt", util.TableToJSON(defcon.Entities))
  119.     elseif x == "friend" then
  120.         file.Write("d_whitelist.txt", util.TableToJSON(defcon.Whitelist))
  121.     end
  122. end
  123. function defcon.ESPCheck(typ, v)
  124.     if typ == "player" then
  125.         if v:Alive() && v:Health() >= 1 && v ~= LocalPlayer() /*&& /*LocalPlayer():Alive() &&*/ /*LocalPlayer():Team() ~= TEAM_SPECTATOR*/ then
  126.             return true
  127.         end
  128.     elseif typ == "entity" then
  129.         if IsValid(v) then
  130.             return true
  131.         end
  132.     end
  133.     return false
  134. end
  135. function defcon.ESPDistance(typ, v)
  136.     if typ == "player" then
  137.         if defcon.Settings["esp_player_dist"] >= 16000 then
  138.             return true
  139.         elseif v:GetPos():Distance(LocalPlayer():GetPos()) < (defcon.Settings["esp_player_dist"]) then
  140.             return true
  141.         end
  142.     elseif typ == "entity" then
  143.         if defcon.Settings["esp_entity_dist"] >= 16000 then
  144.             return true
  145.         elseif v:GetPos():Distance(LocalPlayer():GetPos()) < (defcon.Settings["esp_entity_dist"]) then
  146.             return true
  147.         end
  148.     end
  149.     return false
  150. end
  151. function defcon.GetShootPos(ent)
  152.     local eyes = ent:LookupAttachment("eyes");
  153.     if(eyes ~= 0) then
  154.         eyes = ent:GetAttachment(eyes);
  155.         if(eyes and eyes.Pos) then
  156.             return eyes.Pos, eyes.Ang;
  157.         end
  158.     end
  159. end
  160. function defcon.Visible(ent)
  161.     local pos = LocalPlayer():GetShootPos()
  162.     local ang = LocalPlayer():GetAimVector()
  163.     local trace = {start = LocalPlayer():GetShootPos(), endpos = defcon.GetShootPos(ent), filter = {LocalPlayer(), ent}, mask = 1174421507};
  164.     local tr = util.TraceLine(trace);
  165.     return(tr.Fraction == 1);
  166. end
  167. function defcon.Whitelisted(ent)
  168.     if defcon.Whitelist[ent:SteamID()] then return true
  169.     else return false end
  170. end
  171. function defcon.CanTarget(v)
  172.     if v:IsPlayer() then
  173.         if (defcon.Visible(v) and (not defcon.Whitelisted(v)) and v:Alive() and (v:Health() > 0) and v:Team() ~= TEAM_SPECTATOR) then
  174.             if (v ~= LocalPlayer() and LocalPlayer():Alive() and LocalPlayer():Team() ~= TEAM_SPECTATOR) then
  175.                 if not(defcon.Settings["aimbot_friendly_fire"]) then
  176.                     if (v:Team() ~= LocalPlayer():Team()) then
  177.                         return true
  178.                     end
  179.                 else
  180.                     return true
  181.                 end
  182.             end
  183.         end
  184.     end
  185.     return false
  186. end
  187. function defcon.Ents()
  188.     local t = {}
  189.     for k,v in pairs(ents.GetAll()) do
  190.         if IsValid(v) and not(table.HasValue(t, v:GetClass())) then
  191.             table.insert(t, v:GetClass())
  192.         end
  193.     end
  194.     table.sort(t, function(a,b) return a < b end)
  195.    
  196.     return t
  197. end
  198. -- fonts
  199. surface.CreateFont("deffont", {
  200.     font    =   "impact",
  201.     size    =   64
  202. });
  203. surface.CreateFont("deffontesp1", {
  204.     font="TabLarge",
  205.     size=13,
  206.     weight=700
  207. });
  208. surface.CreateFont("deffontesp2", {
  209.     font="TabLarge",
  210.     size=10,
  211.     weight=700
  212. });
  213. surface.CreateFont("velmet", {
  214.  size = 50,
  215.  weight = 500,
  216.  antialias = true,
  217.  font = "VCR OSD Mono"});
  218.  surface.CreateFont("warnign", {
  219.  size = 18,
  220.  weight = 0,
  221.  antialias = false,
  222.  font = "times new roman"});
  223. -- short vars
  224. local menu              = defcon.Menu
  225. local current           = defcon.Current
  226. local alive             = defcon.Alive
  227. local normal            = defcon.Normal
  228. local settings          = defcon.Settings
  229. local entities          = defcon.Entities
  230. local whitelist         = defcon.Whitelist
  231. local phrases           = defcon.Phrases
  232. local espcheck          = defcon.ESPCheck
  233. local espdistance       = defcon.ESPDistance
  234. -- menu
  235. local function AddTab(txt, tab, func)
  236.     menu.c = menu.c + 1 -- increase the counter for the amount of tabs
  237.     local panel
  238.     if tab and tab == true then
  239.         panel = vgui.Create("DPanel", menu.frame);
  240.         panel:SetPos(120,25);
  241.         panel:SetSize(376,406);
  242.         if menu.Current == txt then
  243.             panel:SetVisible(true)
  244.         else
  245.             panel:SetVisible(false)
  246.         end
  247.         panel.Paint = function()
  248.             surface.SetDrawColor( 10, 10, 10, 255 )
  249.             surface.DrawOutlinedRect( 0, 0, panel:GetWide() - 1, panel:GetTall() - 1)
  250.             draw.SimpleText(string.upper(txt), "deffont", 10, 5, Color(210, 210, 210, 235), TEXT_ALIGN_LEFT);
  251.         end
  252.     end
  253.     local button = vgui.Create("DButton", menu.buttons);
  254.     button:SetText(txt);
  255.     button:SetSize(80, 20);
  256.     button:SetPos(15, -15+(25*menu.c));
  257.     button:SetTextColor(color_white)
  258.     button.Paint = function(self)
  259.         surface.SetDrawColor(100,100,100,220)
  260.         surface.DrawRect(0, 0,self:GetSize())
  261.         surface.SetDrawColor(0,0,0,255)
  262.         surface.DrawOutlinedRect(0,0,self:GetSize())
  263.     end
  264.     button.DoClick = func or (tab and tab == true and function()
  265.         for k,v in pairs(menu.t) do
  266.             if v ~= panel then
  267.                 v:SetVisible(false)
  268.             end
  269.         end
  270.         panel:SetVisible(true)
  271.         menu.Current = txt
  272.         surface.PlaySound("ambient/levels/canals/drip4.wav");
  273.     end)
  274.     return panel, button;
  275. end
  276. --gay shit for menu
  277. local function AddFeature(id, parent, typ, name, setting, o1, o2)
  278.     if not parent then return end
  279.     if typ == "button" then
  280.         local label = vgui.Create("DLabel", parent)
  281.         label:SetText(name)
  282.         label:SetPos(5,(55+(id*25)))
  283.         label:SizeToContents(false)
  284.         local button = vgui.Create("DButton", parent)
  285.         if defcon.Settings[setting] == true then
  286.             button:SetText("enabled")
  287.         else
  288.             button:SetText("disabled")
  289.         end
  290.         button:SetSize(80,20)
  291.         if not id then
  292.             button:SetPos(285,45)
  293.         else
  294.             button:SetPos(285,(55+(id*25)))
  295.         end
  296.         button.DoClick = function()
  297.             if button:GetText() == "enabled" then
  298.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true)
  299.             else
  300.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true)
  301.             end
  302.         end
  303.         button:SetTextColor(color_white)
  304.         button.Paint = function(self)
  305.             surface.SetDrawColor(100,100,100,220)
  306.             surface.DrawRect(0, 0,self:GetSize())
  307.             surface.SetDrawColor(0,0,0,255)
  308.             surface.DrawOutlinedRect(0,0,self:GetSize())
  309.         end
  310.         return button,label
  311.     elseif typ == "slider" then
  312.         local slider = vgui.Create("DNumSlider", parent)
  313.         slider:SetPos(5, (45+(id*25)))
  314.         slider:SetText(name)
  315.         slider:SetMinMax(o1, o2)
  316.         slider:SetWide(372.5)
  317.         slider:SetDecimals( 0 )
  318.         slider:SetFGColor(255,255,255,255)
  319.         slider:SetBGColor(255,255,255,255)
  320.         slider:SetValue(defcon.Settings[setting])
  321.         slider.OnValueChanged = function(panel, value)
  322.             local c = tonumber(value)
  323.             defcon.Update("setting", setting, math.Round(c), true)
  324.         end
  325.         return slider;
  326.     end
  327.  
  328.     if typ == "label" then
  329.         local label = vgui.Create("DLabel", parent)
  330.         label:SetText(name)
  331.         label:SetPos(50,(55+(id*25)))
  332.         label:SizeToContents(false)
  333.         label:SetFont("warnign")
  334.         label.Paint = function(self)
  335.             label:SetTextColor(Color( 255, 190, 24, 255 ))
  336.             end
  337.        
  338.     return label
  339.     end
  340.         if typ == "label2" then
  341.         local label = vgui.Create("DLabel", parent)
  342.         label:SetText(name)
  343.         label:SetPos(160,(55+(id*25)))
  344.         label:SizeToContents(false)
  345.         label:SetFont("warnign")
  346.         label.Paint = function(self)
  347.             label:SetTextColor(Color( 255, 190, 24, 255 ))
  348.             end
  349.     return label2
  350. end
  351.     if not parent then return end
  352.     if typ == "canser" then
  353.         local label = vgui.Create("DLabel", parent)
  354.         label:SetText(name)
  355.         label:SetPos(5,(55+(id*25)))
  356.         label:SizeToContents(false)
  357.         local button = vgui.Create("DButton", parent)
  358.         if defcon.Settings[setting] == true then
  359.             button:SetText("enabled")
  360.         else
  361.             button:SetText("disabled")
  362.         end
  363.         button:SetSize(80,20)
  364.         if not id then
  365.             button:SetPos(285,45)
  366.         else
  367.             button:SetPos(285,(55+(id*25)))
  368.         end
  369.         button.DoClick = function()
  370.             if button:GetText() == "enabled" then
  371.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand "SH_toggle"
  372.             else
  373.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand "SH_toggle"
  374.             end
  375.         end
  376.         button:SetTextColor(color_white)
  377.         button.Paint = function(self)
  378.             surface.SetDrawColor(100,100,100,220)
  379.             surface.DrawRect(0, 0,self:GetSize())
  380.             surface.SetDrawColor(0,0,0,255)
  381.             surface.DrawOutlinedRect(0,0,self:GetSize())
  382.     end
  383. end
  384. end
  385. --menu look
  386. local function AddButton(parent, text, posx, posy, func)
  387.     local button = vgui.Create("DButton", parent)
  388.     button:SetText(text)
  389.     button:SetSize(80,20)
  390.     button:SetPos(posx,posy)
  391.     button:SetTextColor(color_white)
  392.     button.DoClick = func or function() end
  393.     button.Paint = function(self)
  394.         surface.SetDrawColor(100,100,100,220)
  395.         surface.DrawRect(0, 0,self:GetSize())
  396.         surface.SetDrawColor(0,0,0,255)
  397.         surface.DrawOutlinedRect(0,0,self:GetSize())
  398.     end
  399.     return button
  400. end
  401. --menu
  402. local function DrawMenu()
  403.     if(menu.frame) then menu.frame:Remove(); menu.frame = nil; end
  404.    
  405.     menu.c = 0
  406.    
  407.     menu.frame = vgui.Create("DFrame");
  408.     menu.frame:SetPos(ScrW()/2-184, ScrH()/2-155);
  409.     menu.frame:SetSize(500, 435);
  410.     menu.frame:SetTitle("Shitcheat 3.0 :: "..defcon.Phrases[math.random(1, table.Count(defcon.Phrases))]);
  411.     menu.frame.Paint = function()
  412.         surface.SetDrawColor(50,50,50,200)
  413.         surface.DrawRect(0, 0,menu.frame:GetWide(),menu.frame:GetTall())
  414.         surface.SetDrawColor(0,0,0,255)
  415.         surface.DrawOutlinedRect(0,0,menu.frame:GetWide(),menu.frame:GetTall())
  416.     end
  417.     menu.frame:SetVisible(true);
  418.     menu.frame:SetDraggable(true);
  419.     menu.frame:SetSizable(false);
  420.     menu.frame:ShowCloseButton(false);
  421.     menu.frame:SetBackgroundBlur(true)
  422.     menu.frame:MakePopup();
  423.    
  424.     menu.close = vgui.Create("DButton", menu.frame)
  425.     menu.close:SetFont('marlett')
  426.     menu.close:SetText('r')
  427.     menu.close:SetColor(Color(255, 255, 255))
  428.     menu.close:SetSize(15, 15)
  429.     menu.close:SetDrawBackground(false)
  430.     menu.close:SetPos(menu.frame:GetWide() - 20, 5)
  431.     menu.close.DoClick = function()
  432.         menu.frame:Remove(); menu.frame = nil;
  433.     end
  434.  
  435.     menu.buttons = vgui.Create("DPanel",menu.frame)
  436.     menu.buttons:SetPos(5, 25)
  437.     menu.buttons:SetSize(111,406)
  438.     menu.buttons:SetVisible(true)
  439.     menu.buttons.Paint = function()
  440.         surface.SetDrawColor(10,10,10,255)
  441.         surface.DrawOutlinedRect(0,0,110,405)
  442.     end
  443.  
  444.     menu.t.def = vgui.Create("DPanel", menu.frame);
  445.     menu.t.def:SetPos(120,25);
  446.     menu.t.def:SetSize(376,406);
  447.     if menu.Current ~= nil then menu.t.def:SetVisible(false) end
  448.     menu.t.def.Paint = function()
  449.         surface.SetDrawColor( 10, 10, 10, 255 )
  450.         surface.DrawOutlinedRect( 0, 0, menu.t.def:GetWide() - 1, menu.t.def:GetTall() - 1)
  451.     end
  452.    
  453.     menu.t.a, menu.b.a      = AddTab("Aimbot",      true)
  454.     menu.t.p, menu.b.p      = AddTab("Player ESP",  true)
  455.     menu.t.e, menu.b.e      = AddTab("Entity ESP",  true)
  456.     menu.t.m, menu.b.m      = AddTab("Misc.",       true)
  457.     menu.t.f, menu.b.f      = AddTab("Freecam", true)
  458.     --id, parent  , the type, the text , setting
  459.     AddFeature(1, menu.t.a, "button", "Enabled", "aimbot")
  460.     AddFeature(2, menu.t.a, "button", "Triggerbot", "triggerbot")
  461.     AddFeature(3, menu.t.a, "button", "Friendly Fire", "aimbot_friendly_fire")
  462.     AddFeature(4, menu.t.a, "slider", "FOV", "aimbot_fov", 0, 180)
  463.    
  464.     AddFeature(1, menu.t.p, "button", "Enabled", "esp_player")
  465.     AddFeature(2, menu.t.p, "button", "Show Name", "esp_player_name")
  466.     AddFeature(3, menu.t.p, "button", "Show Rank", "esp_player_rank")
  467.     AddFeature(4, menu.t.p, "button", "Show Health", "esp_player_health")
  468.     AddFeature(5, menu.t.p, "button", "Show Armor", "esp_player_armor")
  469.     AddFeature(6, menu.t.p, "button", "Show Distance", "esp_player_showdist")
  470.     AddFeature(7, menu.t.p, "slider", "Draw Distance", "esp_player_dist", 0, 16000)
  471.     AddFeature(8, menu.t.p, "button", "Draw Glow Halo", "esp_player_glow")
  472.     AddFeature(9, menu.t.p, "button", "Laser Eyes", "lasereyes")
  473.    
  474.     AddFeature(1, menu.t.e, "button", "Enabled", "esp_entity")
  475.     AddFeature(2, menu.t.e, "slider", "Draw Distance", "esp_entity_dist", 0, 16000)
  476.    
  477.     AddFeature(1, menu.t.m, "button", "Flashlight Spam [hold leftarrow]", "flashlight_spam")
  478.     AddFeature(2, menu.t.m, "button", "Bunny hopping [hold space]", "bhop_bhop")
  479.     AddFeature(3, menu.t.m, "button", "Client side crosshair", "crosshair")
  480.     AddFeature(4, menu.t.m, "button", "Big velocity meter", "velocity")
  481.     AddFeature(5, menu.t.m, "button", "Chat spammer 1 [random messages, no vc]", "chatspam1")
  482.     AddFeature(6, menu.t.m, "button", "Chat spammer 2 [hl2rp vc messages]", "chatspam2")
  483.    
  484.     AddFeature(1, menu.t.f, "canser", "Clientside noclip (replaced ghettocam in version 3)", "cl_noclip")
  485.     AddFeature(10, menu.t.f, "label", "NOTICE: entities may not appear when using                                                      ")
  486.     AddFeature(11, menu.t.f, "label2", "freecam.                                                                                                                              ")
  487.     if string.find(gmod.GetGamemode().Name, "DarkRP") then
  488.         AddFeature(1, menu.t.g, "button", "God-mode Exploit (Costs in-game $$$)", "darkrp_god")
  489.     elseif string.find(gmod.GetGamemode().Name, "Trouble in Terrorist Town") then
  490.         AddFeature(1, menu.t.g, "button", "Display Death Notifications", "ttt_deathnotifs")
  491.     end
  492.     local elist
  493.     local elist2
  494.     local elistc
  495.     local elistc2
  496.     local function makeelist()
  497.         elist = vgui.Create("DComboBox", menu.t.e)
  498.         elist:SetPos(10,menu.t.e:GetTall()-43)
  499.         elist:SetSize(130,20)
  500.         for k,v in pairs(defcon.Ents()) do
  501.             if not(defcon.Entities[v]) then
  502.                 local i = elist:AddChoice(v)
  503.             end
  504.         end
  505.         elist.OnSelect = function(index,value,data)
  506.             print(data)
  507.             elist2 = data
  508.         end
  509.     end
  510.     local function makeelistc()
  511.         elistc = vgui.Create("DComboBox", menu.t.e)
  512.         elistc:SetPos(235, menu.t.e:GetTall()-43)
  513.         elistc:SetSize(130,20)
  514.         for k,v in pairs(defcon.Entities) do
  515.             local i = elistc:AddChoice(v)
  516.         end
  517.         elistc.OnSelect = function(index,value,data)
  518.             elistc2 = data
  519.         end
  520.     end
  521.     makeelist()
  522.     makeelistc()
  523.     AddButton(menu.t.e, "Add Entity", 35, menu.t.e:GetTall()-23, function()
  524.         if(elist2) then
  525.             for k,v in pairs(defcon.Ents()) do
  526.                 if (v == elist2) then
  527.                     print(v)
  528.                     table.insert(defcon.Entities, v)
  529.                     defcon.Update("entity")
  530.                 end
  531.             end
  532.         end
  533.         makeelist()
  534.         makeelistc()
  535.     end)
  536.     AddButton(menu.t.e, "Remove Entity", 260, menu.t.e:GetTall()-23, function()
  537.         if(elistc2) then
  538.             for k,v in pairs(defcon.Entities) do
  539.                 if (v == elistc2) then
  540.                     defcon.Entities[k] = nil;
  541.                     defcon.Update("entity")
  542.                 end
  543.             end
  544.         end
  545.         makeelist()
  546.         makeelistc()
  547.     end)
  548.     local flist
  549.     local flist2
  550.     local flistc
  551.     local flistc2
  552.     local function makeflist()
  553.         flist = vgui.Create("DComboBox", menu.t.a)
  554.         flist:SetPos(10,menu.t.a:GetTall()-43)
  555.         flist:SetSize(130,20)
  556.         for k,v in pairs(player.GetAll()) do
  557.             if v ~= LocalPlayer() then
  558.                 if not(defcon.Whitelist[v:SteamID()]) then
  559.                     local i = flist:AddChoice(v:Nick())
  560.                 end
  561.             end
  562.         end
  563.         flist.OnSelect = function(index,value,data)
  564.             print(data)
  565.             elist2 = data
  566.         end
  567.     end
  568.     local function makeflistc()
  569.         flistc = vgui.Create("DComboBox", menu.t.a)
  570.         flistc:SetPos(235, menu.t.a:GetTall()-43)
  571.         flistc:SetSize(130,20)
  572.         for k,v in pairs(player.GetAll()) do
  573.             if v ~= LocalPlayer() then
  574.                 if defcon.Whitelist[v:SteamID()] then
  575.                     local i = flistc:AddChoice(v:Nick())
  576.                 end
  577.             end
  578.         end
  579.         flistc.OnSelect = function(index,value,data)
  580.             flistc2 = data
  581.         end
  582.     end
  583.     makeflist()
  584.     makeflistc()
  585.     AddButton(menu.t.a, "Add Friend", 35, menu.t.a:GetTall()-23, function()
  586.         if(flist2) then
  587.             for k,v in pairs(player.GetAll()) do
  588.                 if (v:Nick() == flist2) then
  589.                     print(v:Nick())
  590.                     table.insert(defcon.Whitelist, v:SteamID())
  591.                     PrintTable(defcon.Whitelist)
  592.                     defcon.Update("friend")
  593.                 end
  594.             end
  595.         end
  596.         makeflist()
  597.         makeflistc()
  598.     end)
  599.     AddButton(menu.t.a, "Remove Friend", 260, menu.t.a:GetTall()-23, function()
  600.         if(flistc2) then
  601.             for k,v in pairs(defcon.Whitelist) do
  602.                 if (v:SteamID() == flistc2) then
  603.                     defcon.Whitelist[k] = nil;
  604.                     defcon.Update("friend")
  605.                 end
  606.             end
  607.         end
  608.         makeflist()
  609.         makeflistc()
  610.     end)
  611. end
  612. --clientside noclip
  613. local SH = {}
  614.  
  615. SH.Enabled = false
  616. SH.ViewOrigin = Vector( 0, 0, 0 )
  617. SH.ViewAngle = Angle( 0, 0, 0 )
  618. SH.Velocity = Vector( 0, 0, 0 )
  619.  
  620. function SH.CalcView( ply, origin, angles, fov )
  621.     if ( !SH.Enabled ) then return end
  622.     if ( SH.SetView ) then
  623.         SH.ViewOrigin = origin
  624.         SH.ViewAngle = angles
  625.        
  626.         SH.SetView = false
  627.     end
  628.     return { origin = SH.ViewOrigin, angles = SH.ViewAngle }
  629. end
  630. hook.Add( "CalcView", "niggerwalk", SH.CalcView )
  631.  
  632. function SH.CreateMove( cmd )
  633.     if ( !SH.Enabled ) then return end
  634.    
  635.     local time = FrameTime()
  636.     SH.ViewOrigin = SH.ViewOrigin + ( SH.Velocity * time )
  637.     SH.Velocity = SH.Velocity * 0.95
  638.    
  639.     local sensitivity = 0.022
  640.     SH.ViewAngle.p = math.Clamp( SH.ViewAngle.p + ( cmd:GetMouseY() * sensitivity ), -89, 89 )
  641.     SH.ViewAngle.y = SH.ViewAngle.y + ( cmd:GetMouseX() * -1 * sensitivity )
  642.    
  643.     local add = Vector( 0, 0, 0 )
  644.     local ang = SH.ViewAngle
  645.     if ( cmd:KeyDown( IN_FORWARD ) ) then add = add + ang:Forward() end
  646.     if ( cmd:KeyDown( IN_BACK ) ) then add = add - ang:Forward() end
  647.     if ( cmd:KeyDown( IN_MOVERIGHT ) ) then add = add + ang:Right() end
  648.     if ( cmd:KeyDown( IN_MOVELEFT ) ) then add = add - ang:Right() end
  649.     if ( cmd:KeyDown( IN_JUMP ) ) then add = add + ang:Up() end
  650.     if ( cmd:KeyDown( IN_DUCK ) ) then add = add - ang:Up() end
  651.    
  652.     add = add:GetNormal() * time * 500
  653.     if ( cmd:KeyDown( IN_SPEED ) ) then add = add * 2 end
  654.    
  655.     SH.Velocity = SH.Velocity + add
  656.    
  657.     if ( SH.LockView == true ) then
  658.         SH.LockView = cmd:GetViewAngles()
  659.     end
  660.     if ( SH.LockView ) then
  661.         cmd:SetViewAngles( SH.LockView )
  662.     end
  663.    
  664.     cmd:SetForwardMove( 0 )
  665.     cmd:SetSideMove( 0 )
  666.     cmd:SetUpMove( 0 )
  667. end
  668. hook.Add( "CreateMove", "niggerwalk", SH.CreateMove )
  669.  
  670. function SH.Toggle()
  671.     SH.Enabled = !SH.Enabled
  672.     SH.LockView = SH.Enabled
  673.     SH.SetView = true
  674.    
  675.     local status = { [ true ] = "enabled", [ false ] = "disabled" }
  676.     print( "freecam " .. status[ SH.Enabled ] )
  677. end
  678. concommand.Add( "SH_toggle", SH.Toggle )
  679.  
  680. concommand.Add( "SH_pos", function() print( SH.ViewOrigin ) end )
  681. --defunct freecam
  682. hook.Add( "ShouldDrawLocalPlayer", "ThirdPersonDrawPlayer", function()
  683.  
  684.     if defcon.Settings["freecam_below"] or defcon.Settings["freecam_below2"] or defcon.Settings["freecam_below3"] or defcon.Settings["freecam_above"] or defcon.Settings["freecam_above2"] or defcon.Settings["freecam_above3"] or defcon.Settings["freecam_side"] or defcon.Settings["freecam_side2"] or defcon.Settings["freecam_side3"] then
  685.  
  686.         return true
  687.  
  688.     end
  689.  
  690. end )
  691. hook.Add( "CalcView", "ThirdPersonView", function( ply, pos, angles, fov )
  692.     if defcon.Settings["freecam_below"] then
  693.         local view = {}
  694.         view.origin = pos - ( angles:Forward() * -200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -150 )
  695.         view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
  696.         view.fov = fov
  697.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  698.     end
  699.     if defcon.Settings["freecam_below2"] then
  700.         local view = {}
  701.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -150 )
  702.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  703.         view.fov = fov
  704.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  705.     end
  706.         if defcon.Settings["freecam_below3"] then
  707.         local view = {}
  708.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -650 )
  709.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  710.         view.fov = fov
  711.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  712.     end
  713.         if defcon.Settings["freecam_above"] then
  714.         local view = {}
  715.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 150 )
  716.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  717.         view.fov = fov
  718.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  719.     end
  720.         if defcon.Settings["freecam_above2"] then
  721.         local view = {}
  722.         view.origin = pos - ( angles:Forward() * -200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 150 )
  723.         view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
  724.         view.fov = fov
  725.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  726.     end
  727.         if defcon.Settings["freecam_above3"] then
  728.         local view = {}
  729.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 650 )
  730.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  731.         view.fov = fov
  732.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  733.     end
  734.         if defcon.Settings["freecam_side"] then
  735.         local view = {}
  736.         view.origin = pos - ( angles:Forward() * 150 ) + ( angles:Right() * 150 ) + ( angles:Up() * 0 )
  737.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  738.         view.fov = fov
  739.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  740.     end
  741.         if defcon.Settings["freecam_side2"] then
  742.         local view = {}
  743.         view.origin = pos - ( angles:Forward() * -150 ) + ( angles:Right() * 150 ) + ( angles:Up() * 0 )
  744.         view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
  745.         view.fov = fov
  746.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  747.     end
  748.             if defcon.Settings["freecam_side3"] then
  749.         local view = {}
  750.         view.origin = pos - ( angles:Forward() * 150 ) + ( angles:Right() * 650 ) + ( angles:Up() * 0 )
  751.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  752.         view.fov = fov
  753.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  754.     end
  755.     end)
  756. --esp and shit
  757. hook.Add("HUDPaint", "catHUD", function()
  758.     if defcon.Settings["esp_player"] or defcon.Settings["esp_entity"] then
  759.         for k,v in pairs(ents.GetAll()) do
  760.             if defcon.Settings["esp_player"] && v:IsPlayer() then
  761.                 if(espcheck("player", v) and espdistance("player", v))then
  762.                     local ESP = (v:EyePos()):ToScreen()
  763.                     local name,health,rank,col,distance = "","","","",""
  764.                     local outcol = Color(0,0,0,255)
  765.                     local white = Color(255,255,255,255)
  766.                     local outcol2 = outcol
  767.                     if defcon.Settings["esp_player_name"] then
  768.                         if v.GetRPName then name = v:GetRPName()
  769.                         else name = v:Nick() end
  770.                     end
  771.                     if v:Nick() ~= name then rank = " "..v:Nick() end
  772.                     if v.SteamName and name ~= v:SteamName() then rank = " "..v:SteamName() end
  773.                     if defcon.Settings["esp_player_rank"] then
  774.                         if v:IsSuperAdmin() then
  775.                             rank = "[Super Admin]"..rank
  776.                         elseif v:IsAdmin() then
  777.                             rank = "[Admin]"..rank
  778.                         elseif v:IsUserGroup("moderator") or v:IsUserGroup("mod") then
  779.                             rank = "[Moderator]"..rank
  780.                         elseif v:IsUserGroup("vip") or v:IsUserGroup("donator") then
  781.                             rank = "[Donator]"..rank
  782.                         end
  783.                     end
  784.                     if defcon.Settings["esp_player_health"] and not(defcon.Settings["esp_player_armor"]) then
  785.                         health = v:Health().."H"
  786.                     elseif defcon.Settings["esp_player_armor"] and not(defcon.Settings["esp_player_health"]) then
  787.                         health = v:Armor().."A"
  788.                     elseif defcon.Settings["esp_player_armor"] and defcon.Settings["esp_player_health"] then
  789.                         health = v:Health().. "H - "..v:Armor().."A"
  790.                     end
  791.                     if defcon.Settings["esp_player_showdist"] then
  792.                         distance = v:GetPos():Distance(LocalPlayer():GetPos())
  793.                         distance = math.Round(distance).." m"
  794.                     end
  795.                     col = team.GetColor(v:Team())
  796.                     if(col.r <= 50 and col.g <= 50 and col.b <= 50) then
  797.                         outcol2 = Color(200,200,200,255)
  798.                     end
  799.                     if col.a <= 50 then
  800.                         col = Color(col.r,col.g,col.b, 255)
  801.                     end
  802.                     draw.SimpleTextOutlined(rank, "deffontesp2", ESP.x, ESP.y -46, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol2)
  803.                     draw.SimpleTextOutlined(name, "deffontesp1", ESP.x, ESP.y - 34, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol2)
  804.                     if health ~= "" then
  805.                         draw.SimpleTextOutlined(health, "deffontesp2", ESP.x, ESP.y -22, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
  806.                         draw.SimpleTextOutlined(distance, "deffontesp2", ESP.x, ESP.y - 10, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
  807.                     else
  808.                         draw.SimpleTextOutlined(distance, "deffontesp2", ESP.x, ESP.y - 22, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
  809.                     end
  810.                     if defcon.Settings["esp_player_glow"] then
  811.                         halo.Add({v}, col, 2, 2, 1, true, true)
  812.                     end
  813.                 end
  814.             end
  815.             if (defcon.Settings["esp_entity"] and espcheck("entity", v) and espdistance("entity", v))then
  816.                 if table.HasValue(defcon.Entities, v:GetClass()) then
  817.                     local ESP = (v:EyePos()):ToScreen()
  818.                     draw.SimpleTextOutlined(v:GetClass(), "deffontesp1", ESP.x, ESP.y - 46, Color(255,0,0,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255))
  819.                 end
  820.             end
  821.         end
  822.     end
  823. end)
  824. hook.Add("Think", "catBOT", function()
  825.     if(input.IsKeyDown(KEY_TAB) && input.IsKeyDown(KEY_Q) && !menu.frame)then
  826.         DrawMenu()
  827.     elseif(menu.frame && input.IsKeyDown(KEY_ESCAPE))then
  828.         menu.frame:Remove();menu.frame = nil
  829.     end
  830.     if defcon.Settings["flashlight_spam"] and input.IsKeyDown(KEY_LEFT) then
  831.         RunConsoleCommand("impulse", "100")
  832.     end
  833.     if(defcon.Settings["triggerbot"] && input.IsMouseDown(MOUSE_4)) then
  834.         local pos = LocalPlayer():GetShootPos()
  835.         local ang = LocalPlayer():GetAimVector()
  836.         local tracedata = {}
  837.         tracedata.start = pos
  838.         tracedata.endpos = pos+(ang*9999999999999)
  839.         local trace = util.TraceLine(tracedata)
  840.         if(trace.HitNonWorld) then
  841.             target = trace.Entity
  842.             if(target:IsPlayer() and defcon.CanTarget(target)) then
  843.                 RunConsoleCommand("+attack")
  844.                 timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
  845.             end
  846.         end
  847.     end
  848.     if(defcon.Settings["aimbot"] && /*input.IsKeyDown(defcon.AimKey)*/ input.IsKeyDown(KEY_F)) then
  849.         for k,v in pairs(player.GetAll()) do
  850.             if defcon.CanTarget(v) then
  851.                 local head = v:LookupBone("ValveBiped.Bip01_Head1")
  852.                 if head ~= nil then
  853.                     local fov = defcon.Settings["aimbot_fov"]
  854.                     if fov == 0 then
  855.                         local headpos,targetheadang = v:GetBonePosition(head)
  856.                         LocalPlayer():SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
  857.                     else
  858.                         local lpang = LocalPlayer():GetAngles();
  859.                         local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle();
  860.                         local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
  861.                         local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
  862.                         if not(ady > fov or adp > fov) then
  863.                             local headpos,targetheadang = v:GetBonePosition(head)
  864.                             if headpos != nil and targetheadang != nil then
  865.                                 LocalPlayer():SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
  866.                             end
  867.                         end
  868.                     end
  869.                 end
  870.             end
  871.         end
  872.     end
  873.     if defcon.Settings["ttt_deathnotifs"] then
  874.         for k,v in pairs(player.GetAll()) do
  875.             if v:Alive() and not (defcon.Alive[v:UniqueID()] == true) then
  876.                 defcon.Alive[v:UniqueID()] = true
  877.             elseif not v:Alive() and (defcon.Alive[v:UniqueID()] == true) then
  878.                 defcon.Alive[v:UniqueID()] = false
  879.                 notification.AddLegacy(v:Nick().. " has died!", NOTIFY_GENERIC, 5)
  880.             end
  881.         end
  882.     end
  883. end)
  884. --bhop
  885. hook.Add( "CreateMove", "Billard_Bhop", function( ucmd )
  886.     if defcon.Settings["bhop_bhop"] then
  887.         if ucmd:KeyDown( IN_JUMP ) then
  888.             if LocalPlayer():WaterLevel() <= 1 && LocalPlayer():GetMoveType() != MOVETYPE_LADDER && !LocalPlayer():IsOnGround() then
  889.                     ucmd:RemoveKey( IN_JUMP )
  890.             end
  891.         end
  892.     end
  893. end )
  894. --velocity meter
  895. hook.Add("HUDPaint", "Velocity", function()
  896.     for k,v in pairs(player.GetAll()) do
  897.         if defcon.Settings ["velocity"] then
  898.             local showvel = math.floor(LocalPlayer():GetVelocity():Length())
  899.                 draw.RoundedBox(1, ScrW()/2.5, ScrH()/1.07, ScrW()/4.21, ScrH()/26, Color(50, 50, 50, 150))
  900.                 draw.DrawText("velocity: "..showvel, "velmet", ScrW()/2.5, ScrH()/1.08, Color(255, 255, 255, 185))
  901.                 end
  902.             end
  903.     end)
  904. --crosshair
  905. hook.Add( "HUDPaint", "CrossHair", function ( ucmd )
  906.     if defcon.Settings["crosshair"] then
  907.         local h = ScrH() / 2
  908.         local w = ScrW() / 2
  909.         local h1 = ScrH() / 2
  910.         local w1 = ScrW() / 2
  911.        
  912.         surface.SetDrawColor( 0, 255, 255 )
  913.         surface.DrawLine( w + 10, h, w - 10, h )
  914.         surface.DrawLine( w, h + 10, w, h - 10 )
  915.     end
  916.        
  917. end)
  918. --chat spam
  919. local function Spam2()
  920.     if defcon.Settings["chatspam1"] then
  921.          LocalPlayer():ConCommand("say "..table.Random(normalspam).." " )
  922.     end
  923. end
  924. timer.Create("Spammins2", .5,0,Spam2)
  925.  
  926. normalspam = {}
  927. normalspam[1] = "mods = fags"
  928. normalspam[2] = "I hate niggers"
  929. normalspam[3] = "sheo was here"
  930. normalspam[4] = "try finger but hole"
  931. normalspam[5] = "time for crab"
  932. normalspam[6] = "THIS SERVER IS GETTING FUCKING NULLED RN"
  933. normalspam[7] = "whoever made this server is a fucking downie holy shit"
  934. normalspam[8] = "this serv sucks, fuck you guys"
  935. normalspam[9] = "im not hacking wtf?"
  936. normalspam[10] = "Mega.co.nz is famous for it's shitposting on 4chan."
  937. normalspam[11] = "How much memes could a cock suck if 9/11?"
  938. normalspam[12] = "assrape"
  939. normalspam[13] = "AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
  940. normalspam[14] = "Sweedish fish are like apples, they taste good as candy, not the actual thing."
  941. normalspam[15] = "you what"
  942. normalspam[16] = "I'll quote your head with a rock!"
  943. normalspam[17] = "fuck me harder daddy"
  944. normalspam[18] = "dickrape is neat"
  945. normalspam[19] = "Shitty memes from a shitty dream."
  946. normalspam[20] = "sheogorath has aids"
  947. normalspam[21] = "fuck niggers"
  948. normalspam[22] = "♫im an alabama nigger and i wanna be free, to hell with the n double a-c-p!♫"
  949. normalspam[23] = "hey whats up guys it's scarce here"
  950. normalspam[24] = "//this is a test of the emergency broadcast system"
  951. normalspam[25] = "erp = b&"
  952. normalspam[26] = "50 percent off all fat farts at the fag store"
  953. normalspam[27] = "dennis the menace"
  954. normalspam[28] = "that's how things came to be, and that can never change, that can never change, no way.  That's how things came to be and that can never change, except when things'll change some day."
  955. normalspam[29] = "shoutout to poopnig420 for providing memes"
  956. normalspam[30] = "shoutout to inboot for providing packets"
  957. normalspam[31] = "geklmin is a grade-a autist."
  958. normalspam[32] = "REMOVE KEBAB remove kebab"
  959. normalspam[33] = "you are worst turk. you are the turk idiot you are the turk smell. return to croatioa. to our croatia cousins you may come our contry. you may live in the zoo….ahahahaha"
  960. normalspam[34] = "hahahahaha idiot turk and bosnian smell so bad..wow i can smell it."
  961. normalspam[35] = "you will get caught. russia+usa+croatia+slovak=kill bosnia…"
  962. normalspam[36] = "you will ww2/ tupac alive in serbia, tupac making album of serbia . fast rap tupac serbia."
  963. normalspam[37] = "2pac aliv and real strong wizard kill all the turk farm aminal with rap magic now we the serba rule ."
  964. normalspam[38] = "ape of the zoo presidant georg bush fukc the great satan and lay egg this egg hatch and bosnia wa;s born."
  965. normalspam[39] = "stupid baby form the eggn give bak our clay we will crush u lik a skull of pig. serbia greattst countrey"
  966. normalspam[40] = "cetnik rascal FUck but fuck asshole turk stink bosnia sqhipere shqipare..turk genocide best day of my life."
  967. normalspam[41] = "http://www.madbluntz.rs offical sponsor of the republika srpska - marijuana fanatics serbia"
  968.  
  969. local function Spam()
  970.     if defcon.Settings["chatspam2"] then
  971.          LocalPlayer():ConCommand("say "..table.Random(hl2rpvcspam).." " )
  972.     end
  973. end
  974. timer.Create("Spammins", .5,0,Spam)
  975.  
  976. hl2rpvcspam = {}
  977. hl2rpvcspam[1] = "noooo"
  978. hl2rpvcspam[2] = "whistle tune"
  979. hl2rpvcspam[3] = "i could eat a horse"
  980. hl2rpvcspam[4] = "combine"
  981. hl2rpvcspam[5] = "zombies"
  982. hl2rpvcspam[6] = "run"
  983. hl2rpvcspam[7] = "over here"
  984. hl2rpvcspam[8] = "hey over here"
  985. hl2rpvcspam[9] = "run for your life"
  986. hl2rpvcspam[10] = "hes dead"
  987. --laser eyes
  988. hook.Add("PostDrawOpaqueRenderables", "lazereyes", function()
  989.     if defcon.Settings["lasereyes"] then
  990.     for k, v in pairs(player.GetAll())do
  991.         local pos, ang = v:GetShootPos();
  992.         render.SetMaterial(Material("sprites/bluelaser1"));
  993.         render.DrawBeam(pos, v:GetEyeTrace().HitPos, 5, 1, 1, team.GetColor(v:Team()));
  994.     end
  995.     end
  996. end)  
  997.  
  998. --everything below is disabled, don't fuck with this unless you know what you're doing.
  999. /*concommand.Add("debug", function()
  1000.     local pcash,gname = "", gmod.GetGamemode().Name
  1001.     print("Game-mode:\n    "..gname)
  1002.     if string.find(gname, "DarkRP") then
  1003.         print("Player Cash Amounts")
  1004.         for k,v in pairs(player.GetAll()) do
  1005.             if not(v.DarkRPVars and v.DarkRPVars.money)and(darkrpvar == true) then
  1006.                 darkrpvar = false
  1007.             end
  1008.             if v ~= LocalPlayer() then
  1009.                 pcash = pcash.."    "..v:Nick().." - "..v.DarkRPVars.money.."\n"
  1010.             end
  1011.         end
  1012.         if pcash ~= "" then
  1013.             print(pcash)
  1014.         end
  1015.     end
  1016.     if LocalPlayer().GetActiveWeapon and LocalPlayer():GetActiveWeapon() ~= nil and IsValid(LocalPlayer():GetActiveWeapon()) then
  1017.         print("Current Weapon")
  1018.         print("    "..LocalPlayer():GetActiveWeapon():GetClass())
  1019.     end
  1020.         local pos = LocalPlayer():GetShootPos()
  1021.     local ang = LocalPlayer():GetAimVector()
  1022.     local tracedata = {}
  1023.     tracedata.start = pos
  1024.     tracedata.endpos = pos+(ang*9999999999999)
  1025.     local trace = util.TraceLine(tracedata)
  1026.     if(trace.HitNonWorld) then
  1027.         target = trace.Entity
  1028.         print("Entity Info")
  1029.         print("    Class: "..target:GetClass())
  1030.         print("    Model: "..target:GetModel())
  1031.     end
  1032. end)*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement