Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local defcon = { Menu = { t = {}; b = {}; c = 0}; Alive = {};}
- defcon.Normal = {
- aimbot = true;
- aimbot_fov = 5;
- aimbot_friendly_fire = true;
- triggerbot = true;
- esp_player = true;
- esp_player_dist = 16000;
- esp_player_showdist = true;
- esp_player_name = true;
- esp_player_rank = true;
- esp_player_health = true;
- esp_player_armor = true;
- esp_player_glow = true;
- boxESP = false;
- chams = false;
- esp_entity = true;
- esp_entity_dist = 16000;
- propchams = false;
- flashlight_spam = false;
- darkrp_money = false;
- darkrp_god = false;
- ttt_deathnotifs = true;
- bhop_bhop = true;
- crosshair = false;
- velocity = false;
- chatspam1 = false;
- chatspam2 = false;
- lasereyes = false;
- freecam_below = false;
- freecam_below2 = false;
- freecam_below3 = false;
- freecam_above = false;
- freecam_above2 = false;
- freecam_above3 = false;
- freecam_side = false;
- freecam_side2 = false;
- freecam_side3 = false;
- cl_noclip = false;
- pickupinradius = false;
- dupeinradius = false;
- }
- defcon.Settings = (file.Exists("d_settings.txt", "DATA") and util.JSONToTable(file.Read("d_settings.txt", "DATA"))) or defcon.Normal
- defcon.Entities = (file.Exists("d_entities.txt", "DATA") and util.JSONToTable(file.Read("d_entities.txt", "DATA"))) or {}
- defcon.Whitelist = (file.Exists("d_whitelist.txt", "DATA") and util.JSONToTable(file.Read("d_whitelist.txt", "DATA"))) or {}
- defcon.AimKey = (file.Exists("d_aimkey.txt", "DATA") and tonumber(file.Read("d_aimkey.txt", "DATA"))) or KEY_LALT
- --colors
- red = Color(255,0,0,255);
- black = Color(0,0,0,255);
- green = Color(0,255,0,255);
- white = Color(255,255,255,255);
- blue = Color(0,0,255,255);
- cyan = Color(0,255,255,255);
- pink = Color(255,0,255,255);
- blue = Color(0,0,255,255);
- grey = Color(100,100,100,255);
- gold = Color(255,228,0,255);
- lightblue = Color(155,205,248);
- lightgreen = Color(174,255,0);
- iceblue = Color(116,187,251,255);
- orange = Color(255,165,0,255);
- brown = Color(112, 89, 50, 255);
- --menu display messages
- defcon.Phrases = {
- "niggerniggerniggernigger";
- "bob good is not so good";
- "sheo is a kike";
- "new shitcheat";
- "i hate niggers";
- "suck my dick";
- "donul trump";
- "remove kebab";
- "remember, no russian";
- "Made by the Madbluntz.rs Team";
- "we need to nuke japan again";
- "now with freecam";
- "go fast eat ass";
- "[OOC]Johnny Nutmegg: you fucking suck dick bro";
- "the fuck are you looking at";
- "fucking eat shit kid";
- "commies go home";
- "now with more dongs";
- "north virginia battle falag isnt the confed flag";
- "the KKK is dead stop crying about it";
- "back to africa";
- "if you voted for hillary delete system32";
- "[LOOC]poop: hi";
- "gulag";
- "halgualuhglugaluaglhuaglhuaglhu";
- "remember to enable ESP";
- "skype is shit";
- "bent dick";
- "nigger";
- "minecraft used to be good";
- "lets go back to 2011";
- "not an argument";
- "where my new england homies at";
- "JSY3050PA";
- "cuck";
- "free gift card giveaway";
- "exploding capacitors";
- "Team AVO deserves ice cream";
- "made with notepad++";
- "made on microshit windon't 8.1";
- "Pravi srpski ratni heroj";
- "kosovo je srbija";
- "REMOV KEBAB";
- "i hear sadness";
- "this isn't the final version, trust me.";
- "there's more where that came from";
- "remember; no russian";
- "whoops";
- "how many of these fucking things do you have";
- "jesus christ";
- "one side";
- "down with fascists";
- "good night alt right";
- "trump isn't a fascist you fucking retards";
- "hitler only killed 12 million stfu";
- "if you advertize a discord server i'll ddos u";
- "don't forget to credit the people u steal hacks from";
- "AUFHIFUWEHFUWAHFULFUWAHIFAWHIFUWHLFIUAWHFIUAWHFILWUHWAFHWILUFHWALIUFHWIUFHWAIUFHWUFHWLIFUHWIUFWHUIHFW";
- "dirty fucking NIGGERS";
- "spear chuckers get out of my country";
- "hi";
- "if you see this message, tell calb";
- "BIG FUCK, TELL TONY";
- "cucked ape";
- "rust sucks";
- "garry newman more like garry jewman";
- "official website: madbluntz.rs/shitcheat";
- "listen to my music @ caliberr.bandcamp.com";
- "discord.gg/nigger";
- "furries will die from brain tumors";
- "space left blank intentionally";
- "whoa, dude";
- "As seen on TV";
- "Awesome";
- "100% pure";
- "May contain nuts";
- "Better than Prey";
- "More polygons";
- "Sexy";
- "Limited edition";
- "Flashing letters";
- "It's here";
- "Best in class";
- "It's finished";
- "Kind of dragon free";
- "Excrement";
- "More than 500 sold";
- "One of a kind";
- "Heaps of hits on YouTube";
- "Indev";
- "Spiders everywhere";
- "Check it out";
- "Holy cow, man";
- "It's a game";
- "Made in Sweden";
- "Uses LWJGL";
- "Reticulating splines";
- "Singleplayer";
- "Keyboard compatible";
- "Undocumented";
- "Ingots";
- "That's no moon";
- "l33t";
- "Exclusive";
- "The bee's knee";
- "Down with O.P.P.";
- "Closed source";
- "Classy";
- "Wow";
- "Not on steam";
- "Oh man";
- "Awesome community";
- "Pixels";
- "Teetsuuuuoooo";
- "Kaaneeeedaaaa";
- "Now with difficulty";
- "Enhanced";
- "90% bug free";
- "Pretty";
- "12 herbs and spices";
- "Fat free";
- "Absolutely no memes";
- "Free dental";
- "Ask your doctor";
- "Minors not welcome";
- "Cloud computing";
- "Legal in Finland";
- "Hard to label";
- "Technically good";
- "Bringing home the bacon";
- "Indie";
- "GOTY";
- "Ceci n'est pas une cheat menu";
- "Euclidian";
- "Now in 2D";
- "Inspirational";
- "Herregud";
- "Complex cellular automata";
- "NO SIR";
- "Played by cowboys";
- "OpenGL 2.1 (if supported)";
- "tens of colors";
- "Try it";
- "Age of empires is better";
- "Try the mushroom sjw";
- "Sensational";
- "Hot tamale, hot hot tamale";
- "Play him off, fuckhead";
- "Guaranteed";
- "Macroscopic";
- "Bring it on";
- "Random splash";
- "Call your mother";
- "Monster infighting";
- "Loved by millions";
- "Ultimate edition";
- "Freaky";
- "You've got a brand new key";
- "not water proof";
- "Uninflammable";
- "Whoa, dude";
- "All inclusive";
- "Tell your friends";
- "NP is not in P";
- "Livestreamed";
- "Haunted";
- "Polynomial";
- "Terrestrial";
- "All is full of ERP";
- "Full of stars";
- "Scientific";
- "Not as cool as Spock";
- "Collaborate and listen";
- "Never fuck up";
- "Take frequent breaks";
- "Not linear";
- "Han shot first";
- "Nice to meet you";
- "Buckets of lava";
- "Ride the pig";
- "Larger than Earth";
- "sqrt(-1) love you";
- "Phobos anomaly";
- "getting wood";
- "Falling off cliffs";
- "14% sugar";
- "150% hyperbole";
- "Synecdoche";
- "Let's punc";
- "Seecret Friday update";
- "Reference implementation";
- "Lewd with two dudes with food";
- "Kiss the sky";
- "20 GOTO 10";
- "Verlet intregration";
- "Peter Griffin";
- "Do not distribute";
- "Cogito ergo sum";
- "44 lines of code";
- "A skeleton popped out";
- "The Work of Notch";
- "The sum of its parts";
- "BTAF used to be good";
- "I miss ADOM";
- "umop-apisdn";
- "OICU812";
- "Bring me Ray Cokes";
- "Finger-licking";
- "Thematic";
- "Pneumatic";
- "Sublime";
- "Octagonal";
- "Une baguette";
- "Gargamel uses it";
- "Rita is the new top dog";
- "SWM forever";
- "Representing Edsbyn";
- "Matt Damon";
- "Supercalifragilisticexpialidocious";
- "Consummate V's";
- "Cow Tools";
- "Double buffered";
- "Fan fiction";
- "Flaxkikare";
- "Jason Jason Jason";
- "Hotter than the sun";
- "Internet enabled";
- "Autonomous";
- "Engage";
- "Fantasy";
- "DRR DRR DRR";
- "Kick it root down";
- "Google anlyticsed";
- "Now supports åäö";
- "Give us Gordon";
- "Tip your waiter";
- "Very fun";
- "12345 is a bad password";
- "Vote for net neutrality";
- "Lives in a pineapple under the sea";
- "MAP11 has two names";
- "Omnipotent";
- "Gasp";
- "...";
- "Bees, bees, bees, bees";
- "Jag känner en bot";
- "Haha, LOL";
- "Menger sponge";
- "idspispopd";
- "Eple (original edit)";
- "So fresh, so clean";
- "Slow acting portals";
- "Don't look directly at the bugs";
- "Finally without NIGGERS";
- "Scary";
- "Twittered about";
- "Jump up, jump up, and get down";
- "sheo is neat";
- "a riddle, wrapped in a mystery";
- "Huge tracts of land";
- "Welcome to your Doom";
- "Stay a while, stay forever";
- "Stay a while and listen";
- "Treatment for your rash";
- "'Autological' is";
- "Information wants to be free";
- "Almost never' is an interesting concept";
- "Lots of truthiness";
- "The nigger is a baffoon";
- "Turing complete";
- "It's groundbreaking";
- "Let our battles begin";
- "The sky is the limit";
- "Casul gayming";
- "Undefeated";
- "Kinda like Lemmings";
- "Follow the train, CJ";
- "Leveraging synergy";
- "This message will never appear on the hack menu, isn't that weird?";
- "Read more books";
- "Khaaaaaaaaan";
- "Less addictive than TV Tropes";
- "More addictive than lemonade";
- "Bigger than a bread box";
- "Millions of peaches";
- "Fnord";
- "This is my true form";
- "Totally forgot about Dre";
- "Don't bother with the clones";
- "Pumpkinhead";
- "Hobo humping slobo babe";
- "Feature packed";
- "Conventional";
- "Homeomorphic to a 3-sphere";
- "Doesn't avoid double negatives";
- "Meeting expectations";
- "PC gaming since 1873";
- "Ghoughpteighbteau tchoghs";
- "Déjà vu";
- "Déjà vu";
- "Got your nose";
- "Haley loves Elan";
- "Afraid of the big, black bat";
- "Doesn't use stonel code";
- "Child's play";
- "See you next Friday or so";
- "From the streets of Södermalm";
- "150 bpm for 400000 minutes";
- "Technologic";
- "Funk soul brother";
- "Pumpa kungen";
- "日本ハロー!";
- "한국 안녕하세요";
- "Helo Cymru";
- "Cześć Polsko";
- "你好中国!";
- "Привет Россия";
- "Γεια σου Ελλάδα";
- "My life for Aiur";
- "I see your vocabulary has improved";
- "Who put it there?";
- "You can't explain that";
- "if not ok then return end";
- "§1C§2o§3l§4o§5r§6m§7a§8t§9i§ac";
- "§kFUNKY LOL";
- "Big Pointy Teeth";
- "Bekarton guards the gate";
- "Mmmph, mmph";
- "Don't feed avocados to parrots";
- "Swords for everyone";
- ".party()";
- "Pretty scary";
- "I have a suggestion.";
- "Now with extra hugs";
- "Now Lua 6";
- "Woah.";
- "HURNERJSGER?";
- "What's up, Doc?";
- "Now contains 6 million random daily kikes!";
- "That's Niggerwang";
- "join this server right now u niggers";
- "Put a little fence around it";
- "Throw a blanket over it";
- "Now with additional stuff";
- "Extra things";
- "niggaz in da hood";
- "So sweet";
- "Popping tags";
- "Very influential in its circle";
- "Now with extra yeet";
- "Rise from your grave";
- "Warning A huge battleship is approaching fast!";
- "Blue warrior shot the food";
- "Run, coward I hunger";
- "Flavor with no seasoning";
- "Strange, but not a stranger";
- "Tougher than diamonds, rich like cream";
- "Getting ready to show";
- "Getting ready to know";
- "i'm happy with it.";
- "Getting ready to drop";
- "Getting ready to shock";
- "Getting ready to freak";
- "Getting ready to speak";
- "It swings, it jives";
- "Cruising streets for gold";
- "Take an eggbeater and beat it against a skillet";
- "Make me a table, a funky table";
- "Take the elevator to the mezzanine";
- "Stop being reasonable, this is the Internet";
- "/giveweapon m9k_1911a1 1";
- "This is good for Realms.";
- "Any computer is a laptop if you're brave enough";
- "Do it all, everything";
- "Where there is not light, there can spider";
- "GNU Terry Pratchett";
- "More Digital";
- "doot doot";
- "Falling with style";
- "There's no stopping the nutmegg";
- "Throw yourself at the ground and miss";
- "Rule #1: it's never my fault";
- "Replaced molten cheese with blood?";
- "Absolutely fixed relatively broken coordinates";
- "Boats FTW";
- "gay edition";
- "REALLY gay edition";
- "You're going too fast";
- "made without parential permission";
- "lapfuckstrax";
- "aspie collective";
- "a product of its time";
- "their they're and there";
- "endless streams of shit";
- "new! old! terrible!";
- "i make music now";
- "this is my life now";
- "i'm ok with this";
- "u know wwhat this is prob the last version, i dont have anything new to add";
- "shoutout to johnny nutmegg";
- "etxraneous bullshit";
- "inflated filesize";
- "cancer";
- "die";
- "aimbot key is f";
- "oh fuck off";
- "try exanima";
- "jerkcity.com - since 1998";
- "now 3 and a half!";
- }
- defcon.Keys = {
- "KEY_0", "KEY_1", "KEY_2", "KEY_3", "KEY_4", "KEY_5",
- "KEY_6", "KEY_7", "KEY_8", "KEY_9", "KEY_A", "KEY_B", "KEY_C",
- "KEY_D", "KEY_E", "KEY_F", "KEY_G", "KEY_H", "KEY_I", "KEY_J",
- "KEY_K", "KEY_L", "KEY_M", "KEY_N", "KEY_O", "KEY_P", "KEY_Q",
- "KEY_R", "KEY_S", "KEY_T", "KEY_U", "KEY_V", "KEY_W", "KEY_X",
- "KEY_Y", "KEY_Z", "KEY_PAD_0", "KEY_PAD_1", "KEY_PAD_2", "KEY_PAD_3",
- "KEY_PAD_4", "KEY_PAD_5", "KEY_PAD_6", "KEY_PAD_7", "KEY_PAD_8", "KEY_PAD_9",
- "KEY_PAD_DIVIDE", "KEY_PAD_MULTIPLY", "KEY_PAD_MINUS", "KEY_PAD_PLUS", "KEY_PAD_ENTER",
- "KEY_PAD_DECIMAL", "KEY_LBRACKET", "KEY_RBRACKET", "KEY_SEMICOLON", "KEY_APOSTROPHE",
- "KEY_BACKQUOTE", "KEY_COMMA", "KEY_PERIOD", "KEY_SLASH", "KEY_BACKSLASH", "KEY_MINUS",
- "KEY_EQUAL", "KEY_ENTER", "KEY_SPACE", "KEY_BACKSPACE", "KEY_TAB", "KEY_CAPSLOCK",
- "KEY_NUMLOCK", "KEY_ESCAPE", "KEY_SCROLLLOCK", "KEY_INSERT", "KEY_DELETE", "KEY_HOME",
- "KEY_END", "KEY_PAGEUP", "KEY_PAGEDOWN", "KEY_BREAK", "KEY_LSHIFT", "KEY_RSHIFT",
- "KEY_LALT", "KEY_RALT", "KEY_LCONTROL", "KEY_RCONTROL", "KEY_LWIN", "KEY_RWIN",
- "KEY_APP", "KEY_UP", "KEY_LEFT", "KEY_DOWN", "KEY_RIGHT", "KEY_F1", "KEY_F2",
- "KEY_F3", "KEY_F4", "KEY_F5", "KEY_F6", "KEY_F7", "KEY_F8", "KEY_F9",
- "KEY_F10", "KEY_F11", "KEY_F12", "KEY_CAPSLOCKTOGGLE", "KEY_NUMLOCKTOGGLE",
- "KEY_SCROLLLOCKTOGGLE"
- };
- local function SafeCheck(v)
- if v ~=LocalPlayer() and v:Alive() and v:IsValid() and v:GetActiveWeapon():IsValid() and v:Health() >= 1 then
- return true
- else
- return false
- end
- end
- for k,v in pairs(defcon.Normal) do
- if defcon.Settings[k] == nil then
- defcon.Settings = defcon.Normal
- -- so that if a new key is added to the normal config, the Settings will reset
- end
- end
- -- functions
- function defcon.Update(x,y,z, ok)
- if x == "setting" then
- defcon.Settings[y] = z
- if ok == true then
- file.Write("d_settings.txt", util.TableToJSON(defcon.Settings))
- end
- elseif x == "entity" then
- file.Write("d_entities.txt", util.TableToJSON(defcon.Entities))
- elseif x == "friend" then
- file.Write("d_whitelist.txt", util.TableToJSON(defcon.Whitelist))
- end
- end
- function defcon.ESPCheck(typ, v)
- if typ == "player" then
- if v:Alive() && v:Health() >= 1 && v ~= LocalPlayer() /*&& /*LocalPlayer():Alive() &&*/ /*LocalPlayer():Team() ~= TEAM_SPECTATOR*/ then
- return true
- end
- elseif typ == "entity" then
- if IsValid(v) then
- return true
- end
- end
- return false
- end
- function defcon.ESPDistance(typ, v)
- if typ == "player" then
- if defcon.Settings["esp_player_dist"] >= 16000 then
- return true
- elseif v:GetPos():Distance(LocalPlayer():GetPos()) < (defcon.Settings["esp_player_dist"]) then
- return true
- end
- elseif typ == "entity" then
- if defcon.Settings["esp_entity_dist"] >= 16000 then
- return true
- elseif v:GetPos():Distance(LocalPlayer():GetPos()) < (defcon.Settings["esp_entity_dist"]) then
- return true
- end
- end
- return false
- end
- function defcon.GetShootPos(ent)
- local eyes = ent:LookupAttachment("eyes");
- if(eyes ~= 0) then
- eyes = ent:GetAttachment(eyes);
- if(eyes and eyes.Pos) then
- return eyes.Pos, eyes.Ang;
- end
- end
- end
- function defcon.Visible(ent)
- local pos = LocalPlayer():GetShootPos()
- local ang = LocalPlayer():GetAimVector()
- local trace = {start = LocalPlayer():GetShootPos(), endpos = defcon.GetShootPos(ent), filter = {LocalPlayer(), ent}, mask = 1174421507};
- local tr = util.TraceLine(trace);
- return(tr.Fraction == 1);
- end
- function defcon.Whitelisted(ent)
- if defcon.Whitelist[ent:SteamID()] then return true
- else return false end
- end
- function defcon.CanTarget(v)
- if v:IsPlayer() then
- if (defcon.Visible(v) and (not defcon.Whitelisted(v)) and v:Alive() and (v:Health() > 0) and v:Team() ~= TEAM_SPECTATOR) then
- if (v ~= LocalPlayer() and LocalPlayer():Alive() and LocalPlayer():Team() ~= TEAM_SPECTATOR) then
- if not(defcon.Settings["aimbot_friendly_fire"]) then
- if (v:Team() ~= LocalPlayer():Team()) then
- return true
- end
- else
- return true
- end
- end
- end
- end
- return false
- end
- function defcon.Ents()
- local t = {}
- for k,v in pairs(ents.GetAll()) do
- if IsValid(v) and not(table.HasValue(t, v:GetClass())) then
- table.insert(t, v:GetClass())
- end
- end
- table.sort(t, function(a,b) return a < b end)
- return t
- end
- -- fonts
- surface.CreateFont("deffont", {
- font = "impact",
- size = 64
- });
- surface.CreateFont("deffontesp1", {
- font="TabLarge",
- size=13,
- weight=700
- });
- surface.CreateFont("deffontesp2", {
- font="TabLarge",
- size=10,
- weight=700
- });
- surface.CreateFont("velmet", {
- size = 50,
- weight = 500,
- antialias = true,
- font = "VCR OSD Mono"
- });
- surface.CreateFont("warnign", {
- size = 18,
- weight = 0,
- antialias = false,
- font = "times new roman"
- });
- -- short vars
- local menu = defcon.Menu
- local current = defcon.Current
- local alive = defcon.Alive
- local normal = defcon.Normal
- local settings = defcon.Settings
- local entities = defcon.Entities
- local whitelist = defcon.Whitelist
- local phrases = defcon.Phrases
- local espcheck = defcon.ESPCheck
- local espdistance = defcon.ESPDistance
- -- menu
- local function AddTab(txt, tab, func)
- menu.c = menu.c + 1 -- increase the counter for the amount of tabs
- local panel
- if tab and tab == true then
- panel = vgui.Create("DPanel", menu.frame);
- panel:SetPos(120,25);
- panel:SetSize(376,406);
- if menu.Current == txt then
- panel:SetVisible(true)
- else
- panel:SetVisible(false)
- end
- panel.Paint = function()
- surface.SetDrawColor( 10, 10, 10, 255 )
- surface.DrawOutlinedRect( 0, 0, panel:GetWide() - 1, panel:GetTall() - 1)
- draw.SimpleText(string.upper(txt), "deffont", 10, 5, Color(210, 210, 210, 235), TEXT_ALIGN_LEFT);
- end
- end
- local button = vgui.Create("DButton", menu.buttons);
- button:SetText(txt);
- button:SetSize(80, 20);
- button:SetPos(15, -15+(25*menu.c));
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- button.DoClick = func or (tab and tab == true and function()
- for k,v in pairs(menu.t) do
- if v ~= panel then
- v:SetVisible(false)
- end
- end
- panel:SetVisible(true)
- menu.Current = txt
- surface.PlaySound("ambient/levels/canals/drip4.wav");
- end)
- return panel, button;
- end
- --derma bullshit
- local function AddFeature(id, parent, typ, name, setting, o1, o2)
- if not parent then return end
- if typ == "button" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("enabled")
- else
- button:SetText("disabled")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("disabled"); defcon.Update("setting", setting, false, true)
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true)
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- return button,label
- elseif typ == "slider" then
- local slider = vgui.Create("DNumSlider", parent)
- slider:SetPos(5, (45+(id*25)))
- slider:SetText(name)
- slider:SetMinMax(o1, o2)
- slider:SetWide(372.5)
- slider:SetDecimals( 0 )
- slider:SetFGColor(255,255,255,255)
- slider:SetBGColor(255,255,255,255)
- slider:SetValue(defcon.Settings[setting])
- slider.OnValueChanged = function(panel, value)
- local c = tonumber(value)
- defcon.Update("setting", setting, math.Round(c), true)
- end
- return slider;
- end
- if typ == "label" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- label:SetFont("warnign")
- label.Paint = function(self)
- label:SetTextColor(Color( 255, 190, 24, 255 ))
- end
- return label
- end
- if typ == "label2" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- label:SetFont("deffontesp2")
- label.Paint = function(self)
- label:SetTextColor(Color( 140, 140, 140, 255 ))
- end
- return label2
- end
- if typ == "label3" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- label:SetFont("warnign")
- label.Paint = function(self)
- label:SetTextColor(Color( 255, 190, 24, 255 ))
- end
- return label3
- end
- if not parent then return end
- if typ == "canser" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("enabled")
- else
- button:SetText("disabled")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand "SH_toggle"
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand "SH_toggle"
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "landsernigger" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("search")
- else
- button:SetText("search")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("search"); defcon.Update("setting", setting, false, true); RunConsoleCommand "pickupinradius"
- else
- button:SetText("search"); defcon.Update("setting", setting, true, true); RunConsoleCommand "pickupinradius"
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "landsernigger6" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("enabled")
- else
- button:SetText("disabled")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.chams", "0")
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.chams", "1")
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "landsernigger3" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("enabled")
- else
- button:SetText("disabled")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.boxESP", "0")
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.boxESP", "1")
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "landsernigger4" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("enabled")
- else
- button:SetText("disabled")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.propchams", "0")
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.propchams", "1")
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "landsernigger5" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("enabled")
- else
- button:SetText("disabled")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.radiochams", "0")
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.radiochams", "1")
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "landsernigger2" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- local button = vgui.Create("DButton", parent)
- if defcon.Settings[setting] == true then
- button:SetText("dupe")
- else
- button:SetText("dupe")
- end
- button:SetSize(80,20)
- if not id then
- button:SetPos(285,45)
- else
- button:SetPos(285,(55+(id*25)))
- end
- button.DoClick = function()
- if button:GetText() == "enabled" then
- button:SetText("dupe"); defcon.Update("setting", setting, false, true); RunConsoleCommand "dupeinradius"
- else
- button:SetText("dupe"); defcon.Update("setting", setting, true, true); RunConsoleCommand "dupeinradius"
- end
- end
- button:SetTextColor(color_white)
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- end
- --menu assthetic
- local function AddButton(parent, text, posx, posy, func)
- local button = vgui.Create("DButton", parent)
- button:SetText(text)
- button:SetSize(80,20)
- button:SetPos(posx,posy)
- button:SetTextColor(color_white)
- button.DoClick = func or function() end
- button.Paint = function(self)
- surface.SetDrawColor(100,100,100,220)
- surface.DrawRect(0, 0,self:GetSize())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- return button
- end
- local function DrawMenu()
- if(menu.frame) then menu.frame:Remove(); menu.frame = nil; end
- menu.c = 0
- menu.frame = vgui.Create("DFrame");
- menu.frame:SetPos(ScrW()/2-184, ScrH()/2-155);
- menu.frame:SetSize(500, 435);
- menu.frame:SetTitle("Shitcheat 3.5 :: "..defcon.Phrases[math.random(1, table.Count(defcon.Phrases))]);
- menu.frame.Paint = function()
- surface.SetDrawColor(50,50,50,200)
- surface.DrawRect(0, 0,menu.frame:GetWide(),menu.frame:GetTall())
- surface.SetDrawColor(0,0,0,255)
- surface.DrawOutlinedRect(0,0,menu.frame:GetWide(),menu.frame:GetTall())
- end
- menu.frame:SetVisible(true);
- menu.frame:SetDraggable(true);
- menu.frame:SetSizable(false);
- menu.frame:ShowCloseButton(false);
- menu.frame:SetBackgroundBlur(true)
- menu.frame:MakePopup();
- menu.close = vgui.Create("DButton", menu.frame)
- menu.close:SetFont('marlett')
- menu.close:SetText('r')
- menu.close:SetColor(Color(255, 255, 255))
- menu.close:SetSize(15, 15)
- menu.close:SetDrawBackground(false)
- menu.close:SetPos(menu.frame:GetWide() - 20, 5)
- menu.close.DoClick = function()
- menu.frame:Remove(); menu.frame = nil;
- end
- menu.buttons = vgui.Create("DPanel",menu.frame)
- menu.buttons:SetPos(5, 25)
- menu.buttons:SetSize(111,406)
- menu.buttons:SetVisible(true)
- menu.buttons.Paint = function()
- surface.SetDrawColor(10,10,10,255)
- surface.DrawOutlinedRect(0,0,110,405)
- end
- menu.t.def = vgui.Create("DPanel", menu.frame);
- menu.t.def:SetPos(120,25);
- menu.t.def:SetSize(376,406);
- if menu.Current ~= nil then menu.t.def:SetVisible(false) end
- menu.t.def.Paint = function()
- surface.SetDrawColor( 10, 10, 10, 255 )
- surface.DrawOutlinedRect( 0, 0, menu.t.def:GetWide() - 1, menu.t.def:GetTall() - 1)
- end
- menu.t.a, menu.b.a = AddTab("Aimbot", true)
- menu.t.p, menu.b.p = AddTab("Player ESP", true)
- menu.t.e, menu.b.e = AddTab("Entity ESP", true)
- menu.t.m, menu.b.m = AddTab("Misc.", true)
- menu.t.f, menu.b.f = AddTab("Freecam", true)
- --id, parent , the type, the text , setting
- AddFeature(1, menu.t.a, "button", "Enabled", "aimbot")
- AddFeature(2, menu.t.a, "button", "Triggerbot", "triggerbot")
- AddFeature(3, menu.t.a, "button", "Friendly Fire", "aimbot_friendly_fire")
- AddFeature(4, menu.t.a, "slider", "FOV", "aimbot_fov", 0, 180)
- AddFeature(5, menu.t.a, "label2", "The aimbot key is F by default ")
- AddFeature(1, menu.t.p, "button", "Enabled", "esp_player")
- AddFeature(2, menu.t.p, "button", "Show Name", "esp_player_name")
- AddFeature(3, menu.t.p, "button", "Show Rank", "esp_player_rank")
- AddFeature(4, menu.t.p, "button", "Show Health", "esp_player_health")
- AddFeature(5, menu.t.p, "button", "Show Armor", "esp_player_armor")
- AddFeature(6, menu.t.p, "button", "Show Distance", "esp_player_showdist")
- AddFeature(7, menu.t.p, "slider", "Draw Distance", "esp_player_dist", 0, 16000)
- AddFeature(8, menu.t.p, "button", "Draw Glow Halo", "esp_player_glow")
- AddFeature(9, menu.t.p, "button", "Laser Eyes", "lasereyes")
- AddFeature(10,menu.t.p, "landsernigger3", "Draw Hitboxes", "defcon.boxESP")
- AddFeature(11,menu.t.p, "landsernigger6", "Player Chams", "defcon.chams")
- AddFeature(1, menu.t.e, "button", "Entity Finder", "esp_entity")
- AddFeature(2, menu.t.e, "slider", "Draw Distance", "esp_entity_dist", 0, 16000)
- AddFeature(3, menu.t.e, "landsernigger4", "Physics Prop chams" , "defcon.propchams")
- AddFeature(1, menu.t.m, "button", "Flashlight Spam [hold leftarrow]", "flashlight_spam")
- AddFeature(2, menu.t.m, "button", "Bunny hopping [hold space]", "bhop_bhop")
- AddFeature(3, menu.t.m, "button", "Client side crosshair", "crosshair")
- AddFeature(4, menu.t.m, "button", "Big velocity meter", "velocity")
- AddFeature(5, menu.t.m, "button", "Chat spammer 1 [random messages, no vc]", "chatspam1")
- AddFeature(6, menu.t.m, "button", "Chat spammer 2 [hl2rp vc messages]", "chatspam2")
- AddFeature(7, menu.t.m, "label3", "You can bind the two scripts under this message to any key ")
- AddFeature(8, menu.t.m, "label3", "Just type 'bind commandname key', e.g. 'bind +jump m' ")
- AddFeature(9, menu.t.m, "landsernigger", "Pick up items in radius [Clockwork schemas only]","pickupinradius")
- AddFeature(10, menu.t.m, "label2", "Console coammand: pickupinradius ")
- AddFeature(11, menu.t.m, "landsernigger2", "Duplicate items in radius [Clockwork schemas only]", "dupeinradius")
- AddFeature(12, menu.t.m, "label2", "Console command: dupeinradius ")
- AddFeature(1, menu.t.f, "canser", "Clientside noclip (replaced ghettocam in version 3)", "cl_noclip")
- AddFeature(10, menu.t.f, "label", "NOTICE: entities may not appear when using freecam ")
- if string.find(gmod.GetGamemode().Name, "DarkRP") then
- AddFeature(1, menu.t.g, "button", "God-mode Exploit (Costs in-game $$$)", "darkrp_god")
- elseif string.find(gmod.GetGamemode().Name, "Trouble in Terrorist Town") then
- AddFeature(1, menu.t.g, "button", "Display Death Notifications", "ttt_deathnotifs")
- end
- local elist
- local elist2
- local elistc
- local elistc2
- local function makeelist()
- elist = vgui.Create("DComboBox", menu.t.e)
- elist:SetPos(10,menu.t.e:GetTall()-43)
- elist:SetSize(130,20)
- for k,v in pairs(defcon.Ents()) do
- if not(defcon.Entities[v]) then
- local i = elist:AddChoice(v)
- end
- end
- elist.OnSelect = function(index,value,data)
- print(data)
- elist2 = data
- end
- end
- local function makeelistc()
- elistc = vgui.Create("DComboBox", menu.t.e)
- elistc:SetPos(235, menu.t.e:GetTall()-43)
- elistc:SetSize(130,20)
- for k,v in pairs(defcon.Entities) do
- local i = elistc:AddChoice(v)
- end
- elistc.OnSelect = function(index,value,data)
- elistc2 = data
- end
- end
- makeelist()
- makeelistc()
- AddButton(menu.t.e, "Add Entity", 35, menu.t.e:GetTall()-23, function()
- if(elist2) then
- for k,v in pairs(defcon.Ents()) do
- if (v == elist2) then
- print(v)
- table.insert(defcon.Entities, v)
- defcon.Update("entity")
- end
- end
- end
- makeelist()
- makeelistc()
- end)
- AddButton(menu.t.e, "Remove Entity", 260, menu.t.e:GetTall()-23, function()
- if(elistc2) then
- for k,v in pairs(defcon.Entities) do
- if (v == elistc2) then
- defcon.Entities[k] = nil;
- defcon.Update("entity")
- end
- end
- end
- makeelist()
- makeelistc()
- end)
- local flist
- local flist2
- local flistc
- local flistc2
- local function makeflist()
- flist = vgui.Create("DComboBox", menu.t.a)
- flist:SetPos(10,menu.t.a:GetTall()-43)
- flist:SetSize(130,20)
- for k,v in pairs(player.GetAll()) do
- if v ~= LocalPlayer() then
- if not(defcon.Whitelist[v:SteamID()]) then
- local i = flist:AddChoice(v:Nick())
- end
- end
- end
- flist.OnSelect = function(index,value,data)
- print(data)
- elist2 = data
- end
- end
- local function makeflistc()
- flistc = vgui.Create("DComboBox", menu.t.a)
- flistc:SetPos(235, menu.t.a:GetTall()-43)
- flistc:SetSize(130,20)
- for k,v in pairs(player.GetAll()) do
- if v ~= LocalPlayer() then
- if defcon.Whitelist[v:SteamID()] then
- local i = flistc:AddChoice(v:Nick())
- end
- end
- end
- flistc.OnSelect = function(index,value,data)
- flistc2 = data
- end
- end
- makeflist()
- makeflistc()
- AddButton(menu.t.a, "Add Friend", 35, menu.t.a:GetTall()-23, function()
- if(flist2) then
- for k,v in pairs(player.GetAll()) do
- if (v:Nick() == flist2) then
- print(v:Nick())
- table.insert(defcon.Whitelist, v:SteamID())
- PrintTable(defcon.Whitelist)
- defcon.Update("friend")
- end
- end
- end
- makeflist()
- makeflistc()
- end)
- AddButton(menu.t.a, "Remove Friend", 260, menu.t.a:GetTall()-23, function()
- if(flistc2) then
- for k,v in pairs(defcon.Whitelist) do
- if (v:SteamID() == flistc2) then
- defcon.Whitelist[k] = nil;
- defcon.Update("friend")
- end
- end
- end
- makeflist()
- makeflistc()
- end)
- end
- --clientside noclip
- local SH = {}
- SH.Enabled = false
- SH.ViewOrigin = Vector( 0, 0, 0 )
- SH.ViewAngle = Angle( 0, 0, 0 )
- SH.Velocity = Vector( 0, 0, 0 )
- function SH.CalcView( ply, origin, angles, fov )
- if ( !SH.Enabled ) then return end
- if ( SH.SetView ) then
- SH.ViewOrigin = origin
- SH.ViewAngle = angles
- SH.SetView = false
- end
- return { origin = SH.ViewOrigin, angles = SH.ViewAngle }
- end
- hook.Add( "CalcView", "niggerwalk", SH.CalcView )
- function SH.CreateMove( cmd )
- if ( !SH.Enabled ) then return end
- local time = FrameTime()
- SH.ViewOrigin = SH.ViewOrigin + ( SH.Velocity * time )
- SH.Velocity = SH.Velocity * 0.95
- local sensitivity = 0.022
- SH.ViewAngle.p = math.Clamp( SH.ViewAngle.p + ( cmd:GetMouseY() * sensitivity ), -89, 89 )
- SH.ViewAngle.y = SH.ViewAngle.y + ( cmd:GetMouseX() * -1 * sensitivity )
- local add = Vector( 0, 0, 0 )
- local ang = SH.ViewAngle
- if ( cmd:KeyDown( IN_FORWARD ) ) then add = add + ang:Forward() end
- if ( cmd:KeyDown( IN_BACK ) ) then add = add - ang:Forward() end
- if ( cmd:KeyDown( IN_MOVERIGHT ) ) then add = add + ang:Right() end
- if ( cmd:KeyDown( IN_MOVELEFT ) ) then add = add - ang:Right() end
- if ( cmd:KeyDown( IN_JUMP ) ) then add = add + ang:Up() end
- if ( cmd:KeyDown( IN_DUCK ) ) then add = add - ang:Up() end
- add = add:GetNormal() * time * 500
- if ( cmd:KeyDown( IN_SPEED ) ) then add = add * 2 end
- SH.Velocity = SH.Velocity + add
- if ( SH.LockView == true ) then
- SH.LockView = cmd:GetViewAngles()
- end
- if ( SH.LockView ) then
- cmd:SetViewAngles( SH.LockView )
- end
- cmd:SetForwardMove( 0 )
- cmd:SetSideMove( 0 )
- cmd:SetUpMove( 0 )
- end
- hook.Add( "CreateMove", "niggerwalk", SH.CreateMove )
- function SH.Toggle()
- SH.Enabled = !SH.Enabled
- SH.LockView = SH.Enabled
- SH.SetView = true
- local status = { [ true ] = "enabled", [ false ] = "disabled" }
- print( "freecam " .. status[ SH.Enabled ] )
- end
- concommand.Add( "SH_toggle", SH.Toggle )
- concommand.Add( "SH_pos", function() print( SH.ViewOrigin ) end )
- --defunct freecam
- hook.Add( "ShouldDrawLocalPlayer", "ThirdPersonDrawPlayer", function()
- 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
- return true
- end
- end )
- hook.Add( "CalcView", "ThirdPersonView", function( ply, pos, angles, fov )
- if defcon.Settings["freecam_below"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * -200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -150 )
- view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_below2"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -150 )
- view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_below3"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -650 )
- view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_above"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 150 )
- view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_above2"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * -200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 150 )
- view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_above3"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 650 )
- view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_side"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * 150 ) + ( angles:Right() * 150 ) + ( angles:Up() * 0 )
- view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_side2"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * -150 ) + ( angles:Right() * 150 ) + ( angles:Up() * 0 )
- view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- if defcon.Settings["freecam_side3"] then
- local view = {}
- view.origin = pos - ( angles:Forward() * 150 ) + ( angles:Right() * 650 ) + ( angles:Up() * 0 )
- view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
- view.fov = fov
- return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
- end
- end)
- --esp
- hook.Add("HUDPaint", "catHUD", function()
- if defcon.Settings["esp_player"] or defcon.Settings["esp_entity"] then
- for k,v in pairs(ents.GetAll()) do
- if defcon.Settings["esp_player"] && v:IsPlayer() then
- if(espcheck("player", v) and espdistance("player", v))then
- local ESP = (v:EyePos()):ToScreen()
- local name,health,rank,col,distance = "","","","",""
- local outcol = Color(0,0,0,255)
- local white = Color(255,255,255,255)
- local outcol2 = outcol
- if defcon.Settings["esp_player_name"] then
- if v.GetRPName then name = v:GetRPName()
- else name = v:Nick() end
- end
- if v:Nick() ~= name then rank = " "..v:Nick() end
- if v.SteamName and name ~= v:SteamName() then rank = " "..v:SteamName() end
- if defcon.Settings["esp_player_rank"] then
- if v:IsSuperAdmin() then
- rank = "[Super Admin]"..rank
- elseif v:IsAdmin() then
- rank = "[Admin]"..rank
- elseif v:IsUserGroup("moderator") or v:IsUserGroup("mod") then
- rank = "[Moderator]"..rank
- elseif v:IsUserGroup("vip") or v:IsUserGroup("donator") then
- rank = "[Donator]"..rank
- end
- end
- if defcon.Settings["esp_player_health"] and not(defcon.Settings["esp_player_armor"]) then
- health = v:Health().."H"
- elseif defcon.Settings["esp_player_armor"] and not(defcon.Settings["esp_player_health"]) then
- health = v:Armor().."A"
- elseif defcon.Settings["esp_player_armor"] and defcon.Settings["esp_player_health"] then
- health = v:Health().. "H - "..v:Armor().."A"
- end
- if defcon.Settings["esp_player_showdist"] then
- distance = v:GetPos():Distance(LocalPlayer():GetPos())
- distance = math.Round(distance).." m"
- end
- col = team.GetColor(v:Team())
- if(col.r <= 50 and col.g <= 50 and col.b <= 50) then
- outcol2 = Color(200,200,200,255)
- end
- if col.a <= 50 then
- col = Color(col.r,col.g,col.b, 255)
- end
- draw.SimpleTextOutlined(rank, "deffontesp2", ESP.x, ESP.y -46, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol2)
- draw.SimpleTextOutlined(name, "deffontesp1", ESP.x, ESP.y - 34, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol2)
- if health ~= "" then
- draw.SimpleTextOutlined(health, "deffontesp2", ESP.x, ESP.y -22, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
- draw.SimpleTextOutlined(distance, "deffontesp2", ESP.x, ESP.y - 10, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
- else
- draw.SimpleTextOutlined(distance, "deffontesp2", ESP.x, ESP.y - 22, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
- end
- if defcon.Settings["esp_player_glow"] then
- halo.Add({v}, col, 2, 2, 1, true, true)
- end
- end
- end
- if (defcon.Settings["esp_entity"] and espcheck("entity", v) and espdistance("entity", v))then
- if table.HasValue(defcon.Entities, v:GetClass()) then
- local ESP = (v:EyePos()):ToScreen()
- 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))
- end
- end
- end
- end
- end)
- --misc. shit
- hook.Add("Think", "catBOT", function()
- if(input.IsKeyDown(KEY_TAB) && input.IsKeyDown(KEY_Q) && !menu.frame)then
- DrawMenu()
- elseif(menu.frame && input.IsKeyDown(KEY_ESCAPE))then
- menu.frame:Remove();menu.frame = nil
- end
- if defcon.Settings["flashlight_spam"] and input.IsKeyDown(KEY_LEFT) then
- RunConsoleCommand("impulse", "100")
- end
- if(defcon.Settings["triggerbot"] && input.IsMouseDown(MOUSE_4)) then
- local pos = LocalPlayer():GetShootPos()
- local ang = LocalPlayer():GetAimVector()
- local tracedata = {}
- tracedata.start = pos
- tracedata.endpos = pos+(ang*9999999999999)
- local trace = util.TraceLine(tracedata)
- if(trace.HitNonWorld) then
- target = trace.Entity
- if(target:IsPlayer() and defcon.CanTarget(target)) then
- RunConsoleCommand("+attack")
- timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
- end
- end
- end
- if(defcon.Settings["aimbot"] && /*input.IsKeyDown(defcon.AimKey)*/ input.IsKeyDown(KEY_F)) then
- for k,v in pairs(player.GetAll()) do
- if defcon.CanTarget(v) then
- local head = v:LookupBone("ValveBiped.Bip01_Head1")
- if head ~= nil then
- local fov = defcon.Settings["aimbot_fov"]
- if fov == 0 then
- local headpos,targetheadang = v:GetBonePosition(head)
- LocalPlayer():SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
- else
- local lpang = LocalPlayer():GetAngles();
- local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle();
- local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
- local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
- if not(ady > fov or adp > fov) then
- local headpos,targetheadang = v:GetBonePosition(head)
- if headpos != nil and targetheadang != nil then
- LocalPlayer():SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
- end
- end
- end
- end
- end
- end
- end
- if defcon.Settings["ttt_deathnotifs"] then
- for k,v in pairs(player.GetAll()) do
- if v:Alive() and not (defcon.Alive[v:UniqueID()] == true) then
- defcon.Alive[v:UniqueID()] = true
- elseif not v:Alive() and (defcon.Alive[v:UniqueID()] == true) then
- defcon.Alive[v:UniqueID()] = false
- notification.AddLegacy(v:Nick().. " has died!", NOTIFY_GENERIC, 5)
- end
- end
- end
- end)
- --bhop
- hook.Add( "CreateMove", "Billard_Bhop", function( ucmd )
- if defcon.Settings["bhop_bhop"] then
- if ucmd:KeyDown( IN_JUMP ) then
- if LocalPlayer():WaterLevel() <= 1 && LocalPlayer():GetMoveType() != MOVETYPE_LADDER && !LocalPlayer():IsOnGround() then
- ucmd:RemoveKey( IN_JUMP )
- end
- end
- end
- end )
- --velocity meter
- hook.Add("HUDPaint", "Velocity", function()
- for k,v in pairs(player.GetAll()) do
- if defcon.Settings ["velocity"] then
- local showvel = math.floor(LocalPlayer():GetVelocity():Length())
- draw.RoundedBox(1, ScrW()/2.5, ScrH()/1.07, ScrW()/4.21, ScrH()/26, Color(50, 50, 50, 150))
- draw.DrawText("velocity: "..showvel, "velmet", ScrW()/2.5, ScrH()/1.08, Color(255, 255, 255, 185))
- end
- end
- end)
- --crosshair
- hook.Add( "HUDPaint", "CrossHair", function ( ucmd )
- if defcon.Settings["crosshair"] then
- local h = ScrH() / 2
- local w = ScrW() / 2
- local h1 = ScrH() / 2
- local w1 = ScrW() / 2
- surface.SetDrawColor( 0, 255, 255 )
- surface.DrawLine( w + 10, h, w - 10, h )
- surface.DrawLine( w, h + 10, w, h - 10 )
- end
- end)
- --physics prop ESP
- local propchams = CreateMaterial("propchams","VertexLitGeneric",{
- ["$basetexture"] = "models/debug/debugwhite",
- ["$model"] = 1,
- ["$translucent"] = 1,
- ["$alpha"] = 1,
- ["$nocull"] = 1,
- ["$ignorez"] = 1
- }
- )
- hook.Add( "HUDPaint", "PropESP", function()
- for k,v in pairs ( ents.FindByClass( "prop_physics" ) ) do
- if GetConVarNumber("defcon.propchams") == 1 then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride( propchams )
- render.SetBlend(0.2)
- render.SetColorModulation( 0, 255, 0)
- v:DrawModel()
- cam.End3D()
- end
- end
- end
- end)
- -- player chams
- hook.Add( "HUDPaint", "ESPChams", function()
- for k,v in pairs ( player.GetAll() ) do
- if GetConVarNumber("defcon.chams") == 1 then
- if SafeCheck(v) == true then
- local ply = LocalPlayer()
- cam.Start3D(EyePos(), EyeAngles())
- render.MaterialOverride( propchams )
- render.SuppressEngineLighting( false )
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255 )
- v:DrawModel();
- -- This bit is for weapons. --
- render.MaterialOverride( propchams )
- render.SuppressEngineLighting( false )
- render.SetBlend( 1 )
- render.SetColorModulation( 255, 0, 0 )
- v:GetActiveWeapon():DrawModel()
- cam.End3D()
- end
- end
- end
- end)
- --box ESP
- hook.Add("HUDPaint", "3DBoxESP", function()
- for k,v in pairs(player.GetAll()) do
- if GetConVarNumber("defcon.boxESP") == 1 then
- if SafeCheck(v) == true then
- local ply = LocalPlayer()
- local plyPos = v:GetPos()
- local head = v:OBBMaxs()
- local feet = v:OBBMins()
- local eye = v:EyeAngles()
- cam.Start3D()
- render.DrawWireframeBox( plyPos, Angle( 0, eye.y, 0), feet, head, team.GetColor(v:Team()) )
- cam.End3D()
- end
- end
- end
- end)
- --chat spam
- local function Spam2()
- if defcon.Settings["chatspam1"] then
- LocalPlayer():ConCommand("say "..table.Random(normalspam).." " )
- end
- end
- timer.Create("Spammins2", .5,0,Spam2)
- normalspam = {}
- normalspam[1] = "mods = fags"
- normalspam[2] = "I hate niggers"
- normalspam[3] = "sheo was here"
- normalspam[4] = "try finger but hole"
- normalspam[5] = "time for crab"
- normalspam[6] = "THIS SERVER IS GETTING FUCKING NULLED RN"
- normalspam[7] = "whoever made this server is a fucking downie holy shit"
- normalspam[8] = "this serv sucks, fuck you guys"
- normalspam[9] = "im not hacking wtf?"
- normalspam[10] = "Mega.co.nz is famous for it's shitposting on 4chan."
- normalspam[11] = "How much memes could a cock suck if 9/11?"
- normalspam[12] = "assrape"
- normalspam[13] = "AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
- normalspam[14] = "Sweedish fish are like apples, they taste good as candy, not the actual thing."
- normalspam[15] = "you what"
- normalspam[16] = "I'll quote your head with a rock"
- normalspam[17] = "fuck me harder daddy"
- normalspam[18] = "dickrape is neat"
- normalspam[19] = "Shitty memes from a shitty dream."
- normalspam[20] = "sheogorath has aids"
- normalspam[21] = "fuck niggers"
- normalspam[22] = "♫im an alabama nigger and i wanna be free, to hell with the n double a-c-p♫"
- normalspam[23] = "hey whats up guys it's scarce here"
- normalspam[24] = "//this is a test of the emergency broadcast system"
- normalspam[25] = "erp = b&"
- normalspam[26] = "50 percent off all fat farts at the fag store"
- normalspam[27] = "dennis the menace"
- 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."
- normalspam[29] = "shoutout to poopnig420 for providing memes"
- normalspam[30] = "shoutout to inboot for providing packets"
- normalspam[31] = "geklmin is a grade-a autist."
- normalspam[32] = "REMOVE KEBAB remove kebab"
- 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"
- normalspam[34] = "hahahahaha idiot turk and bosnian smell so bad..wow i can smell it."
- normalspam[35] = "you will get caught. russia+usa+croatia+slovak=kill bosnia…"
- normalspam[36] = "you will ww2/ tupac alive in serbia, tupac making album of serbia . fast rap tupac serbia."
- normalspam[37] = "2pac aliv and real strong wizard kill all the turk farm aminal with rap magic now we the serba rule ."
- normalspam[38] = "ape of the zoo presidant georg bush fukc the great satan and lay egg this egg hatch and bosnia wa;s born."
- normalspam[39] = "stupid baby form the eggn give bak our clay we will crush u lik a skull of pig. serbia greattst countrey"
- normalspam[40] = "cetnik rascal FUck but fuck asshole turk stink bosnia sqhipere shqipare..turk genocide best day of my life."
- normalspam[41] = "http://www.madbluntz.rs offical sponsor of the republika srpska - marijuana fanatics serbia"
- local function Spam()
- if defcon.Settings["chatspam2"] then
- LocalPlayer():ConCommand("say "..table.Random(hl2rpvcspam).." " )
- end
- end
- timer.Create("Spammins", .5,0,Spam)
- hl2rpvcspam = {}
- hl2rpvcspam[1] = "noooo"
- hl2rpvcspam[2] = "whistle tune"
- hl2rpvcspam[3] = "i could eat a horse"
- hl2rpvcspam[4] = "combine"
- hl2rpvcspam[5] = "zombies"
- hl2rpvcspam[6] = "run"
- hl2rpvcspam[7] = "over here"
- hl2rpvcspam[8] = "hey over here"
- hl2rpvcspam[9] = "run for your life"
- hl2rpvcspam[10] = "hes dead"
- --laser eyes
- hook.Add("PostDrawOpaqueRenderables", "lasereyes", function()
- if defcon.Settings["lasereyes"] then
- for k, v in pairs(player.GetAll())do
- if SafeCheck(v) == true then
- local pos, ang = v:GetShootPos();
- render.SetMaterial(Material("sprites/bluelaser1"));
- render.DrawBeam(pos, v:GetEyeTrace().HitPos, 5, 1, 1, team.GetColor(v:Team()));
- end
- end
- end
- end)
- --shit shamelessly stolen from my pal rootie
- function DupeInRadius()
- local ply = LocalPlayer()
- for k,v in pairs( ents.GetAll() ) do
- local pos = v:GetPos()
- if v:IsValid() and ply:GetPos():Distance(pos) <= 180 then
- if v:GetClass() == "cw_item" then
- for i=0,2,1 do
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwItemTake", "cwItemTake"})
- end
- elseif v:GetClass() == "cw_cash" then
- for i=0,2,1 do
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwCashTake", "cwCashTake"})
- end
- end
- end
- end
- end
- concommand.Add( "dupeinradius", DupeInRadius )
- function PickUpInRadius()
- local ply = LocalPlayer()
- for k,v in pairs( ents.GetAll() ) do
- local pos = v:GetPos()
- if v:IsValid() and ply:GetPos():Distance(pos) <= 2048 then
- if v:GetClass() == "cw_item" then
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwItemTake", "cwItemTake"});
- elseif v:GetClass() == "cw_cash" then
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwCashTake", "cwCashTake"});
- elseif v:GetClass() == "cw_shipment" then
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwShipmentOpen", "cwShipmentOpen"});
- elseif v:GetClass() == "prop_physics" then
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwContainerOpen", "cwContainerOpen"});
- elseif v:GetClass() == "prop_ragdoll" then
- Clockwork.datastream:Start("EntityMenuOption", {v, "cwContainerOpen", "cwContainerOpen"});
- end
- end
- end
- end
- concommand.Add( "pickupinradius", PickUpInRadius )
- CreateClientConVar( "defcon.boxESP", 0, true, false)
- CreateClientConVar( "defcon.propchams", 0, true, false)
- CreateClientConVar( "defcon.radiochams", 0, true, false)
- CreateClientConVar( "defcon.chams", 0, true, false)
- --everything below is disabled, don't fuck with this unless you know what you're doing.
- /*concommand.Add("debug", function()
- local pcash,gname = "", gmod.GetGamemode().Name
- print("Game-mode:\n "..gname)
- if string.find(gname, "DarkRP") then
- print("Player Cash Amounts")
- for k,v in pairs(player.GetAll()) do
- if not(v.DarkRPVars and v.DarkRPVars.money)and(darkrpvar == true) then
- darkrpvar = false
- end
- if v ~= LocalPlayer() then
- pcash = pcash.." "..v:Nick().." - "..v.DarkRPVars.money.."\n"
- end
- end
- if pcash ~= "" then
- print(pcash)
- end
- end
- if LocalPlayer().GetActiveWeapon and LocalPlayer():GetActiveWeapon() ~= nil and IsValid(LocalPlayer():GetActiveWeapon()) then
- print("Current Weapon")
- print(" "..LocalPlayer():GetActiveWeapon():GetClass())
- end
- local pos = LocalPlayer():GetShootPos()
- local ang = LocalPlayer():GetAimVector()
- local tracedata = {}
- tracedata.start = pos
- tracedata.endpos = pos+(ang*9999999999999)
- local trace = util.TraceLine(tracedata)
- if(trace.HitNonWorld) then
- target = trace.Entity
- print("Entity Info")
- print(" Class: "..target:GetClass())
- print(" Model: "..target:GetModel())
- end
- end)*/
- --GREETZ:
- --Johnny Nutmegg, Tito, Komrade Seals, Lincent, Dr. Richard Head, Caliber, the rest of the Madbluntz.rs team, Nigel farage,
- --Rush, Mack, Ghost, Shawntism, Fried_Kooch, Timi, AROLTD, Kibler, Adolf Hitler, Oscar, Rootie, Alex Jones and Quak
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement