Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- --[[
- TODO LIST:
- - automatic ACD for hl2rp
- - wait for robotboy to fix seteyeangles and setviewangles
- - somehow work the shitware menu into my menu
- ]]
- local defcon = { Menu = { t = {}; b = {}; c = 0}; Alive = {};}
- defcon.Normal = {
- aimbot = true;
- aimbot_fov = 5;
- aimbot_friendly_fire = true;
- triggerbot = false;
- silent = false;
- 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;
- entitychams = false;
- flashlight_spam = false;
- darkrp_money = false;
- darkrp_god = false;
- ttt_deathnotifs = true;
- bhop_bhop = true;
- crosshair = false;
- velocity = false;
- lasereyes = false;
- chatspam1 = false;
- chatspam2 = false;
- chatspam3 = false;
- chatspam4 = 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);
- sc = Color(43, 128, 226, 255);
- sc2 = Color(43,140,226, 255);
- --print shit
- chat.AddText("")
- chat.AddText( sc2, "[Shitcheat] ", white, "Hack activated.")
- chat.AddText( sc2, "[Shitcheat] ", white, "To open the menu, press TAB and Q at the same time.")
- chat.AddText( sc2, "[Shitcheat] ", white, "The middle mouse button activates the triggerbot. ")
- chat.AddText( sc2, "[Shitcheat] ", white, "Left alt activates the aimbot.")
- --menu display messages
- defcon.Phrases = {
- "niggerniggerniggernigger";
- "bob good is not so good";
- "sheo is a kike";
- "new shitcheat";
- "better than snixzz!";
- "100x better than snixzz";
- "i hate niggers";
- "suck my dick";
- "donul trump";
- "remove kebab";
- "remember, no russian";
- "'skiddie shit'";
- "dirt shit nigger";
- "how about you try spending a year of your life making a cheat";
- "Made by the Madbluntz.rs Team";
- "we need to nuke japan again";
- "now with freecam";
- "go fast eat ass";
- "onion";
- "[OOC]Johnny Nutmegg: you fucking suck dick bro";
- "the fuck are you looking at";
- "fucking eat shit kid";
- "commies go home";
- "tito is a dirty nigger";
- "now with more dongs";
- "north virginia battle falag isnt the confed flag";
- "free forever, always.";
- "the KKK is dead stop crying about it";
- "doesn't support Æß¾";
- "back to africa";
- "if you voted for hillary delete system32";
- "[LOOC]poop: hi";
- "gulag";
- "halgualuhglugaluaglhuaglhuaglhu";
- "over 1000 lines of bullshit";
- "remember to enable ESP";
- "skype is shit";
- "bent dick";
- "nigger";
- "minecraft used to be good";
- "lets go back to 2011";
- "not an argument";
- "better than niggermenu";
- "still using lua";
- "better than gearmenu";
- "personalized";
- "who wants a free mbam key";
- "remember kids, dont advertise.";
- "madbluntz.rs - home of shitcheat";
- "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";
- "identity politics is a hell of a drug";
- "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";
- "cum-guzzling faggots";
- "dongs";
- "official website: www.madbluntz.rs";
- "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";
- "BACK UP THE CLEAN DATA AND DISINFECT THE DEAD";
- "Awesome";
- "100% pure";
- "May contain nuts";
- "expect shitty memes";
- "Better than Prey";
- "More polygons";
- "Sexy";
- "THERE'S A LIGHT AT THE END OF THE TUNNEL, ALWAYS. A CLICHÉ HOPE TO DRIVE YOU TO ENDURE ANOTHER DAY";
- "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";
- "We shoot the sick, the young, the lame,";
- "We do our best to kill and maim,";
- "Because the kills all count the same,";
- "Flying low across the trees,";
- "Pilots doing what they please,";
- "Dropping frags on refugees,";
- "It made us feel so good inside,";
- "When the strongmen left and the women cried,";
- "we decompose when we're buried ";
- "we break apart when least ready ";
- "we both know misery";
- "But what we really like is the children fried,";
- "See that family over there,";
- "Watch me get them with a pear,";
- "Blood and guts just everywhere,";
- "set me free ";
- "show me what it means to be ";
- "alive and moving on ";
- "i'll show you what it's like to be ";
- "here when i'm gone";
- "CIA with guns for hire,";
- "Montagnards around a fire,";
- "jban42 has abandoned the match and recieved a 7 day competitive matchmaking cooldown";
- "don't worry ";
- "it's nothing much ";
- "no trouble at all ";
- "if it doesn't make sense ";
- "let me take the fall ";
- "i'll always be the one ";
- "afraid to let you down ";
- "inquire and ask away ";
- "so i don't lead you around ";
- "don't worry if it doesn't make sense ";
- "i should know better after all";
- "Napalm makes the fire higher,";
- "Children sucking on a mother's tit,";
- "gooks down in a sifty pit,";
- "Dow Chemical doesn't give a shit,";
- "Attack some kids when you go downtown,";
- "surfing supported shattered starshine ";
- "so you're back from space ";
- "you got a look on your face ";
- "like you saw something great ";
- "well i'm back from space too ";
- "and i found something new ";
- "but my story's gotta wait";
- "it doesn't matter what i've done ";
- "if you're gonna step on my shoudlers ";
- "to act like the taller one ";
- "something is showing through the cracks ";
- "in your skin ";
- "i thought you were a humanoid ";
- "like me a humanoid ";
- "i rode so many cosmic rays ";
- "i ruled so many galactic days ";
- "i wanna say i've overcome ";
- "all of the problems that i faced ";
- "and i've still got spare energy ";
- "so you know the next time you're around ";
- "you're gonna have to deal with my universal sound ";
- "blasting through like mothafuckin' starlight";
- "dust drifting directionless divine ";
- "screaming sidelining supernovas ";
- "colliding colossi cracked coronas ";
- "you accrued new dues ";
- "to eschew the slew in view ";
- "your queue grew ";
- "the few in queue were due ";
- "you were through and flew";
- "By throwing some candy on the ground,";
- "Then grease them when they gather 'round,";
- "hey ";
- "it's a hot one today ";
- "it's a hot day ";
- "but i bet it's hotter for you ";
- "you stupid patronizing fool ";
- "i bet you think you're fuckin' cool ";
- "you've got some new people to school ";
- "on your stupid damn rules ";
- "we're sick of hearing tales of you taking a stand ";
- "blasphemers burned to the bones if they would not recant ";
- "we're tired of hearing fables of how you're so stuck ";
- "this shit will roll off us if we have any luck ";
- "nd do you know what we have? ";
- "we have luck ";
- "you pave a road, you carve a path, you blaze a trail ";
- "but you look like a stupid dog chasing its tail ";
- "convincing others that it's lots of fun ";
- "a grave mistake within the words you've spun ";
- "hey ";
- "it's a cold one today ";
- "it's a cold day ";
- "but i bet it's colder for you ";
- "you stupid patronizing fool ";
- "i bet you think you're fuckin' cool ";
- "you've got some new people to school ";
- "on your stupid damn rules ";
- "we're sick of hearing tales of you taking a stand ";
- "blasphemers burned to the bones if they would not recant ";
- "we're tired of hearing fables of how you're so stuck ";
- "this shit will roll off us if we have any luck ";
- "and most of all above everything ";
- "we will always have luck";
- "A squad of Cong in the grass,";
- "But all the fighting's long since passed,";
- "Crispy critters in a mass,";
- "i think a thousand years have passed ";
- "while wondering how long i'll last ";
- "and it turns out time flies ";
- "i feel the earth has spun ";
- "a million turns around the sun ";
- "and it turns out time flies ";
- "the best decision that i've made ";
- "is living in the moment ";
- "and not expanding ";
- "the infinite points of past and future ";
- "into some kind of quale ";
- "ever commanding";
- "LOH's out to have a blast,";
- "Drop some peon kids en masse,";
- "Send the remains to the chief of staff,";
- "Oxcarts rolling down the road,";
- "Peasants with a heavy load,";
- }
- defcon.Phrases3 = {
- "kikr";
- "They're all VC when the bombs explode,";
- "i will soak myself in the rain ";
- "until i'm reflective ";
- "and i'll sprawl out underneath you ";
- "and get your feet wet ";
- "you'll absorb me through your shoes ";
- "until your legs are heavy ";
- "i'll make your journey that much longer ";
- "when you're not ready ";
- "Shooting women's lots of fun,";
- "try killing one thats pregnant son,";
- "You'll get two for the price of one,";
- "Napalm sticks to kids.";
- "Flying low and feeling mean,";
- "see that family by the stream,";
- "Drop some napalm n hear them scream,";
- "See that gook on his knees,";
- "Lost some flechettes in the breeze,";
- "Find his arms nailed to the trees,";
- "NVA are all hardcore,";
- "Flechettes nail them to the jungle floor,";
- "Throw them PSYOPS out the door,";
- "18 kids in a no-fire zone,";
- "Books under arms and going home,";
- "Last in line goes home alone,";
- "Chucks in a sampan sitting in the stern,";
- "But he don't think his boat'll burn,";
- "Them fucking gooks will never learn,";
- "See the little kids jump and shout,";
- "Drop some nape and without a doubt,";
- "Watch them try and put it out,";
- "I've been around, Some things I've seen,";
- "But the people who are mighty mean,";
- "The gooks you kill, they make you clean,";
- "I've only seen it happen twice,";
- "But both times, it was mighty nice,";
- "Shooting peasants planting rice,";
- "Napalm, son, is lots of fun,";
- "Dropped from a bomb or shot from a gun,";
- "It gets the gooks when they're on the run,";
- "Some people say its not so neat ,";
- "to watch gooks burning in the street,";
- "but burning flesh smells mighty neat,";
- "Gooks in the open, making hay,";
- "Shoot civilians where the sit.";
- "Take some pictures as you split.";
- "All your life, you'll remember it.";
- "They'se in good shape for the shape they'se in,";
- "But they'se no way that they can win,";
- "With Napalm rolling down their skin,";
- "Napalm sticks to kids.";
- "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";
- "deuce: N E V E R F O R G E T MY COCK";
- "sponsored by lootcrate and trunkclub and shithead and shinebox";
- "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";
- "pants: P - THE PEE TAPES ARE REAL";
- "Guaranteed";
- "spigot: [WARNING: THIS STORY CONTAINS SPOILERS FOR UNIVERSAL AND ILLUMINATION ENTERTAINMENT'S DESPICABLE ME 3.]";
- "Macroscopic";
- "Bring it on";
- "Random splash";
- "pants: SIGHS, GETS OUT WALLET";
- "Call your mother";
- "Monster infighting";
- "Loved by millions";
- "pants: MMMM YEAH OOOH BOY";
- "Ultimate edition";
- "Freaky";
- "PRESS INSERT TO OPEN sekrit MENU";
- "You've got a brand new key";
- "not water proof";
- "Uninflammable";
- "Whoa, dude";
- "All inclusive";
- "pants: LET ME GET YOU A DRINK WITH ABSOLUTELY NO ROOFIES IN IT";
- "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";
- "spigot: GOD SAID IT / I SUCKED ON IT / THAT SETTLES IT";
- "Phobos anomaly";
- "toggle your frog";
- "getting wood";
- "Falling off cliffs";
- "14% sugar";
- "150% hyperbole";
- "Synecdoche";
- "Let's punc";
- "Seecret Friday update";
- "Reference implementation";
- "PRESS INSERT 2 open secret bitch";
- "Lewd with two dudes with food";
- "Kiss the sky";
- "20 GOTO 10";
- "pants: T DEUCE MY BONER CRASHED INTO THE SEA";
- "frog toggler";
- "Verlet intregration";
- "bad boy teenager club";
- "shoe stealer";
- "boner";
- "Peter Griffin";
- "Do not distribute";
- "Cogito ergo sum";
- "boneless pizza machine broke";
- "44 lines of code";
- "A skeleton popped out";
- "The Work of nutmegg";
- "The sum of its parts";
- "BTAF used to be good";
- "spigot: WHOA HOLY GOD SHIT FALLING";
- "I miss ADOM";
- "you tell me when to be afraid ";
- "so i know when to turn away ";
- "i will be yours to lead astray ";
- "my independence will decay ";
- "we teach each other how to fear ";
- "when insecure we disappear ";
- "a peace we've been deprived of ";
- "never taught each other how to ";
- "i keep my eyes out for hurt ";
- "and ways that i could subvert ";
- "trained into a state of high alert ";
- "my vision was yours to pervert ";
- "we teach each other how to fear ";
- "when insecure we disappear ";
- "a peace we've been deprived of ";
- "never taught each other how to ";
- "love";
- "umop-apisdn";
- "deuce: CAN WE TALK BALLS?";
- "bung: MOM!";
- "deuce: THAT IS NOT AN ANSWER";
- "onyun";
- "OICU812";
- "Bring me Ray Cokes";
- "Finger-licking";
- "spigot: PASSWORD STRENGTH: LIMP";
- "dick-licking";
- "cock-nobbling";
- "absolutely fucking cancerous";
- "101% communism free";
- "sucking, fucking";
- "teachin', preachin'";
- "darkrp is a shit gamemode for shit people";
- "now supports деад ниггерс";
- "Thematic";
- "back from sending a little part of me away ";
- "admiring shapes beneath me ";
- "caught my eye glowing brightly from a distance ";
- "what on earth could that be ";
- "do you call yourself stronger ";
- "when you avoid it altogether ";
- "just hold out a little longer ";
- "and overcome the destroyer ";
- "you're on the right track ";
- "so rock on ";
- "fuck you facepunch";
- "fuck you FP";
- "fuck you cloud 16";
- "fuck you cloud 9";
- "fuck you hillary clinton";
- "fuck you futret";
- "fuck you nishi";
- "bielodesph gay";
- "bong hits for gay jesus";
- "and we won't turn back ";
- "it was you and we shared a silent moment ";
- "and i crossed the bridge on my way back home and ";
- "now i'll never know you ";
- "right now i barely know a thing ";
- "do you call yourself stronger ";
- "when you avoid it altogether ";
- "just hold out a little longer ";
- "and overcome the destroyer ";
- "you're on the right track ";
- "and we won't turn back ";
- "Pneumatic";
- "Prismatic";
- "Sublime";
- "Octagonal";
- "Une baguette";
- "pants: I'LL LIVE ON YOUR DESKTOP FOREVER";
- "Gargamel uses it";
- "smurfs r gay";
- "7 day cooldown machine";
- "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 åäö";
- "some kind of dysphoria ";
- "22 05 88 09 04 90 AC 09 ";
- "some kind of desire to sleep";
- "Give us Gordon";
- "Tip your waiter";
- "Very fun";
- "12345 is a bad password";
- }
- defcon.Phrases4 = {
- "nigs";
- "But I can hear those gunships say,";
- "They'll be no Chieu Hois today,";
- "Vote for net neutrality";
- "Lives in a pineapple under the sea";
- "in distress, feeling stressed ";
- "reassuring ";
- "the stairs are a hassle ";
- "i feel unable ";
- "a shepherd's scale ";
- "where the notes are played with sounds of yelling ";
- "at the rain ";
- "and i will grow";
- "MAP11 has two names";
- "Omnipotent";
- "Gasp";
- "...";
- "Bees, bees, bees, bees";
- "Jag känner en bot";
- "Haha, LOL";
- "Menger sponge";
- "idspispopd";
- "but the day could be dark ";
- "and the day could be bleak ";
- "but i'll have done it all ";
- "i have done it all";
- "Eple (original edit)";
- "So fresh, so clean";
- "Slow acting portals";
- "Don't look directly at the bugs";
- "Finally without NIGGERS";
- "don't let light make you blind to how things look ";
- "don't let dark make you ignorant to what it took ";
- "to come this far and open up to you";
- "aight im fucking tired of making shitty messages that no one will see";
- "Scary";
- "Twittered about";
- "Jump up, jump up, and get down";
- "sheo is neat";
- "can't be like this forever ";
- "turn off all the lights ";
- "my heartbeat fills the night ";
- "pacemaker keep me steady ";
- "keeping me at the ready";
- "let's break out of this";
- "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";
- "look at all the things ";
- "i packed away to make a space ";
- "that i could play and laugh and love ";
- "and live in ";
- "'look at all the things'";
- "you said to me as i faded away ";
- "from everyone and everything ";
- "that had been ";
- "you took away my parachute ";
- "and told me to fall ";
- "i jumped and felt the air ";
- "rip through me as i stared ";
- "at the ground";
- "when i'm gone will my drive live on ";
- "i'd like to think when i'm gone ";
- "my drive will burn on";
- "'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";
- "I want to die";
- "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";
- "lives in cambodia";
- "PC gaming since 1873";
- "Ghoughpteighbteau tchoghs";
- "GET GUD AT MINGING U NIGGER";
- "NEXUS NOT FOUND";
- "ADMIN SPOTTED";
- "/plyban ^ 0";
- "everyone type in chat caliber is a stupid nigger";
- "caliber .50 BMG";
- "andy.b choked on niggermenu";
- "Déjà vu";
- "Déjà vu";
- "Got your nose";
- "Haley loves Elan";
- "fuck you microsoft";
- "Afraid of the big, black bat";
- "Doesn't use stonel code";
- "Child's play";
- "See you next Friday or so";
- "fuck formatting";
- "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 suck";
- "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.";
- "now with memeware";
- "fuck all y'all";
- "cocaine is bad for u";
- "school is gay";
- "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";
- "tried, tested, not approved.";
- "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 left alt";
- "oh fuck off";
- "try exanima";
- "jerkcity.com - since 1998";
- }
- defcon.Phrasesall = {
- defcon.Phrases;
- defcon.Phrases3;
- defcon.Phrases4;
- }
- defcon.Phrases2 = {
- "got fucked";
- "got shit on";
- "died";
- "got holocausted";
- "ate shit";
- "tried to fly a potato";
- "dug too deep";
- "got RDM'd";
- "tried to drink molten stone";
- "got owned";
- "ate that dirt";
- "fought the law (and the law won)";
- "was slain";
- "tried to do hvh with an aimware user";
- "downloaded memeware";
- "deleted system32";
- "got mad";
- "kicked the bucket";
- "downloaded malware";
- "got spawncamped to death";
- "unsubscribed from dramaalert";
- "went to hell";
- "did not pass go";
- "did not collect 200 dollars";
- "forgot how to stop, drop, and roll";
- "went to detroit at night";
- "got smashed";
- "got their fucking brains blown out";
- "became one with the ground";
- "got gangbanged";
- "literally ate shit";
- "listened to a kanye west album";
- "fucked a cat";
- "got their dick bitten off by spets";
- "tried to erp with spets";
- "broke their spine";
- "broke their dick";
- "used reddit";
- "was savagely murdered";
- "got crusaded";
- "converted to islam";
- "burned the qur'an";
- "ate pork";
- "contracted wrongthink";
- "fuckin died LMAO";
- "is dead, long live the king!";
- "gave bad succ";
- "unjammed an open-bolt weapon";
- "brought snixzz3 to a gmod hvh";
- "tried to use the carthus curved sword in a fight club";
- "unfinished string lol";
- "is dead lol";
- "contracted autism";
- "didn't praise johnny nutmegg";
- "watched an amy schumer comedy special";
- "voted for hillary clinton";
- "supported communism";
- "got boned";
- "got permbanned by spets";
- "tried to break into rcon";
- "drowned";
- "got struck by lightening";
- "was detected by CAC";
- "sat on a dick";
- "got raped anally";
- "followed bob good";
- "tried to ERP with sheo";
- "didn't let someone react to their /me";
- "got blamed for mingery";
- "has used /Me cum";
- "has used /Me punc";
- "has used /plyban me 0";
- "stole rations";
- "posted their IP on raidforums";
- "smoked bad weed";
- "choked on niggermenu";
- "dedicated his whole life to hl2rp";
- "tried to install gentoo";
- "got doused with napalm";
- "drank some nape";
- "used omegle";
- "uninstalled their antivirus";
- "got ganked by gooks";
- "visited nebulous";
- "didn't subscribe to madbluntz";
- "used snixzz3";
- "tried to run from a cheater";
- }
- 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 if you fuck with my shit i fuck with your shit
- 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("fuck", {
- font="Console",
- size=13,
- weight=100
- });
- surface.CreateFont("warnign", {
- size = 18,
- weight = 0,
- antialias = false,
- font = "times new roman"
- });
- surface.CreateFont("trike", {
- size = 13,
- weight = 0,
- antialias = false,
- font = "Trebuchet"
- });
- -- long 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 base
- local function AddTab(txt, tab, func)
- menu.c = menu.c + 1
- 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( 163, 163, 163, 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,0)
- surface.SetTextColor(color_white)
- 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 + menu niggering
- 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,0)
- surface.SetTextColor(color_white)
- 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( 43, 98, 226, 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("fuck")
- 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( 43, 98, 226, 255 ))
- end
- return label3
- end
- if typ == "def" then
- local label = vgui.Create("DLabel", parent)
- label:SetText(name)
- label:SetPos(5,(55+(id*25)))
- label:SizeToContents(false)
- label:SetFont("trike")
- label.Paint = function(self)
- label:SetTextColor(Color( 220, 220, 220, 255 ))
- end
- return def
- 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,0)
- 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,0)
- 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,0)
- 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,0)
- 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,0)
- 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,0)
- 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,0)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- if not parent then return end
- if typ == "bielodesphgay" 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 ("entitychams", "0")
- else
- button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("entitychams", "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,0)
- surface.DrawOutlinedRect(0,0,self:GetSize())
- end
- end
- end
- --button shit
- 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(163,163,163,0)
- 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 4.10 :: ".. (table.Random(table.Random(defcon.Phrasesall)) ));
- menu.frame.Paint = function()
- surface.SetDrawColor(50,50,50,200)
- surface.DrawRect(0, 0,menu.frame:GetWide(),menu.frame:GetTall())
- surface.SetDrawColor(163,163,0,0)
- 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, 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(163,163,163,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( 163, 163, 163, 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.c, menu.b.c = AddTab("Chat Spam", true)
- menu.t.f, menu.b.f = AddTab("Freecam", true)
- --id, parent , the type, the text , setting
- AddFeature(1, menu.t.a, "button", "", "aimbot")
- AddFeature(1, menu.t.a, "def", "Enabled")
- AddFeature(2, menu.t.a, "button", "", "triggerbot")
- AddFeature(2, menu.t.a, "def", "Triggerbot")
- AddFeature(3, menu.t.a, "button", "", "aimbot_friendly_fire")
- AddFeature(3, menu.t.a, "def", "Friendly Fire")
- AddFeature(4, menu.t.a, "slider", "", "aimbot_fov", 0, 180)
- AddFeature(4, menu.t.a, "def", "FOV")
- AddFeature(6, menu.t.a, "label2", "The aimbot key is left alt by default ")
- AddFeature(1, menu.t.p, "button", "", "esp_player")
- AddFeature(1, menu.t.p, "def", "Enabled")
- AddFeature(2, menu.t.p, "button", "", "esp_player_name")
- AddFeature(2, menu.t.p, "def", "Show Name")
- AddFeature(3, menu.t.p, "button", "", "esp_player_rank")
- AddFeature(3, menu.t.p, "def", "Show Rank")
- AddFeature(4, menu.t.p, "button", "", "esp_player_health")
- AddFeature(4, menu.t.p, "def", "Show Health")
- AddFeature(5, menu.t.p, "button", "", "esp_player_armor")
- AddFeature(5, menu.t.p, "def", "Show Armor")
- AddFeature(6, menu.t.p, "button", "", "esp_player_showdist")
- AddFeature(6, menu.t.p, "def", "Show Distance")
- AddFeature(7, menu.t.p, "slider", "", "esp_player_dist", 0, 16000)
- AddFeature(7, menu.t.p, "def", "Draw Distance")
- AddFeature(8, menu.t.p, "button", "", "esp_player_glow")
- AddFeature(8, menu.t.p, "def", "Draw Glow Halo")
- AddFeature(9, menu.t.p, "button", "", "lasereyes")
- AddFeature(9, menu.t.p, "def", "Laser Eyes")
- AddFeature(10,menu.t.p, "landsernigger3", "", "defcon.boxESP")
- AddFeature(10,menu.t.p, "def", "Draw Hitboxes")
- AddFeature(11,menu.t.p, "landsernigger6", "", "defcon.chams")
- AddFeature(11,menu.t.p, "def", "Player Chams")
- AddFeature(1, menu.t.e, "button", "", "esp_entity")
- AddFeature(1, menu.t.e, "def", "Entity Finder")
- AddFeature(2, menu.t.e, "slider", "", "esp_entity_dist", 0, 16000)
- AddFeature(2, menu.t.e, "def", "Draw Distance")
- AddFeature(3, menu.t.e, "landsernigger4", "", "defcon.propchams")
- AddFeature(3, menu.t.e, "def", "Physics Prop chams")
- AddFeature(4, menu.t.e, "bielodesphgay", "", "entitychams")
- AddFeature(4, menu.t.e, "def", "Entity chams")
- AddFeature(1, menu.t.m, "button", "", "flashlight_spam")
- AddFeature(1, menu.t.m, "def", "Flashlight Spam [hold leftarrow]")
- AddFeature(2, menu.t.m, "button", "", "bhop_bhop")
- AddFeature(2, menu.t.m, "def", "Bunny hopping [hold space]")
- AddFeature(3, menu.t.m, "button", "", "crosshair")
- AddFeature(3, menu.t.m, "def", "Client side crosshair")
- AddFeature(4, menu.t.m, "button", "", "velocity")
- AddFeature(4, menu.t.m, "def", "Big velocity meter")
- AddFeature(5, menu.t.m, "landsernigger", "","pickupinradius")
- AddFeature(5, menu.t.m, "def", "Pick up items in radius [Clockwork schemas only]")
- AddFeature(6, menu.t.m, "label2", "Console coammand: pickupinradius ")
- AddFeature(7, menu.t.m, "landsernigger2", "", "dupeinradius")
- AddFeature(7, menu.t.m, "def", "Duplicate items in radius [Clockwork schemas only]")
- AddFeature(8, menu.t.m, "label2", "Console command: dupeinradius ")
- AddFeature(1, menu.t.c, "button", "", "chatspam1")
- AddFeature(1, menu.t.c, "def", "Random messages")
- AddFeature(2, menu.t.c, "button", "", "chatspam2")
- AddFeature(2, menu.t.c, "def", "HL2RP VC messages")
- AddFeature(3, menu.t.c, "button", "", "chatspam3")
- AddFeature(3, menu.t.c, "def", "WWWWWWWWWWWWWWWWWW")
- AddFeature(4, menu.t.c, "button", "", "chatspam4")
- AddFeature(4, menu.t.c, "def", "Menu display messages")
- AddFeature(1, menu.t.f, "canser", "", "cl_noclip")
- AddFeature(1, menu.t.f, "def", "New Freecam")
- AddFeature(11, 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")
- 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
- end
- --panic mode for servers with serverguard
- _G.render.Capture = function( data, func )
- if ( data.format == "jpeg" ) then
- RunConsoleCommand("panicmode", "1"); surface.PlaySound("vo/NovaProspekt/eli_foundme02.wav");
- print ("[Shitcheat] Someone tried to screencap you using serverguard! all visible elements have been disabled.")
- print ("[ShitCheat] To re-enable them, type 'panicmode 0' into the console.")
- elseif ( data.format == "png" ) then
- RunConsoleCommand("panicmode", "1"); surface.PlaySound("vo/NovaProspekt/eli_foundme02.wav");
- print ("[Shitcheat] Someone tried to screencap you using serverguard! all visible elements have been disabled.")
- print ("[ShitCheat] To re-enable them, type 'panicmode 0' into the console.")
- else
- RunConsoleCommand("panicmode", "1"); surface.PlaySound("vo/NovaProspekt/eli_foundme02.wav");
- print ("[Shitcheat] Someone tried to screencap you using serverguard! all visible elements have been disabled.")
- print ("[ShitCheat] To re-enable them, type 'panicmode 0' into the console.")
- end
- end
- --clientside noclip / freecam
- 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, p, o, a, f )
- 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, ply, origin, angles, fov, p, o, a, f )
- 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 nig = Vector( 0, 0, 0 )
- 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" }
- end
- concommand.Add( "SH_toggle", SH.Toggle )
- concommand.Add( "SH_pos", function() print( SH.ViewOrigin ) end )
- --best esp
- hook.Add("HUDPaint", "catHUD", function()
- if defcon.Settings["esp_player"] and GetConVarNumber("panicmode") == 0 or defcon.Settings["esp_entity"] and GetConVarNumber("panicmode") == 0 then
- for k,v in pairs(ents.GetAll()) do
- if defcon.Settings["esp_player"] && v:IsPlayer() and GetConVarNumber("panicmode") == 0 then
- if(espcheck("player", v) and espdistance("player", v) and GetConVarNumber("panicmode") == 0 )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"] and GetConVarNumber("panicmode") == 0 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"] and GetConVarNumber("panicmode") == 0 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 GetConVarNumber("panicmode") == 0 and not(defcon.Settings["esp_player_armor"]) then
- health = v:Health().."H"
- elseif defcon.Settings["esp_player_armor"] and GetConVarNumber("panicmode") == 0 and not(defcon.Settings["esp_player_health"]) then
- health = v:Armor().."A"
- elseif defcon.Settings["esp_player_armor"] and GetConVarNumber("panicmode") == 0 and defcon.Settings["esp_player_health"] then
- health = v:Health().. "H - "..v:Armor().."A"
- end
- if defcon.Settings["esp_player_showdist"] and GetConVarNumber("panicmode") == 0 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"] and GetConVarNumber("panicmode") == 0 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) and GetConVarNumber("panicmode") == 0)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
- for k, v in pairs( player.GetAll() ) do
- if ( GAMEMODE_NAME == "cwhl2rp" ) and GetConVarNumber("panicmode") == 0 then
- if( v == LocalPlayer() ) then continue; end
- local ESP = (v:EyePos()):ToScreen()
- local hpos = v:GetPos();
- local dist = hpos:Distance( LocalPlayer():GetPos() );
- local m = dist / 39.36;
- if( dist <= math.min( Clockwork.config:Get( "talk_radius" ):Get() / 3, 80 ) ) and( GAMEMODE_NAME == "cwhl2rp" ) then
- draw.SimpleTextOutlined( "Whisper Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
- elseif( dist <= Clockwork.config:Get( "talk_radius" ):Get() ) then
- draw.SimpleTextOutlined( "Talk Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
- elseif( dist <= Clockwork.config:Get( "talk_radius" ):Get() * 2 ) then
- draw.SimpleTextOutlined( "Yell Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
- else
- draw.SimpleTextOutlined( "Out of text Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
- end
- end
- end
- end)
- --still waiting for robotboy to fix seteyeangles (Fuck you FP)
- hook.Add("Think", "catBOT", function(ucmd, origin, angles, calcview, fov, p, o, a, f, aaaaa )
- if(input.IsKeyDown(KEY_TAB) && input.IsKeyDown(KEY_Q) && !menu.frame)then
- DrawMenu()
- elseif(menu.frame && input.IsKeyDown(KEY_BACKSPACE))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_MIDDLE)) 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
- local SetEyeAngles = SetEyeAngles;
- if(defcon.Settings["aimbot"] && /*input.IsKeyDown(defcon.AimKey)*/ input.IsKeyDown(KEY_F8)) 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().. (" "..defcon.Phrases2[math.random(1, table.Count(defcon.Phrases2))]), NOTIFY_GENERIC, 5)
- print ( "[Shitcheat] " .. v:Nick().. (" "..defcon.Phrases2[math.random(1, table.Count(defcon.Phrases2))]))
- end
- end
- end
- end)
- --bhop (should toggle if you don't use catapult)
- 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
- surface.CreateFont("velmet", {
- size = 50,
- weight = 50,
- antialias = true,
- font = "courier new"
- });
- hook.Add("HUDPaint", "Velocity", function()
- for k,v in pairs(player.GetAll()) do
- if defcon.Settings ["velocity"] and GetConVarNumber("panicmode") == 0 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.075, Color(255, 255, 255, 185))
- end
- end
- end)
- --crosshair
- hook.Add( "HUDPaint", "CrossHair", function ( ucmd )
- if defcon.Settings["crosshair"] and GetConVarNumber("panicmode") == 0 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 and GetConVarNumber("panicmode") == 0 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 (copy-pasted from an old shitty lua file i found in my shit folder one day)
- hook.Add( "HUDPaint", "ESPChams", function()
- for k,v in pairs ( player.GetAll() ) do
- if GetConVarNumber("defcon.chams") == 1 and GetConVarNumber("panicmode") == 0 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 and GetConVarNumber("panicmode") == 0 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)
- --entity chams (works with darkrp shit too)
- hook.Add("HUDPaint", "entityespchams", function()
- if (GetConVarNumber("entitychams") == 1) and GetConVarNumber("panicmode") == 0 then
- for k, v in pairs(ents.GetAll()) do
- if string.find(v:GetClass(), "printer") then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride("models/debug/debugwhite")
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255)
- v:DrawModel()
- cam.End3D()
- end
- elseif v:GetClass() == "spawned_shipment" then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride("models/debug/debugwhite")
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255)
- v:DrawModel()
- cam.End3D()
- end
- elseif table.HasValue(defcon.Entities, v:GetClass()) then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride("models/debug/debugwhite")
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255)
- v:DrawModel()
- cam.End3D()
- end
- elseif string.find(v:GetClass(), "durgz") then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride("models/debug/debugwhite")
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255)
- v:DrawModel()
- cam.End3D()
- end
- elseif v:GetClass() == "spawned_weapon" then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride("models/debug/debugwhite")
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255)
- v:DrawModel()
- cam.End3D()
- end
- elseif v:GetClass() == "spawned_money" then
- cam.Start3D(EyePos(), EyeAngles())
- if v:IsValid() then
- render.SuppressEngineLighting( false )
- render.MaterialOverride("models/debug/debugwhite")
- render.SetBlend( 1 )
- render.SetColorModulation( 0, 255, 255)
- v:DrawModel()
- cam.End3D()
- end
- else
- end
- end
- end
- end)
- --chat spam 1
- local function Spam2()
- if defcon.Settings["chatspam1"] then
- if ( GAMEMODE_NAME == "cwhl2rp" ) then
- LocalPlayer():ConCommand("cwsay "..table.Random(normalspam).." " )
- else
- LocalPlayer():ConCommand("say "..table.Random(normalspam).." " )
- end
- end
- end
- timer.Create("Spammins2", .05,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"
- normalspam[42] = "long live madbluntz"
- normalspam[43] = "bob good militia is dead"
- normalspam[44] = "hail nutmegg"
- normalspam[45] = "madbluntz.rs best cheats on earth also free dl today"
- normalspam[46] = "// madblintz.rs serbain weed fanatics central download the world's best gmod lua cheat today"
- normalspam[47] = "GET SHITCHEAT NOW MADBLUNTZ.RS"
- normalspam[48] = "fuck off kike"
- --chat spammer 2
- local function Spam()
- if defcon.Settings["chatspam2"] then
- if ( GAMEMODE_NAME == "cwhl2rp" ) then
- LocalPlayer():ConCommand("cwsay "..table.Random(hl2rpvcspam).." " )
- else
- LocalPlayer():ConCommand("say "..table.Random(hl2rpvcspam).." " )
- end
- end
- end
- timer.Create("Spammins", .05,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"
- hl2rpvcspam[11] = "woops"
- hl2rpvcspam[12] = "hands on doctor breen"
- hl2rpvcspam[13] = "dream about cheese"
- hl2rpvcspam[14] = "dibs on the suit"
- --chatspammer 3
- local function Spam3()
- if defcon.Settings["chatspam3"] then
- if ( GAMEMODE_NAME == "cwhl2rp" ) then
- LocalPlayer():ConCommand("cwsay WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW" )
- else
- LocalPlayer():ConCommand("say WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW" )
- end
- end
- end
- timer.Create("Spammins", .05,0,Spam3)
- --chatspammer 4
- local function Spam4()
- if defcon.Settings["chatspam4"] then
- if ( GAMEMODE_NAME == "cwhl2rp" ) then
- LocalPlayer():ConCommand("cwsay " ..table.Random(table.Random(defcon.Phrasesall)).." ")
- else
- LocalPlayer():ConCommand("say "..table.Random(table.Random(defcon.Phrasesall)).." " )
- end
- end
- end
- timer.Create("Spammins", .05,0,Spam4)
- --laser eyes (old shit from anozira days)
- hook.Add("PostDrawOpaqueRenderables", "lasereyes", function()
- if defcon.Settings["lasereyes"] and GetConVarNumber("panicmode") == 0 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)
- --pickup and dupein radius from niggermenu
- 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 )
- --clientside convars
- CreateClientConVar( "defcon.boxESP", 0, true, false)
- CreateClientConVar( "defcon.propchams", 0, true, false)
- CreateClientConVar( "defcon.radiochams", 0, true, false)
- CreateClientConVar( "defcon.chams", 0, true, false)
- CreateClientConVar( "entitychams", 0, true, false)
- CreateClientConVar( "panicmode", 0, true, false)
- --literal fucking copy of memeware
- local type = type;
- local next = next;
- local function Copy(tt, lt)
- local copy = {}
- if lt then
- if type(tt) == "table" then
- for k,v in next, tt do
- copy[k] = Copy(k, v)
- end
- else
- copy = lt
- end
- return copy
- end
- if type(tt) != "table" then
- copy = tt
- else
- for k,v in next, tt do
- copy[k] = Copy(k, v)
- end
- end
- return copy
- end
- local surface = Copy(surface);
- local vgui = Copy(vgui);
- local input = Copy(input);
- local Color = Color;
- local ScrW, ScrH = ScrW, ScrH;
- local gui = Copy(gui);
- local math = Copy(math);
- local file = Copy(file);
- local util = Copy(util);
- surface.CreateFont("memeyou", {
- font = "Console",
- size = 13,
- weight = 700,
- shadow = false,
- antialias = false,
- });
- surface.CreateFont("memeyou2", {
- font = "Console",
- size = 13,
- weight = 700,
- shadow = false,
- antialias = false,
- });
- local options = {
- ["casualbot"] = {
- {
- {"Aimbot", 20, 20, 350, 240, 120},
- {"Enabled", "Checkbox", true, 0},
- {"Silent", "Checkbox", false, 0},
- {"Autofire", "Checkbox", false, 0},
- {"Autosnap", "Checkbox", false, 0},
- {"Auto Pistol", "Checkbox", true, 0},
- {"Non-Sticky", "Checkbox", false, 0},
- {"Bullettime", "Checkbox", false, 0},
- },
- {
- {"Target", 20, 280, 350, 180, 120},
- {"Selection", "Selection", "Distance", {"Distance", "Health", "Nextshot"}, 150 },
- {"Bodyaim", "Checkbox", false, 0},
- {"Ignore Bots", "Checkbox", false, 0},
- {"Ignore Team", "Checkbox", false, 0},
- {"Ignore Friends", "Checkbox", true, 0},
- {"Snapline", "Checkbox", false, 0},
- },
- {
- {"Accuracy", 380, 20, 350, 190, 120},
- {"Anti Spread", "Checkbox", false, 0},
- {"Anti Recoil", "Checkbox", false, 0},
- },
- {
- {"Anti-Aim", 380, 230, 350, 230, 140},
- {"Enabled", "Checkbox", false, 0},
- {"X", "Selection", "Emotion", {"Up", "Down", "Jitter", "Emotion"}, 150},
- {"Y", "Selection", "Emotion", {"Forward", "Backwards", "Jitter", "TJitter", "Sideways", "Emotion", "Static", "Towards Players"}, 150},
- {"Max Y", "Slider", 50, 360, 150},
- {"Min Y", "Slider", 0, 360, 150},
- {"Emotion Randomcoin X", "Slider", 50, 100, 150},
- {"Emotion Randomcoin Y", "Slider", 20, 100, 150},
- },
- },
- ["Visuals"] = {
- {
- {"ESP", 20, 20, 350, 240, 220},
- {"Enabled", "Checkbox", false, 54},
- {"Box", "Checkbox", false, 54},
- {"Box Type", "Selection", "2D Box", {"2D Box", "3D Box"}, 68},
- {"Name", "Checkbox", false, 54},
- {"Health", "Checkbox", false, 54},
- {"Weapon", "Checkbox", false, 54},
- {"XQZ", "Checkbox", false, 54},
- {"Chams", "Checkbox", false, 54},
- {"Skeleton", "Checkbox", false, 54},
- },
- {
- {"Filter", 20, 280, 350, 180, 220},
- {"Enemies only", "Checkbox", false, 54},
- {"Distance", "Checkbox", false, 54},
- {"Max Distance", "Slider", 0, 10000, 68},
- },
- {
- {"Misc", 380, 20, 350, 190, 220},
- {"Thirdperson", "Checkbox", false, 54},
- },
- },
- ["Colors"] = {
- {
- {"Box - Team", 20, 20, 250, 175, 130},
- {"R", "Slider", 255, 255, 88},
- {"G", "Slider", 255, 255, 88},
- {"B", "Slider", 0, 255, 88},
- },
- {
- {"Box - Enemy", 20, 205, 250, 175, 130},
- {"R", "Slider", 180, 255, 88},
- {"G", "Slider", 120, 255, 88},
- {"B", "Slider", 0, 255, 88},
- },
- {
- {"Chams - Team", 290, 20, 250, 175, 130},
- {"Visible R", "Slider", 0, 255, 88},
- {"Visible G", "Slider", 255, 255, 88},
- {"Visible B", "Slider", 0, 255, 88},
- {"Not Visible R", "Slider", 0, 255, 88},
- {"Not Visible G", "Slider", 0, 255, 88},
- {"Not Visible B", "Slider", 255, 255, 88},
- },
- {
- {"Chams - Enemy", 290, 205, 250, 175, 130},
- {"Visible R", "Slider", 255, 255, 88},
- {"Visible G", "Slider", 0, 255, 88},
- {"Visible B", "Slider", 0, 255, 88},
- {"Not Visible R", "Slider", 180, 255, 88},
- {"Not Visible G", "Slider", 120, 255, 88},
- {"Not Visible B", "Slider", 0, 255, 88},
- },
- },
- };
- local order = {
- "casualbot",
- "Visuals",
- "Colors",
- };
- local function updatevar( men, sub, lookup, new )
- for aa,aaa in next, options[men] do
- for key, val in next, aaa do
- if(aaa[1][1] != sub) then continue; end
- if(val[1] == lookup) then
- val[3] = new;
- end
- end
- end
- end
- local function loadconfig()
- if(!file.Exists("secretbitch.txt", "DATA")) then return; end
- local tab = util.JSONToTable( file.Read("secretbitch.txt", "DATA") );
- local cursub;
- for k,v in next, tab do
- if(!options[k]) then continue; end
- for men, subtab in next, v do
- for key, val in next, subtab do
- if(key == 1) then cursub = val[1]; continue; end
- updatevar(k, cursub, val[1], val[3]);
- end
- end
- end
- end
- local function gBool(men, sub, lookup)
- if(!options[men]) then return; end
- for aa,aaa in next, options[men] do
- for key, val in next, aaa do
- if(aaa[1][1] != sub) then continue; end
- if(val[1] == lookup) then
- return val[3];
- end
- end
- end
- end
- local function gOption(men, sub, lookup)
- if(!options[men]) then return ""; end
- for aa,aaa in next, options[men] do
- for key, val in next, aaa do
- if(aaa[1][1] != sub) then continue; end
- if(val[1] == lookup) then
- return val[3];
- end
- end
- end
- return "";
- end
- local function gInt(men, sub, lookup)
- if(!options[men]) then return 0; end
- for aa,aaa in next, options[men] do
- for key, val in next, aaa do
- if(aaa[1][1] != sub) then continue; end
- if(val[1] == lookup) then
- return val[3];
- end
- end
- end
- return 0;
- end
- local function saveconfig()
- file.Write("secretbitch.txt", util.TableToJSON(options));
- end
- local mousedown;
- local candoslider;
- local drawlast;
- local visible = {};
- for k,v in next, order do
- visible[v] = false;
- end
- local function DrawBackground(w, h)
- surface.SetDrawColor(50, 50, 50, 200);
- surface.DrawRect(0, 0, w, h);
- local curcol = Color(50, 50, 50, 200);
- for i = 0, 30 do
- surface.SetDrawColor(curcol);
- curcol.r = curcol.r ;
- surface.DrawLine(0, i, w, i);
- end
- surface.SetDrawColor(curcol);
- surface.SetFont("memeyou");
- local tw, th = surface.GetTextSize("not memeware");
- surface.SetTextPos(5, 15 - th / 2);
- surface.SetTextColor(255, 255, 255);
- surface.DrawText("not memeware");
- surface.DrawRect(0, 31, 5, h - 31);
- surface.DrawRect(0, h - 5, w, h);
- surface.DrawRect(w - 5, 31, 5, h);
- end
- local function MouseInArea(minx, miny, maxx, maxy)
- local mousex, mousey = gui.MousePos();
- return(mousex < maxx && mousex > minx && mousey < maxy && mousey > miny);
- end
- local function DrawOptions(self, w, h)
- local mx, my = self:GetPos();
- local sizeper = (w - 10) / #order;
- local maxx = 0;
- for k,v in next, order do
- local bMouse = MouseInArea(mx + 5 + maxx, my + 31, mx + 5 + maxx + sizeper, my + 31 + 30);
- if(visible[v]) then
- local curcol = Color(60, 60, 60, 200);
- for i = 0, 30 do
- surface.SetDrawColor(curcol);
- curcol.r, curcol.g, curcol.b = curcol.r + 0, curcol.g + 0, curcol.b + 0;
- surface.DrawLine( 5 + maxx, 31 + i, 5 + maxx + sizeper, 31 + i);
- end
- elseif(bMouse) then
- local curcol = Color(55, 55, 55, 200);
- for i = 0, 30 do
- surface.SetDrawColor(curcol);
- curcol.r, curcol.g, curcol.b = curcol.r - 0, curcol.g - 0, curcol.b - 0;
- surface.DrawLine( 5 + maxx, 31 + i, 5 + maxx + sizeper, 31 + i);
- end
- else
- local curcol = Color(50, 50, 50, 200);
- for i = 0, 30 do
- surface.SetDrawColor(curcol);
- curcol.r, curcol.g, curcol.b = curcol.r - 0, curcol.g - 0, curcol.b - 0;
- surface.DrawLine( 5 + maxx, 31 + i, 5 + maxx + sizeper, 31 + i);
- end
- end
- if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !mousedown && !visible[v]) then
- local nb = visible[v];
- for key,val in next, visible do
- visible[key] = false;
- end
- visible[v] = !nb;
- end
- surface.SetFont("memeyou2");
- surface.SetTextColor(255, 255, 255);
- local tw, th = surface.GetTextSize(v);
- surface.SetTextPos( 5 + maxx + sizeper / 2 - tw / 2, 31 + 15 - th / 2 );
- surface.DrawText(v);
- maxx = maxx + sizeper;
- end
- end
- local function DrawCheckbox(self, w, h, var, maxy, posx, posy, dist)
- surface.SetFont("memeyou2");
- surface.SetTextColor(255, 255, 255);
- surface.SetTextPos( 5 + posx + 15 + 5, 61 + posy + maxy );
- local tw, th = surface.GetTextSize(var[1]);
- surface.DrawText(var[1]);
- surface.SetDrawColor(163, 163, 163);
- surface.DrawOutlinedRect( 5 + posx + 15 + 5 + dist + var[4], 61 + posy + maxy + 2, 14, 14);
- local mx, my = self:GetPos();
- local bMouse = MouseInArea(mx + 5 + posx + 15 + 5, my + 61 + posy + maxy, mx + 5 + posx + 15 + 5 + dist + 14 + var[4], my + 61 + posy + maxy + 16);
- if(bMouse) then
- surface.DrawRect( 5 + posx + 15 + 5 + dist + 2 + var[4], 61 + posy + maxy + 4, 10, 10);
- end
- if(var[3]) then
- surface.SetDrawColor(43, 98, 226);
- surface.DrawRect( 5 + posx + 15 + 5 + dist + 2 + var[4], 61 + posy + maxy + 4, 10, 10);
- surface.SetDrawColor(43, 98, 226);
- surface.DrawOutlinedRect( 5 + posx + 15 + 5 + dist + 2 + var[4], 61 + posy + maxy + 4, 10, 10);
- end
- if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !mousedown && !drawlast) then
- var[3] = !var[3];
- end
- end
- local function DrawSlider(self, w, h, var, maxy, posx, posy, dist)
- local curnum = var[3];
- local max = var[4];
- local size = var[5];
- surface.SetFont("memeyou2");
- surface.SetTextColor(255, 255, 255);
- surface.SetTextPos( 5 + posx + 15 + 5, 61 + posy + maxy );
- surface.DrawText(var[1]);
- local tw, th = surface.GetTextSize(var[1]);
- surface.SetDrawColor(163, 163, 163);
- surface.DrawRect( 5 + posx + 15 + 5 + dist, 61 + posy + maxy + 9, size, 2);
- local ww = math.ceil(curnum * size / max);
- surface.SetDrawColor(43, 98, 226);
- surface.DrawRect( 3 + posx + 15 + 5 + dist + ww, 61 + posy + maxy + 9 - 5, 4, 12);
- surface.SetDrawColor(43, 98, 226);
- local tw, th = surface.GetTextSize(curnum..".00");
- surface.DrawOutlinedRect( 3 + posx + 15 + 5 + dist + ww, 61 + posy + maxy + 4, 4, 12);
- surface.SetTextPos( 5 + posx + 15 + 5 + dist + (size / 2) - tw / 2, 61 + posy + maxy + 16);
- surface.DrawText(curnum..".00");
- local mx, my = self:GetPos();
- local bMouse = MouseInArea(5 + posx + 15 + 5 + dist + mx, 61 + posy + maxy + 9 - 5 + my, 5 + posx + 15 + 5 + dist + mx + size, 61 + posy + maxy + 9 - 5 + my + 12);
- if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !drawlast && !candoslider) then
- local mw, mh = gui.MousePos();
- local new = math.ceil( ((mw - (mx + posx + 25 + dist - size)) - (size + 1)) / (size - 2) * max);
- var[3] = new;
- end
- end
- local notyetselected;
- local function DrawSelect(self, w, h, var, maxy, posx, posy, dist)
- local size = var[5];
- local curopt = var[3];
- surface.SetFont("memeyou2");
- surface.SetTextColor(255, 255, 255);
- surface.SetTextPos( 5 + posx + 15 + 5, 61 + posy + maxy );
- local tw, th = surface.GetTextSize(var[1]);
- surface.DrawText(var[1]);
- surface.SetDrawColor(163, 163, 163);
- surface.DrawOutlinedRect( 25 + posx + dist, 61 + posy + maxy, size, 16);
- local mx, my = self:GetPos();
- local bMouse = MouseInArea( mx + 25 + posx + dist, my + 61 + posy + maxy, mx + 25 + posx + dist + size, my + 61 + posy + maxy + 16)
- local check = dist..posy..posx..w..h..maxy;
- if(bMouse || notyetselected == check) then
- surface.DrawRect(25 + posx + dist + 2, 61 + posy + maxy + 2, size - 4, 12);
- end
- local tw, th = surface.GetTextSize(curopt);
- surface.SetTextPos( 25 + posx + dist + 5, 61 + posy + maxy + 6 - th / 2 + 2);
- surface.DrawText(curopt);
- if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !drawlast && !mousedown || notyetselected == check) then
- notyetselected = check;
- drawlast = function()
- local maxy2 = 16;
- for k,v in next, var[4] do
- surface.SetDrawColor(163, 163, 163);
- surface.DrawRect( 25 + posx + dist, 61 + posy + maxy + maxy2, size, 16);
- local bMouse2 = MouseInArea( mx + 25 + posx + dist, my + 61 + posy + maxy + maxy2, mx + 25 + posx + dist + size, my + 61 + posy + maxy + 16 + maxy2)
- if(bMouse2) then
- surface.SetDrawColor(200, 200, 200);
- surface.DrawRect( 25 + posx + dist, 61 + posy + maxy + maxy2, size, 16);
- end
- local tw, th = surface.GetTextSize(v);
- surface.SetTextPos( 25 + posx + dist + 5, 61 + posy + maxy + 6 - th / 2 + 2 + maxy2);
- surface.DrawText(v);
- maxy2 = maxy2 + 16;
- if(bMouse2 && input.IsMouseDown(MOUSE_LEFT) && !mousedown) then
- var[3] = v;
- notyetselected = nil;
- drawlast = nil;
- return;
- end
- end
- local bbMouse = MouseInArea( mx + 25 + posx + dist, my + 61 + posy + maxy, mx + 25 + posx + dist + size, my + 61 + posy + maxy + maxy2);
- if(!bbMouse && input.IsMouseDown(MOUSE_LEFT) && !mousedown) then
- notyetselected = nil;
- drawlast = nil;
- return;
- end
- end
- end
- end
- local function DrawSubSub(self, w, h, k, var)
- local opt, posx, posy, sizex, sizey, dist = var[1][1], var[1][2], var[1][3], var[1][4], var[1][5], var[1][6];
- surface.SetDrawColor(163, 163, 163);
- local startpos = 61 + posy;
- surface.SetTextColor(255, 255, 255);
- surface.SetFont("memeyou2");
- local tw, th = surface.GetTextSize(opt);
- surface.DrawLine( 5 + posx, startpos, 5 + posx + 15, startpos);
- surface.SetTextPos( 5 + posx + 15 + 5, startpos - th / 2 );
- surface.DrawLine( 5 + posx + 15 + 5 + tw + 5, startpos, 5 + posx + sizex, startpos);
- surface.DrawLine( 5 + posx, startpos, 5 + posx, startpos + sizey);
- surface.DrawLine(5 + posx, startpos + sizey, 5 + posx + sizex, startpos + sizey );
- surface.DrawLine( 5 + posx + sizex, startpos, 5 + posx + sizex, startpos + sizey);
- surface.DrawText(opt);
- local maxy = 15;
- for k,v in next, var do
- if(k == 1) then continue; end
- if(v[2] == "Checkbox") then
- DrawCheckbox(self, w, h, v, maxy, posx, posy, dist);
- elseif(v[2] == "Slider") then
- DrawSlider(self, w, h, v, maxy, posx, posy, dist);
- elseif(v[2] == "Selection") then
- DrawSelect(self, w, h, v, maxy, posx, posy, dist);
- end
- maxy = maxy + 25;
- end
- end
- local function DrawSub(self, w, h)
- for k, v in next, visible do
- if(!v) then continue; end
- for _, var in next, options[k] do
- DrawSubSub(self, w, h, k, var);
- end
- end
- end
- local function DrawSaveButton(self, w, h)
- local curcol = Color(60, 60, 60, 200);
- local mx, my = self:GetPos();
- local bMouse = MouseInArea(mx + 30, my + h - 50, mx + 30 + 200, my + h - 50 + 30);
- if(bMouse) then
- curcol = Color(65, 65, 65, 200);
- end
- for i = 0, 30 do
- surface.SetDrawColor(curcol);
- surface.DrawLine( 30, h - 50 + i, 30 + 200, h - 50 + i );
- for k,v in next, curcol do
- curcol[k] = curcol[k] - 0;
- end
- end
- surface.SetFont("memeyou2");
- surface.SetTextColor(255, 255, 255);
- local tw, th = surface.GetTextSize("Save Config");
- surface.SetTextPos( 30 + 100 - tw / 2, h - 50 + 15 - th / 2 );
- surface.DrawText("Save Config");
- if(bMouse && input.IsMouseDown(MOUSE_LEFT)) then
- saveconfig();
- end
- end
- local function DrawLoadButton(self, w, h)
- local curcol = Color(60, 60, 60, 200);
- local mx, my = self:GetPos();
- local bMouse = MouseInArea(mx + 250, my + h - 50, mx + 250 + 200, my + h - 50 + 30);
- if(bMouse) then
- curcol = Color(65, 65, 65, 200);
- end
- for i = 0, 30 do
- surface.SetDrawColor(curcol);
- surface.DrawLine( 250, h - 50 + i, 250 + 200, h - 50 + i );
- for k,v in next, curcol do
- curcol[k] = curcol[k] - 0;
- end
- end
- surface.SetFont("memeyou2");
- surface.SetTextColor(255, 255, 255);
- local tw, th = surface.GetTextSize("Load Config");
- surface.SetTextPos( 250 + 100 - tw / 2, h - 50 + 15 - th / 2 );
- surface.DrawText("Load Config");
- if(bMouse && input.IsMouseDown(MOUSE_LEFT)) then
- loadconfig();
- end
- end
- loadconfig();
- local insertdown2, insertdown, menuopen;
- local function menu()
- local frame = vgui.Create("DFrame");
- frame:SetSize(800, 600);
- frame:Center();
- frame:SetTitle("");
- frame:MakePopup();
- frame:ShowCloseButton(false);
- frame.Paint = function(self, w, h)
- if(candoslider && !mousedown && !drawlast && !input.IsMouseDown(MOUSE_LEFT)) then
- candoslider = false;
- end
- DrawBackground(w, h);
- DrawOptions(self, w, h);
- DrawSub(self, w, h);
- DrawSaveButton(self, w, h);
- DrawLoadButton(self, w, h);
- if(drawlast) then
- drawlast();
- candoslider = true;
- end
- mousedown = input.IsMouseDown(MOUSE_LEFT);
- end
- frame.Think = function()
- if (input.IsKeyDown(KEY_INSERT) && !insertdown2) then
- frame:Remove();
- menuopen = false;
- candoslider = false;
- drawlast = nil;
- end
- end
- end
- local function Think()
- if (input.IsKeyDown(KEY_INSERT) && !menuopen && !insertdown) then
- menuopen = true;
- insertdown = true;
- menu();
- elseif (!input.IsKeyDown(KEY_INSERT) && !menuopen) then
- insertdown = false;
- end
- if (input.IsKeyDown(KEY_INSERT) && insertdown && menuopen) then
- insertdown2 = true;
- else
- insertdown2 = false;
- end
- end
- hook.Add("Think", "", Think);
- --[[
- Actual codens
- ]]
- local FindMetaTable = FindMetaTable;
- local em = FindMetaTable"Entity";
- local pm = FindMetaTable"Player";
- local cm = FindMetaTable"CUserCmd";
- local wm = FindMetaTable"Weapon";
- local am = FindMetaTable"Angle";
- local vm = FindMetaTable"Vector";
- local Vector = Vector;
- local player = Copy(player);
- local Angle = Angle;
- local me = LocalPlayer();
- local render = Copy(render);
- local cma = Copy(cam);
- local Material = Material;
- local CreateMaterial = CreateMaterial;
- --[[
- esp
- ]]
- local function Filter(v)
- local enemy = gBool("Visuals", "Filter", "Enemies only");
- local dist = gBool("Visuals", "Filter", "Distance")
- if(enemy) then
- if(pm.Team(v) == pm.Team(me)) then return false; end
- end
- if(dist) then
- local maxdist = gBool("Visuals", "Filter", "Max Distance");
- if( vm.Distance( em.GetPos(v), em.GetPos(me) ) > (maxdist * 5) ) then return false; end
- end
- return true;
- end
- local chamsmat = CreateMaterial("a", "VertexLitGeneric", {
- ["$ignorez"] = 1,
- ["$model"] = 1,
- ["$basetexture"] = "models/debug/debugwhite",
- });
- local chamsmat2 = CreateMaterial("@", "vertexlitgeneric", {
- ["$ignorez"] = 0,
- ["$model"] = 1,
- ["$basetexture"] = "models/debug/debugwhite",
- });
- local function GetChamsColor(v, vis)
- local pre = "Chams - Enemy";
- if(pm.Team(v) == pm.Team(me)) then
- pre = "Chams - Team";
- end
- if(vis) then
- local r = gInt("Colors", pre, "Visible R") / 255;
- local g = gInt("Colors", pre, "Visible G") / 255;
- local b = gInt("Colors", pre, "Visible B") / 255;
- return r,g,b;
- end
- local r = gInt("Colors", pre, "Not Visible R") / 255;
- local g = gInt("Colors", pre, "Not Visible G") / 255;
- local b = gInt("Colors", pre, "Not Visible B") / 255;
- return r,g,b;
- end
- local function Chams(v)
- if(gBool("Visuals", "ESP", "XQZ")) then
- cam.Start3D();
- cam.IgnoreZ(true);
- em.DrawModel(v);
- cam.IgnoreZ(false);
- cam.End3D();
- end
- if(gBool("Visuals", "ESP", "Chams")) then
- cam.Start3D();
- render.MaterialOverride(chamsmat);
- render.SetColorModulation(GetChamsColor(v));
- em.DrawModel(v);
- render.SetColorModulation(GetChamsColor(v, true));
- render.MaterialOverride(chamsmat2);
- em.DrawModel(v);
- cam.End3D();
- end
- end
- local function GetColor(v)
- if(pm.Team(v) == pm.Team(me)) then
- local r = gInt("Colors", "Box - Team", "R");
- local g = gInt("Colors", "Box - Team", "G");
- local b = gInt("Colors", "Box - Team", "B");
- return(Color(r, g, b, 220));
- end
- local r = gInt("Colors", "Box - Enemy", "R");
- local g = gInt("Colors", "Box - Enemy", "G");
- local b = gInt("Colors", "Box - Enemy", "B");
- return(Color(r, g, b, 220));
- end
- local function ESP(v)
- local pos = em.GetPos(v);
- local pos, pos2 = vm.ToScreen(pos - Vector(0, 0, 5)), vm.ToScreen( pos + Vector(0, 0, 70 ) );
- local h = pos.y - pos2.y;
- local w = h / 2.2;
- if(gBool("Visuals", "ESP", "Box") && gOption("Visuals", "ESP", "Box Type") == "2D Box") then
- surface.SetDrawColor(GetColor(v));
- surface.DrawOutlinedRect( pos.x - w / 2, pos.y - h, w, h);
- surface.SetDrawColor(0, 0, 0, 220);
- surface.DrawOutlinedRect( pos.x - w / 2 - 1, pos.y - h - 1, w + 2, h + 2);
- surface.DrawOutlinedRect( pos.x - w / 2 + 1, pos.y - h + 1, w - 2, h - 2);
- end
- if(gBool("Visuals", "ESP", "Health")) then
- local hp = em.Health(v) * h / 100;
- if(hp > h) then hp = h; end
- local diff = h - hp;
- surface.SetDrawColor(0, 0, 0, 255);
- surface.DrawRect(pos.x - w / 2 - 5, pos.y - h - 1, 3, h + 2);
- surface.SetDrawColor( ( 100 - em.Health(v) ) * 2.55, em.Health(v) * 2.55, 0, 255);
- surface.DrawRect(pos.x - w / 2 - 4, pos.y - h + diff, 1, hp);
- end
- surface.SetFont("BudgetLabel");
- surface.SetTextColor(255, 255, 255);
- if(gBool("Visuals", "ESP", "Name")) then
- local tw, th = surface.GetTextSize(pm.Name(v));
- surface.SetTextPos( pos.x - tw / 2, pos.y - h + 2 - th );
- surface.DrawText(pm.Name(v));
- end
- if(gBool("Visuals", "ESP", "Weapon")) then
- local w = pm.GetActiveWeapon(v);
- if(w && em.IsValid(w)) then
- local tw, th = surface.GetTextSize(em.GetClass(w));
- surface.SetTextPos( pos.x - tw / 2, pos.y - th / 2 + 5 );
- surface.DrawText(em.GetClass(w));
- end
- end
- if(gBool("Visuals", "ESP", "Skeleton")) then
- local origin = em.GetPos(v);
- for i = 1, em.GetBoneCount(v) do
- local parent = em.GetBoneParent(v, i);
- if(!parent) then continue; end
- local bonepos, parentpos = em.GetBonePosition(v, i), em.GetBonePosition(v, parent);
- if(!bonepos || !parentpos || bonepos == origin) then continue; end
- local bs, ps = vm.ToScreen(bonepos), vm.ToScreen(parentpos);
- surface.SetDrawColor(255, 255, 255);
- surface.DrawLine(bs.x, bs.y, ps.x, ps.y);
- end
- end
- end
- local aimtarget;
- hook.Add("HUDPaint", "", function()
- if(aimtarget && gBool("casualbot", "Target", "Snapline")) then
- local pos = vm.ToScreen(em.LocalToWorld(aimtarget, em.OBBCenter(aimtarget)));
- surface.SetDrawColor(255, 255, 255);
- surface.DrawLine(ScrW() / 2, ScrH() / 2, pos.x, pos.y);
- end
- if(!gBool("Visuals", "ESP", "Enabled")) then return; end
- for k,v in next, player.GetAll() do
- if(!em.IsValid(v) || em.Health(v) < 1 || v == me || em.IsDormant(v)) then continue; end
- if(!Filter(v)) then continue; end
- ESP(v);
- end
- end);
- hook.Add("RenderScreenspaceEffects", "", function()
- if(!gBool("Visuals", "ESP", "Enabled")) then return; end
- for k,v in next, player.GetAll() do
- if(!em.IsValid(v) || em.Health(v) < 1 || v == me || em.IsDormant(v)) then continue; end
- if(!Filter(v)) then continue; end
- Chams(v);
- end
- end);
- saveconfig();
- --[[
- memes
- ]]
- local fa;
- local aa;
- local function FixMovement(ucmd, aaaaa)
- --local move = Vector(cm.GetForwardMove(ucmd), cm.GetSideMove(ucmd), 0);
- --local move = am.Forward( vm.Angle(move) + ( cm.GetViewAngles(ucmd) - fa ) ) * vm.Length(move);
- local move = Vector(cm.GetForwardMove(ucmd), cm.GetSideMove(ucmd), cm.GetUpMove(ucmd));
- local speed = math.sqrt(move.x * move.x + move.y * move.y);
- local ang = vm.Angle(move);
- local yaw = math.rad(cm.GetViewAngles(ucmd).y - fa.y + ang.y);
- cm.SetForwardMove(ucmd, (math.cos(yaw) * speed) * ( aaaaa && -1 || 1 ));
- cm.SetSideMove(ucmd, math.sin(yaw) * speed);
- --cm.SetForwardMove(ucmd, move.x);
- --cm.SetSideMove(ucmd, (aaaaa && move.y * -1 || move.y));
- end
- local function Clamp(val, min, max)
- if(val < min) then
- return min;
- elseif(val > max) then
- return max;
- end
- return val;
- end
- local function NormalizeAngle(ang)
- ang.x = math.NormalizeAngle(ang.x);
- ang.p = math.Clamp(ang.p, -89, 89);
- end
- --[[
- aimer
- ]]
- local table = Copy(table);
- local dists = {};
- local function GetPos(v)
- if(gBool("casualbot", "Target", "Bodyaim")) then return( em.LocalToWorld(v, em.OBBCenter(v)) ); end
- local eyes = em.LookupAttachment(v, "eyes");
- if(!eyes) then return( em.LocalToWorld(v, em.OBBCenter(v)) ); end
- local pos = em.GetAttachment(v, eyes);
- if(!pos) then return( em.LocalToWorld(v, em.OBBCenter(v)) ); end
- return(pos.Pos);
- end
- local aimignore;
- local function Valid(v)
- if(!v || !em.IsValid(v) || v == me || em.Health(v) < 1 || em.IsDormant(v) || pm.Team(v) == 1002 || (v == aimignore && gOption("casualbot", "Target", "Selection") == "Nextshot")) then return false; end
- if(gBool("casualbot", "Target", "Ignore Bots")) then
- if(pm.IsBot(v)) then return false; end
- end
- if(gBool("casualbot", "Target", "Ignore Team")) then
- if(pm.Team(v) == pm.Team(me)) then return false; end
- end
- if(gBool("casualbot", "Target", "Ignore Friends")) then
- if(pm.GetFriendStatus(v) == "friend") then return false; end
- end
- local tr = {
- start = em.EyePos(me),
- endpos = GetPos(v),
- mask = MASK_SHOT,
- filter = {me, v},
- };
- return(util.TraceLine(tr).Fraction == 1);
- end
- local function gettarget()
- local opt = gOption("casualbot", "Target", "Selection");
- local sticky = gOption("casualbot", "Aimbot", "Non-Sticky");
- if(opt == "Distance") then
- if( !sticky && Valid(aimtarget) ) then return; end
- dists = {};
- for k,v in next, player.GetAll() do
- if(!Valid(v)) then continue; end
- dists[#dists + 1] = { vm.Distance( em.GetPos(v), em.GetPos(me) ), v };
- end
- table.sort(dists, function(a, b)
- return(a[1] < b[1]);
- end);
- aimtarget = dists[1] && dists[1][2] || nil;
- elseif(opt == "Health") then
- if( !sticky && Valid(aimtarget) ) then return; end
- dists = {};
- for k,v in next, player.GetAll() do
- if(!Valid(v)) then continue; end
- dists[#dists + 1] = { em.Health(v), v };
- end
- table.sort(dists, function(a, b)
- return(a[1] < b[1]);
- end);
- aimtarget = dists[1] && dists[1][2] || nil;
- elseif(opt == "Nextshot") then
- if( !sticky && Valid(aimtarget) ) then return; end
- aimtarget = nil;
- local allplys = player.GetAll();
- local avaib = {};
- for k,v in next,allplys do
- avaib[math.random(100)] = v;
- end
- for k,v in next, avaib do
- if(Valid(v)) then
- aimtarget = v;
- end
- end
- end
- end
- local cones = {};
- local pcall = pcall;
- local require = require;
- local nullvec = Vector() * -1;
- local IsFirstTimePredicted = IsFirstTimePredicted;
- local CurTime = CurTime;
- local servertime=0;
- local bit = Copy(bit);
- hook.Add("Move", "", function()
- if(!IsFirstTimePredicted()) then return; end
- servertime = CurTime();
- end);
- GAMEMODE["EntityFireBullets"] = function(self, p, data)
- aimignore = aimtarget;
- local w = pm.GetActiveWeapon(me);
- local Spread = data.Spread * -1;
- if(!w || !em.IsValid(w) || cones[em.GetClass(w)] == Spread || Spread == nullvec) then return; end
- cones[em.GetClass(w)] = Spread;
- end
- local function PredictSpread(ucmd, ang)
- local w = pm.GetActiveWeapon(me);
- if(!w || !em.IsValid(w) || !cones[em.GetClass(w)] || !gBool("casualbot", "Accuracy", "Anti Spread")) then return am.Forward(ang); end
- return(dickwrap.Predict(ucmd, am.Forward(ang), cones[em.GetClass(w)]));
- end
- local function Autofire(ucmd)
- if(pm.KeyDown(me, 1) && gBool("casualbot", "Aimbot", "Auto Pistol")) then
- cm.SetButtons(ucmd, bit.band( cm.GetButtons(ucmd), bit.bnot( 1 ) ) );
- else
- cm.SetButtons(ucmd, bit.bor( cm.GetButtons(ucmd), 1 ) );
- end
- end
- local function WeaponCanFire()
- local w = pm.GetActiveWeapon(me);
- if(!w || !em.IsValid(w) || !gBool("casualbot", "Aimbot", "Bullettime")) then return true; end
- return( servertime >= wm.GetNextPrimaryFire(w) );
- end
- local function WeaponShootable()
- local wep = pm.GetActiveWeapon(me);
- if( em.IsValid(wep) ) then // I would never get lazy..
- local n = string.lower(wep:GetPrintName())
- if( wep:Clip1() <= 0 ) then
- return false;
- end
- if( string.find(n,"knife") or string.find(n,"grenade") or string.find(n,"sword") or string.find(n,"bomb") or string.find(n,"ied") or string.find(n,"c4") or string.find(n,"slam") or string.find(n,"climb") or string.find(n,"hand") or string.find(n,"fist") ) then
- return false;
- end
- return true;
- end
- end
- local function PredictPos(pos)
- local myvel = LocalPlayer():GetVelocity()
- local pos = pos - (myvel * engine.TickInterval());
- return pos;
- end
- local function aimer(ucmd)
- if(cm.CommandNumber(ucmd) == 0 || !gBool("casualbot", "Aimbot", "Enabled")) then return; end
- gettarget();
- aa = false;
- if(aimtarget && (input.IsKeyDown(KEY_LALT) || gBool("casualbot", "Aimbot", "Autosnap")) ) then
- aa = true;
- local pos = GetPos(aimtarget) - em.EyePos(me);
- PredictPos(pos);
- local ang = vm.Angle( PredictSpread(ucmd, vm.Angle(pos)));
- NormalizeAngle(ang);
- cm.SetViewAngles(ucmd, ang);
- if(gBool("casualbot", "Aimbot", "Autofire")) then
- Autofire(ucmd);
- end
- if(gBool("casualbot", "Aimbot", "Silent")) or defcon.Settings["silent"] then
- FixMovement(ucmd);
- else
- fa = ang;
- end
- end
- end
- --[[
- local function test12 (ucmd)
- 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)
- ply: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
- ply:SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
- end
- end
- end
- end
- end
- end
- end
- end
- --]]
- --antiaimer
- local ox=-181;
- local oy=0;
- local function RandCoin()
- local randcoin = math.random(0,1);
- if(randcoin == 1) then return 1; else return -1; end
- end
- local function GetX()
- local opt = gOption("casualbot", "Anti-Aim", "X");
- if(opt == "Emotion") then
- local randcoin = gInt("casualbot", "Anti-Aim", "Emotion Randomcoin X");
- if( math.random(100) < randcoin ) then
- ox = RandCoin() * 181;
- end
- elseif( opt == "Up" ) then
- ox = -181;
- elseif( opt == "Down" ) then
- ox = 181;
- elseif(opt == "Jitter") then
- ox = ox * -1;
- end
- end
- local function GetClosest()
- local ddists = {};
- local closest;
- for k,v in next, player.GetAll() do
- if(!Valid(v)) then continue; end
- ddists[#ddists + 1] = { vm.Distance( em.GetPos(v), em.GetPos(me) ), v };
- end
- table.sort(ddists, function(a, b)
- return(a[1] < b[1]);
- end);
- closest = ddists[1] && ddists[1][2] || nil;
- if(!closest) then return fa.y; end
- local pos = em.GetPos(closest);
- local pos = vm.Angle(pos - em.EyePos(me));
- return( pos.y );
- end
- local function GetY()
- local opt = gOption("casualbot", "Anti-Aim", "Y");
- if(opt == "Emotion") then
- local randcoin = gInt("casualbot", "Anti-Aim", "Emotion Randomcoin Y");
- if( math.random(100) < randcoin ) then
- oy = fa.y + math.random(-180, 180);
- end
- elseif( opt == "Eye Angles" ) then
- oy = fa.y;
- elseif( opt == "Sideways" ) then
- oy = fa.y - 90;
- elseif(opt == "Jitter") then
- oy = fa.y + math.random(-90, 90);
- elseif(opt == "TJitter") then
- oy = fa.y - 180 + math.random(-90, 90);
- elseif(opt == "Static") then
- oy = 0;
- elseif(opt == "Forward") then
- oy = fa.y;
- elseif(opt == "Backwards") then
- oy = fa.y - 180;
- elseif(opt == "Towards Players") then
- oy = GetClosest();
- end
- end
- local function walldetect()
- local eye = em.EyePos(me);
- local tr = util.TraceLine({
- start = eye,
- endpos = (eye + (am.Forward(fa) * 10)),
- mask = MASK_ALL,
- });
- if(tr.Hit) then
- ox = -181;
- oy = -90;
- end
- end
- local function antiaimer(ucmd)
- if( (cm.CommandNumber(ucmd) == 0 && !gBool("Visuals", "Misc", "Thirdperson")) || cm.KeyDown(ucmd, 1) || cm.KeyDown(ucmd, 32) || aa || !gBool("casualbot", "Anti-Aim", "Enabled")) then return; end
- GetX();
- GetY();
- walldetect();
- local aaang = Angle(ox, oy, 0);
- cm.SetViewAngles(ucmd, aaang);
- FixMovement(ucmd, true);
- end
- local function GetAngle(ang)
- if(!gBool("casualbot", "Accuracy", "Anti Recoil")) then return ang + pm.GetPunchAngle(me); end
- return ang;
- end
- local function rapidfire(ucmd)
- if(pm.KeyDown(me, 1) && gBool("casualbot", "Aimbot", "Auto Pistol")) then
- cm.SetButtons(ucmd, bit.band( cm.GetButtons(ucmd), bit.bnot( 1 ) ) );
- end
- end
- local function meme(ucmd)
- if(!fa) then fa = cm.GetViewAngles(ucmd); end
- fa = fa + Angle(cm.GetMouseY(ucmd) * .023, cm.GetMouseX(ucmd) * -.023, 0);
- NormalizeAngle(fa);
- if(cm.CommandNumber(ucmd) == 0) then
- cm.SetViewAngles(ucmd, GetAngle(fa));
- return;
- end
- if(cm.KeyDown(ucmd, 1)) then
- local ang = GetAngle(vm.Angle( PredictSpread(ucmd, fa ) ) );
- NormalizeAngle(ang);
- cm.SetViewAngles(ucmd, ang);
- end
- if(cm.KeyDown(ucmd, 2) && !em.IsOnGround(me)) then
- cm.SetButtons(ucmd, bit.band( cm.GetButtons(ucmd), bit.bnot( 2 ) ) );
- end
- end
- hook.Add("CreateMove", "", function(ucmd)
- meme(ucmd);
- aimer(ucmd);
- antiaimer(ucmd);
- end);
- hook.Add("CalcView", "", function(p, o, a, f)
- return({
- angles = GetAngle(fa),
- origin = (gBool("Visuals", "Misc", "Thirdperson") && o + am.Forward(fa) * -150 || o),
- fov = f,
- });
- end);
- hook.Add("ShouldDrawLocalPlayer", "", function()
- return(gBool("Visuals", "Misc", "Thirdperson"));
- end);
- --gutted leftovers that for some reason make the freecam work again (idk why)
- hook.Add("CalcView", "", function( p, o, a, f)
- end);
- --everything below is disabled lol
- /*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, Verrock,
- Thrice, A5, Ted and Quak
- Created by the Madbluntz.rs team for internal use during raids.
- Released and developed publically to encourage both new people to join and to create the best public lua cheat imaginable.
- Free to distribute and modify in any way.
- "Shitcheat: free forever, always."
- --]]
RAW Paste Data