daily pastebin goal
55%
SHARE
TWEET

Shitcheat 4.8

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