daily pastebin goal
72%
SHARE
TWEET

Shitcheat 4.5

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