daily pastebin goal
61%
SHARE
TWEET

Shitcheat 4.6a Hotfix

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