daily pastebin goal
61%
SHARE
TWEET

Shitcheat 4.7

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