daily pastebin goal
14%
SHARE
TWEET

Shitcheat 4.6

Caliber_ Aug 7th, 2017 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local defcon = { Menu = { t = {}; b = {}; c = 0}; Alive = {};}
  2. defcon.Normal           = {
  3.     aimbot                  = true;
  4.     aimbot_fov              = 5;
  5.     aimbot_friendly_fire    = true;
  6.     triggerbot              = false;
  7.     silent                  = false;
  8.    
  9.     esp_player              = true;
  10.     esp_player_dist         = 16000;
  11.     esp_player_showdist     = true;
  12.     esp_player_name         = true;
  13.     esp_player_rank         = true;
  14.     esp_player_health       = true;
  15.     esp_player_armor        = true;
  16.     esp_player_glow         = true;
  17.     boxESP                  = false;
  18.     chams                   = false;
  19.    
  20.     esp_entity              = true;
  21.     esp_entity_dist         = 16000;
  22.     propchams               = false;
  23.    
  24.     flashlight_spam         = false;
  25.    
  26.     darkrp_money            = false;
  27.     darkrp_god              = false;
  28.    
  29.     ttt_deathnotifs         = true;
  30.     bhop_bhop               = true;
  31.     crosshair               = false;
  32.     velocity                = false;
  33.     chatspam1               = false;
  34.     chatspam2               = false;
  35.     lasereyes               = false;
  36.    
  37.     freecam_below           = false;
  38.     freecam_below2          = false;
  39.     freecam_below3          = false;
  40.     freecam_above           = false;
  41.     freecam_above2          = false;
  42.     freecam_above3          = false;
  43.     freecam_side            = false;
  44.     freecam_side2           = false;
  45.     freecam_side3           = false;
  46.     cl_noclip               = false;
  47.    
  48.     pickupinradius          = false;
  49.     dupeinradius            = false;
  50. }
  51. defcon.Settings         = (file.Exists("d_settings.txt", "DATA") and util.JSONToTable(file.Read("d_settings.txt", "DATA"))) or defcon.Normal
  52. defcon.Entities         = (file.Exists("d_entities.txt", "DATA") and util.JSONToTable(file.Read("d_entities.txt", "DATA"))) or {}
  53. defcon.Whitelist        = (file.Exists("d_whitelist.txt", "DATA") and util.JSONToTable(file.Read("d_whitelist.txt", "DATA"))) or {}
  54. defcon.AimKey           = (file.Exists("d_aimkey.txt", "DATA") and tonumber(file.Read("d_aimkey.txt", "DATA"))) or KEY_LALT
  55.  
  56. --colors
  57.  
  58. red = Color(255,0,0,255);
  59. black = Color(0,0,0,255);
  60. green = Color(0,255,0,255);
  61. white = Color(255,255,255,255);
  62. blue = Color(0,0,255,255);
  63. cyan = Color(0,255,255,255);
  64. pink = Color(255,0,255,255);
  65. blue = Color(0,0,255,255);
  66. grey = Color(100,100,100,255);
  67. gold = Color(255,228,0,255);
  68. lightblue = Color(155,205,248);
  69. lightgreen = Color(174,255,0);
  70. iceblue = Color(116,187,251,255);
  71. orange = Color(255,165,0,255);
  72. brown = Color(112, 89, 50, 255);
  73. sc = Color(43, 128, 226, 255);
  74. sc2 = Color(43,140,226, 255);
  75.  
  76. --print shit
  77.  
  78. chat.AddText("")
  79. chat.AddText( sc2, "[Shitcheat] ", white, "Hack activated.")
  80. chat.AddText( sc2, "[Shitcheat] ", white, "To open the menu, press TAB and Q at the same time.")
  81. chat.AddText( sc2, "[Shitcheat] ", white, "The middle mouse button activates the triggerbot. ")
  82. chat.AddText( sc2, "[Shitcheat] ", white, "Left alt activates the aimbot.")
  83.  
  84. --menu display messages
  85.  
  86. defcon.Phrases          = {
  87.     "niggerniggerniggernigger";
  88.     "bob good is not so good";
  89.     "sheo is a kike";
  90.     "new shitcheat";
  91.     "better than snixzz!";
  92.     "100x better than snixzz";
  93.     "i hate niggers";
  94.     "suck my dick";
  95.     "donul trump";
  96.     "remove kebab";
  97.     "remember, no russian";
  98.     "'skiddie shit'";
  99.     "dirt shit nigger";
  100.     "how about you try spending a year of your life making a cheat";
  101.     "Made by the Madbluntz.rs Team";
  102.     "we need to nuke japan again";
  103.     "now with freecam";
  104.     "go fast eat ass";
  105.     "[OOC]Johnny Nutmegg: you fucking suck dick bro";
  106.     "the fuck are you looking at";
  107.     "fucking eat shit kid";
  108.     "commies go home";
  109.     "tito is a dirty nigger";
  110.     "now with more dongs";
  111.     "north virginia battle falag isnt the confed flag";
  112.     "free forever, always.";
  113.     "the KKK is dead stop crying about it";
  114.     "back to africa";
  115.     "if you voted for hillary delete system32";
  116.     "[LOOC]poop: hi";
  117.     "gulag";
  118.     "halgualuhglugaluaglhuaglhuaglhu";
  119.     "over 1000 lines of bullshit";
  120.     "remember to enable ESP";
  121.     "skype is shit";
  122.     "bent dick";
  123.     "nigger";
  124.     "minecraft used to be good";
  125.     "lets go back to 2011";
  126.     "not an argument";
  127.     "better than niggermenu";
  128.     "still using lua";
  129.     "better than gearmenu";
  130.     "personalized";
  131.     "who wants a free mbam key";
  132.     "remember kids, dont advertise.";
  133.     "madbluntz.rs - home of shitcheat";
  134.     "where my new england homies at";
  135.     "JSY3050PA";
  136.     "cuck";
  137.     "free gift card giveaway";
  138.     "exploding capacitors";
  139.     "Team AVO deserves ice cream";
  140.     "made with notepad++";
  141.     "made on microshit windon't 8.1";
  142.     "Pravi srpski ratni heroj";
  143.     "kosovo je srbija";
  144.     "REMOV KEBAB";
  145.     "i hear sadness";
  146.     "this isn't the final version, trust me.";
  147.     "there's more where that came from";
  148.     "remember; no russian";
  149.     "whoops";
  150.     "how many of these fucking things do you have";
  151.     "jesus christ";
  152.     "one side";
  153.     "down with fascists";
  154.     "good night alt right";
  155.     "trump isn't a fascist you fucking retards";
  156.     "hitler only killed 12 million stfu";
  157.     "if you advertize a discord server i'll ddos u";
  158.     "don't forget to credit the people u steal hacks from";
  159.     "AUFHIFUWEHFUWAHFULFUWAHIFAWHIFUWHLFIUAWHFIUAWHFILWUHWAFHWILUFHWALIUFHWIUFHWAIUFHWUFHWLIFUHWIUFWHUIHFW";
  160.     "dirty fucking NIGGERS";
  161.     "spear chuckers get out of my country";
  162.     "hi";
  163.     "if you see this message, tell calb";
  164.     "BIG FUCK, TELL TONY";
  165.     "cucked ape";
  166.     "rust sucks";
  167.     "garry newman more like garry jewman";
  168.     "cum-guzzling faggots";
  169.     "dongs";
  170.     "official website: www.madbluntz.rs";
  171.     "listen to my music @ caliberr.bandcamp.com";
  172.     "discord.gg/nigger";
  173.     "furries will die from brain tumors";
  174.     "space left blank intentionally";
  175.     "whoa, dude";
  176.     "As seen on TV";
  177.     "BACK UP THE CLEAN DATA AND DISINFECT THE DEAD";
  178.     "Awesome";
  179.     "100% pure";
  180.     "May contain nuts";
  181.     "Better than Prey";
  182.     "More polygons";
  183.     "Sexy";
  184.     "THERE'S A LIGHT AT THE END OF THE TUNNEL, ALWAYS. A CLICHÉ HOPE TO DRIVE YOU TO ENDURE ANOTHER DAY";
  185.     "Limited edition";
  186.     "Flashing letters";
  187.     "It's here";
  188.     "Best in class";
  189.     "It's finished";
  190.     "Kind of dragon free";
  191.     "Excrement";
  192.     "More than 500 sold";
  193.     "One of a kind";
  194.     "Heaps of hits on YouTube";
  195.     "Indev";
  196.     "Spiders everywhere";
  197.     "Check it out";
  198.     "Holy cow, man";
  199.     "It's a game";
  200.     "Made in Sweden";
  201.     "Uses LWJGL";
  202.     "Reticulating splines";
  203.     "Singleplayer";
  204.     "Keyboard compatible";
  205.     "Undocumented";
  206.     "Ingots";
  207.     "That's no moon";
  208.     "l33t";
  209.     "Exclusive";
  210.     "The bee's knee";
  211.     "Down with O.P.P.";
  212.     "Closed source";
  213.     "Classy";
  214.     "Wow";
  215.     "Not on steam";
  216.     "Oh man";
  217.     "Awesome community";
  218.     "Pixels";
  219.     "Teetsuuuuoooo";
  220.     "Kaaneeeedaaaa";
  221.     "Now with difficulty";
  222.     "Enhanced";
  223.     "90% bug free";
  224.     "Pretty";
  225.     "We shoot the sick, the young, the lame,";
  226.     "We do our best to kill and maim,";
  227.     "Because the kills all count the same,";
  228.     "Flying low across the trees,";
  229.     "Pilots doing what they please,";
  230.     "Dropping frags on refugees,";
  231.     "It made us feel so good inside,";
  232.     "When the strongmen left and the women cried,";
  233.     "we decompose when we're buried ";
  234.     "we break apart when least ready ";
  235.     "we both know misery";
  236.     "But what we really like is the children fried,";
  237.     "See that family over there,";
  238.     "Watch me get them with a pear,";
  239.     "Blood and guts just everywhere,";
  240.     "set me free ";
  241.     "show me what it means to be ";
  242.     "alive and moving on ";
  243.     "i'll show you what it's like to be ";
  244.     "here when i'm gone";
  245.     "CIA with guns for hire,";
  246.     "Montagnards around a fire,";
  247.     "don't worry ";
  248.     "it's nothing much ";
  249.     "no trouble at all ";
  250.     "if it doesn't make sense ";
  251.     "let me take the fall ";
  252.     "i'll always be the one ";
  253.     "afraid to let you down ";
  254.     "inquire and ask away ";
  255.     "so i don't lead you around ";
  256.     "don't worry if it doesn't make sense ";
  257.     "i should know better after all";
  258.     "Napalm makes the fire higher,";
  259.     "Children sucking on a mother's tit,";
  260.     "gooks down in a sifty pit,";
  261.     "Dow Chemical doesn't give a shit,";
  262.     "Attack some kids when you go downtown,";
  263.     "surfing supported shattered starshine ";
  264.     "so you're back from space ";
  265.     "you got a look on your face ";
  266.     "like you saw something great ";
  267.     "well i'm back from space too ";
  268.     "and i found something new ";
  269.     "but my story's gotta wait";
  270.     "it doesn't matter what i've done ";
  271.     "if you're gonna step on my shoudlers ";
  272.     "to act like the taller one ";
  273.     "something is showing through the cracks ";
  274.     "in your skin ";
  275.     "i thought you were a humanoid ";
  276.     "like me a humanoid ";
  277.     "i rode so many cosmic rays ";
  278.     "i ruled so many galactic days ";
  279.     "i wanna say i've overcome ";
  280.     "all of the problems that i faced ";
  281.     "and i've still got spare energy ";
  282.     "so you know the next time you're around ";
  283.     "you're gonna have to deal with my universal sound ";
  284.     "blasting through like mothafuckin' starlight";
  285.     "dust drifting directionless divine ";
  286.     "screaming sidelining supernovas ";
  287.     "colliding colossi cracked coronas ";
  288.     "you accrued new dues ";
  289.     "to eschew the slew in view ";
  290.     "your queue grew ";
  291.     "the few in queue were due ";
  292.     "you were through and flew";
  293.     "By throwing some candy on the ground,";
  294.     "Then grease them when they gather 'round,";
  295.     "hey ";
  296.     "it's a hot one today ";
  297.     "it's a hot day ";
  298.     "but i bet it's hotter for you ";
  299.     "you stupid patronizing fool ";
  300.     "i bet you think you're fuckin' cool ";
  301.     "you've got some new people to school ";
  302.     "on your stupid damn rules ";
  303.     "we're sick of hearing tales of you taking a stand ";
  304.     "blasphemers burned to the bones if they would not recant ";
  305.     "we're tired of hearing fables of how you're so stuck ";
  306.     "this shit will roll off us if we have any luck ";
  307.     "nd do you know what we have? ";
  308.     "we have luck ";
  309.     "you pave a road, you carve a path, you blaze a trail ";
  310.     "but you look like a stupid dog chasing its tail ";
  311.     "convincing others that it's lots of fun ";
  312.     "a grave mistake within the words you've spun ";
  313.     "hey ";
  314.     "it's a cold one today ";
  315.     "it's a cold day ";
  316.     "but i bet it's colder for you ";
  317.     "you stupid patronizing fool ";
  318.     "i bet you think you're fuckin' cool ";
  319.     "you've got some new people to school ";
  320.     "on your stupid damn rules ";
  321.     "we're sick of hearing tales of you taking a stand ";
  322.     "blasphemers burned to the bones if they would not recant ";
  323.     "we're tired of hearing fables of how you're so stuck ";
  324.     "this shit will roll off us if we have any luck ";
  325.     "and most of all above everything ";
  326.     "we will always have luck";
  327.     "A squad of Cong in the grass,";
  328.     "But all the fighting's long since passed,";
  329.     "Crispy critters in a mass,";
  330.     "i think a thousand years have passed ";
  331.     "while wondering how long i'll last ";
  332.     "and it turns out time flies ";
  333.     "i feel the earth has spun ";
  334.     "a million turns around the sun ";
  335.     "and it turns out time flies ";
  336.     "the best decision that i've made ";
  337.     "is living in the moment ";
  338.     "and not expanding ";
  339.     "the infinite points of past and future ";
  340.     "into some kind of quale ";
  341.     "ever commanding";
  342.     "LOH's out to have a blast,";
  343.     "Drop some peon kids en masse,";
  344.     "Send the remains to the chief of staff,";
  345.     "Oxcarts rolling down the road,";
  346.     "Peasants with a heavy load,";
  347.     "They're all VC when the bombs explode,";
  348.     "i will soak myself in the rain ";
  349.     "until i'm reflective ";
  350.     "and i'll sprawl out underneath you ";
  351.     "and get your feet wet ";
  352.     "you'll absorb me through your shoes ";
  353.     "until your legs are heavy ";
  354.     "i'll make your journey that much longer ";
  355.     "when you're not ready ";
  356.     "Shooting women's lots of fun,";
  357.     "try killing one thats pregnant son,";
  358.     "You'll get two for the price of one,";
  359.     "Napalm sticks to kids.";
  360.     "Flying low and feeling mean,";
  361.     "see that family by the stream,";
  362.     "Drop some napalm n hear them scream,";
  363.     "See that gook on his knees,";
  364.     "Lost some flechettes in the breeze,";
  365.     "Find his arms nailed to the trees,";
  366.     "NVA are all hardcore,";
  367.     "Flechettes nail them to the jungle floor,";
  368.     "Throw them PSYOPS out the door,";
  369.     "18 kids in a no-fire zone,";
  370.     "Books under arms and going home,";
  371.     "Last in line goes home alone,";
  372.     "Chucks in a sampan sitting in the stern,";
  373.     "But he don't think his boat'll burn,";
  374.     "Them fucking gooks will never learn,";
  375.     "See the little kids jump and shout,";
  376.     "Drop some nape and without a doubt,";
  377.     "Watch them try and put it out,";
  378.     "I've been around, Some things I've seen,";
  379.     "But the people who are mighty mean,";
  380.     "The gooks you kill, they make you clean,";
  381.     "I've only seen it happen twice,";
  382.     "But both times, it was mighty nice,";
  383.     "Shooting peasants planting rice,";
  384.     "Napalm, son, is lots of fun,";
  385.     "Dropped from a bomb or shot from a gun,";
  386.     "It gets the gooks when they're on the run,";
  387.     "Some people say its not so neat ,";
  388.     "to watch gooks burning in the street,";
  389.     "but burning flesh smells mighty neat,";
  390.     "Gooks in the open, making hay,";
  391.     "But I can hear those gunships say,;"
  392.     "'They'll be no Chieu Hois today',";
  393.     "Shoot civilians where the sit.";
  394.     "Take some pictures as you split.";
  395.     "All your life, you'll remember it.";
  396.     "They'se in good shape for the shape they'se in,";
  397.     "But they'se no way that they can win,";
  398.     "With Napalm rolling down their skin,";
  399.     "Napalm sticks to kids.";
  400.     "12 herbs and spices";
  401.     "Fat free";
  402.     "Absolutely no memes";
  403.     "Free dental";
  404.     "Ask your doctor";
  405.     "Minors not welcome";
  406.     "Cloud computing";
  407.     "Legal in Finland";
  408.     "Hard to label";
  409.     "Technically good";
  410.     "Bringing home the bacon";
  411.     "Indie";
  412.     "GOTY";
  413.     "Ceci n'est pas une cheat menu";
  414.     "Euclidian";
  415.     "Now in 2D";
  416.     "Inspirational";
  417.     "Herregud";
  418.     "deuce: N E V E R  F O R G E T MY COCK";
  419.     "sponsored by lootcrate and trunkclub and shithead and shinebox";
  420.     "Complex cellular automata";
  421.     "NO SIR";
  422.     "Played by cowboys";
  423.     "OpenGL 2.1 (if supported)";
  424.     "tens of colors";
  425.     "Try it";
  426.     "Age of empires is better";
  427.     "Try the mushroom sjw";
  428.     "Sensational";
  429.     "Hot tamale, hot hot tamale";
  430.     "Play him off, fuckhead";
  431.     "pants: P - THE PEE TAPES ARE REAL";
  432.     "Guaranteed";
  433.     "spigot: [WARNING: THIS STORY CONTAINS SPOILERS FOR UNIVERSAL AND ILLUMINATION ENTERTAINMENT'S DESPICABLE ME 3.]";
  434.     "Macroscopic";
  435.     "Bring it on";
  436.     "Random splash";
  437.     "pants: SIGHS, GETS OUT WALLET";
  438.     "Call your mother";
  439.     "Monster infighting";
  440.     "Loved by millions";
  441.     "pants: MMMM YEAH OOOH BOY";
  442.     "Ultimate edition";
  443.     "Freaky";
  444.     "PRESS INSERT TO OPEN sekrit MENU";
  445.     "You've got a brand new key";
  446.     "not water proof";
  447.     "Uninflammable";
  448.     "Whoa, dude";
  449.     "All inclusive";
  450.     "pants: LET ME GET YOU A DRINK WITH ABSOLUTELY NO ROOFIES IN IT";
  451.     "Tell your friends";
  452.     "NP is not in P";
  453.     "Livestreamed";
  454.     "Haunted";
  455.     "Polynomial";
  456.     "Terrestrial";
  457.     "All is full of ERP";
  458.     "Full of stars";
  459.     "Scientific";
  460.     "Not as cool as Spock";
  461.     "Collaborate and listen";
  462.     "Never fuck up";
  463.     "Take frequent breaks";
  464.     "Not linear";
  465.     "Han shot first";
  466.     "Nice to meet you";
  467.     "Buckets of lava";
  468.     "Ride the pig";
  469.     "Larger than Earth";
  470.     "sqrt(-1) love you";
  471.     "spigot: GOD SAID IT / I SUCKED ON IT / THAT SETTLES IT";
  472.     "Phobos anomaly";
  473.     "toggle your frog";
  474.     "getting wood";
  475.     "Falling off cliffs";
  476.     "14% sugar";
  477.     "150% hyperbole";
  478.     "Synecdoche";
  479.     "Let's punc";
  480.     "Seecret Friday update";
  481.     "Reference implementation";
  482.     "PRESS INSERT 2 open secret bitch";
  483.     "Lewd with two dudes with food";
  484.     "Kiss the sky";
  485.     "20 GOTO 10";
  486.     "pants: T DEUCE MY BONER CRASHED INTO THE SEA";
  487.     "frog toggler";
  488.     "Verlet intregration";
  489.     "bad boy teenager club";
  490.     "shoe stealer";
  491.     "Peter Griffin";
  492.     "Do not distribute";
  493.     "Cogito ergo sum";
  494.     "boneless pizza machine broke";
  495.     "44 lines of code";
  496.     "A skeleton popped out";
  497.     "The Work of nutmegg";
  498.     "The sum of its parts";
  499.     "BTAF used to be good";
  500.     "spigot: WHOA HOLY GOD SHIT FALLING";
  501.     "I miss ADOM";
  502.     "you tell me when to be afraid ";
  503.     "so i know when to turn away ";
  504.     "i will be yours to lead astray ";
  505.     "my independence will decay ";
  506.     "we teach each other how to fear ";
  507.     "when insecure we disappear ";
  508.     "a peace we've been deprived of ";
  509.     "never taught each other how to ";
  510.     "i keep my eyes out for hurt ";
  511.     "and ways that i could subvert ";
  512.     "trained into a state of high alert ";
  513.     "my vision was yours to pervert ";
  514.     "we teach each other how to fear ";
  515.     "when insecure we disappear ";
  516.     "a peace we've been deprived of ";
  517.     "never taught each other how to ";
  518.     "love";
  519.     "umop-apisdn";
  520.     "deuce: CAN WE TALK BALLS?";
  521.     "bung: MOM!";
  522.     "deuce: THAT IS NOT AN ANSWER";
  523.     "OICU812";
  524.     "Bring me Ray Cokes";
  525.     "Finger-licking";
  526.     "spigot: PASSWORD STRENGTH: LIMP";
  527.     "dick-licking";
  528.     "cock-nobbling";
  529.     "absolutely fucking cancerous";
  530.     "101% communism free";
  531.     "sucking, fucking";
  532.     "teachin', preachin'";
  533.     "now supports деад ниггерс";
  534.     "Thematic";
  535.     "back from sending a little part of me away ";
  536.     "admiring shapes beneath me ";
  537.     "caught my eye glowing brightly from a distance ";
  538.     "what on earth could that be ";
  539.     "do you call yourself stronger ";
  540.     "when you avoid it altogether ";
  541.     "just hold out a little longer ";
  542.     "and overcome the destroyer ";
  543.     "you're on the right track ";
  544.     "so rock on ";
  545.     "and we won't turn back ";
  546.     "it was you and we shared a silent moment ";
  547.     "and i crossed the bridge on my way back home and ";
  548.     "now i'll never know you ";
  549.     "right now i barely know a thing ";
  550.     "do you call yourself stronger ";
  551.     "when you avoid it altogether ";
  552.     "just hold out a little longer ";
  553.     "and overcome the destroyer ";
  554.     "you're on the right track ";
  555.     "and we won't turn back ";
  556.     "Pneumatic";
  557.     "Prismatic";
  558.     "Sublime";
  559.     "Octagonal";
  560.     "Une baguette";
  561.     "pants: I'LL LIVE ON YOUR DESKTOP FOREVER";
  562.     "Gargamel uses it";
  563.     "smurfs r gay";
  564.     "7 day cooldown machine";
  565.     "Rita is the new top dog";
  566.     "SWM forever";
  567.     "Representing Edsbyn";
  568.     "Matt Damon";
  569.     "Supercalifragilisticexpialidocious";
  570.     "Consummate V's";
  571.     "Cow Tools";
  572.     "Double buffered";
  573.     "Fan fiction";
  574.     "Flaxkikare";
  575.     "Jason Jason Jason";
  576.     "Hotter than the sun";
  577.     "Internet enabled";
  578.     "Autonomous";
  579.     "Engage";
  580.     "Fantasy";
  581.     "DRR DRR DRR";
  582.     "Kick it root down";
  583.     "Google anlyticsed";
  584.     "Now supports åäö";
  585.     "some kind of dysphoria ";
  586.     "22 05 88 09 04 90 AC 09 ";
  587.     "some kind of desire to sleep";
  588.     "Give us Gordon";
  589.     "Tip your waiter";
  590.     "Very fun";
  591.     "12345 is a bad password";
  592.     "Vote for net neutrality";
  593.     "Lives in a pineapple under the sea";
  594.     "in distress, feeling stressed ";
  595.     "reassuring ";
  596.     "the stairs are a hassle ";
  597.     "i feel unable ";
  598.     "a shepherd's scale ";
  599.     "where the notes are played with sounds of yelling ";
  600.     "at the rain ";
  601.     "and i will grow";
  602.     "MAP11 has two names";
  603.     "Omnipotent";
  604.     "Gasp";
  605.     "...";
  606.     "Bees, bees, bees, bees";
  607.     "Jag känner en bot";
  608.     "Haha, LOL";
  609.     "Menger sponge";
  610.     "idspispopd";
  611.     "but the day could be dark ";
  612.     "and the day could be bleak ";
  613.     "but i'll have done it all ";
  614.     "i have done it all";
  615.     "Eple (original edit)";
  616.     "So fresh, so clean";
  617.     "Slow acting portals";
  618.     "Don't look directly at the bugs";
  619.     "Finally without NIGGERS";
  620.     "don't let light make you blind to how things look ";
  621.     "don't let dark make you ignorant to what it took ";
  622.     "to come this far and open up to you";
  623.     "aight im fucking tired of making shitty messages that no one will see";
  624.     "Scary";
  625.     "Twittered about";
  626.     "Jump up, jump up, and get down";
  627.     "sheo is neat";
  628.     "can't be like this forever ";
  629.     "turn off all the lights ";
  630.     "my heartbeat fills the night ";
  631.     "pacemaker keep me steady ";
  632.     "keeping me at the ready";
  633.     "let's break out of this";
  634.     "a riddle, wrapped in a mystery";
  635.     "Huge tracts of land";
  636.     "Welcome to your Doom";
  637.     "Stay a while, stay forever";
  638.     "Stay a while and listen";
  639.     "Treatment for your rash";
  640.     "look at all the things ";
  641.     "i packed away to make a space ";
  642.     "that i could play and laugh and love ";
  643.     "and live in ";
  644.     "'look at all the things'";
  645.     "you said to me as i faded away ";
  646.     "from everyone and everything ";
  647.     "that had been ";
  648.     "you took away my parachute ";
  649.     "and told me to fall ";
  650.     "i jumped and felt the air ";
  651.     "rip through me as i stared ";
  652.     "at the ground";
  653.     "when i'm gone will my drive live on ";
  654.     "i'd like to think when i'm gone ";
  655.     "my drive will burn on";
  656.     "'Autological' is";
  657.     "Information wants to be free";
  658.     "Almost never' is an interesting concept";
  659.     "Lots of truthiness";
  660.     "The nigger is a baffoon";
  661.     "Turing complete";
  662.     "It's groundbreaking";
  663.     "Let our battles begin";
  664.     "The sky is the limit";
  665.     "Casul gayming";
  666.     "Undefeated";
  667.     "Kinda like Lemmings";
  668.     "Follow the train, CJ";
  669.     "Leveraging synergy";
  670.     "This message will never appear on the hack menu, isn't that weird?";
  671.     "Read more books";
  672.     "Khaaaaaaaaan";
  673.     "Less addictive than TV Tropes";
  674.     "More addictive than lemonade";
  675.     "I want to die";
  676.     "Bigger than a bread box";
  677.     "Millions of peaches";
  678.     "Fnord";
  679.     "This is my true form";
  680.     "Totally forgot about Dre";
  681.     "Don't bother with the clones";
  682.     "Pumpkinhead";
  683.     "Hobo humping slobo babe";
  684.     "Feature packed";
  685.     "Conventional";
  686.     "Homeomorphic to a 3-sphere";
  687.     "Doesn't avoid double negatives";
  688.     "Meeting expectations";
  689.     "lives in cambodia";
  690.     "PC gaming since 1873";
  691.     "Ghoughpteighbteau tchoghs";
  692.     "GET GUD AT MINGING U NIGGER";
  693.     "NEXUS NOT FOUND";
  694.     "ADMIN SPOTTED";
  695.     "/plyban ^ 0";
  696.     "everyone type in chat caliber is a stupid nigger";
  697.     "caliber .50 BMG";
  698.     "andy.b choked on niggermenu";
  699.     "Déjà vu";
  700.     "Déjà vu";
  701.     "Got your nose";
  702.     "Haley loves Elan";
  703.     "fuck you microsoft";
  704.     "Afraid of the big, black bat";
  705.     "Doesn't use stonel code";
  706.     "Child's play";
  707.     "See you next Friday or so";
  708.     "fuck formatting";
  709.     "From the streets of Södermalm";
  710.     "150 bpm for 400000 minutes";
  711.     "Technologic";
  712.     "Funk soul brother";
  713.     "Pumpa kungen";
  714.     "日本ハロー!";
  715.     "한국 안녕하세요";
  716.     "Helo Cymru";
  717.     "Cześć Polsko";
  718.     "你好中国!";
  719.     "Привет Россия";
  720.     "Γεια σου Ελλάδα";
  721.     "My life for Aiur";
  722.     "I see your vocabulary has improved";
  723.     "Who put it there?";
  724.     "You can't explain that";
  725.     "if not ok then return end";
  726.     "§1C§2o§3l§4o§5r§6m§7a§8t§9i§ac";
  727.     "§kFUNKY LOL";
  728.     "Big Pointy Teeth";
  729.     "Bekarton guards the gate";
  730.     "Mmmph, mmph";
  731.     "Don't feed avocados to parrots";
  732.     "Swords for everyone";
  733.     ".party()";
  734.     "Pretty scary";
  735.     "I have a suggestion.";
  736.     "Now with extra hugs";
  737.     "Now Lua 6";
  738.     "Woah.";
  739.     "HURNERJSGER?";
  740.     "What's up, Doc?";
  741.     "Now contains 6 million random daily kikes!";
  742.     "That's Niggerwang";
  743.     "join this server right now u niggers";
  744.     "Put a little fence around it";
  745.     "Throw a blanket over it";
  746.     "Now with additional stuff";
  747.     "Extra things";
  748.     "niggaz in da hood";
  749.     "So sweet";
  750.     "Popping tags";
  751.     "Very influential in its circle";
  752.     "Now with extra yeet";
  753.     "Rise from your grave";
  754.     "Warning A huge battleship is approaching fast!";
  755.     "Blue warrior shot the food";
  756.     "Run, coward I hunger";
  757.     "Flavor with no seasoning";
  758.     "Strange, but not a stranger";
  759.     "Tougher than diamonds, rich like cream";
  760.     "Getting ready to show";
  761.     "Getting ready to know";
  762.     "i'm happy with it.";
  763.     "Getting ready to drop";
  764.     "Getting ready to suck";
  765.     "Getting ready to freak";
  766.     "Getting ready to speak";
  767.     "It swings, it jives";
  768.     "Cruising streets for gold";
  769.     "Take an eggbeater and beat it against a skillet";
  770.     "Make me a table, a funky table";
  771.     "Take the elevator to the mezzanine";
  772.     "Stop being reasonable, this is the Internet";
  773.     "/giveweapon m9k_1911a1 1";
  774.     "This is good for Realms.";
  775.     "now with memeware";
  776.     "fuck all y'all";
  777.     "cocaine is bad for u";
  778.     "school is gay";
  779.     "Any computer is a laptop if you're brave enough";
  780.     "Do it all, everything";
  781.     "Where there is not light, there can spider";
  782.     "GNU Terry Pratchett";
  783.     "More Digital";
  784.     "doot doot";
  785.     "Falling with style";
  786.     "There's no stopping the nutmegg";
  787.     "Throw yourself at the ground and miss";
  788.     "Rule #1: it's never my fault";
  789.     "Replaced molten cheese with blood?";
  790.     "Absolutely fixed relatively broken coordinates";
  791.     "Boats FTW";
  792.     "gay edition";
  793.     "REALLY gay edition";
  794.     "You're going too fast";
  795.     "made without parential permission";
  796.     "lapfuckstrax";
  797.     "tried, tested, not approved.";
  798.     "aspie collective";
  799.     "a product of its time";
  800.     "their they're and there";
  801.     "endless streams of shit";
  802.     "new! old! terrible!";
  803.     "i make music now";
  804.     "this is my life now";
  805.     "i'm ok with this";
  806.     "u know wwhat this is prob the last version, i dont have anything new to add";
  807.     "shoutout to johnny nutmegg";
  808.     "etxraneous bullshit";
  809.     "inflated filesize";
  810.     "cancer";
  811.     "die";
  812.     "aimbot key is left alt";
  813.     "oh fuck off";
  814.     "try exanima";
  815.     "jerkcity.com - since 1998";
  816.    
  817. }
  818.  
  819. defcon.Phrases2             = {
  820.     "got fucked";
  821.     "got shit on";
  822.     "died";
  823.     "got holocausted";
  824.     "ate shit";
  825.     "tried to fly a potato";
  826.     "dug too deep";
  827.     "got RDM'd";
  828.     "tried to drink molten stone";
  829.     "got owned";
  830.     "ate that dirt";
  831.     "fought the law (and the law won)";
  832.     "was slain";
  833.     "tried to do hvh with an aimware user";
  834.     "downloaded memeware";
  835.     "deleted system32";
  836.     "got mad";
  837.     "kicked the bucket";
  838.     "downloaded malware";
  839.     "unsubscribed from dramaalert";
  840.     "went to hell";
  841.     "did not pass go";
  842.     "did not collect 200 dollars";
  843.     "went to detroit at night";
  844.     "got smashed";
  845.     "got their fucking brains blown out";
  846.     "became one with the ground";
  847.     "got gangbanged";
  848.     "literally ate shit";
  849.     "listened to a kanye west album";
  850.     "fucked a cat";
  851.     "got their dick bitten off by spets";
  852.     "tried to erp with spets";
  853.     "broke their spine";
  854.     "broke their dick";
  855.     "used reddit";
  856.     "unjammed an open-bolt weapon";
  857.     "brought snixzz3 to a gmod hvh";
  858.     "tried to use the carthus curved sword in a fight club";
  859.     "unfinished string lol";
  860.     "is dead lol";
  861.     "contracted autism";
  862.     "didn't praise johnny nutmegg";
  863.     "watched an amy schumer comedy special";
  864.     "voted for hillary clinton";
  865.     "supported communism";
  866.     "got boned";
  867.     "got permbanned by spets";
  868.     "tried to break into rcon";
  869.     "drowned";
  870.     "got struck by lightening";
  871.     "was detected by CAC";
  872.     "sat on a dick";
  873.     "got raped anally";
  874.     "followed bob good";
  875.     "tried to ERP with sheo";
  876.     "didn't let someone react to their /me";
  877.     "got blamed for mingery";
  878.     "has used /Me cum";
  879.     "has used /Me punc";
  880.     "has used /plyban me 0";
  881.     "stole rations";
  882.     "posted their IP on raidforums";
  883.     "smoked bad weed";
  884.     "choked on niggermenu";
  885.     "dedicated his whole life to hl2rp";
  886.     "tried to install gentoo";
  887.     "got doused with napalm";
  888.     "drank some nape";
  889.     "used omegle";
  890.     "uninstalled their antivirus";
  891.     "got ganked by gooks";
  892.     "visited nebulous";
  893.     "didn't subscribe to madbluntz";
  894.     "used snixzz3";
  895.     "tried to run from a cheater";
  896. }
  897. defcon.Keys = {
  898. "KEY_0", "KEY_1", "KEY_2", "KEY_3", "KEY_4", "KEY_5",
  899. "KEY_6", "KEY_7", "KEY_8", "KEY_9", "KEY_A", "KEY_B", "KEY_C",
  900. "KEY_D", "KEY_E", "KEY_F", "KEY_G", "KEY_H", "KEY_I", "KEY_J",
  901. "KEY_K", "KEY_L", "KEY_M", "KEY_N", "KEY_O", "KEY_P", "KEY_Q",
  902. "KEY_R", "KEY_S", "KEY_T", "KEY_U", "KEY_V", "KEY_W", "KEY_X",
  903. "KEY_Y", "KEY_Z", "KEY_PAD_0", "KEY_PAD_1", "KEY_PAD_2", "KEY_PAD_3",
  904. "KEY_PAD_4", "KEY_PAD_5", "KEY_PAD_6", "KEY_PAD_7", "KEY_PAD_8", "KEY_PAD_9",
  905. "KEY_PAD_DIVIDE", "KEY_PAD_MULTIPLY", "KEY_PAD_MINUS", "KEY_PAD_PLUS", "KEY_PAD_ENTER",
  906. "KEY_PAD_DECIMAL", "KEY_LBRACKET", "KEY_RBRACKET", "KEY_SEMICOLON", "KEY_APOSTROPHE",
  907. "KEY_BACKQUOTE", "KEY_COMMA", "KEY_PERIOD", "KEY_SLASH", "KEY_BACKSLASH", "KEY_MINUS",
  908. "KEY_EQUAL", "KEY_ENTER", "KEY_SPACE", "KEY_BACKSPACE", "KEY_TAB", "KEY_CAPSLOCK",
  909. "KEY_NUMLOCK", "KEY_ESCAPE", "KEY_SCROLLLOCK", "KEY_INSERT", "KEY_DELETE", "KEY_HOME",
  910. "KEY_END", "KEY_PAGEUP", "KEY_PAGEDOWN", "KEY_BREAK", "KEY_LSHIFT", "KEY_RSHIFT",
  911. "KEY_LALT", "KEY_RALT", "KEY_LCONTROL", "KEY_RCONTROL", "KEY_LWIN", "KEY_RWIN",
  912. "KEY_APP", "KEY_UP", "KEY_LEFT", "KEY_DOWN", "KEY_RIGHT", "KEY_F1", "KEY_F2",
  913. "KEY_F3", "KEY_F4", "KEY_F5", "KEY_F6", "KEY_F7", "KEY_F8", "KEY_F9",
  914. "KEY_F10", "KEY_F11", "KEY_F12", "KEY_CAPSLOCKTOGGLE", "KEY_NUMLOCKTOGGLE",
  915. "KEY_SCROLLLOCKTOGGLE"
  916. };
  917.  
  918. local function SafeCheck(v)
  919.     if v ~=LocalPlayer() and v:Alive() and v:IsValid() and v:GetActiveWeapon():IsValid() and v:Health() >= 1 then
  920.         return true
  921.     else
  922.         return false
  923.     end
  924. end
  925.  
  926. for k,v in pairs(defcon.Normal) do
  927.     if defcon.Settings[k] == nil then
  928.         defcon.Settings = defcon.Normal
  929.         -- so if you fuck with my shit i fuck with your shit
  930.     end
  931. end
  932.  
  933. -- functions
  934.  
  935. function defcon.Update(x,y,z, ok)
  936.     if x == "setting" then
  937.         defcon.Settings[y] = z
  938.         if ok == true then
  939.             file.Write("d_settings.txt", util.TableToJSON(defcon.Settings))
  940.         end
  941.     elseif x == "entity" then
  942.         file.Write("d_entities.txt", util.TableToJSON(defcon.Entities))
  943.     elseif x == "friend" then
  944.         file.Write("d_whitelist.txt", util.TableToJSON(defcon.Whitelist))
  945.     end
  946. end
  947. function defcon.ESPCheck(typ, v)
  948.     if typ == "player" then
  949.         if v:Alive() && v:Health() >= 1 && v ~= LocalPlayer() /*&& /*LocalPlayer():Alive() &&*/ /*LocalPlayer():Team() ~= TEAM_SPECTATOR*/ then
  950.             return true
  951.         end
  952.     elseif typ == "entity" then
  953.         if IsValid(v) then
  954.             return true
  955.         end
  956.     end
  957.     return false
  958. end
  959. function defcon.ESPDistance(typ, v)
  960.     if typ == "player" then
  961.         if defcon.Settings["esp_player_dist"] >= 16000 then
  962.             return true
  963.         elseif v:GetPos():Distance(LocalPlayer():GetPos()) < (defcon.Settings["esp_player_dist"]) then
  964.             return true
  965.         end
  966.     elseif typ == "entity" then
  967.         if defcon.Settings["esp_entity_dist"] >= 16000 then
  968.             return true
  969.         elseif v:GetPos():Distance(LocalPlayer():GetPos()) < (defcon.Settings["esp_entity_dist"]) then
  970.             return true
  971.         end
  972.     end
  973.     return false
  974. end
  975. function defcon.GetShootPos(ent)
  976.     local eyes = ent:LookupAttachment("eyes");
  977.     if(eyes ~= 0) then
  978.         eyes = ent:GetAttachment(eyes);
  979.         if(eyes and eyes.Pos) then
  980.             return eyes.Pos, eyes.Ang;
  981.         end
  982.     end
  983. end
  984. function defcon.Visible(ent)
  985.     local pos = LocalPlayer():GetShootPos()
  986.     local ang = LocalPlayer():GetAimVector()
  987.     local trace = {start = LocalPlayer():GetShootPos(), endpos = defcon.GetShootPos(ent), filter = {LocalPlayer(), ent}, mask = 1174421507};
  988.     local tr = util.TraceLine(trace);
  989.     return(tr.Fraction == 1);
  990. end
  991. function defcon.Whitelisted(ent)
  992.     if defcon.Whitelist[ent:SteamID()] then return true
  993.     else return false end
  994. end
  995. function defcon.CanTarget(v)
  996.     if v:IsPlayer() then
  997.         if (defcon.Visible(v) and (not defcon.Whitelisted(v)) and v:Alive() and (v:Health() > 0) and v:Team() ~= TEAM_SPECTATOR) then
  998.             if (v ~= LocalPlayer() and LocalPlayer():Alive() and LocalPlayer():Team() ~= TEAM_SPECTATOR) then
  999.                 if not(defcon.Settings["aimbot_friendly_fire"]) then
  1000.                     if (v:Team() ~= LocalPlayer():Team()) then
  1001.                         return true
  1002.                     end
  1003.                 else
  1004.                     return true
  1005.                 end
  1006.             end
  1007.         end
  1008.     end
  1009.     return false
  1010. end
  1011. function defcon.Ents()
  1012.     local t = {}
  1013.     for k,v in pairs(ents.GetAll()) do
  1014.         if IsValid(v) and not(table.HasValue(t, v:GetClass())) then
  1015.             table.insert(t, v:GetClass())
  1016.         end
  1017.     end
  1018.     table.sort(t, function(a,b) return a < b end)
  1019.    
  1020.     return t
  1021. end
  1022.  
  1023. -- fonts
  1024.  
  1025. surface.CreateFont("deffont", {
  1026.     font    =   "impact",
  1027.     size    =   64
  1028. });
  1029.  
  1030. surface.CreateFont("deffontesp1", {
  1031.     font="TabLarge",
  1032.     size=13,
  1033.     weight=700
  1034. });
  1035. surface.CreateFont("deffontesp2", {
  1036.     font="TabLarge",
  1037.     size=10,
  1038.     weight=700
  1039. });
  1040. surface.CreateFont("fuck", {
  1041.     font="Console",
  1042.     size=13,
  1043.     weight=100
  1044. });
  1045.  surface.CreateFont("warnign", {
  1046.  size = 18,
  1047.  weight = 0,
  1048.  antialias = false,
  1049.  font = "times new roman"
  1050.  });
  1051.  
  1052. -- long vars
  1053.  
  1054. local menu              = defcon.Menu
  1055. local current           = defcon.Current
  1056. local alive             = defcon.Alive
  1057. local normal            = defcon.Normal
  1058. local settings          = defcon.Settings
  1059. local entities          = defcon.Entities
  1060. local whitelist         = defcon.Whitelist
  1061. local phrases           = defcon.Phrases
  1062. local espcheck          = defcon.ESPCheck
  1063. local espdistance       = defcon.ESPDistance
  1064.  
  1065. -- menu base
  1066.  
  1067. local function AddTab(txt, tab, func)
  1068.     menu.c = menu.c + 1 -- increase the counter for the amount of tabs
  1069.     local panel
  1070.     if tab and tab == true then
  1071.         panel = vgui.Create("DPanel", menu.frame);
  1072.         panel:SetPos(120,25);
  1073.         panel:SetSize(376,406);
  1074.         if menu.Current == txt then
  1075.             panel:SetVisible(true)
  1076.         else
  1077.             panel:SetVisible(false)
  1078.         end
  1079.         panel.Paint = function()
  1080.             surface.SetDrawColor( 163, 163, 163, 255 )
  1081.             surface.DrawOutlinedRect( 0, 0, panel:GetWide() - 1, panel:GetTall() - 1)
  1082.             draw.SimpleText(string.upper(txt), "deffont", 10, 5, Color(210, 210, 210, 235), TEXT_ALIGN_LEFT);
  1083.         end
  1084.     end
  1085.     local button = vgui.Create("DButton", menu.buttons);
  1086.     button:SetText(txt);
  1087.     button:SetSize(80, 20);
  1088.     button:SetPos(15, -15+(25*menu.c));
  1089.     button:SetTextColor(color_white)
  1090.     button.Paint = function(self)
  1091.         surface.SetDrawColor(100,100,100,220)
  1092.         surface.DrawRect(0, 0,self:GetSize())
  1093.         surface.SetDrawColor(0,0,0,0)
  1094.         surface.DrawOutlinedRect(0,0,self:GetSize())
  1095.     end
  1096.     button.DoClick = func or (tab and tab == true and function()
  1097.         for k,v in pairs(menu.t) do
  1098.             if v ~= panel then
  1099.                 v:SetVisible(false)
  1100.             end
  1101.         end
  1102.         panel:SetVisible(true)
  1103.         menu.Current = txt
  1104.         surface.PlaySound("ambient/levels/canals/drip4.wav");
  1105.     end)
  1106.     return panel, button;
  1107. end
  1108.  
  1109. --derma bullshit + menu niggering
  1110.  
  1111. local function AddFeature(id, parent, typ, name, setting, o1, o2)
  1112.     if not parent then return end
  1113.     if typ == "button" then
  1114.         local label = vgui.Create("DLabel", parent)
  1115.         label:SetText(name)
  1116.         label:SetPos(5,(55+(id*25)))
  1117.         label:SizeToContents(false)
  1118.         local button = vgui.Create("DButton", parent)
  1119.         if defcon.Settings[setting] == true then
  1120.             button:SetText("enabled")
  1121.         else
  1122.             button:SetText("disabled")
  1123.         end
  1124.         button:SetSize(80,20)
  1125.         if not id then
  1126.             button:SetPos(285,45)
  1127.         else
  1128.             button:SetPos(285,(55+(id*25)))
  1129.         end
  1130.         button.DoClick = function()
  1131.             if button:GetText() == "enabled" then
  1132.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true)
  1133.             else
  1134.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true)
  1135.             end
  1136.         end
  1137.         button:SetTextColor(color_white)
  1138.         button.Paint = function(self)
  1139.             surface.SetDrawColor(100,100,100,220)
  1140.             surface.DrawRect(0, 0,self:GetSize())
  1141.             surface.SetDrawColor(0,0,0,0)
  1142.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1143.         end
  1144.         return button,label
  1145.     elseif typ == "slider" then
  1146.         local slider = vgui.Create("DNumSlider", parent)
  1147.         slider:SetPos(5, (45+(id*25)))
  1148.         slider:SetText(name)
  1149.         slider:SetMinMax(o1, o2)
  1150.         slider:SetWide(372.5)
  1151.         slider:SetDecimals( 0 )
  1152.         slider:SetFGColor(255,255,255,255)
  1153.         slider:SetBGColor(255,255,255,255)
  1154.         slider:SetValue(defcon.Settings[setting])
  1155.         slider.OnValueChanged = function(panel, value)
  1156.             local c = tonumber(value)
  1157.             defcon.Update("setting", setting, math.Round(c), true)
  1158.         end
  1159.         return slider;
  1160.     end
  1161.  
  1162.     if typ == "label" then
  1163.         local label = vgui.Create("DLabel", parent)
  1164.         label:SetText(name)
  1165.         label:SetPos(5,(55+(id*25)))
  1166.         label:SizeToContents(false)
  1167.         label:SetFont("warnign")
  1168.         label.Paint = function(self)
  1169.             label:SetTextColor(Color( 43, 98, 226, 255 ))
  1170.             end
  1171.        
  1172.     return label
  1173.     end
  1174.         if typ == "label2" then
  1175.         local label = vgui.Create("DLabel", parent)
  1176.         label:SetText(name)
  1177.         label:SetPos(5,(55+(id*25)))
  1178.         label:SizeToContents(false)
  1179.         label:SetFont("fuck")
  1180.         label.Paint = function(self)
  1181.             label:SetTextColor(Color( 140, 140, 140, 255 ))
  1182.             end
  1183.            
  1184.     return label2
  1185.     end
  1186.         if typ == "label3" then
  1187.         local label = vgui.Create("DLabel", parent)
  1188.         label:SetText(name)
  1189.         label:SetPos(5,(55+(id*25)))
  1190.         label:SizeToContents(false)
  1191.         label:SetFont("warnign")
  1192.         label.Paint = function(self)
  1193.             label:SetTextColor(Color( 43, 98, 226, 255 ))
  1194.             end
  1195.        
  1196.     return label3
  1197. end
  1198.     if not parent then return end
  1199.     if typ == "canser" then
  1200.         local label = vgui.Create("DLabel", parent)
  1201.         label:SetText(name)
  1202.         label:SetPos(5,(55+(id*25)))
  1203.         label:SizeToContents(false)
  1204.         local button = vgui.Create("DButton", parent)
  1205.         if defcon.Settings[setting] == true then
  1206.             button:SetText("enabled")
  1207.         else
  1208.             button:SetText("disabled")
  1209.         end
  1210.         button:SetSize(80,20)
  1211.         if not id then
  1212.             button:SetPos(285,45)
  1213.         else
  1214.             button:SetPos(285,(55+(id*25)))
  1215.         end
  1216.         button.DoClick = function()
  1217.             if button:GetText() == "enabled" then
  1218.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand "SH_toggle"
  1219.             else
  1220.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand "SH_toggle"
  1221.             end
  1222.         end
  1223.         button:SetTextColor(color_white)
  1224.         button.Paint = function(self)
  1225.             surface.SetDrawColor(100,100,100,220)
  1226.             surface.DrawRect(0, 0,self:GetSize())
  1227.             surface.SetDrawColor(0,0,0,0)
  1228.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1229.     end
  1230.     end
  1231.     if not parent then return end
  1232.     if typ == "landsernigger" then
  1233.         local label = vgui.Create("DLabel", parent)
  1234.         label:SetText(name)
  1235.         label:SetPos(5,(55+(id*25)))
  1236.         label:SizeToContents(false)
  1237.         local button = vgui.Create("DButton", parent)
  1238.         if defcon.Settings[setting] == true then
  1239.             button:SetText("search")
  1240.         else
  1241.             button:SetText("search")
  1242.         end
  1243.         button:SetSize(80,20)
  1244.         if not id then
  1245.             button:SetPos(285,45)
  1246.         else
  1247.             button:SetPos(285,(55+(id*25)))
  1248.         end
  1249.         button.DoClick = function()
  1250.             if button:GetText() == "enabled" then
  1251.                 button:SetText("search"); defcon.Update("setting", setting, false, true); RunConsoleCommand "pickupinradius"
  1252.             else
  1253.                 button:SetText("search"); defcon.Update("setting", setting, true, true); RunConsoleCommand "pickupinradius"
  1254.             end
  1255.         end
  1256.         button:SetTextColor(color_white)
  1257.         button.Paint = function(self)
  1258.             surface.SetDrawColor(100,100,100,220)
  1259.             surface.DrawRect(0, 0,self:GetSize())
  1260.             surface.SetDrawColor(0,0,0,0)
  1261.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1262.     end
  1263.     end
  1264.         if not parent then return end
  1265.     if typ == "landsernigger6" then
  1266.         local label = vgui.Create("DLabel", parent)
  1267.         label:SetText(name)
  1268.         label:SetPos(5,(55+(id*25)))
  1269.         label:SizeToContents(false)
  1270.         local button = vgui.Create("DButton", parent)
  1271.         if defcon.Settings[setting] == true then
  1272.             button:SetText("enabled")
  1273.         else
  1274.             button:SetText("disabled")
  1275.         end
  1276.         button:SetSize(80,20)
  1277.         if not id then
  1278.             button:SetPos(285,45)
  1279.         else
  1280.             button:SetPos(285,(55+(id*25)))
  1281.         end
  1282.         button.DoClick = function()
  1283.             if button:GetText() == "enabled" then
  1284.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.chams", "0")
  1285.             else
  1286.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.chams", "1")
  1287.             end
  1288.         end
  1289.         button:SetTextColor(color_white)
  1290.         button.Paint = function(self)
  1291.             surface.SetDrawColor(100,100,100,220)
  1292.             surface.DrawRect(0, 0,self:GetSize())
  1293.             surface.SetDrawColor(0,0,0,0)
  1294.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1295.     end
  1296.     end
  1297.     if not parent then return end
  1298.     if typ == "landsernigger3" then
  1299.         local label = vgui.Create("DLabel", parent)
  1300.         label:SetText(name)
  1301.         label:SetPos(5,(55+(id*25)))
  1302.         label:SizeToContents(false)
  1303.         local button = vgui.Create("DButton", parent)
  1304.         if defcon.Settings[setting] == true then
  1305.             button:SetText("enabled")
  1306.         else
  1307.             button:SetText("disabled")
  1308.         end
  1309.         button:SetSize(80,20)
  1310.         if not id then
  1311.             button:SetPos(285,45)
  1312.         else
  1313.             button:SetPos(285,(55+(id*25)))
  1314.         end
  1315.         button.DoClick = function()
  1316.             if button:GetText() == "enabled" then
  1317.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.boxESP", "0")
  1318.             else
  1319.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.boxESP", "1")
  1320.             end
  1321.         end
  1322.         button:SetTextColor(color_white)
  1323.         button.Paint = function(self)
  1324.             surface.SetDrawColor(100,100,100,220)
  1325.             surface.DrawRect(0, 0,self:GetSize())
  1326.             surface.SetDrawColor(0,0,0,0)
  1327.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1328.     end
  1329.     end
  1330.             if not parent then return end
  1331.     if typ == "landsernigger4" then
  1332.         local label = vgui.Create("DLabel", parent)
  1333.         label:SetText(name)
  1334.         label:SetPos(5,(55+(id*25)))
  1335.         label:SizeToContents(false)
  1336.         local button = vgui.Create("DButton", parent)
  1337.         if defcon.Settings[setting] == true then
  1338.             button:SetText("enabled")
  1339.         else
  1340.             button:SetText("disabled")
  1341.         end
  1342.         button:SetSize(80,20)
  1343.         if not id then
  1344.             button:SetPos(285,45)
  1345.         else
  1346.             button:SetPos(285,(55+(id*25)))
  1347.         end
  1348.         button.DoClick = function()
  1349.             if button:GetText() == "enabled" then
  1350.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.propchams", "0")
  1351.             else
  1352.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.propchams", "1")
  1353.             end
  1354.         end
  1355.         button:SetTextColor(color_white)
  1356.         button.Paint = function(self)
  1357.             surface.SetDrawColor(100,100,100,220)
  1358.             surface.DrawRect(0, 0,self:GetSize())
  1359.             surface.SetDrawColor(0,0,0,0)
  1360.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1361.     end
  1362.     end
  1363.                 if not parent then return end
  1364.     if typ == "landsernigger5" then
  1365.         local label = vgui.Create("DLabel", parent)
  1366.         label:SetText(name)
  1367.         label:SetPos(5,(55+(id*25)))
  1368.         label:SizeToContents(false)
  1369.         local button = vgui.Create("DButton", parent)
  1370.         if defcon.Settings[setting] == true then
  1371.             button:SetText("enabled")
  1372.         else
  1373.             button:SetText("disabled")
  1374.         end
  1375.         button:SetSize(80,20)
  1376.         if not id then
  1377.             button:SetPos(285,45)
  1378.         else
  1379.             button:SetPos(285,(55+(id*25)))
  1380.         end
  1381.         button.DoClick = function()
  1382.             if button:GetText() == "enabled" then
  1383.                 button:SetText("disabled"); defcon.Update("setting", setting, false, true); RunConsoleCommand ("defcon.radiochams", "0")
  1384.             else
  1385.                 button:SetText("enabled"); defcon.Update("setting", setting, true, true); RunConsoleCommand ("defcon.radiochams", "1")
  1386.             end
  1387.         end
  1388.         button:SetTextColor(color_white)
  1389.         button.Paint = function(self)
  1390.             surface.SetDrawColor(100,100,100,220)
  1391.             surface.DrawRect(0, 0,self:GetSize())
  1392.             surface.SetDrawColor(0,0,0,0)
  1393.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1394.     end
  1395.     end
  1396.     if not parent then return end
  1397.     if typ == "landsernigger2" then
  1398.         local label = vgui.Create("DLabel", parent)
  1399.         label:SetText(name)
  1400.         label:SetPos(5,(55+(id*25)))
  1401.         label:SizeToContents(false)
  1402.         local button = vgui.Create("DButton", parent)
  1403.         if defcon.Settings[setting] == true then
  1404.             button:SetText("dupe")
  1405.         else
  1406.             button:SetText("dupe")
  1407.         end
  1408.         button:SetSize(80,20)
  1409.         if not id then
  1410.             button:SetPos(285,45)
  1411.         else
  1412.             button:SetPos(285,(55+(id*25)))
  1413.         end
  1414.         button.DoClick = function()
  1415.             if button:GetText() == "enabled" then
  1416.                 button:SetText("dupe"); defcon.Update("setting", setting, false, true); RunConsoleCommand "dupeinradius"
  1417.             else
  1418.                 button:SetText("dupe"); defcon.Update("setting", setting, true, true); RunConsoleCommand "dupeinradius"
  1419.             end
  1420.         end
  1421.         button:SetTextColor(color_white)
  1422.         button.Paint = function(self)
  1423.             surface.SetDrawColor(100,100,100,220)
  1424.             surface.DrawRect(0, 0,self:GetSize())
  1425.             surface.SetDrawColor(0,0,0,0)
  1426.             surface.DrawOutlinedRect(0,0,self:GetSize())
  1427.     end
  1428. end
  1429. end
  1430.  
  1431. --menu
  1432.  
  1433. local function AddButton(parent, text, posx, posy, func)
  1434.     local button = vgui.Create("DButton", parent)
  1435.     button:SetText(text)
  1436.     button:SetSize(80,20)
  1437.     button:SetPos(posx,posy)
  1438.     button:SetTextColor(color_white)
  1439.     button.DoClick = func or function() end
  1440.     button.Paint = function(self)
  1441.         surface.SetDrawColor(100,100,100,220)
  1442.         surface.DrawRect(0, 0,self:GetSize())
  1443.         surface.SetDrawColor(163,163,163,0)
  1444.         surface.DrawOutlinedRect(0,0,self:GetSize())
  1445.     end
  1446.     return button
  1447. end
  1448.  
  1449. local function DrawMenu()
  1450.     if(menu.frame) then menu.frame:Remove(); menu.frame = nil; end
  1451.    
  1452.     menu.c = 0
  1453.    
  1454.     menu.frame = vgui.Create("DFrame");
  1455.     menu.frame:SetPos(ScrW()/2-184, ScrH()/2-155);
  1456.     menu.frame:SetSize(500, 435);
  1457.     menu.frame:SetTitle("Shitcheat 4.6 :: "..defcon.Phrases[math.random(1, table.Count(defcon.Phrases))]);
  1458.     menu.frame.Paint = function()
  1459.         surface.SetDrawColor(50,50,50,200)
  1460.         surface.DrawRect(0, 0,menu.frame:GetWide(),menu.frame:GetTall())
  1461.         surface.SetDrawColor(163,163,0,0)
  1462.         surface.DrawOutlinedRect(0,0,menu.frame:GetWide(),menu.frame:GetTall())
  1463.     end
  1464.     menu.frame:SetVisible(true);
  1465.     menu.frame:SetDraggable(true);
  1466.     menu.frame:SetSizable(false);
  1467.     menu.frame:ShowCloseButton(false);
  1468.     menu.frame:SetBackgroundBlur(true)
  1469.     menu.frame:MakePopup();
  1470.    
  1471.     menu.close = vgui.Create("DButton", menu.frame)
  1472.     menu.close:SetFont('marlett')
  1473.     menu.close:SetText('r')
  1474.     menu.close:SetColor(Color(255, 255, 255))
  1475.     menu.close:SetSize(15, 15)
  1476.     menu.close:SetDrawBackground(false)
  1477.     menu.close:SetPos(menu.frame:GetWide() - 20, 5)
  1478.     menu.close.DoClick = function()
  1479.         menu.frame:Remove(); menu.frame = nil;
  1480.     end
  1481.  
  1482.     menu.buttons = vgui.Create("DPanel",menu.frame)
  1483.     menu.buttons:SetPos(5, 25)
  1484.     menu.buttons:SetSize(111,406)
  1485.     menu.buttons:SetVisible(true)
  1486.     menu.buttons.Paint = function()
  1487.         surface.SetDrawColor(163,163,163,255)
  1488.         surface.DrawOutlinedRect(0,0,110,405)
  1489.     end
  1490.  
  1491.     menu.t.def = vgui.Create("DPanel", menu.frame);
  1492.     menu.t.def:SetPos(120,25);
  1493.     menu.t.def:SetSize(376,406);
  1494.     if menu.Current ~= nil then menu.t.def:SetVisible(false) end
  1495.     menu.t.def.Paint = function()
  1496.         surface.SetDrawColor( 163, 163, 163, 255 )
  1497.         surface.DrawOutlinedRect( 0, 0, menu.t.def:GetWide() - 1, menu.t.def:GetTall() - 1)
  1498.     end
  1499.    
  1500.     menu.t.a, menu.b.a      = AddTab("Aimbot",      true)
  1501.     menu.t.p, menu.b.p      = AddTab("Player ESP",  true)
  1502.     menu.t.e, menu.b.e      = AddTab("Entity ESP",  true)
  1503.     menu.t.m, menu.b.m      = AddTab("Misc.",       true)
  1504.     menu.t.f, menu.b.f      = AddTab("Freecam", true)
  1505.     --id, parent  , the type, the text , setting
  1506.     AddFeature(1, menu.t.a, "button", "Enabled", "aimbot")
  1507.     AddFeature(2, menu.t.a, "button", "Triggerbot", "triggerbot")
  1508.     AddFeature(3, menu.t.a, "button", "Friendly Fire", "aimbot_friendly_fire")
  1509.     AddFeature(4, menu.t.a, "slider", "FOV", "aimbot_fov", 0, 180)
  1510.     AddFeature(6, menu.t.a, "label2", "The aimbot key is left alt by default                                                                                                                 ")
  1511.    
  1512.     AddFeature(1, menu.t.p, "button", "Enabled", "esp_player")
  1513.     AddFeature(2, menu.t.p, "button", "Show Name", "esp_player_name")
  1514.     AddFeature(3, menu.t.p, "button", "Show Rank", "esp_player_rank")
  1515.     AddFeature(4, menu.t.p, "button", "Show Health", "esp_player_health")
  1516.     AddFeature(5, menu.t.p, "button", "Show Armor", "esp_player_armor")
  1517.     AddFeature(6, menu.t.p, "button", "Show Distance", "esp_player_showdist")
  1518.     AddFeature(7, menu.t.p, "slider", "Draw Distance", "esp_player_dist", 0, 16000)
  1519.     AddFeature(8, menu.t.p, "button", "Draw Glow Halo", "esp_player_glow")
  1520.     AddFeature(9, menu.t.p, "button", "Laser Eyes", "lasereyes")
  1521.     AddFeature(10,menu.t.p, "landsernigger3", "Draw Hitboxes", "defcon.boxESP")
  1522.     AddFeature(11,menu.t.p, "landsernigger6", "Player Chams", "defcon.chams")
  1523.    
  1524.     AddFeature(1, menu.t.e, "button", "Entity Finder", "esp_entity")
  1525.     AddFeature(2, menu.t.e, "slider", "Draw Distance", "esp_entity_dist", 0, 16000)
  1526.     AddFeature(3, menu.t.e, "landsernigger4", "Physics Prop chams" , "defcon.propchams")
  1527.    
  1528.     AddFeature(1, menu.t.m, "button", "Flashlight Spam [hold leftarrow]", "flashlight_spam")
  1529.     AddFeature(2, menu.t.m, "button", "Bunny hopping [hold space]", "bhop_bhop")
  1530.     AddFeature(3, menu.t.m, "button", "Client side crosshair", "crosshair")
  1531.     AddFeature(4, menu.t.m, "button", "Big velocity meter", "velocity")
  1532.     AddFeature(5, menu.t.m, "button", "Chat spammer 1 [random messages, no vc]", "chatspam1")
  1533.     AddFeature(6, menu.t.m, "button", "Chat spammer 2 [hl2rp vc messages]", "chatspam2")
  1534.     AddFeature(7, menu.t.m, "label3", "You can bind the two scripts under this message to any key                                               ")
  1535.     AddFeature(8, menu.t.m, "label3", "Just type 'bind commandname key', e.g. 'bind +jump m'                                               ")
  1536.     AddFeature(9, menu.t.m, "landsernigger", "Pick up items in radius [Clockwork schemas only]","pickupinradius")
  1537.     AddFeature(10, menu.t.m, "label2", "Console coammand: pickupinradius                                               ")
  1538.     AddFeature(11, menu.t.m, "landsernigger2", "Duplicate items in radius [Clockwork schemas only]", "dupeinradius")
  1539.     AddFeature(12, menu.t.m, "label2", "Console command: dupeinradius                                               ")
  1540.  
  1541.     AddFeature(1, menu.t.f, "canser", "New Freecam", "cl_noclip")
  1542.     AddFeature(2, menu.t.f, "button", "Ghettocam (depricated)", "freecam_side")
  1543.  
  1544.     AddFeature(11, menu.t.f, "label", "NOTICE: entities may not appear when using freecam                                                     ")
  1545.    
  1546.     if string.find(gmod.GetGamemode().Name, "DarkRP") then
  1547.         AddFeature(1, menu.t.g, "button", "God-mode Exploit (Costs in-game $$$)", "darkrp_god")
  1548.     elseif string.find(gmod.GetGamemode().Name, "Trouble in Terrorist Town") then
  1549.         AddFeature(1, menu.t.g, "button", "Display Death Notifications", "ttt_deathnotifs")
  1550.     end
  1551.     local elist
  1552.     local elist2
  1553.     local elistc
  1554.     local elistc2
  1555.     local function makeelist()
  1556.         elist = vgui.Create("DComboBox", menu.t.e)
  1557.         elist:SetPos(10,menu.t.e:GetTall()-43)
  1558.         elist:SetSize(130,20)
  1559.         for k,v in pairs(defcon.Ents()) do
  1560.             if not(defcon.Entities[v]) then
  1561.                 local i = elist:AddChoice(v)
  1562.             end
  1563.         end
  1564.         elist.OnSelect = function(index,value,data)
  1565.             print(data)
  1566.             elist2 = data
  1567.         end
  1568.     end
  1569.     local function makeelistc()
  1570.         elistc = vgui.Create("DComboBox", menu.t.e)
  1571.         elistc:SetPos(235, menu.t.e:GetTall()-43)
  1572.         elistc:SetSize(130,20)
  1573.         for k,v in pairs(defcon.Entities) do
  1574.             local i = elistc:AddChoice(v)
  1575.         end
  1576.         elistc.OnSelect = function(index,value,data)
  1577.             elistc2 = data
  1578.         end
  1579.     end
  1580.     makeelist()
  1581.     makeelistc()
  1582.     AddButton(menu.t.e, "Add Entity", 35, menu.t.e:GetTall()-23, function()
  1583.         if(elist2) then
  1584.             for k,v in pairs(defcon.Ents()) do
  1585.                 if (v == elist2) then
  1586.                     print(v)
  1587.                     table.insert(defcon.Entities, v)
  1588.                     defcon.Update("entity")
  1589.                 end
  1590.             end
  1591.         end
  1592.         makeelist()
  1593.         makeelistc()
  1594.     end)
  1595.     AddButton(menu.t.e, "Remove Entity", 260, menu.t.e:GetTall()-23, function()
  1596.         if(elistc2) then
  1597.             for k,v in pairs(defcon.Entities) do
  1598.                 if (v == elistc2) then
  1599.                     defcon.Entities[k] = nil;
  1600.                     defcon.Update("entity")
  1601.                 end
  1602.             end
  1603.         end
  1604.         makeelist()
  1605.         makeelistc()
  1606.     end)
  1607.     local flist
  1608.     local flist2
  1609.     local flistc
  1610.     local flistc2
  1611.     local function makeflist()
  1612.         flist = vgui.Create("DComboBox", menu.t.a)
  1613.         flist:SetPos(10,menu.t.a:GetTall()-43)
  1614.         flist:SetSize(130,20)
  1615.         for k,v in pairs(player.GetAll()) do
  1616.             if v ~= LocalPlayer() then
  1617.                 if not(defcon.Whitelist[v:SteamID()]) then
  1618.                     local i = flist:AddChoice(v:Nick())
  1619.                 end
  1620.             end
  1621.         end
  1622.         flist.OnSelect = function(index,value,data)
  1623.             print(data)
  1624.             elist2 = data
  1625.         end
  1626.     end
  1627.  
  1628. end
  1629.  
  1630. --clientside noclip / freecam
  1631.  
  1632. local SH = {}
  1633.  
  1634. SH.Enabled = false
  1635. SH.ViewOrigin = Vector( 0, 0, 0 )
  1636. SH.ViewAngle = Angle( 0, 0, 0 )
  1637. SH.Velocity = Vector( 0, 0, 0 )
  1638. --[[
  1639. hook.Add("CalcView", "", function(p, o, a, f)
  1640.     return({
  1641.         angles = GetAngle(fa),
  1642.         origin = (defcon.Settings["freecam_side"] && o + am.Forward(fa) * -353 || o),
  1643.         fov = f,
  1644.     });
  1645. end);
  1646. --]]
  1647.  
  1648. function SH.CalcView( ply, origin, angles, fov, p, o, a, f )
  1649.     if ( !SH.Enabled ) then return end
  1650.     if ( SH.SetView ) then
  1651.         SH.ViewOrigin = origin
  1652.         SH.ViewAngle = angles
  1653.        
  1654.         SH.SetView = false
  1655.     end
  1656.     return { origin = SH.ViewOrigin, angles = SH.ViewAngle }
  1657. end
  1658. hook.Add( "CalcView", "niggerwalk", SH.CalcView )
  1659.  
  1660. function SH.CreateMove( cmd, ply, origin, angles, fov, p, o, a, f )
  1661.     if ( !SH.Enabled ) then return end
  1662.    
  1663.     local time = FrameTime()
  1664.     SH.ViewOrigin = SH.ViewOrigin + ( SH.Velocity * time)
  1665.     SH.Velocity = SH.Velocity * 0.95
  1666.    
  1667.     local sensitivity = 0.022
  1668.     SH.ViewAngle.p = math.Clamp( SH.ViewAngle.p + ( cmd:GetMouseY() * sensitivity ), -89, 89 )
  1669.     SH.ViewAngle.y = SH.ViewAngle.y + ( cmd:GetMouseX() * -1 * sensitivity )
  1670.    
  1671.     local nig = Vector( 0, 0, 0 )
  1672.     local add = Vector( 0, 0, 0 )
  1673.     local ang = SH.ViewAngle
  1674.     if ( cmd:KeyDown( IN_FORWARD ) ) then add = add + ang:Forward() end
  1675.     if ( cmd:KeyDown( IN_BACK ) ) then add = add - ang:Forward() end
  1676.     if ( cmd:KeyDown( IN_MOVERIGHT ) ) then add = add + ang:Right() end
  1677.     if ( cmd:KeyDown( IN_MOVELEFT ) ) then add = add - ang:Right() end
  1678.     if ( cmd:KeyDown( IN_JUMP ) ) then add = add + ang:Up() end
  1679.     if ( cmd:KeyDown( IN_DUCK ) ) then add = add - ang:Up() end
  1680.    
  1681.     add = add:GetNormal() * time * 500
  1682.     if ( cmd:KeyDown( IN_SPEED ) ) then add = add * 2 end
  1683.    
  1684.     SH.Velocity = SH.Velocity + add
  1685.    
  1686.     if ( SH.LockView == true ) then
  1687.         SH.LockView = cmd:GetViewAngles()
  1688.     end
  1689.     if ( SH.LockView ) then
  1690.         cmd:SetViewAngles( SH.LockView )
  1691.     end
  1692.    
  1693.     cmd:SetForwardMove( 0 )
  1694.     cmd:SetSideMove( 0 )
  1695.     cmd:SetUpMove( 0 )
  1696. end
  1697. hook.Add( "CreateMove", "niggerwalk", SH.CreateMove )
  1698.  
  1699. function SH.Toggle()
  1700.     SH.Enabled = !SH.Enabled
  1701.     SH.LockView = SH.Enabled
  1702.     SH.SetView = true
  1703.    
  1704.     local status = { [ true ] = "enabled", [ false ] = "disabled" }
  1705. end
  1706. concommand.Add( "SH_toggle", SH.Toggle )
  1707.  
  1708. concommand.Add( "SH_pos", function() print( SH.ViewOrigin ) end )
  1709.  
  1710. --old defunct freecam AKA ghettocam
  1711.  
  1712. hook.Add( "ShouldDrawLocalPlayer", "ThirdPersonDrawPlayer", function()
  1713.  
  1714.     if defcon.Settings["freecam_below"] or defcon.Settings["freecam_below2"] or defcon.Settings["freecam_below3"] or defcon.Settings["freecam_above"] or defcon.Settings["freecam_above2"] or defcon.Settings["freecam_above3"] or defcon.Settings["freecam_side"] or defcon.Settings["freecam_side2"] or defcon.Settings["freecam_side3"] then
  1715.  
  1716.         return true
  1717.  
  1718.     end
  1719.  
  1720. end )
  1721. hook.Add( "CalcView", "ThirdPersonView", "", function( ply, pos, angles, fov, p, o, a, f )
  1722.     if defcon.Settings["freecam_below"] then
  1723.         local view = {}
  1724.         view.origin = pos - ( angles:Forward() * -200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -150 )
  1725.         view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
  1726.         view.fov = fov
  1727.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1728.     end
  1729.     if defcon.Settings["freecam_below2"] then
  1730.         local view = {}
  1731.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -150 )
  1732.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  1733.         view.fov = fov
  1734.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1735.     end
  1736.         if defcon.Settings["freecam_below3"] then
  1737.         local view = {}
  1738.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * -650 )
  1739.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  1740.         view.fov = fov
  1741.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1742.     end
  1743.         if defcon.Settings["freecam_above"] then
  1744.         local view = {}
  1745.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 150 )
  1746.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  1747.         view.fov = fov
  1748.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1749.     end
  1750.         if defcon.Settings["freecam_above2"] then
  1751.         local view = {}
  1752.         view.origin = pos - ( angles:Forward() * -200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 150 )
  1753.         view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
  1754.         view.fov = fov
  1755.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1756.     end
  1757.         if defcon.Settings["freecam_above3"] then
  1758.         local view = {}
  1759.         view.origin = pos - ( angles:Forward() * 200 ) + ( angles:Right() * 0 ) + ( angles:Up() * 650 )
  1760.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  1761.         view.fov = fov
  1762.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1763.     end
  1764.         if defcon.Settings["freecam_side"] then
  1765.         local view = {}
  1766.         view.origin = pos - ( angles:Forward() * 150 ) + ( angles:Right() * 150 ) + ( angles:Up() * 0 )
  1767.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  1768.         view.fov = fov
  1769.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1770.     end
  1771.         if defcon.Settings["freecam_side2"] then
  1772.         local view = {}
  1773.         view.origin = pos - ( angles:Forward() * -150 ) + ( angles:Right() * 150 ) + ( angles:Up() * 0 )
  1774.         view.angles = ply:EyeAngles() + Angle( 0, 180, 0 )
  1775.         view.fov = fov
  1776.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1777.     end
  1778.             if defcon.Settings["freecam_side3"] then
  1779.         local view = {}
  1780.         view.origin = pos - ( angles:Forward() * 150 ) + ( angles:Right() * 650 ) + ( angles:Up() * 0 )
  1781.         view.angles = ply:EyeAngles() + Angle( 0, 0, 0 )
  1782.         view.fov = fov
  1783.         return GAMEMODE:CalcView( ply, view.origin, view.angles, view.fov )
  1784.     end
  1785.     end)
  1786.    
  1787. --best esp
  1788.  
  1789. hook.Add("HUDPaint", "catHUD", function()
  1790.     if defcon.Settings["esp_player"] or defcon.Settings["esp_entity"] then
  1791.         for k,v in pairs(ents.GetAll()) do
  1792.             if defcon.Settings["esp_player"] && v:IsPlayer() then
  1793.                 if(espcheck("player", v) and espdistance("player", v))then
  1794.                     local ESP = (v:EyePos()):ToScreen()
  1795.                     local name,health,rank,col,distance = "","","","",""
  1796.                     local outcol = Color(0,0,0,255)
  1797.                     local white = Color(255,255,255,255)
  1798.                     local outcol2 = outcol
  1799.                     if defcon.Settings["esp_player_name"] then
  1800.                         if v.GetRPName then name = v:GetRPName()
  1801.                         else name = v:Nick() end
  1802.                     end
  1803.                     if v:Nick() ~= name then rank = " "..v:Nick() end
  1804.                     if v.SteamName and name ~= v:SteamName() then rank = " "..v:SteamName() end
  1805.                     if defcon.Settings["esp_player_rank"] then
  1806.                         if v:IsSuperAdmin() then
  1807.                             rank = "[Super Admin]"..rank
  1808.                         elseif v:IsAdmin() then
  1809.                             rank = "[Admin]"..rank
  1810.                         elseif v:IsUserGroup("moderator") or v:IsUserGroup("mod") then
  1811.                             rank = "[Moderator]"..rank
  1812.                         elseif v:IsUserGroup("vip") or v:IsUserGroup("donator") then
  1813.                             rank = "[Donator]"..rank
  1814.                         end
  1815.                     end
  1816.                     if defcon.Settings["esp_player_health"] and not(defcon.Settings["esp_player_armor"]) then
  1817.                         health = v:Health().."H"
  1818.                     elseif defcon.Settings["esp_player_armor"] and not(defcon.Settings["esp_player_health"]) then
  1819.                         health = v:Armor().."A"
  1820.                     elseif defcon.Settings["esp_player_armor"] and defcon.Settings["esp_player_health"] then
  1821.                         health = v:Health().. "H - "..v:Armor().."A"
  1822.                     end
  1823.                     if defcon.Settings["esp_player_showdist"] then
  1824.                         distance = v:GetPos():Distance(LocalPlayer():GetPos())
  1825.                         distance = math.Round(distance).." m"
  1826.                     end
  1827.                     col = team.GetColor(v:Team())
  1828.                     if(col.r <= 50 and col.g <= 50 and col.b <= 50) then
  1829.                         outcol2 = Color(200,200,200,255)
  1830.                     end
  1831.                     if col.a <= 50 then
  1832.                         col = Color(col.r,col.g,col.b, 255)
  1833.                     end
  1834.                     draw.SimpleTextOutlined(rank, "deffontesp2", ESP.x, ESP.y -46, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol2)
  1835.                     draw.SimpleTextOutlined(name, "deffontesp1", ESP.x, ESP.y - 34, col, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol2)
  1836.                     if health ~= "" then
  1837.                         draw.SimpleTextOutlined(health, "deffontesp2", ESP.x, ESP.y -22, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
  1838.                         draw.SimpleTextOutlined(distance, "deffontesp2", ESP.x, ESP.y - 10, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
  1839.                     else
  1840.                         draw.SimpleTextOutlined(distance, "deffontesp2", ESP.x, ESP.y - 22, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, outcol)
  1841.                     end
  1842.                     if defcon.Settings["esp_player_glow"] then
  1843.                         halo.Add({v}, col, 2, 2, 1, true, true)
  1844.                     end
  1845.                 end
  1846.             end
  1847.             if (defcon.Settings["esp_entity"] and espcheck("entity", v) and espdistance("entity", v))then
  1848.                 if table.HasValue(defcon.Entities, v:GetClass()) then
  1849.                     local ESP = (v:EyePos()):ToScreen()
  1850.                     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))
  1851.                 end
  1852.             end
  1853.         end
  1854.     end
  1855.                     for k, v in pairs( player.GetAll() ) do
  1856.                             if ( GAMEMODE_NAME == "cwhl2rp" ) then
  1857.                             if( v == LocalPlayer() ) then continue; end
  1858.                             local ESP = (v:EyePos()):ToScreen()
  1859.                             local hpos = v:GetPos();
  1860.                             local dist = hpos:Distance( LocalPlayer():GetPos() );
  1861.                             local m = dist / 39.36;
  1862.     if( dist <= math.min( Clockwork.config:Get( "talk_radius" ):Get() / 3, 80 ) ) and( GAMEMODE_NAME == "cwhl2rp" ) then
  1863.             draw.SimpleTextOutlined( "Whisper Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
  1864.         elseif( dist <= Clockwork.config:Get( "talk_radius" ):Get() ) then
  1865.             draw.SimpleTextOutlined( "Talk Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
  1866.         elseif( dist <= Clockwork.config:Get( "talk_radius" ):Get() * 2 ) then
  1867.             draw.SimpleTextOutlined( "Yell Range", "deffontesp2", ESP.x, ESP.y +2, white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER, 1, Color(0,0,0,255) );
  1868.         else
  1869.             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) );
  1870. end
  1871. end
  1872. end
  1873. end)
  1874.  
  1875. --broken aids wtf
  1876.  
  1877. hook.Add("Think", "catBOT", function(ucmd, origin, angles, calcview, fov, p, o, a, f, aaaaa )
  1878.     if(input.IsKeyDown(KEY_TAB) && input.IsKeyDown(KEY_Q) && !menu.frame)then
  1879.         DrawMenu()
  1880.     elseif(menu.frame && input.IsKeyDown(KEY_BACKSPACE))then
  1881.         menu.frame:Remove();menu.frame = nil
  1882.     end
  1883.     if defcon.Settings["flashlight_spam"] and input.IsKeyDown(KEY_LEFT) then
  1884.         RunConsoleCommand("impulse", "100")
  1885.     end
  1886.     if(defcon.Settings["triggerbot"] && input.IsMouseDown(MOUSE_MIDDLE)) then
  1887.         local pos = LocalPlayer():GetShootPos()
  1888.         local ang = LocalPlayer():GetAimVector()
  1889.         local tracedata = {}
  1890.         tracedata.start = pos
  1891.         tracedata.endpos = pos+(ang*9999999999999)
  1892.         local trace = util.TraceLine(tracedata)
  1893.         if(trace.HitNonWorld) then
  1894.             target = trace.Entity
  1895.             if(target:IsPlayer() and defcon.CanTarget(target)) then
  1896.                 RunConsoleCommand("+attack")
  1897.                 timer.Simple(0.000000000000000000001, function() RunConsoleCommand("-attack") end)
  1898.             end
  1899.         end
  1900.     end
  1901.    
  1902.     local FindMetaTable = FindMetaTable;
  1903.  
  1904. local em = FindMetaTable"Entity";
  1905. local pm = FindMetaTable"Player";
  1906. local cm = FindMetaTable"CUserCmd";
  1907. local wm = FindMetaTable"Weapon";
  1908. local am = FindMetaTable"Angle";
  1909. local vm = FindMetaTable"Vector";
  1910.    
  1911.     local SetEyeAngles = SetEyeAngles;
  1912.     if(defcon.Settings["aimbot"] && /*input.IsKeyDown(defcon.AimKey)*/ input.IsKeyDown(KEY_F8)) then
  1913.         for k,v in pairs(player.GetAll()) do
  1914.             if defcon.CanTarget(v) then
  1915.                 local head = v:LookupBone("ValveBiped.Bip01_Head1")
  1916.                 if head ~= nil then
  1917.                     local fov = defcon.Settings["aimbot_fov"]
  1918.                     if fov == 0 then
  1919.                         local headpos,targetheadang = v:GetBonePosition(head)
  1920.                         LocalPlayer():SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
  1921.                     else
  1922.                         local lpang = LocalPlayer():GetAngles();
  1923.                         local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle();
  1924.                         local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
  1925.                         local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
  1926.                         if not(ady > fov or adp > fov) then
  1927.                             local headpos,targetheadang = v:GetBonePosition(head)
  1928.                             if headpos != nil and targetheadang != nil then
  1929.                                 LocalPlayer():SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
  1930.                             end
  1931.                         end
  1932.                     end
  1933.                 end
  1934.             end
  1935.         end
  1936.     end
  1937.     if defcon.Settings["ttt_deathnotifs"] then
  1938.         for k,v in pairs(player.GetAll()) do
  1939.             if v:Alive() and not (defcon.Alive[v:UniqueID()] == true) then
  1940.                 defcon.Alive[v:UniqueID()] = true
  1941.             elseif not v:Alive() and (defcon.Alive[v:UniqueID()] == true) then
  1942.                 defcon.Alive[v:UniqueID()] = false
  1943.                 notification.AddLegacy(v:Nick().. (" "..defcon.Phrases2[math.random(1, table.Count(defcon.Phrases2))]), NOTIFY_GENERIC, 5)
  1944.                 print ( "[Shitcheat] " .. v:Nick().. (" "..defcon.Phrases2[math.random(1, table.Count(defcon.Phrases2))]))
  1945.             end
  1946.         end
  1947.     end
  1948. end)
  1949.  
  1950. --[[
  1951. local function aimer(ucmd)
  1952.     if(cm.CommandNumber(ucmd) == 0 || !gBool("casualbot", "Aimbot", "Enabled")) then return; end
  1953.     gettarget();
  1954.     aa = false;
  1955.     if(aimtarget && (input.IsKeyDown(KEY_LALT) || gBool("casualbot", "Aimbot", "Autosnap")) ) then
  1956.         aa = true;
  1957.         local pos = GetPos(aimtarget) - em.EyePos(me);
  1958.         PredictPos(pos);
  1959.         local ang = vm.Angle( PredictSpread(ucmd, vm.Angle(pos)));
  1960.         NormalizeAngle(ang);
  1961.         cm.SetViewAngles(ucmd, ang);
  1962.         if(gBool("casualbot", "Aimbot", "Autofire")) then
  1963.             Autofire(ucmd);
  1964.         end
  1965.         if(gBool("casualbot", "Aimbot", "Silent")) or defcon.Settings["silent"] then
  1966.             FixMovement(ucmd);
  1967.         else
  1968.             fa = ang;
  1969.         end
  1970.     end
  1971. end
  1972. --]]
  1973.  
  1974. --bhop (should toggle if you don't use catapult)
  1975.  
  1976. hook.Add( "CreateMove", "Billard_Bhop", function( ucmd )
  1977.     if defcon.Settings["bhop_bhop"] then
  1978.         if ucmd:KeyDown( IN_JUMP ) then
  1979.             if LocalPlayer():WaterLevel() <= 1 && LocalPlayer():GetMoveType() != MOVETYPE_LADDER && !LocalPlayer():IsOnGround() then
  1980.                     ucmd:RemoveKey( IN_JUMP )
  1981.             end
  1982.         end
  1983.     end
  1984. end )
  1985.  
  1986.  
  1987. --velocity meter
  1988.  
  1989. surface.CreateFont("velmet", {
  1990.  size = 50,
  1991.  weight = 50,
  1992.  antialias = true,
  1993.  font = "courier new"
  1994.  });
  1995.  
  1996. hook.Add("HUDPaint", "Velocity", function()
  1997.     for k,v in pairs(player.GetAll()) do
  1998.         if defcon.Settings ["velocity"] then
  1999.             local showvel = math.floor(LocalPlayer():GetVelocity():Length())
  2000.                 draw.RoundedBox(1, ScrW()/2.5, ScrH()/1.07, ScrW()/4.21, ScrH()/26, Color(50, 50, 50, 150))
  2001.                 draw.DrawText("VELOCITY: "..showvel, "velmet", ScrW()/2.5, ScrH()/1.075, Color(255, 255, 255, 185))
  2002.                 end
  2003.             end
  2004.     end)
  2005.    
  2006. --crosshair
  2007.  
  2008. hook.Add( "HUDPaint", "CrossHair", function ( ucmd )
  2009.     if defcon.Settings["crosshair"] then
  2010.         local h = ScrH() / 2
  2011.         local w = ScrW() / 2
  2012.         local h1 = ScrH() / 2
  2013.         local w1 = ScrW() / 2
  2014.        
  2015.         surface.SetDrawColor( 0, 255, 255 )
  2016.         surface.DrawLine( w + 10, h, w - 10, h )
  2017.         surface.DrawLine( w, h + 10, w, h - 10 )
  2018.     end
  2019.        
  2020. end)
  2021.  
  2022. --physics prop ESP
  2023.  
  2024. local propchams = CreateMaterial("propchams","VertexLitGeneric",{
  2025.         ["$basetexture"] = "models/debug/debugwhite",
  2026.         ["$model"] = 1,
  2027.         ["$translucent"] = 1,
  2028.         ["$alpha"] = 1,
  2029.         ["$nocull"] = 1,
  2030.         ["$ignorez"] = 1
  2031. }
  2032. )
  2033.  
  2034. hook.Add( "HUDPaint", "PropESP", function()
  2035.     for k,v in pairs ( ents.FindByClass( "prop_physics" ) ) do
  2036.         if GetConVarNumber("defcon.propchams") == 1 then
  2037.             cam.Start3D(EyePos(), EyeAngles())
  2038.                 if v:IsValid() then
  2039.                     render.SuppressEngineLighting( false )
  2040.                     render.MaterialOverride( propchams )
  2041.                     render.SetBlend(0.2)
  2042.                     render.SetColorModulation( 0, 255, 0)
  2043.                     v:DrawModel()
  2044.             cam.End3D()
  2045.             end
  2046.         end
  2047.     end
  2048. end)
  2049.  
  2050. -- player chams (copy-pasted from an old shitty lua file i found in my shit folder one day)
  2051.  
  2052. hook.Add( "HUDPaint", "ESPChams", function()
  2053.  
  2054.     for k,v in pairs ( player.GetAll() ) do
  2055.     if GetConVarNumber("defcon.chams") == 1 then
  2056.        
  2057.         if SafeCheck(v) == true then
  2058.        
  2059.             local ply = LocalPlayer()
  2060.            
  2061.             cam.Start3D(EyePos(), EyeAngles())
  2062.                      render.MaterialOverride( propchams )
  2063.                      render.SuppressEngineLighting( false )
  2064.                      render.SetBlend( 1 )
  2065.                      render.SetColorModulation( 0, 255, 255 )
  2066.                     v:DrawModel();
  2067.                     -- This bit is for weapons. --
  2068.                      render.MaterialOverride( propchams )
  2069.                      render.SuppressEngineLighting( false )
  2070.                      render.SetBlend( 1 )
  2071.                      render.SetColorModulation( 255, 0, 0 )
  2072.                     v:GetActiveWeapon():DrawModel()
  2073.                 cam.End3D()
  2074.         end
  2075.     end
  2076. end
  2077. end)
  2078.  
  2079. --box ESP
  2080.  
  2081. hook.Add("HUDPaint", "3DBoxESP", function()
  2082.     for k,v in pairs(player.GetAll()) do
  2083.         if GetConVarNumber("defcon.boxESP") == 1 then
  2084.             if SafeCheck(v) == true then
  2085.             local ply = LocalPlayer()
  2086.             local plyPos = v:GetPos()
  2087.             local head = v:OBBMaxs()
  2088.             local feet = v:OBBMins()
  2089.             local eye = v:EyeAngles()
  2090.                 cam.Start3D()
  2091.                     render.DrawWireframeBox( plyPos, Angle( 0, eye.y, 0), feet, head, team.GetColor(v:Team()) )
  2092.                      cam.End3D()
  2093.                   end
  2094.            end
  2095.     end
  2096. end)
  2097. --chat spam
  2098.  
  2099. local function Spam2()
  2100.     if defcon.Settings["chatspam1"] then
  2101.          LocalPlayer():ConCommand("say "..table.Random(normalspam).." " )
  2102.     end
  2103. end
  2104. timer.Create("Spammins2", .5,0,Spam2)
  2105.  
  2106. normalspam = {}
  2107. normalspam[1] = "mods = fags"
  2108. normalspam[2] = "I hate niggers"
  2109. normalspam[3] = "sheo was here"
  2110. normalspam[4] = "try finger but hole"
  2111. normalspam[5] = "time for crab"
  2112. normalspam[6] = "THIS SERVER IS GETTING FUCKING NULLED RN"
  2113. normalspam[7] = "whoever made this server is a fucking downie holy shit"
  2114. normalspam[8] = "this serv sucks, fuck you guys"
  2115. normalspam[9] = "im not hacking wtf?"
  2116. normalspam[10] = "Mega.co.nz is famous for it's shitposting on 4chan."
  2117. normalspam[11] = "How much memes could a cock suck if 9/11?"
  2118. normalspam[12] = "assrape"
  2119. normalspam[13] = "AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
  2120. normalspam[14] = "Sweedish fish are like apples, they taste good as candy, not the actual thing."
  2121. normalspam[15] = "you what"
  2122. normalspam[16] = "I'll quote your head with a rock"
  2123. normalspam[17] = "fuck me harder daddy"
  2124. normalspam[18] = "dickrape is neat"
  2125. normalspam[19] = "Shitty memes from a shitty dream."
  2126. normalspam[20] = "sheogorath has aids"
  2127. normalspam[21] = "fuck niggers"
  2128. normalspam[22] = "♫im an alabama nigger and i wanna be free, to hell with the n double a-c-p♫"
  2129. normalspam[23] = "hey whats up guys it's scarce here"
  2130. normalspam[24] = "//this is a test of the emergency broadcast system"
  2131. normalspam[25] = "erp = b&"
  2132. normalspam[26] = "50 percent off all fat farts at the fag store"
  2133. normalspam[27] = "dennis the menace"
  2134. 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."
  2135. normalspam[29] = "shoutout to poopnig420 for providing memes"
  2136. normalspam[30] = "shoutout to inboot for providing packets"
  2137. normalspam[31] = "geklmin is a grade-a autist."
  2138. normalspam[32] = "REMOVE KEBAB remove kebab"
  2139. 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"
  2140. normalspam[34] = "hahahahaha idiot turk and bosnian smell so bad..wow i can smell it."
  2141. normalspam[35] = "you will get caught. russia+usa+croatia+slovak=kill bosnia…"
  2142. normalspam[36] = "you will ww2/ tupac alive in serbia, tupac making album of serbia . fast rap tupac serbia."
  2143. normalspam[37] = "2pac aliv and real strong wizard kill all the turk farm aminal with rap magic now we the serba rule ."
  2144. normalspam[38] = "ape of the zoo presidant georg bush fukc the great satan and lay egg this egg hatch and bosnia wa;s born."
  2145. normalspam[39] = "stupid baby form the eggn give bak our clay we will crush u lik a skull of pig. serbia greattst countrey"
  2146. normalspam[40] = "cetnik rascal FUck but fuck asshole turk stink bosnia sqhipere shqipare..turk genocide best day of my life."
  2147. normalspam[41] = "http://www.madbluntz.rs offical sponsor of the republika srpska - marijuana fanatics serbia"
  2148.  
  2149. local function Spam()
  2150.     if defcon.Settings["chatspam2"] then
  2151.          LocalPlayer():ConCommand("cwsay "..table.Random(hl2rpvcspam).." " )
  2152.     end
  2153. end
  2154. timer.Create("Spammins", .5,0,Spam)
  2155.  
  2156. hl2rpvcspam = {}
  2157. hl2rpvcspam[1] = "noooo"
  2158. hl2rpvcspam[2] = "whistle tune"
  2159. hl2rpvcspam[3] = "i could eat a horse"
  2160. hl2rpvcspam[4] = "combine"
  2161. hl2rpvcspam[5] = "zombies"
  2162. hl2rpvcspam[6] = "run"
  2163. hl2rpvcspam[7] = "over here"
  2164. hl2rpvcspam[8] = "hey over here"
  2165. hl2rpvcspam[9] = "run for your life"
  2166. hl2rpvcspam[10] = "hes dead"
  2167. hl2rpvcspam[11] = "woops"
  2168. hl2rpvcspam[12] = "hands on doctor breen"
  2169. hl2rpvcspam[13] = "dream about cheese"
  2170. hl2rpvcspam[14] = "dibs on the suit"
  2171.  
  2172. --laser eyes (old shit from anozira days)
  2173.  
  2174. hook.Add("PostDrawOpaqueRenderables", "lasereyes", function()
  2175.     if defcon.Settings["lasereyes"] then
  2176.     for k, v in pairs(player.GetAll())do
  2177.     if SafeCheck(v) == true then
  2178.         local pos, ang = v:GetShootPos();
  2179.         render.SetMaterial(Material("sprites/bluelaser1"));
  2180.         render.DrawBeam(pos, v:GetEyeTrace().HitPos, 5, 1, 1, team.GetColor(v:Team()));
  2181.     end
  2182.     end
  2183.     end
  2184. end)  
  2185.  
  2186. --pickup and dupein radius from niggermenu
  2187.  
  2188. function DupeInRadius()
  2189.         local ply = LocalPlayer()
  2190.             for k,v in pairs( ents.GetAll() ) do
  2191.                     local pos = v:GetPos()
  2192.                     if v:IsValid() and ply:GetPos():Distance(pos) <= 180 then
  2193.                             if v:GetClass() == "cw_item"  then
  2194.                                     for i=0,2,1 do
  2195.                                             Clockwork.datastream:Start("EntityMenuOption", {v, "cwItemTake", "cwItemTake"})
  2196.                                                                         end
  2197.                                                         elseif v:GetClass() == "cw_cash" then
  2198.                                                                 for i=0,2,1 do
  2199.                                             Clockwork.datastream:Start("EntityMenuOption", {v, "cwCashTake", "cwCashTake"})
  2200.                                     end
  2201.                             end
  2202.                     end
  2203.             end
  2204.     end
  2205.  
  2206.    concommand.Add( "dupeinradius", DupeInRadius )
  2207.  
  2208. function PickUpInRadius()
  2209.     local ply = LocalPlayer()
  2210.         for k,v in pairs( ents.GetAll() ) do
  2211.                 local pos = v:GetPos()
  2212.                 if v:IsValid() and ply:GetPos():Distance(pos) <= 2048 then
  2213.                         if v:GetClass() == "cw_item"  then
  2214.                                 Clockwork.datastream:Start("EntityMenuOption", {v, "cwItemTake", "cwItemTake"});
  2215.                         elseif v:GetClass() == "cw_cash" then
  2216.                                 Clockwork.datastream:Start("EntityMenuOption", {v, "cwCashTake", "cwCashTake"});
  2217.                         elseif v:GetClass() == "cw_shipment" then
  2218.                                 Clockwork.datastream:Start("EntityMenuOption", {v, "cwShipmentOpen", "cwShipmentOpen"});
  2219.                         elseif v:GetClass() == "prop_physics" then
  2220.                                 Clockwork.datastream:Start("EntityMenuOption", {v, "cwContainerOpen", "cwContainerOpen"});
  2221.                         elseif v:GetClass() == "prop_ragdoll" then
  2222.                                 Clockwork.datastream:Start("EntityMenuOption", {v, "cwContainerOpen", "cwContainerOpen"});
  2223.                          end
  2224.                 end
  2225.         end
  2226. end
  2227. concommand.Add( "pickupinradius", PickUpInRadius )
  2228.  
  2229. CreateClientConVar( "defcon.boxESP", 0, true, false)
  2230. CreateClientConVar( "defcon.propchams", 0, true, false)
  2231. CreateClientConVar( "defcon.radiochams", 0, true, false)
  2232. CreateClientConVar( "defcon.chams", 0, true, false)
  2233.  
  2234. --literal fucking copy of memeware
  2235.  
  2236. local type = type;
  2237. local next = next;
  2238.  
  2239. local function Copy(tt, lt)
  2240.     local copy = {}
  2241.     if lt then
  2242.         if type(tt) == "table" then
  2243.             for k,v in next, tt do
  2244.                 copy[k] = Copy(k, v)
  2245.             end
  2246.         else
  2247.             copy = lt
  2248.         end
  2249.         return copy
  2250.     end
  2251.     if type(tt) != "table" then
  2252.         copy = tt
  2253.     else
  2254.         for k,v in next, tt do
  2255.             copy[k] = Copy(k, v)
  2256.         end
  2257.     end
  2258.     return copy
  2259. end
  2260.  
  2261. local surface = Copy(surface);
  2262. local vgui = Copy(vgui);
  2263. local input = Copy(input);
  2264. local Color = Color;
  2265. local ScrW, ScrH = ScrW, ScrH;
  2266. local gui = Copy(gui);
  2267. local math = Copy(math);
  2268. local file = Copy(file);
  2269. local util = Copy(util);
  2270.  
  2271. surface.CreateFont("memeyou", {
  2272.     font = "Console",
  2273.     size = 13,
  2274.     weight = 700,
  2275.     shadow = false,
  2276.     antialias = false,
  2277. });
  2278.  
  2279. surface.CreateFont("memeyou2", {
  2280.     font = "Console",
  2281.     size = 13,
  2282.     weight = 700,
  2283.     shadow = false,
  2284.     antialias = false,
  2285. });
  2286.  
  2287. local options = {
  2288.     ["casualbot"] = {
  2289.         {
  2290.             {"Aimbot", 20, 20, 350, 240, 120},
  2291.             {"Enabled", "Checkbox", true, 0},
  2292.             {"Silent", "Checkbox", false, 0},
  2293.             {"Autofire", "Checkbox", false, 0},
  2294.             {"Autosnap", "Checkbox", false, 0},
  2295.             {"Auto Pistol", "Checkbox", true, 0},
  2296.             {"Non-Sticky", "Checkbox", false, 0},
  2297.             {"Bullettime", "Checkbox", false, 0},
  2298.         },
  2299.         {
  2300.             {"Target", 20, 280, 350, 180, 120},
  2301.             {"Selection", "Selection", "Distance", {"Distance", "Health", "Nextshot"}, 150 },
  2302.             {"Bodyaim", "Checkbox", false, 0},
  2303.             {"Ignore Bots", "Checkbox", false, 0},
  2304.             {"Ignore Team", "Checkbox", false, 0},
  2305.             {"Ignore Friends", "Checkbox", true, 0},
  2306.             {"Snapline", "Checkbox", false, 0},
  2307.         },
  2308.         {
  2309.             {"Accuracy", 380, 20, 350, 190, 120},
  2310.             {"Anti Spread", "Checkbox", false, 0},
  2311.             {"Anti Recoil", "Checkbox", false, 0},
  2312.         },
  2313.         {
  2314.             {"Anti-Aim", 380, 230, 350, 230, 140},
  2315.             {"Enabled", "Checkbox", false, 0},
  2316.             {"X", "Selection", "Emotion", {"Up", "Down", "Jitter", "Emotion"}, 150},
  2317.             {"Y", "Selection", "Emotion", {"Forward", "Backwards", "Jitter", "TJitter", "Sideways", "Emotion", "Static", "Towards Players"}, 150},
  2318.             {"Max Y", "Slider", 50, 360, 150},
  2319.             {"Min Y", "Slider", 0, 360, 150},
  2320.             {"Emotion Randomcoin X", "Slider", 50, 100, 150},
  2321.             {"Emotion Randomcoin Y", "Slider", 20, 100, 150},
  2322.         },
  2323.     },
  2324.     ["Visuals"] = {
  2325.         {
  2326.             {"ESP", 20, 20, 350, 240, 220},
  2327.             {"Enabled", "Checkbox", false, 54},
  2328.             {"Box", "Checkbox", false, 54},
  2329.             {"Box Type", "Selection", "2D Box", {"2D Box", "3D Box"}, 68},
  2330.             {"Name", "Checkbox", false, 54},
  2331.             {"Health", "Checkbox", false, 54},
  2332.             {"Weapon", "Checkbox", false, 54},
  2333.             {"XQZ", "Checkbox", false, 54},
  2334.             {"Chams", "Checkbox", false, 54},
  2335.             {"Skeleton", "Checkbox", false, 54},
  2336.         },
  2337.         {
  2338.             {"Filter", 20, 280, 350, 180, 220},
  2339.             {"Enemies only", "Checkbox", false, 54},
  2340.             {"Distance", "Checkbox", false, 54},
  2341.             {"Max Distance", "Slider", 0, 10000, 68},
  2342.         },
  2343.         {
  2344.             {"Misc", 380, 20, 350, 190, 220},
  2345.             {"Thirdperson", "Checkbox", false, 54},
  2346.         },
  2347.     },
  2348.     ["Colors"] = {
  2349.         {
  2350.             {"Box - Team", 20, 20, 250, 175, 130},
  2351.             {"R", "Slider", 255, 255, 88},
  2352.             {"G", "Slider", 255, 255, 88},
  2353.             {"B", "Slider", 0, 255, 88},
  2354.         },
  2355.         {
  2356.             {"Box - Enemy", 20, 205, 250, 175, 130},
  2357.             {"R", "Slider", 180, 255, 88},
  2358.             {"G", "Slider", 120, 255, 88},
  2359.             {"B", "Slider", 0, 255, 88},
  2360.         },
  2361.         {
  2362.             {"Chams - Team", 290, 20, 250, 175, 130},
  2363.             {"Visible R", "Slider", 0, 255, 88},
  2364.             {"Visible G", "Slider", 255, 255, 88},
  2365.             {"Visible B", "Slider", 0, 255, 88},
  2366.             {"Not Visible R", "Slider", 0, 255, 88},
  2367.             {"Not Visible G", "Slider", 0, 255, 88},
  2368.             {"Not Visible B", "Slider", 255, 255, 88},
  2369.         },
  2370.        
  2371.         {
  2372.             {"Chams - Enemy", 290, 205, 250, 175, 130},
  2373.             {"Visible R", "Slider", 255, 255, 88},
  2374.             {"Visible G", "Slider", 0, 255, 88},
  2375.             {"Visible B", "Slider", 0, 255, 88},
  2376.             {"Not Visible R", "Slider", 180, 255, 88},
  2377.             {"Not Visible G", "Slider", 120, 255, 88},
  2378.             {"Not Visible B", "Slider", 0, 255, 88},
  2379.         },
  2380.     },
  2381. };
  2382.  
  2383. local order = {
  2384.     "casualbot",
  2385.     "Visuals",
  2386.     "Colors",
  2387. };
  2388.  
  2389. local function updatevar( men, sub, lookup, new )
  2390.     for aa,aaa in next, options[men] do
  2391.         for key, val in next, aaa do
  2392.             if(aaa[1][1] != sub) then continue; end
  2393.             if(val[1] == lookup) then
  2394.                 val[3] = new;
  2395.             end
  2396.         end
  2397.     end
  2398. end
  2399.  
  2400. local function loadconfig()
  2401.     if(!file.Exists("secretbitch.txt", "DATA")) then return; end
  2402.     local tab = util.JSONToTable( file.Read("secretbitch.txt", "DATA") );
  2403.     local cursub;
  2404.     for k,v in next, tab do
  2405.         if(!options[k]) then continue; end
  2406.         for men, subtab in next, v do
  2407.             for key, val in next, subtab do
  2408.                 if(key == 1) then cursub = val[1]; continue; end
  2409.                 updatevar(k, cursub, val[1], val[3]);
  2410.             end
  2411.         end
  2412.     end
  2413. end
  2414.  
  2415. local function gBool(men, sub, lookup)
  2416.     if(!options[men]) then return; end
  2417.     for aa,aaa in next, options[men] do
  2418.         for key, val in next, aaa do
  2419.             if(aaa[1][1] != sub) then continue; end
  2420.             if(val[1] == lookup) then
  2421.                 return val[3];
  2422.             end
  2423.         end
  2424.     end
  2425. end
  2426.  
  2427. local function gOption(men, sub, lookup)
  2428.     if(!options[men]) then return ""; end
  2429.     for aa,aaa in next, options[men] do
  2430.         for key, val in next, aaa do
  2431.             if(aaa[1][1] != sub) then continue; end
  2432.             if(val[1] == lookup) then
  2433.                 return val[3];
  2434.             end
  2435.         end
  2436.     end
  2437.     return "";
  2438. end
  2439.  
  2440. local function gInt(men, sub, lookup)
  2441.     if(!options[men]) then return 0; end
  2442.     for aa,aaa in next, options[men] do
  2443.         for key, val in next, aaa do
  2444.             if(aaa[1][1] != sub) then continue; end
  2445.             if(val[1] == lookup) then
  2446.                 return val[3];
  2447.             end
  2448.         end
  2449.     end
  2450.     return 0;
  2451. end
  2452.  
  2453. local function saveconfig()
  2454.     file.Write("secretbitch.txt", util.TableToJSON(options));
  2455. end
  2456.  
  2457. local mousedown;
  2458. local candoslider;
  2459. local drawlast;
  2460.  
  2461. local visible = {};
  2462.  
  2463. for k,v in next, order do
  2464.     visible[v] = false;
  2465. end
  2466.  
  2467. local function DrawBackground(w, h)
  2468.     surface.SetDrawColor(50, 50, 50, 200);
  2469.     surface.DrawRect(0, 0, w, h);
  2470.    
  2471.     local curcol = Color(50, 50, 50, 200);
  2472.    
  2473.     for i = 0, 30 do
  2474.         surface.SetDrawColor(curcol);
  2475.         curcol.r = curcol.r ;
  2476.         surface.DrawLine(0, i, w, i);
  2477.     end
  2478.    
  2479.     surface.SetDrawColor(curcol);
  2480.    
  2481.     surface.SetFont("memeyou");
  2482.    
  2483.     local tw, th = surface.GetTextSize("not memeware");
  2484.    
  2485.     surface.SetTextPos(5, 15 - th / 2);
  2486.    
  2487.     surface.SetTextColor(255, 255, 255);
  2488.    
  2489.     surface.DrawText("not memeware");
  2490.    
  2491.     surface.DrawRect(0, 31, 5, h - 31);
  2492.     surface.DrawRect(0, h - 5, w, h);
  2493.     surface.DrawRect(w - 5, 31, 5, h);
  2494. end
  2495.  
  2496. local function MouseInArea(minx, miny, maxx, maxy)
  2497.     local mousex, mousey = gui.MousePos();
  2498.     return(mousex < maxx && mousex > minx && mousey < maxy && mousey > miny);
  2499. end
  2500.  
  2501. local function DrawOptions(self, w, h)
  2502.     local mx, my = self:GetPos();
  2503.    
  2504.     local sizeper = (w - 10) / #order;
  2505.    
  2506.     local maxx = 0;
  2507.    
  2508.     for k,v in next, order do
  2509.         local bMouse = MouseInArea(mx + 5 + maxx, my + 31, mx + 5 + maxx + sizeper, my + 31 + 30);
  2510.         if(visible[v]) then
  2511.             local curcol = Color(60, 60, 60, 200);
  2512.             for i = 0, 30 do
  2513.                 surface.SetDrawColor(curcol);
  2514.                 curcol.r, curcol.g, curcol.b = curcol.r + 0, curcol.g + 0, curcol.b + 0;
  2515.                 surface.DrawLine( 5 + maxx, 31 + i, 5 + maxx + sizeper, 31 + i);
  2516.             end
  2517.         elseif(bMouse) then
  2518.             local curcol = Color(55, 55, 55, 200);
  2519.             for i = 0, 30 do
  2520.                 surface.SetDrawColor(curcol);
  2521.                 curcol.r, curcol.g, curcol.b = curcol.r - 0, curcol.g - 0, curcol.b - 0;
  2522.                 surface.DrawLine( 5 + maxx, 31 + i, 5 + maxx + sizeper, 31 + i);
  2523.             end
  2524.         else
  2525.             local curcol = Color(50, 50, 50, 200);
  2526.             for i = 0, 30 do
  2527.                 surface.SetDrawColor(curcol);
  2528.                 curcol.r, curcol.g, curcol.b = curcol.r - 0, curcol.g - 0, curcol.b - 0;
  2529.                 surface.DrawLine( 5 + maxx, 31 + i, 5 + maxx + sizeper, 31 + i);
  2530.             end
  2531.         end
  2532.         if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !mousedown && !visible[v]) then
  2533.             local nb = visible[v];
  2534.             for key,val in next, visible do
  2535.                 visible[key] = false;
  2536.             end
  2537.             visible[v] = !nb;
  2538.         end
  2539.         surface.SetFont("memeyou2");
  2540.         surface.SetTextColor(255, 255, 255);
  2541.         local tw, th = surface.GetTextSize(v);
  2542.         surface.SetTextPos( 5 + maxx + sizeper / 2 - tw / 2, 31 + 15 - th / 2 );
  2543.         surface.DrawText(v);
  2544.         maxx = maxx + sizeper;
  2545.     end
  2546. end
  2547.  
  2548. local function DrawCheckbox(self, w, h, var, maxy, posx, posy, dist)
  2549.     surface.SetFont("memeyou2");
  2550.     surface.SetTextColor(255, 255, 255);
  2551.     surface.SetTextPos( 5 + posx + 15 + 5, 61 + posy + maxy );
  2552.     local tw, th = surface.GetTextSize(var[1]);
  2553.     surface.DrawText(var[1]);
  2554.    
  2555.     surface.SetDrawColor(163, 163, 163);
  2556.    
  2557.     surface.DrawOutlinedRect( 5 + posx + 15 + 5 + dist + var[4], 61 + posy + maxy + 2, 14, 14);
  2558.    
  2559.     local mx, my = self:GetPos();
  2560.    
  2561.     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);
  2562.    
  2563.     if(bMouse) then
  2564.         surface.DrawRect( 5 + posx + 15 + 5 + dist + 2 + var[4], 61 + posy + maxy + 4, 10, 10);
  2565.     end
  2566.    
  2567.     if(var[3]) then
  2568.         surface.SetDrawColor(43, 98, 226);
  2569.         surface.DrawRect( 5 + posx + 15 + 5 + dist + 2 + var[4], 61 + posy + maxy + 4, 10, 10);
  2570.         surface.SetDrawColor(43, 98, 226);
  2571.         surface.DrawOutlinedRect( 5 + posx + 15 + 5 + dist + 2 + var[4], 61 + posy + maxy + 4, 10, 10);
  2572.     end
  2573.    
  2574.     if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !mousedown && !drawlast) then
  2575.         var[3] = !var[3];
  2576.     end
  2577. end
  2578.  
  2579. local function DrawSlider(self, w, h, var, maxy, posx, posy, dist)
  2580.     local curnum = var[3];
  2581.     local max = var[4];
  2582.     local size = var[5];
  2583.     surface.SetFont("memeyou2");
  2584.     surface.SetTextColor(255, 255, 255);
  2585.     surface.SetTextPos( 5 + posx + 15 + 5, 61 + posy + maxy );
  2586.     surface.DrawText(var[1]);
  2587.    
  2588.     local tw, th = surface.GetTextSize(var[1]);
  2589.    
  2590.     surface.SetDrawColor(163, 163, 163);
  2591.    
  2592.     surface.DrawRect( 5 + posx + 15 + 5 + dist, 61 + posy + maxy + 9, size, 2);
  2593.    
  2594.     local ww = math.ceil(curnum * size / max);
  2595.    
  2596.     surface.SetDrawColor(43, 98, 226);
  2597.    
  2598.     surface.DrawRect( 3 + posx + 15 + 5 + dist + ww, 61 + posy + maxy + 9 - 5, 4, 12);
  2599.    
  2600.     surface.SetDrawColor(43, 98, 226);
  2601.    
  2602.     local tw, th = surface.GetTextSize(curnum..".00");
  2603.    
  2604.     surface.DrawOutlinedRect( 3 + posx + 15 + 5 + dist + ww, 61 + posy + maxy + 4, 4, 12);
  2605.    
  2606.     surface.SetTextPos( 5 + posx + 15 + 5 + dist + (size / 2) - tw / 2, 61 + posy + maxy + 16);
  2607.    
  2608.     surface.DrawText(curnum..".00");
  2609.    
  2610.     local mx, my = self:GetPos();
  2611.    
  2612.     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);
  2613.    
  2614.     if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !drawlast && !candoslider) then
  2615.         local mw, mh = gui.MousePos();
  2616.    
  2617.         local new = math.ceil( ((mw - (mx + posx + 25 + dist - size)) - (size + 1)) / (size - 2) * max);
  2618.         var[3] = new;
  2619.     end
  2620. end
  2621.  
  2622. local notyetselected;
  2623.  
  2624. local function DrawSelect(self, w, h, var, maxy, posx, posy, dist)
  2625.  
  2626.     local size = var[5];
  2627.     local curopt = var[3];
  2628.    
  2629.     surface.SetFont("memeyou2");
  2630.     surface.SetTextColor(255, 255, 255);
  2631.     surface.SetTextPos( 5 + posx + 15 + 5, 61 + posy + maxy );
  2632.     local tw, th = surface.GetTextSize(var[1]);
  2633.     surface.DrawText(var[1]);
  2634.    
  2635.     surface.SetDrawColor(163, 163, 163);
  2636.    
  2637.     surface.DrawOutlinedRect( 25 + posx + dist, 61 + posy + maxy, size, 16);
  2638.    
  2639.     local mx, my = self:GetPos();
  2640.    
  2641.     local bMouse = MouseInArea( mx + 25 + posx + dist, my + 61 + posy + maxy, mx + 25 + posx + dist + size, my + 61 + posy + maxy + 16)
  2642.    
  2643.     local check = dist..posy..posx..w..h..maxy;
  2644.    
  2645.     if(bMouse || notyetselected == check) then
  2646.        
  2647.         surface.DrawRect(25 + posx + dist + 2, 61 + posy + maxy + 2, size - 4, 12);
  2648.        
  2649.     end
  2650.    
  2651.     local tw, th = surface.GetTextSize(curopt);
  2652.    
  2653.     surface.SetTextPos( 25 + posx + dist + 5, 61 + posy + maxy + 6 - th / 2 + 2);
  2654.    
  2655.     surface.DrawText(curopt);
  2656.    
  2657.     if(bMouse && input.IsMouseDown(MOUSE_LEFT) && !drawlast && !mousedown || notyetselected == check) then
  2658.         notyetselected = check;
  2659.         drawlast = function()
  2660.             local maxy2 = 16;
  2661.             for k,v in next, var[4] do
  2662.                 surface.SetDrawColor(163, 163, 163);
  2663.                 surface.DrawRect( 25 + posx + dist, 61 + posy + maxy + maxy2, size, 16);
  2664.                 local bMouse2 = MouseInArea( mx + 25 + posx + dist, my + 61 + posy + maxy + maxy2, mx + 25 + posx + dist + size, my + 61 + posy + maxy + 16 + maxy2)
  2665.                 if(bMouse2) then
  2666.                     surface.SetDrawColor(200, 200, 200);
  2667.                     surface.DrawRect( 25 + posx + dist, 61 + posy + maxy + maxy2, size, 16);
  2668.                 end
  2669.                 local tw, th = surface.GetTextSize(v);
  2670.                 surface.SetTextPos( 25 + posx + dist + 5, 61 + posy + maxy + 6 - th / 2 + 2 + maxy2);
  2671.                 surface.DrawText(v);
  2672.                 maxy2 = maxy2 + 16;
  2673.                 if(bMouse2 && input.IsMouseDown(MOUSE_LEFT) && !mousedown) then
  2674.                     var[3] = v;
  2675.                     notyetselected = nil;
  2676.                     drawlast = nil;
  2677.                     return;
  2678.                 end
  2679.             end
  2680.             local bbMouse = MouseInArea( mx + 25 + posx + dist, my + 61 + posy + maxy, mx + 25 + posx + dist + size, my + 61 + posy + maxy + maxy2);
  2681.             if(!bbMouse && input.IsMouseDown(MOUSE_LEFT) && !mousedown) then
  2682.                  notyetselected = nil;
  2683.                  drawlast = nil;
  2684.                  return;
  2685.             end
  2686.         end
  2687.     end
  2688.    
  2689.    
  2690. end
  2691.  
  2692. local function DrawSubSub(self, w, h, k, var)
  2693.     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];
  2694.    
  2695.     surface.SetDrawColor(163, 163, 163);
  2696.    
  2697.     local startpos = 61 + posy;
  2698.    
  2699.     surface.SetTextColor(255, 255, 255);
  2700.    
  2701.     surface.SetFont("memeyou2");
  2702.    
  2703.     local tw, th = surface.GetTextSize(opt);
  2704.    
  2705.     surface.DrawLine( 5 + posx, startpos, 5 + posx + 15, startpos);
  2706.    
  2707.     surface.SetTextPos( 5 + posx + 15 + 5, startpos - th / 2 );
  2708.    
  2709.     surface.DrawLine( 5 + posx + 15 + 5 + tw + 5, startpos, 5 + posx + sizex, startpos);
  2710.    
  2711.     surface.DrawLine( 5 + posx, startpos, 5 + posx, startpos + sizey);
  2712.    
  2713.     surface.DrawLine(5 + posx, startpos + sizey, 5 + posx + sizex, startpos + sizey );
  2714.    
  2715.     surface.DrawLine( 5 + posx + sizex, startpos, 5 + posx + sizex, startpos + sizey);
  2716.    
  2717.     surface.DrawText(opt);
  2718.    
  2719.     local maxy = 15;
  2720.    
  2721.     for k,v in next, var do
  2722.         if(k == 1) then continue; end
  2723.         if(v[2] == "Checkbox") then
  2724.             DrawCheckbox(self, w, h, v, maxy, posx, posy, dist);
  2725.         elseif(v[2] == "Slider") then
  2726.             DrawSlider(self, w, h, v, maxy, posx, posy, dist);
  2727.         elseif(v[2] == "Selection") then
  2728.             DrawSelect(self, w, h, v, maxy, posx, posy, dist);
  2729.         end
  2730.         maxy = maxy + 25;
  2731.     end
  2732. end
  2733.  
  2734. local function DrawSub(self, w, h)
  2735.     for k, v in next, visible do
  2736.         if(!v) then continue; end
  2737.         for _, var in next, options[k] do
  2738.             DrawSubSub(self, w, h, k, var);
  2739.         end
  2740.     end
  2741. end
  2742.  
  2743. local function DrawSaveButton(self, w, h)
  2744.     local curcol = Color(60, 60, 60, 200);
  2745.     local mx, my = self:GetPos();
  2746.     local bMouse = MouseInArea(mx + 30, my + h - 50, mx + 30 + 200, my + h - 50 + 30);
  2747.     if(bMouse) then
  2748.         curcol = Color(65, 65, 65, 200);
  2749.     end
  2750.     for i = 0, 30 do
  2751.         surface.SetDrawColor(curcol);
  2752.         surface.DrawLine( 30, h - 50 + i, 30 + 200, h - 50 + i );
  2753.         for k,v in next, curcol do
  2754.             curcol[k] = curcol[k] - 0;
  2755.         end
  2756.     end
  2757.     surface.SetFont("memeyou2");
  2758.     surface.SetTextColor(255, 255, 255);
  2759.     local tw, th = surface.GetTextSize("Save Config");
  2760.     surface.SetTextPos( 30 + 100 - tw / 2, h - 50 + 15 - th / 2 );
  2761.     surface.DrawText("Save Config");
  2762.     if(bMouse && input.IsMouseDown(MOUSE_LEFT)) then
  2763.         saveconfig();
  2764.     end
  2765. end
  2766.  
  2767. local function DrawLoadButton(self, w, h)
  2768.     local curcol = Color(60, 60, 60, 200);
  2769.     local mx, my = self:GetPos();
  2770.     local bMouse = MouseInArea(mx + 250, my + h - 50, mx + 250 + 200, my + h - 50 + 30);
  2771.     if(bMouse) then
  2772.         curcol = Color(65, 65, 65, 200);
  2773.     end
  2774.     for i = 0, 30 do
  2775.         surface.SetDrawColor(curcol);
  2776.         surface.DrawLine( 250, h - 50 + i, 250 + 200, h - 50 + i );
  2777.         for k,v in next, curcol do
  2778.             curcol[k] = curcol[k] - 0;
  2779.         end
  2780.     end
  2781.     surface.SetFont("memeyou2");
  2782.     surface.SetTextColor(255, 255, 255);
  2783.     local tw, th = surface.GetTextSize("Load Config");
  2784.     surface.SetTextPos( 250 + 100 - tw / 2, h - 50 + 15 - th / 2 );
  2785.     surface.DrawText("Load Config");
  2786.     if(bMouse && input.IsMouseDown(MOUSE_LEFT)) then
  2787.         loadconfig();
  2788.     end
  2789. end
  2790.  
  2791. loadconfig();
  2792.  
  2793. local insertdown2, insertdown, menuopen;
  2794.  
  2795. local function menu()
  2796.     local frame = vgui.Create("DFrame");
  2797.     frame:SetSize(800, 600);
  2798.     frame:Center();
  2799.     frame:SetTitle("");
  2800.     frame:MakePopup();
  2801.     frame:ShowCloseButton(false);
  2802.    
  2803.     frame.Paint = function(self, w, h)
  2804.         if(candoslider && !mousedown && !drawlast && !input.IsMouseDown(MOUSE_LEFT)) then
  2805.             candoslider = false;
  2806.         end
  2807.         DrawBackground(w, h);
  2808.         DrawOptions(self, w, h);
  2809.         DrawSub(self, w, h);
  2810.         DrawSaveButton(self, w, h);
  2811.         DrawLoadButton(self, w, h);
  2812.         if(drawlast) then
  2813.             drawlast();
  2814.             candoslider = true;
  2815.         end
  2816.         mousedown = input.IsMouseDown(MOUSE_LEFT);
  2817.     end
  2818.    
  2819.     frame.Think = function()
  2820.         if (input.IsKeyDown(KEY_INSERT) && !insertdown2) then
  2821.             frame:Remove();
  2822.             menuopen = false;
  2823.             candoslider = false;
  2824.             drawlast = nil;
  2825.         end
  2826.     end
  2827. end
  2828.  
  2829. local function Think()
  2830.     if (input.IsKeyDown(KEY_INSERT) && !menuopen && !insertdown) then
  2831.         menuopen = true;
  2832.         insertdown = true;
  2833.         menu();
  2834.     elseif (!input.IsKeyDown(KEY_INSERT) && !menuopen) then
  2835.         insertdown = false;
  2836.     end
  2837.     if (input.IsKeyDown(KEY_INSERT) && insertdown && menuopen) then
  2838.         insertdown2 = true;
  2839.     else
  2840.         insertdown2 = false;
  2841.     end
  2842. end
  2843.  
  2844. hook.Add("Think", "", Think);
  2845.  
  2846. --[[
  2847. Actual codens
  2848. ]]
  2849.  
  2850. local FindMetaTable = FindMetaTable;
  2851.  
  2852. local em = FindMetaTable"Entity";
  2853. local pm = FindMetaTable"Player";
  2854. local cm = FindMetaTable"CUserCmd";
  2855. local wm = FindMetaTable"Weapon";
  2856. local am = FindMetaTable"Angle";
  2857. local vm = FindMetaTable"Vector";
  2858.  
  2859. local Vector = Vector;
  2860. local player = Copy(player);
  2861. local Angle = Angle;
  2862. local me = LocalPlayer();
  2863. local render = Copy(render);
  2864. local cma = Copy(cam);
  2865. local Material = Material;
  2866. local CreateMaterial = CreateMaterial;
  2867.  
  2868. --[[
  2869. esp
  2870. ]]
  2871.  
  2872. local function Filter(v)
  2873.     local enemy = gBool("Visuals", "Filter", "Enemies only");
  2874.     local dist = gBool("Visuals", "Filter", "Distance")
  2875.     if(enemy) then
  2876.         if(pm.Team(v) == pm.Team(me)) then return false; end
  2877.     end
  2878.     if(dist) then
  2879.         local maxdist = gBool("Visuals", "Filter", "Max Distance");
  2880.         if( vm.Distance( em.GetPos(v), em.GetPos(me) ) > (maxdist * 5) ) then return false; end
  2881.     end
  2882.     return true;
  2883. end
  2884.  
  2885.  
  2886. local chamsmat = CreateMaterial("a", "VertexLitGeneric", {
  2887.     ["$ignorez"] = 1,
  2888.     ["$model"] = 1,
  2889.     ["$basetexture"] = "models/debug/debugwhite",
  2890. });
  2891.  
  2892. local chamsmat2 = CreateMaterial("@", "vertexlitgeneric", {
  2893.     ["$ignorez"] = 0,
  2894.     ["$model"] = 1,
  2895.     ["$basetexture"] = "models/debug/debugwhite",
  2896. });
  2897.  
  2898. local function GetChamsColor(v, vis)
  2899.     local pre = "Chams - Enemy";
  2900.     if(pm.Team(v) == pm.Team(me)) then
  2901.         pre = "Chams - Team";
  2902.     end
  2903.     if(vis) then
  2904.         local r = gInt("Colors", pre, "Visible R") / 255;
  2905.         local g = gInt("Colors", pre, "Visible G") / 255;
  2906.         local b = gInt("Colors", pre, "Visible B") / 255;
  2907.         return r,g,b;
  2908.     end
  2909.     local r = gInt("Colors", pre, "Not Visible R") / 255;
  2910.     local g = gInt("Colors", pre, "Not Visible G") / 255;
  2911.     local b = gInt("Colors", pre, "Not Visible B") / 255;
  2912.     return r,g,b;
  2913. end
  2914.  
  2915. local function Chams(v)
  2916.     if(gBool("Visuals", "ESP", "XQZ")) then
  2917.         cam.Start3D();
  2918.             cam.IgnoreZ(true);
  2919.             em.DrawModel(v);
  2920.             cam.IgnoreZ(false);
  2921.         cam.End3D();
  2922.     end
  2923.     if(gBool("Visuals", "ESP", "Chams")) then
  2924.         cam.Start3D();
  2925.            
  2926.             render.MaterialOverride(chamsmat);
  2927.             render.SetColorModulation(GetChamsColor(v));
  2928.                
  2929.             em.DrawModel(v);
  2930.                
  2931.             render.SetColorModulation(GetChamsColor(v, true));
  2932.             render.MaterialOverride(chamsmat2);
  2933.                
  2934.             em.DrawModel(v);
  2935.            
  2936.         cam.End3D();
  2937.     end
  2938. end
  2939.  
  2940. local function GetColor(v)
  2941.     if(pm.Team(v) == pm.Team(me)) then
  2942.         local r = gInt("Colors", "Box - Team", "R");
  2943.         local g = gInt("Colors", "Box - Team", "G");
  2944.         local b = gInt("Colors", "Box - Team", "B");
  2945.         return(Color(r, g, b, 220));
  2946.     end
  2947.     local r = gInt("Colors", "Box - Enemy", "R");
  2948.     local g = gInt("Colors", "Box - Enemy", "G");
  2949.     local b = gInt("Colors", "Box - Enemy", "B");
  2950.     return(Color(r, g, b, 220));
  2951. end
  2952.  
  2953. local function ESP(v)
  2954.     local pos = em.GetPos(v);
  2955.     local pos, pos2 = vm.ToScreen(pos - Vector(0, 0, 5)), vm.ToScreen( pos + Vector(0, 0, 70 ) );
  2956.     local h = pos.y - pos2.y;
  2957.     local w = h / 2.2;
  2958.     if(gBool("Visuals", "ESP", "Box") && gOption("Visuals", "ESP", "Box Type") == "2D Box") then   
  2959.        
  2960.         surface.SetDrawColor(GetColor(v));
  2961.         surface.DrawOutlinedRect( pos.x - w / 2, pos.y - h, w, h);
  2962.         surface.SetDrawColor(0, 0, 0, 220);
  2963.         surface.DrawOutlinedRect( pos.x - w / 2 - 1, pos.y - h - 1, w + 2, h + 2);
  2964.         surface.DrawOutlinedRect( pos.x - w / 2 + 1, pos.y - h + 1, w - 2, h - 2);
  2965.        
  2966.     end
  2967.    
  2968.     if(gBool("Visuals", "ESP", "Health")) then
  2969.         local hp = em.Health(v) * h / 100;
  2970.         if(hp > h) then hp = h; end
  2971.         local diff = h - hp;
  2972.         surface.SetDrawColor(0, 0, 0, 255);
  2973.         surface.DrawRect(pos.x - w / 2 - 5, pos.y - h - 1, 3, h + 2);
  2974.         surface.SetDrawColor( ( 100 - em.Health(v) ) * 2.55, em.Health(v) * 2.55, 0, 255);
  2975.         surface.DrawRect(pos.x - w / 2 - 4, pos.y - h + diff, 1, hp);
  2976.     end
  2977.  
  2978.        
  2979.     surface.SetFont("BudgetLabel");
  2980.    
  2981.     surface.SetTextColor(255, 255, 255);
  2982.    
  2983.     if(gBool("Visuals", "ESP", "Name")) then
  2984.    
  2985.         local tw, th = surface.GetTextSize(pm.Name(v));
  2986.        
  2987.         surface.SetTextPos( pos.x - tw / 2, pos.y - h + 2 - th );
  2988.        
  2989.         surface.DrawText(pm.Name(v));
  2990.        
  2991.     end
  2992.    
  2993.     if(gBool("Visuals", "ESP", "Weapon")) then
  2994.        
  2995.         local w = pm.GetActiveWeapon(v);
  2996.         if(w && em.IsValid(w)) then
  2997.             local tw,  th = surface.GetTextSize(em.GetClass(w));
  2998.             surface.SetTextPos( pos.x - tw / 2, pos.y - th / 2 + 5 );
  2999.             surface.DrawText(em.GetClass(w));
  3000.         end
  3001.        
  3002.     end
  3003.    
  3004.     if(gBool("Visuals", "ESP", "Skeleton")) then
  3005.         local origin = em.GetPos(v);
  3006.         for i = 1, em.GetBoneCount(v) do
  3007.             local parent = em.GetBoneParent(v, i);
  3008.             if(!parent) then continue; end
  3009.             local bonepos, parentpos = em.GetBonePosition(v, i), em.GetBonePosition(v, parent);
  3010.             if(!bonepos || !parentpos || bonepos == origin) then continue; end
  3011.             local bs, ps = vm.ToScreen(bonepos), vm.ToScreen(parentpos);
  3012.             surface.SetDrawColor(255, 255, 255);
  3013.             surface.DrawLine(bs.x, bs.y, ps.x, ps.y);
  3014.         end
  3015.     end
  3016.    
  3017. end
  3018.  
  3019. local aimtarget;
  3020.  
  3021.  
  3022. hook.Add("HUDPaint", "", function()
  3023.     if(aimtarget && gBool("casualbot", "Target", "Snapline")) then
  3024.         local pos = vm.ToScreen(em.LocalToWorld(aimtarget, em.OBBCenter(aimtarget)));
  3025.         surface.SetDrawColor(255, 255, 255);
  3026.         surface.DrawLine(ScrW() / 2, ScrH() / 2, pos.x, pos.y);
  3027.     end
  3028.     if(!gBool("Visuals", "ESP", "Enabled")) then return; end
  3029.     for k,v in next, player.GetAll() do
  3030.         if(!em.IsValid(v) || em.Health(v) < 1 || v == me || em.IsDormant(v)) then continue; end
  3031.         if(!Filter(v)) then continue; end
  3032.         ESP(v);
  3033.     end
  3034. end);
  3035.  
  3036. hook.Add("RenderScreenspaceEffects", "", function()
  3037.     if(!gBool("Visuals", "ESP", "Enabled")) then return; end
  3038.     for k,v in next, player.GetAll() do
  3039.         if(!em.IsValid(v) || em.Health(v) < 1 || v == me || em.IsDormant(v)) then continue; end
  3040.         if(!Filter(v)) then continue; end
  3041.         Chams(v);
  3042.     end
  3043. end);
  3044.  
  3045. saveconfig();
  3046.  
  3047. --[[
  3048. memes
  3049. ]]
  3050.  
  3051. local fa;
  3052. local aa;
  3053.  
  3054. local function FixMovement(ucmd, aaaaa)
  3055.     --local move = Vector(cm.GetForwardMove(ucmd), cm.GetSideMove(ucmd), 0);
  3056.     --local move = am.Forward( vm.Angle(move) + ( cm.GetViewAngles(ucmd) - fa ) ) * vm.Length(move);
  3057.     local move = Vector(cm.GetForwardMove(ucmd), cm.GetSideMove(ucmd), cm.GetUpMove(ucmd));
  3058.     local speed = math.sqrt(move.x * move.x + move.y * move.y);
  3059.     local ang = vm.Angle(move);
  3060.     local yaw = math.rad(cm.GetViewAngles(ucmd).y - fa.y + ang.y);
  3061.     cm.SetForwardMove(ucmd, (math.cos(yaw) * speed) * ( aaaaa && -1 || 1 ));
  3062.     cm.SetSideMove(ucmd, math.sin(yaw) * speed);
  3063.     --cm.SetForwardMove(ucmd, move.x);
  3064.     --cm.SetSideMove(ucmd, (aaaaa && move.y * -1 || move.y));
  3065. end
  3066.  
  3067. local function Clamp(val, min, max)
  3068.     if(val < min) then
  3069.         return min;
  3070.     elseif(val > max) then
  3071.         return max;
  3072.     end
  3073.     return val;
  3074. end
  3075.  
  3076. local function NormalizeAngle(ang)
  3077.     ang.x = math.NormalizeAngle(ang.x);
  3078.     ang.p = math.Clamp(ang.p, -89, 89);
  3079. end
  3080.  
  3081. --[[
  3082. aimer
  3083. ]]
  3084.  
  3085. local table = Copy(table);
  3086. local dists = {};
  3087.  
  3088. local function GetPos(v)
  3089.  
  3090.     if(gBool("casualbot", "Target", "Bodyaim")) then return( em.LocalToWorld(v, em.OBBCenter(v)) ); end
  3091.  
  3092.     local eyes = em.LookupAttachment(v, "eyes");
  3093.    
  3094.     if(!eyes) then return( em.LocalToWorld(v, em.OBBCenter(v)) ); end
  3095.    
  3096.     local pos = em.GetAttachment(v, eyes);
  3097.    
  3098.     if(!pos) then return( em.LocalToWorld(v, em.OBBCenter(v)) ); end
  3099.    
  3100.     return(pos.Pos);
  3101. end
  3102.  
  3103. local aimignore;
  3104.  
  3105. local function Valid(v)
  3106.     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
  3107.     if(gBool("casualbot", "Target", "Ignore Bots")) then
  3108.         if(pm.IsBot(v)) then return false; end
  3109.     end
  3110.     if(gBool("casualbot", "Target", "Ignore Team")) then
  3111.         if(pm.Team(v) == pm.Team(me)) then return false; end
  3112.     end
  3113.     if(gBool("casualbot", "Target", "Ignore Friends")) then
  3114.         if(pm.GetFriendStatus(v) == "friend") then return false; end
  3115.     end
  3116.     local tr = {
  3117.         start = em.EyePos(me),
  3118.         endpos = GetPos(v),
  3119.         mask = MASK_SHOT,
  3120.         filter = {me, v},
  3121.     };
  3122.     return(util.TraceLine(tr).Fraction == 1);
  3123. end
  3124.  
  3125. local function gettarget()
  3126.  
  3127.     local opt = gOption("casualbot", "Target", "Selection");
  3128.    
  3129.     local sticky = gOption("casualbot", "Aimbot", "Non-Sticky");
  3130.    
  3131.     if(opt == "Distance") then
  3132.  
  3133.         if( !sticky && Valid(aimtarget) ) then return; end
  3134.  
  3135.         dists = {};
  3136.        
  3137.         for k,v in next, player.GetAll() do
  3138.             if(!Valid(v)) then continue; end
  3139.             dists[#dists + 1] = { vm.Distance( em.GetPos(v), em.GetPos(me) ), v };
  3140.         end
  3141.        
  3142.         table.sort(dists, function(a, b)
  3143.             return(a[1] < b[1]);
  3144.         end);
  3145.        
  3146.         aimtarget = dists[1] && dists[1][2] || nil;
  3147.        
  3148.     elseif(opt == "Health") then
  3149.        
  3150.         if( !sticky && Valid(aimtarget) ) then return; end
  3151.  
  3152.         dists = {};
  3153.        
  3154.         for k,v in next, player.GetAll() do
  3155.             if(!Valid(v)) then continue; end
  3156.             dists[#dists + 1] = { em.Health(v), v };
  3157.         end
  3158.        
  3159.         table.sort(dists, function(a, b)
  3160.             return(a[1] < b[1]);
  3161.         end);
  3162.        
  3163.         aimtarget = dists[1] && dists[1][2] || nil;
  3164.        
  3165.     elseif(opt == "Nextshot") then
  3166.         if( !sticky && Valid(aimtarget) ) then return; end
  3167.         aimtarget = nil;
  3168.         local allplys = player.GetAll();
  3169.         local avaib = {};
  3170.         for k,v in next,allplys do
  3171.             avaib[math.random(100)] = v;
  3172.         end
  3173.        
  3174.         for k,v in next, avaib do
  3175.             if(Valid(v)) then
  3176.                 aimtarget = v;
  3177.             end
  3178.         end
  3179.     end
  3180.        
  3181. end
  3182.  
  3183.  
  3184. local cones = {};
  3185.  
  3186. local pcall = pcall;
  3187. local require = require;
  3188.  
  3189. local nullvec = Vector() * -1;
  3190.  
  3191. local IsFirstTimePredicted = IsFirstTimePredicted;
  3192. local CurTime = CurTime;
  3193. local servertime=0;
  3194. local bit = Copy(bit);
  3195.  
  3196.  
  3197. hook.Add("Move", "", function()
  3198.     if(!IsFirstTimePredicted()) then return; end
  3199.     servertime = CurTime();
  3200. end);
  3201.  
  3202.  
  3203. GAMEMODE["EntityFireBullets"] = function(self, p, data)
  3204.     aimignore = aimtarget;
  3205.     local w = pm.GetActiveWeapon(me);
  3206.     local Spread = data.Spread * -1;
  3207.     if(!w || !em.IsValid(w) || cones[em.GetClass(w)] == Spread || Spread == nullvec) then return; end
  3208.     cones[em.GetClass(w)] = Spread;
  3209. end
  3210.  
  3211. local function PredictSpread(ucmd, ang)
  3212.     local w = pm.GetActiveWeapon(me);
  3213.     if(!w || !em.IsValid(w) || !cones[em.GetClass(w)] || !gBool("casualbot", "Accuracy", "Anti Spread")) then return am.Forward(ang); end
  3214.     return(dickwrap.Predict(ucmd, am.Forward(ang), cones[em.GetClass(w)]));
  3215. end
  3216.  
  3217. local function Autofire(ucmd)
  3218.     if(pm.KeyDown(me, 1) && gBool("casualbot", "Aimbot", "Auto Pistol")) then
  3219.         cm.SetButtons(ucmd, bit.band( cm.GetButtons(ucmd), bit.bnot( 1 ) ) );
  3220.     else
  3221.         cm.SetButtons(ucmd, bit.bor( cm.GetButtons(ucmd), 1 ) );
  3222.     end
  3223. end
  3224.  
  3225. local function WeaponCanFire()
  3226.     local w = pm.GetActiveWeapon(me);
  3227.     if(!w || !em.IsValid(w) || !gBool("casualbot", "Aimbot", "Bullettime")) then return true; end
  3228.     return( servertime >= wm.GetNextPrimaryFire(w) );
  3229. end
  3230.  
  3231. local function WeaponShootable()
  3232.     local wep = pm.GetActiveWeapon(me);
  3233.     if( em.IsValid(wep) ) then // I would never get lazy..
  3234.          local n = string.lower(wep:GetPrintName())
  3235.          if( wep:Clip1() <= 0 ) then
  3236.             return false;
  3237.          end
  3238.          
  3239.          
  3240.          
  3241.          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
  3242.             return false;
  3243.          end
  3244.          
  3245.          
  3246.           return true;
  3247.     end
  3248. end
  3249.  
  3250. local function PredictPos(pos)
  3251. local myvel = LocalPlayer():GetVelocity()
  3252. local pos = pos - (myvel * engine.TickInterval());
  3253. return pos;
  3254. end
  3255.  
  3256.  
  3257. local function aimer(ucmd)
  3258.     if(cm.CommandNumber(ucmd) == 0 || !gBool("casualbot", "Aimbot", "Enabled")) then return; end
  3259.     gettarget();
  3260.     aa = false;
  3261.     if(aimtarget && (input.IsKeyDown(KEY_LALT) || gBool("casualbot", "Aimbot", "Autosnap"))  ) then
  3262.         aa = true;
  3263.         local pos = GetPos(aimtarget) - em.EyePos(me);
  3264.         PredictPos(pos);
  3265.         local ang = vm.Angle( PredictSpread(ucmd, vm.Angle(pos)));
  3266.         NormalizeAngle(ang);
  3267.         cm.SetViewAngles(ucmd, ang);
  3268.         if(gBool("casualbot", "Aimbot", "Autofire")) then
  3269.             Autofire(ucmd);
  3270.         end
  3271.         if(gBool("casualbot", "Aimbot", "Silent")) or defcon.Settings["silent"] then
  3272.             FixMovement(ucmd);
  3273.         else
  3274.             fa = ang;
  3275.         end
  3276.     end
  3277. end
  3278.  
  3279. --[[
  3280. local function test12 (ucmd)
  3281.     if(defcon.Settings["aimbot"] && /*input.IsKeyDown(defcon.AimKey)*/ input.IsKeyDown(KEY_F)) then
  3282.         for k,v in pairs(player.GetAll()) do
  3283.             if defcon.CanTarget(v) then
  3284.                 local head = v:LookupBone("ValveBiped.Bip01_Head1")
  3285.                 if head ~= nil then
  3286.                     local fov = defcon.Settings["aimbot_fov"]
  3287.                     if fov == 0 then
  3288.                         local headpos,targetheadang = v:GetBonePosition(head)
  3289.                         ply:SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
  3290.                     else
  3291.                         local lpang = LocalPlayer():GetAngles();
  3292.                         local ang = (v:GetPos() - LocalPlayer():GetPos()):Angle();
  3293.                         local ady = math.abs(math.NormalizeAngle(lpang.y - ang.y))
  3294.                         local adp = math.abs(math.NormalizeAngle(lpang.p - ang.p ))
  3295.                         if not(ady > fov or adp > fov) then
  3296.                             local headpos,targetheadang = v:GetBonePosition(head)
  3297.                             if headpos != nil and targetheadang != nil then
  3298.                                 ply:SetEyeAngles((headpos - LocalPlayer():GetShootPos()):Angle())
  3299.                             end
  3300.                         end
  3301.                     end
  3302.                 end
  3303.             end
  3304.         end
  3305.     end
  3306. end
  3307. --]]
  3308.  
  3309. --antiaimer
  3310.  
  3311. local ox=-181;
  3312. local oy=0;
  3313.  
  3314. local function RandCoin()
  3315.     local randcoin = math.random(0,1);
  3316.     if(randcoin == 1) then return 1; else return -1; end
  3317. end
  3318.  
  3319. local function GetX()
  3320.     local opt = gOption("casualbot", "Anti-Aim", "X");
  3321.     if(opt == "Emotion") then
  3322.         local randcoin = gInt("casualbot", "Anti-Aim", "Emotion Randomcoin X");
  3323.         if( math.random(100) < randcoin ) then
  3324.             ox = RandCoin() * 181;
  3325.         end
  3326.     elseif( opt == "Up" ) then
  3327.         ox = -181;
  3328.     elseif( opt == "Down" ) then
  3329.         ox = 181;
  3330.     elseif(opt == "Jitter") then
  3331.         ox = ox * -1;
  3332.     end
  3333. end
  3334.  
  3335. local function GetClosest()
  3336.     local ddists = {};
  3337.    
  3338.     local closest;
  3339.        
  3340.     for k,v in next, player.GetAll() do
  3341.     if(!Valid(v)) then continue; end
  3342.         ddists[#ddists + 1] = { vm.Distance( em.GetPos(v), em.GetPos(me) ), v };
  3343.     end
  3344.        
  3345.     table.sort(ddists, function(a, b)
  3346.         return(a[1] < b[1]);
  3347.     end);
  3348.        
  3349.     closest = ddists[1] && ddists[1][2] || nil;
  3350.    
  3351.     if(!closest) then return fa.y; end
  3352.    
  3353.     local pos = em.GetPos(closest);
  3354.    
  3355.     local pos = vm.Angle(pos - em.EyePos(me));
  3356.    
  3357.     return( pos.y );
  3358. end
  3359.  
  3360. local function GetY()
  3361.     local opt = gOption("casualbot", "Anti-Aim", "Y");
  3362.     if(opt == "Emotion") then
  3363.         local randcoin = gInt("casualbot", "Anti-Aim", "Emotion Randomcoin Y");
  3364.         if( math.random(100) < randcoin ) then
  3365.             oy = fa.y + math.random(-180, 180);
  3366.         end
  3367.     elseif( opt == "Eye Angles" ) then
  3368.         oy = fa.y;
  3369.     elseif( opt == "Sideways" ) then
  3370.         oy = fa.y - 90;
  3371.     elseif(opt == "Jitter") then
  3372.         oy = fa.y + math.random(-90, 90);
  3373.     elseif(opt == "TJitter") then
  3374.         oy = fa.y - 180 + math.random(-90, 90);
  3375.     elseif(opt == "Static") then
  3376.         oy = 0;
  3377.     elseif(opt == "Forward") then
  3378.         oy = fa.y;
  3379.     elseif(opt == "Backwards") then
  3380.         oy = fa.y - 180;
  3381.     elseif(opt == "Towards Players") then
  3382.         oy = GetClosest();
  3383.     end
  3384. end
  3385.  
  3386. local function walldetect()
  3387.     local eye = em.EyePos(me);
  3388.     local tr = util.TraceLine({
  3389.         start = eye,
  3390.         endpos = (eye + (am.Forward(fa) * 10)),
  3391.         mask = MASK_ALL,
  3392.     });
  3393.     if(tr.Hit) then
  3394.         ox = -181;
  3395.         oy = -90;
  3396.     end
  3397. end
  3398.  
  3399. local function antiaimer(ucmd)
  3400.     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
  3401.     GetX();
  3402.     GetY();
  3403.     walldetect();
  3404.     local aaang = Angle(ox, oy, 0);
  3405.     cm.SetViewAngles(ucmd, aaang);
  3406.     FixMovement(ucmd, true);
  3407. end
  3408.  
  3409. local function GetAngle(ang)
  3410.     if(!gBool("casualbot", "Accuracy", "Anti Recoil")) then return ang + pm.GetPunchAngle(me); end
  3411.     return ang;
  3412. end
  3413.  
  3414. local function rapidfire(ucmd)
  3415.     if(pm.KeyDown(me, 1) && gBool("casualbot", "Aimbot", "Auto Pistol")) then
  3416.         cm.SetButtons(ucmd, bit.band( cm.GetButtons(ucmd), bit.bnot( 1 ) ) );
  3417.     end
  3418. end
  3419.  
  3420. local function meme(ucmd)
  3421.     if(!fa) then fa = cm.GetViewAngles(ucmd); end
  3422.     fa = fa + Angle(cm.GetMouseY(ucmd) * .023, cm.GetMouseX(ucmd) * -.023, 0);
  3423.     NormalizeAngle(fa);
  3424.     if(cm.CommandNumber(ucmd) == 0) then
  3425.         cm.SetViewAngles(ucmd, GetAngle(fa));
  3426.         return;
  3427.     end
  3428.     if(cm.KeyDown(ucmd, 1)) then
  3429.         local ang = GetAngle(vm.Angle( PredictSpread(ucmd, fa ) ) );
  3430.         NormalizeAngle(ang);
  3431.         cm.SetViewAngles(ucmd, ang);
  3432.     end
  3433.     if(cm.KeyDown(ucmd, 2) && !em.IsOnGround(me)) then
  3434.         cm.SetButtons(ucmd, bit.band( cm.GetButtons(ucmd), bit.bnot( 2 ) ) );
  3435.     end
  3436. end
  3437.  
  3438.  
  3439. hook.Add("CreateMove", "", function(ucmd)
  3440.     meme(ucmd);
  3441.     aimer(ucmd);
  3442.     antiaimer(ucmd);
  3443. end);
  3444.  
  3445. hook.Add("CalcView", "", function(p, o, a, f)
  3446.     return({
  3447.         angles = GetAngle(fa),
  3448.         origin = (gBool("Visuals", "Misc", "Thirdperson") && o + am.Forward(fa) * -150 || o),
  3449.         fov = f,
  3450.     });
  3451. end);
  3452.  
  3453. hook.Add("ShouldDrawLocalPlayer", "", function()
  3454.     return(gBool("Visuals", "Misc", "Thirdperson"));
  3455. end);
  3456.  
  3457. --gutted leftovers that for some reason make the freecam work again (idk why)
  3458.  
  3459. hook.Add("CalcView", "", function( p, o, a, f)
  3460.  
  3461. end);
  3462.  
  3463. --everything below is disabled, don't fuck with this unless you know what you're doing.
  3464.  
  3465. /*concommand.Add("debug", function()
  3466.     local pcash,gname = "", gmod.GetGamemode().Name
  3467.     print("Game-mode:\n    "..gname)
  3468.     if string.find(gname, "DarkRP") then
  3469.         print("Player Cash Amounts")
  3470.         for k,v in pairs(player.GetAll()) do
  3471.             if not(v.DarkRPVars and v.DarkRPVars.money)and(darkrpvar == true) then
  3472.                 darkrpvar = false
  3473.             end
  3474.             if v ~= LocalPlayer() then
  3475.                 pcash = pcash.."    "..v:Nick().." - "..v.DarkRPVars.money.."\n"
  3476.             end
  3477.         end
  3478.         if pcash ~= "" then
  3479.             print(pcash)
  3480.         end
  3481.     end
  3482.     if LocalPlayer().GetActiveWeapon and LocalPlayer():GetActiveWeapon() ~= nil and IsValid(LocalPlayer():GetActiveWeapon()) then
  3483.         print("Current Weapon")
  3484.         print("    "..LocalPlayer():GetActiveWeapon():GetClass())
  3485.     end
  3486.         local pos = LocalPlayer():GetShootPos()
  3487.     local ang = LocalPlayer():GetAimVector()
  3488.     local tracedata = {}
  3489.     tracedata.start = pos
  3490.     tracedata.endpos = pos+(ang*9999999999999)
  3491.     local trace = util.TraceLine(tracedata)
  3492.     if(trace.HitNonWorld) then
  3493.         target = trace.Entity
  3494.         print("Entity Info")
  3495.         print("    Class: "..target:GetClass())
  3496.         print("    Model: "..target:GetModel())
  3497.     end
  3498. end)*/
  3499.  
  3500. --[[
  3501. GREETZ:
  3502. Johnny Nutmegg, Tito, Komrade Seals, Lincent, Dr. Richard Head, Caliber, the rest of the Madbluntz.rs team, Nigel farage,
  3503. Rush, Mack, Ghost, Shawntism, Fried_Kooch, Timi, AROLTD, Kibler, Adolf Hitler, Oscar, Rootie, Alex Jones, Verrock,
  3504. Thrice, A5, Ted and Quak
  3505.  
  3506. Created by the Madbluntz.rs team for internal use during raids.
  3507. Released and developed publically to encourage both new people to join and to create the best public lua cheat imaginable.
  3508. Free to distribute and modify in any way.
  3509.  
  3510. "Shitcheat: free forever, always."
  3511.  
  3512. --]]
RAW Paste Data
Top