Guest User

exdee hack LEAKED BY TheHomieKOS

a guest
Sep 7th, 2016
977
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.39 KB | None | 0 0
  1. /*
  2. ooooooooooo ooooo oooo ooooooooo ooooooooooo ooooooooooo ooooo ooooo o oooooooo8 oooo oooo
  3. 888 88 888 88 888 88o 888 88 888 88 888 888 888 o888 88 888 o88
  4. 888ooo8 888 888 888 888ooo8 888ooo8 888ooo888 8 88 888 888888
  5. 888 oo 88 888 888 888 888 oo 888 oo 888 888 8oooo88 888o oo 888 88o
  6. o888ooo8888 o88o o888o o888ooo88 o888ooo8888 o888ooo8888 o888o o888o o88o o888o 888oooo88 o888o o888o
  7.  
  8. Code made by brainbread people :D
  9.  
  10. Created By stealth
  11.  
  12. Private Codens, do not leak thanks.
  13.  
  14. //Then you shouldnt of gave it to HomieSquad cuz were skids anywho XD
  15.  
  16.  
  17. */
  18.  
  19. local next = next;
  20. local player = player;
  21. local pm = FindMetaTable("Player")
  22. local em = FindMetaTable("Entity")
  23. local table = table;
  24. local surface = surface;
  25. local render = render;
  26. local cam = cam;
  27. local game = game;
  28. local Material = Material;
  29. local engine = engine;
  30. local CurTime = CurTime;
  31. local IsFirstTimePredicted = IsFirstTimePredicted;
  32. local math = math;
  33. local string = string;
  34. local input = input;
  35. local util = util;
  36. local GetConVar = GetConVar;
  37. local Vector = Vector;
  38. local Angle = Angle;
  39. local insertdown = false;
  40. local menuframe = nil;
  41. local mousedown = false;
  42. local team = team or {};
  43. //////////////////////////////////////////////////////////////////////////////////////////////
  44. ------------------------------------ Draw Functions ----------------------------------------
  45. //////////////////////////////////////////////////////////////////////////////////////////////
  46.  
  47.  
  48.  
  49. local function InBox(minx, miny, w, h)local menux, menuy = menuframe:GetPos();
  50. minx = minx + menux;
  51. miny = miny + menuy;
  52. local mousex, mousey = input.GetCursorPos();
  53. return(mousex < (minx + w) && mousex > minx && mousey < (miny + h) && mousey > miny);
  54. end
  55.  
  56. local function Base(x, y, w, h)
  57. --menu
  58. surface.SetDrawColor(48,48,48, 255)
  59. surface.DrawRect(x+1, y+1, w-135, h)
  60. surface.SetDrawColor(GetConVarNumber("Menu-R"), GetConVarNumber("Menu-G"), GetConVarNumber("Menu-B"), 255)
  61. surface.DrawOutlinedRect( x, y, w-133, h+27)
  62. surface.SetDrawColor(38, 38, 38, 255)
  63. surface.DrawRect(x+1, y+25, w-135, y+1)
  64. surface.SetDrawColor(GetConVarNumber("Menu-R"),GetConVarNumber("Menu-G"),GetConVarNumber("Menu-B"), 255)
  65.  
  66. --aimbot
  67. surface.SetDrawColor(46, 46, 46, 255)
  68. surface.DrawRect(x+8, y+28, w-496, h-223)
  69. surface.SetDrawColor(16, 16, 16, 160)
  70. surface.DrawRect(x+8, y+28, w-496, h-385)
  71. --esp
  72. surface.SetDrawColor(46, 46, 46, 255)
  73. surface.DrawRect(x+180, y+28, w-496, h-223)
  74. surface.SetDrawColor(16, 16, 16, 160)
  75. surface.DrawRect(x+180, y+28, w-496, h-385)
  76. --misc
  77. surface.SetDrawColor(46, 46, 46, 255)
  78. surface.DrawRect(x+355, y+28, w-496, h-223)
  79. surface.SetDrawColor(16, 16, 16, 160)
  80. surface.DrawRect(x+355, y+28, w-496, h-385)
  81. --empty
  82. surface.SetDrawColor(46, 46, 46, 255)
  83. surface.DrawRect(x+8, y+242, w-496, h-223)
  84. surface.SetDrawColor(16, 16, 16, 160)
  85. surface.DrawRect(x+8, y+242, w-496, h-385)
  86. --midline
  87. surface.SetDrawColor(GetConVarNumber("Menu-R"),GetConVarNumber("Menu-G"),GetConVarNumber("Menu-B"), 255)
  88. surface.DrawOutlinedRect( x, y, w-133, h-175)
  89. --empty
  90. surface.SetDrawColor(46, 46, 46, 255)
  91. surface.DrawRect(x+180, y+242, w-496, h-223)
  92. surface.SetDrawColor(16, 16, 16, 160)
  93. surface.DrawRect(x+180, y+242, w-496, h-385)
  94. --empty
  95. surface.SetDrawColor(46, 46, 46, 255)
  96. surface.DrawRect(x+355, y+242, w-496, h-223)
  97. surface.SetDrawColor(16, 16, 16, 160)
  98. surface.DrawRect(x+355, y+242, w-496, h-385)
  99.  
  100.  
  101.  
  102. --texts
  103. draw.SimpleText("EXDEEHACK 5.8", "MenuLabel", 720,406, Color(GetConVarNumber("Menu-R"),GetConVarNumber("Menu-G"),GetConVarNumber("Menu-B"), 255))
  104. draw.SimpleText("Aimbot", "MenuLabel", 568,429, Color(255,255,255, 255))
  105. draw.SimpleText("Visuals", "MenuLabel", 742,429, Color(255,255,255, 255))
  106. draw.SimpleText("Miscellaneous", "MenuLabel", 900,429, Color(255,255,255, 255))
  107. draw.SimpleText("HVH", "MenuLabel", 568,644, Color(255,255,255, 255))
  108. draw.SimpleText("Color", "MenuLabel", 742,644, Color(255,255,255, 255))
  109. draw.SimpleText("Empty", "MenuLabel", 917,644, Color(255,255,255, 255))
  110.  
  111.  
  112. end
  113.  
  114.  
  115. local function DrawSlider(x, y, optionname, max, convar)
  116. local d = 119/max
  117. local inbox = InBox(x, y, 120, 15);
  118. local cvar = GetConVar(convar);
  119. local cvarN = cvar:GetInt()
  120.  
  121. surface.SetDrawColor(20, 20, 20, 255)
  122. surface.DrawRect(x- 2, y - 2, 123, 19);
  123.  
  124.  
  125. surface.SetDrawColor(25, 25, 25, 255)
  126. surface.DrawRect(x, y, 116, 7,5);
  127. surface.SetDrawColor(25, 25, 25, 220)
  128. surface.DrawRect(x, y+7.5, 116, 7,5);
  129.  
  130.  
  131.  
  132.  
  133. surface.SetDrawColor(GetConVarNumber("Menu-R"),GetConVarNumber("Menu-G"),GetConVarNumber("Menu-B"), 255)
  134. surface.DrawRect(x, y,cvarN* d, 7,5)
  135.  
  136.  
  137. surface.SetDrawColor(GetConVarNumber("Menu-R"),GetConVarNumber("Menu-G"),GetConVarNumber("Menu-B"), 210)
  138. surface.DrawRect(x, y+7.5,cvarN* d, 7,5)
  139.  
  140.  
  141. surface.SetTextColor(255, 255, 255, 255);
  142. surface.SetFont("MenuLabel");
  143.  
  144. local textinside = string.format("%s: %d", optionname, cvarN)
  145.  
  146. local tw, th = surface.GetTextSize(textinside);
  147.  
  148. surface.SetTextPos(x + 60 - tw / 2, y + 7 - th / 2);
  149. surface.DrawText(textinside);
  150.  
  151.  
  152. if(inbox && input.IsMouseDown(MOUSE_LEFT)) then
  153. local mousex, mousey = input.GetCursorPos();
  154. local Z = math.ceil((mousex- x)/d )
  155. cvar:SetInt(Z)
  156. end
  157. end
  158.  
  159. local function DrawGroupBox(x, y, w, h)
  160.  
  161. surface.SetDrawColor(54, 54, 54, 255);
  162. surface.DrawOutlinedRect(x, y , w ,h);
  163.  
  164. end
  165.  
  166. local function DrawCheckbox(x, y, convar, text)
  167.  
  168. surface.SetDrawColor(25, 25, 25);
  169. surface.DrawRect(x - 2, y - 2, 24, 24);
  170.  
  171.  
  172. surface.SetDrawColor(35, 35, 35);
  173. surface.DrawRect(x, y,20, 20);
  174.  
  175.  
  176.  
  177. local cvar = GetConVar(convar);
  178.  
  179. local inbox = InBox(x, y, 20, 20);
  180.  
  181. if(cvar:GetBool()) then
  182.  
  183. surface.SetDrawColor(GetConVarNumber("Menu-R"),GetConVarNumber("Menu-G"),GetConVarNumber("Menu-B"), 255)
  184. surface.DrawRect(x+1, y,19, 9.6);
  185. surface.SetDrawColor(GetConVarNumber("Menu-R")-30,GetConVarNumber("Menu-G")-30,GetConVarNumber("Menu-B")-30, 255)
  186. surface.DrawRect(x+1, y+9, 19, 11);
  187. surface.SetDrawColor(GetConVarNumber("Menu-R")-30,GetConVarNumber("Menu-G")-30,GetConVarNumber("Menu-B")-30, 255)
  188. surface.DrawOutlinedRect(x+1, y+9, 19, 11);
  189.  
  190.  
  191.  
  192.  
  193. elseif(inbox) then
  194. surface.SetDrawColor(255,255,255, 50)
  195. surface.DrawRect(x + 1, y + 1, 19, 19);
  196.  
  197. surface.SetDrawColor(1, 1, 1, 50)
  198. surface.DrawOutlinedRect(x + 1, y + 1, 19, 19);
  199. end
  200.  
  201. surface.SetFont("CheckboxLabel");
  202. local tw, th = surface.GetTextSize(text);
  203. surface.SetTextColor(GetConVarNumber("Menu-R"), GetConVarNumber("Menu-G"), GetConVarNumber("Menu-B"), 255);
  204. surface.SetTextPos(x+30, y + 11 - th / 2);
  205. surface.DrawText(text);
  206.  
  207. if(inbox && input.IsMouseDown(MOUSE_LEFT) && !mousedown) then
  208. cvar:SetBool(!cvar:GetBool());
  209. end
  210. end
  211.  
  212.  
  213. //////////////////////////////////////////////////////////////////////////////////////////////
  214. ----------------------------------------------------------------------------------------------
  215. //////////////////////////////////////////////////////////////////////////////////////////////
  216.  
  217. rainbow = {}
  218. rainbow.R = math.sin(CurTime() * 4) * 127 + 128
  219. rainbow.G = math.sin(CurTime() * 4 + 2) * 127 + 128
  220. rainbow.B = math.sin(CurTime() * 4 + 4) * 127 + 128
  221.  
  222. chat.AddText(Color(255,0,0)," [ EXDEEHACK LOADED ] ")
  223. chat.AddText(Color(199,0,0),"[ Press INSERT to open menu. ] ")
  224.  
  225. //////////////////////////////////////////////////////////////////////////////////////////////
  226. ------------------------------------------- TABLE --------------------------------------------
  227. //////////////////////////////////////////////////////////////////////////////////////////////
  228. CreateClientConVar("AIMBOT_enabled", "1", true, false);
  229. CreateClientConVar("AIMBOTRAGE_enabled", "1", true, false);
  230. CreateClientConVar("TEAMCHECK_enabled", "1", true, false);
  231. CreateClientConVar("FRIENDCHECK_enabled", "1", true, false);
  232. CreateClientConVar("BABYGODCHECK_enabled", "1", true, false);
  233. CreateClientConVar("AIMBOTAUTO_enabled", "1", true, false);
  234. CreateClientConVar("WATERMARK_enabled", "1", true, false);
  235. CreateClientConVar("NAMEESP_enabled", "1", true, false);
  236. CreateClientConVar("RAINBOWNAMEESP_enabled", "1", true, false);
  237. CreateClientConVar("BHOP_enabled", "1", true, false)
  238. CreateClientConVar("ESPBOX_enabled", "1", true, false)
  239. CreateClientConVar("ENTESPBOX_enabled", "1", true, false)
  240. CreateClientConVar("WEPESP_enabled", "1", true, false)
  241. CreateClientConVar("AUTOSTRAFE_enabled", "1", true, false);
  242. CreateClientConVar("RECOIL_enabled", "1", true, false);
  243. CreateClientConVar("fieldofview", "1", true, false);
  244. CreateClientConVar("ASUS", "1", true, false);
  245. CreateClientConVar("pSilent", "1", true, false);
  246. CreateClientConVar("Menu-R", "1", true, false);
  247. CreateClientConVar("Menu-G", "1", true, false);
  248. CreateClientConVar("Menu-B", "1", true, false);
  249. CreateClientConVar("ESP-R", "1", true, false);
  250. CreateClientConVar("ESP-G", "1", true, false);
  251. CreateClientConVar("ESP-B", "1", true, false);
  252.  
  253.  
  254.  
  255. local table = {}
  256. Cvars =
  257. {
  258. {"AIMBOT_enabled", "1"},
  259. {"AIMBOTRAGE_enabled", "1"},
  260. {"AIMBOTAUTO_enabled", "1"},
  261. {"TEAMCHECK_enabled", "1"},
  262. {"FRIENDCHECK_enabled", "1"},
  263. {"BABYGODCHECK_enabled", "1"},
  264. {"RAGEAIMBOT_enabled", "1"},
  265. {"NAMEESP_enabled", "1"},
  266. {"RAINBOWNAMEESP_enabled", "1"},
  267. {"ESPBOX_enabled", "1"},
  268. {"ENTESPBOX_enabled", "1"},
  269. {"pSilent", "1"},
  270. {"WEPESP_enabled", "1"},
  271. {"BHOP_enabled", "1"},
  272. {"AUTOSTRAFE_enabled", "1"},
  273. {"RECOIL_enabled", "1"},
  274. {"WATERMARK_enabled", "1"},
  275. {"fieldofview", "1"},
  276. {"ASUS", "1"},
  277. {"Menu-R", "1"},
  278. {"Menu-G", "1"},
  279. {"Menu-B", "1"},
  280. {"ESP-R", "1"},
  281. {"ESP-G", "1"},
  282. {"ESP-B", "1"},
  283. };
  284.  
  285. //////////////////////////////////////////////////////////////////////////////////////////////
  286. ------------------------------------------ FONTS ---------------------------------------------
  287. //////////////////////////////////////////////////////////////////////////////////////////////
  288.  
  289. surface.CreateFont( "MenuLabel", {font = "DermaDefaultBold", extended = false, size = 12, weight = 20000,blursize = 0,scanlines = 0,antialias = false,underline = false,italic = false,strikeout = false,symbol = false,shadow = false,outline = true} )
  290. surface.CreateFont( "CheckboxLabel", {font = "DermaDefaultBold", extended = false, size = 11, weight = 90000,blursize = 0,scanlines = 0,antialias = false,underline = false,italic = false,strikeout = false,symbol = false,shadow = true,outline = true} )
  291. surface.CreateFont( "WatermarkFont", {font = "Trebuchet24", extended = false, size = 25, weight = 2000,blursize = 0,scanlines = 0,antialias = true,underline = false,italic = false,strikeout = false,symbol = false,shadow = false,outline = false} )
  292. surface.CreateFont( "WatermarkFont2", {font = "Trebuchet24", extended = false, size = 12, weight = 2000,blursize = 0,scanlines = 0,antialias = true,underline = false,italic = false,strikeout = false,symbol = false,shadow = false,outline = false} )
  293. surface.CreateFont( "NameESPFont", {font = "DermaDefaultBold", extended = false, size = 12, weight = 100,blursize = 0,scanlines = 0,antialias = true,underline = false,italic = false,strikeout = false,symbol = false,shadow = true,outline = false} )
  294. surface.CreateFont( "SmallText", {font = "DermaDefaultBold", extended = false, size = 12, weight = 100,blursize = 0,scanlines = 0,antialias = true,underline = false,italic = false,strikeout = false,symbol = false,shadow = true,outline = false} )
  295. surface.CreateFont( "ESPFont", {font = "DermaDefaultBold", extended = false, size = 11, weight = 10,blursize = 0,scanlines = 0,antialias = false,underline = false,italic = false,strikeout = false,symbol = false,shadow = false,outline = false} )
  296.  
  297.  
  298. //////////////////////////////////////////////////////////////////////////////////////////////
  299. ------------------------------------------- MENU ---------------------------------------------
  300. //////////////////////////////////////////////////////////////////////////////////////////////
  301. local function Menu()
  302. local mainframe = vgui.Create("DFrame")
  303. mainframe:SetPos(0, 0)
  304. mainframe:SetSize(1920, 1080);
  305. mainframe:SetTitle("");
  306. mainframe:ShowCloseButton(false);
  307. mainframe:MakePopup()
  308. mainframe:SetDraggable(true)
  309. function mainframe:Paint( x, y )
  310. Base(500, 400, 651, 400)
  311. DrawCheckbox(515, 455, "AIMBOT_enabled", "Aimbot")
  312. DrawCheckbox(515, 480, "AIMBOTAUTO_enabled", "Auto-Shoot")
  313. DrawCheckbox(515, 505, "AIMBOTRAGE_enabled", "Rage-Aimbot")
  314. DrawCheckbox(515, 530, "TEAMCHECK_enabled", "Team-Check")
  315. DrawCheckbox(515, 555, "FRIENDCHECK_enabled", "Friend-Check (Might)")
  316. DrawCheckbox(687, 455, "NAMEESP_enabled", "Name-ESP")
  317. DrawCheckbox(687, 480, "RAINBOWNAMEESP_enabled", "Rainbow Name-ESP")
  318. DrawCheckbox(687, 505, "ESPBOX_enabled", "Player ESP-Box")
  319. DrawCheckbox(687, 530, "ENTESPBOX_enabled", "Prop ESP-Box")
  320. DrawCheckbox(687, 555, "WATERMARK_enabled", "Watermark")
  321. DrawCheckbox(687, 580, "WEPESP_enabled", "Weapon ESP-Box")
  322. DrawCheckbox(863, 455, "BHOP_enabled", "Bunny-Hop")
  323. DrawCheckbox(863, 480, "AUTOSTRAFE_enabled", "Autostrafer")
  324. DrawCheckbox(863, 505, "RECOIL_enabled", "No-Recoil")
  325. DrawSlider(863, 530, "FoV", 330,"fieldofview")
  326. DrawSlider(863, 555, "ASUS", 100,"ASUS")
  327.  
  328. DrawSlider(697, 675, "Menu-R", 255,"Menu-R")
  329. DrawSlider(697, 700, "Menu-G", 255,"Menu-G")
  330. DrawSlider(697, 725, "Menu-B", 255,"Menu-B")
  331.  
  332. DrawSlider(697, 750, "ESP-R", 255,"ESP-R")
  333. DrawSlider(697, 775, "ESP-G", 255,"ESP-G")
  334. DrawSlider(697, 800, "ESP-B", 255,"ESP-B")
  335.  
  336. mousedown = input.IsMouseDown(MOUSE_LEFT);
  337. end
  338. return mainframe;
  339. end
  340.  
  341. //////////////////////////////////////////////////////////////////////////////////////////////
  342. --------------------------------------- WATERMARK --------------------------------------------
  343. //////////////////////////////////////////////////////////////////////////////////////////////
  344.  
  345. local function watermark()
  346. if GetConVarNumber("WATERMARK_enabled") == 1 then
  347. rainbow = {}
  348. rainbow.R = math.sin(CurTime() * 4) * 127 + 128
  349. rainbow.G = math.sin(CurTime() * 4 + 2) * 127 + 128
  350. rainbow.B = math.sin(CurTime() * 4 + 4) * 127 + 128
  351.  
  352. local h = ScrH() / 1
  353. local w = ScrW() / 5
  354. draw.SimpleText("EXDEEHACK 5.8", "WatermarkFont", 870, 50, Color(GetConVarNumber("Menu-R"), GetConVarNumber("Menu-G"), GetConVarNumber("Menu-B"), 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_BOTTOM)
  355. draw.SimpleText("Jumpy // Dante$ // Kuno", "WatermarkFont2", 870, 65, Color(GetConVarNumber("Menu-R"), GetConVarNumber("Menu-G"), GetConVarNumber("Menu-B"), 255), TEXT_ALIGN_CENTER, TEXT_ALIGN_BOTTOM)
  356. end
  357. end
  358. hook.Add("HUDPaint", "WaterMark", watermark)
  359. //////////////////////////////////////////////////////////////////////////////////////////////
  360. ----------------------------------------- AIMBOT ---------------------------------------------
  361. //////////////////////////////////////////////////////////////////////////////////////////////
  362.  
  363. local function aimbot()
  364. if GetConVarNumber("AIMBOT_enabled") == 1 then
  365. local ply = LocalPlayer()
  366. local trace = util.GetPlayerTrace( ply )
  367. local traceRes = util.TraceLine( trace )
  368. if traceRes.HitNonWorld then
  369. local target = traceRes.Entity
  370. if target:IsPlayer() then
  371. local targethead = target:LookupBone("ValveBiped.Bip01_Head1")
  372. local targetheadpos,targetheadang = target:GetBonePosition(targethead)
  373. ply:SetEyeAngles((targetheadpos - ply:GetShootPos()):Angle())
  374. end
  375.  
  376. if GetConVarNumber("AIMBOTAUTO_enabled") == 1 then
  377. RunConsoleCommand("+attack")
  378. RunConsoleCommand("+attack")
  379. RunConsoleCommand("+attack")
  380. RunConsoleCommand("+attack")
  381. RunConsoleCommand("+attack")
  382. RunConsoleCommand("+attack")
  383. RunConsoleCommand("+attack")
  384. RunConsoleCommand("+attack")
  385. RunConsoleCommand("+attack")
  386. RunConsoleCommand("+attack")
  387. timer.Simple(0.25,function()
  388. RunConsoleCommand("-attack")
  389. end)
  390. end
  391. end
  392. end
  393. end
  394. hook.Add("Think","aimbot",aimbot)
  395.  
  396. //////////////////////////////////////////////////////////////////////////////////////////////
  397. ----------------------------------------- RAGEAIMBOT------------------------------------------
  398. //////////////////////////////////////////////////////////////////////////////////////////////
  399.  
  400. local function rageaimbot()
  401. if GetConVarNumber("AIMBOTRAGE_enabled") == 1 then
  402. local util = util;
  403. local player = player;
  404. local input = input;
  405. local bit = bit;
  406. local hook = hook;
  407. local me = LocalPlayer();
  408. local aimtarget;
  409. local KEY_E = KEY_E;
  410. local MASK_SHOT = MASK_SHOT;
  411.  
  412. local function GetPos(v)
  413. local eyes = v:LookupAttachment("eyes");
  414. return(eyes && v:GetAttachment(eyes).Pos || v:LocalToWorld(v:OBBCenter()));
  415. end
  416.  
  417. local function Valid(v)
  418. if(!v || !v:IsValid() || v:Health() < 1 || v:IsDormant() || v == me) then return false; end
  419. local trace = {
  420. mask = MASK_SHOT,
  421. endpos = GetPos(v),
  422. start = me:EyePos(),
  423. filter = {me, v},
  424. };
  425. return(util.TraceLine(trace).Fraction == 1);
  426. end
  427.  
  428. local function GetTarget()
  429. if GetConVarNumber("AIMBOTRAGE_enabled") == 1 then
  430. if (Valid(aimtarget)) then return; end
  431. aimtarget = nil;
  432. local allplys = player.GetAll();
  433. for i = 1, #allplys do
  434. local v = allplys[i];
  435. local pm = FindMetaTable("Player")
  436. if GetConVarNumber("TEAMCHECK_enabled") == 1 then
  437. if(pm.Team(v) == pm.Team(me)) then return false end
  438. else
  439. if GetConVarNumber("FRIENDCHECK_enabled") == 1 then
  440. if(pm.GetFriendStatus(v) == "friend") then return false end
  441. else
  442. if (!Valid(v)) then continue; end
  443. aimtarget = v;
  444. return;
  445. end
  446. end
  447. end
  448. end
  449. end
  450.  
  451. hook.Add("CreateMove", "", function(ucmd)
  452. GetTarget();
  453. if(!ang) then ang = ucmd:GetViewAngles(); end
  454. ang = ang + Angle(ucmd:GetMouseY() * .023, ucmd:GetMouseX() * -.023, 0);
  455. ang.x = math.NormalizeAngle(ang.x);
  456. ang.p = math.Clamp(ang.p, -89, 89);
  457. if(ucmd:CommandNumber() == 0) then
  458. ucmd:SetViewAngles(ang);
  459. return;
  460. end
  461.  
  462. if (input.IsKeyDown(KEY_E) && aimtarget) then
  463. ucmd:SetButtons(bit.bor(ucmd:GetButtons(), 1));
  464. local pos = (GetPos(aimtarget) - me:EyePos()):Angle();
  465. ucmd:SetViewAngles(pos);
  466. end
  467. end)
  468. end
  469. end
  470. hook.Add("Think","rageaimbot",rageaimbot)
  471. hook.Add("CreateMove", "rageaimbot", rageaimbot)
  472.  
  473.  
  474. ------------------
  475.  
  476. //////////////////////////////////////////////////////////////////////////////////////////////
  477. ------------------------------------------ ESP -----------------------------------------------
  478. //////////////////////////////////////////////////////////////////////////////////////////////
  479.  
  480.  
  481. local function espbox()
  482. if GetConVarNumber("ESPBOX_enabled") == 1 then
  483. local function coordinates( ent )
  484. local min, max = ent:OBBMins(), ent:OBBMaxs()
  485. local corners = {
  486. Vector( min.x, min.y, min.z ),
  487. Vector( min.x, min.y, max.z ),
  488. Vector( min.x, max.y, min.z ),
  489. Vector( min.x, max.y, max.z ),
  490. Vector( max.x, min.y, min.z ),
  491. Vector( max.x, min.y, max.z ),
  492. Vector( max.x, max.y, min.z ),
  493. Vector( max.x, max.y, max.z )
  494. }
  495.  
  496. local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
  497. for _, corner in pairs( corners ) do
  498. local onScreen = ent:LocalToWorld( corner ):ToScreen()
  499. minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
  500. maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
  501. end
  502.  
  503. return minX, minY, maxX, maxY
  504. end
  505.  
  506. for k,v in pairs(player.GetAll()) do
  507. if v ~=LocalPlayer() and v:Alive() and v:IsValid() and v:Health() > 0 then
  508. local x1,y1,x2,y2 = coordinates(v)
  509. surface.SetDrawColor(rainbow.R,rainbow.G,rainbow.B)
  510.  
  511. local diff = math.abs(x2 - x1);
  512. local diff2 = math.abs(y2 - y1);
  513.  
  514. surface.SetDrawColor(0,0,0)
  515. surface.DrawLine(x1,y1,x1+(diff*0.225),y1)
  516. surface.DrawLine(x1,y1,x1,y1+(diff2*0.225))
  517. surface.DrawLine(x1,y2,x1+(diff*0.225),y2)
  518. surface.DrawLine(x1,y2,x1,y2-(diff2*0.225))
  519. surface.DrawLine(x2,y1,x2-(diff*0.225),y1)
  520. surface.DrawLine(x2,y1,x2,y1+(diff2*0.225))
  521. surface.DrawLine(x2,y2,x2-(diff*0.225),y2)
  522. surface.DrawLine(x2,y2,x2,y2-(diff2*0.225))
  523. surface.SetDrawColor(GetConVarNumber("ESP-R"), GetConVarNumber("ESP-G"), GetConVarNumber("ESP-B"))
  524. surface.DrawLine(x1+1,y1+1,x1+(diff*0.225),y1+1)
  525. surface.DrawLine(x1+1,y1+1,x1+1,y1+(diff2*0.225))
  526. surface.DrawLine(x1+1,y2-1,x1+(diff*0.225),y2-1)
  527. surface.DrawLine(x1+1,y2-1,x1+1,y2-(diff2*0.225))
  528. surface.DrawLine(x2-1,y1+1,x2-(diff*0.225),y1+1)
  529. surface.DrawLine(x2-1,y1+1,x2-1,y1+(diff2*0.225))
  530. surface.DrawLine(x2-1,y2-1,x2-(diff*0.225),y2-1)
  531. surface.DrawLine(x2-1,y2-1,x2-1,y2-(diff2*0.225))
  532. end
  533. end
  534. end
  535. end
  536. hook.Add("HUDPaint", "espbox", espbox)
  537.  
  538. //////////////////////////////////////////////////////////////////////////////////////////////
  539. ------------------------------------------ ENTESP --------------------------------------------
  540. //////////////////////////////////////////////////////////////////////////////////////////////
  541.  
  542.  
  543. local function entespbox()
  544. if GetConVarNumber("ENTESPBOX_enabled") == 1 then
  545. local function coordinates( ent )
  546. local min, max = ent:OBBMins(), ent:OBBMaxs()
  547. local corners = {
  548. Vector( min.x, min.y, min.z ),
  549. Vector( min.x, min.y, max.z ),
  550. Vector( min.x, max.y, min.z ),
  551. Vector( min.x, max.y, max.z ),
  552. Vector( max.x, min.y, min.z ),
  553. Vector( max.x, min.y, max.z ),
  554. Vector( max.x, max.y, min.z ),
  555. Vector( max.x, max.y, max.z )
  556. }
  557.  
  558. local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
  559. for _, corner in pairs( corners ) do
  560. local onScreen = ent:LocalToWorld( corner ):ToScreen()
  561. minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
  562. maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
  563. end
  564.  
  565. return minX, minY, maxX, maxY
  566. end
  567.  
  568. for k,v in pairs(ents.FindByClass("prop_*")) do
  569. local x1,y1,x2,y2 = coordinates(v)
  570.  
  571. local diff = math.abs(x2 - x1);
  572. local diff2 = math.abs(y2 - y1);
  573.  
  574. surface.SetDrawColor(0,0,0)
  575. draw.SimpleText("Prop", "MenuLabel", x1+(diff*0.225), y1-(diff*0.225), Color(GetConVarNumber("Menu-R"), GetConVarNumber("Menu-G"), GetConVarNumber("Menu-B"), 255), TEXT_ALIGN_BOTTOM)
  576. surface.DrawLine(x1,y1,x1+(diff*0.225),y1)
  577. surface.DrawLine(x1,y1,x1,y1+(diff2*0.225))
  578. surface.DrawLine(x1,y2,x1+(diff*0.225),y2)
  579. surface.DrawLine(x1,y2,x1,y2-(diff2*0.225))
  580. surface.DrawLine(x2,y1,x2-(diff*0.225),y1)
  581. surface.DrawLine(x2,y1,x2,y1+(diff2*0.225))
  582. surface.DrawLine(x2,y2,x2-(diff*0.225),y2)
  583. surface.DrawLine(x2,y2,x2,y2-(diff2*0.225))
  584. surface.SetDrawColor(GetConVarNumber("ESP-R"), GetConVarNumber("ESP-G"), GetConVarNumber("ESP-B"))
  585. surface.DrawLine(x1+1,y1+1,x1+(diff*0.225),y1+1)
  586. surface.DrawLine(x1+1,y1+1,x1+1,y1+(diff2*0.225))
  587. surface.DrawLine(x1+1,y2-1,x1+(diff*0.225),y2-1)
  588. surface.DrawLine(x1+1,y2-1,x1+1,y2-(diff2*0.225))
  589. surface.DrawLine(x2-1,y1+1,x2-(diff*0.225),y1+1)
  590. surface.DrawLine(x2-1,y1+1,x2-1,y1+(diff2*0.225))
  591. surface.DrawLine(x2-1,y2-1,x2-(diff*0.225),y2-1)
  592. surface.DrawLine(x2-1,y2-1,x2-1,y2-(diff2*0.225))
  593. end
  594. end
  595. end
  596. hook.Add("HUDPaint", "entespbox", entespbox)
  597.  
  598.  
  599. //////////////////////////////////////////////////////////////////////////////////////////////
  600. ------------------------------------------ weapon --------------------------------------------
  601. //////////////////////////////////////////////////////////////////////////////////////////////
  602.  
  603. local function wepespbox()
  604. if GetConVarNumber("WEPESP_enabled") == 1 then
  605. local function coordinates( ent )
  606. local min, max = ent:OBBMins(), ent:OBBMaxs()
  607. local corners = {
  608. Vector( min.x, min.y, min.z ),
  609. Vector( min.x, min.y, max.z ),
  610. Vector( min.x, max.y, min.z ),
  611. Vector( min.x, max.y, max.z ),
  612. Vector( max.x, min.y, min.z ),
  613. Vector( max.x, min.y, max.z ),
  614. Vector( max.x, max.y, min.z ),
  615. Vector( max.x, max.y, max.z )
  616. }
  617.  
  618. local minX, minY, maxX, maxY = ScrW() * 2, ScrH() * 2, 0, 0
  619. for _, corner in pairs( corners ) do
  620. local onScreen = ent:LocalToWorld( corner ):ToScreen()
  621. minX, minY = math.min( minX, onScreen.x ), math.min( minY, onScreen.y )
  622. maxX, maxY = math.max( maxX, onScreen.x ), math.max( maxY, onScreen.y )
  623. end
  624.  
  625. return minX, minY, maxX, maxY
  626. end
  627.  
  628. for k,v in pairs(ents.FindByClass("m9k_*")) do
  629.  
  630. local x1,y1,x2,y2 = coordinates(v)
  631. surface.SetDrawColor(255,0,0)
  632.  
  633. local diff = math.abs(x2 - x1);
  634. local diff2 = math.abs(y2 - y1);
  635. local weapon = v:GetPrintName()
  636.  
  637. surface.SetDrawColor(0,0,0)
  638. draw.SimpleText(weapon, "MenuLabel", x1+(diff*0.225), y1-(diff*0.225), Color(255,0,0,255), TEXT_ALIGN_BOTTOM)
  639. surface.DrawLine(x1,y1,x1+(diff*0.225),y1)
  640. surface.DrawLine(x1,y1,x1,y1+(diff2*0.225))
  641. surface.DrawLine(x1,y2,x1+(diff*0.225),y2)
  642. surface.DrawLine(x1,y2,x1,y2-(diff2*0.225))
  643. surface.DrawLine(x2,y1,x2-(diff*0.225),y1)
  644. surface.DrawLine(x2,y1,x2,y1+(diff2*0.225))
  645. surface.DrawLine(x2,y2,x2-(diff*0.225),y2)
  646. surface.DrawLine(x2,y2,x2,y2-(diff2*0.225))
  647. surface.SetDrawColor(255,0,0)
  648. surface.DrawLine(x1+1,y1+1,x1+(diff*0.225),y1+1)
  649. surface.DrawLine(x1+1,y1+1,x1+1,y1+(diff2*0.225))
  650. surface.DrawLine(x1+1,y2-1,x1+(diff*0.225),y2-1)
  651. surface.DrawLine(x1+1,y2-1,x1+1,y2-(diff2*0.225))
  652. surface.DrawLine(x2-1,y1+1,x2-(diff*0.225),y1+1)
  653. surface.DrawLine(x2-1,y1+1,x2-1,y1+(diff2*0.225))
  654. surface.DrawLine(x2-1,y2-1,x2-(diff*0.225),y2-1)
  655. surface.DrawLine(x2-1,y2-1,x2-1,y2-(diff2*0.225))
  656. end
  657. end
  658. end
  659.  
  660. hook.Add("HUDPaint", "wepespbox", wepespbox)
  661.  
  662. //////////////////////////////////////////////////////////////////////////////////////////////
  663. ---------------------------------------- NAMEESP ---------------------------------------------
  664. //////////////////////////////////////////////////////////////////////////////////////////////
  665.  
  666. local function nameesp()
  667. if GetConVarNumber("NAMEESP_enabled") == 1 then
  668. for k,v in pairs ( player.GetAll() ) do
  669. if v ~=LocalPlayer() and v:Alive() and v:IsValid() and v:Health() > 0 then
  670. local origin = v:GetPos()
  671. local pos = ( origin + Vector( 0, 0, 90 )):ToScreen()
  672. local getName = "N: " .. v:Nick()
  673. local getHealth = "H: " .. v:Health()
  674. local getGroup = "G: " .. v:GetUserGroup()
  675. local ply = LocalPlayer()
  676. draw.SimpleTextOutlined(getName, "ESPFont", pos.x, pos.y-30, Color( GetConVarNumber("ESP-R"),GetConVarNumber("ESP-G"),GetConVarNumber("ESP-B") ), 1, 1, 1, Color(0, 0, 0 ))
  677. draw.SimpleTextOutlined(getGroup, "ESPFont", pos.x, pos.y-15, Color( GetConVarNumber("ESP-R"),GetConVarNumber("ESP-G"),GetConVarNumber("ESP-B") ), 1, 1, 1, Color(0, 0, 0 ))
  678. draw.SimpleTextOutlined(getHealth, "ESPFont", pos.x, pos.y, Color( GetConVarNumber("ESP-R"),GetConVarNumber("ESP-G"),GetConVarNumber("ESP-B") ), 1, 1, 1, Color(0, 0, 0))
  679. end
  680. end
  681. end
  682. end
  683. hook.Add("HUDPaint", "nameesp", nameesp)
  684. //////////////////////////////////////////////////////////////////////////////////////////////
  685. -------------------------------- RAINBOWNAMEESP ---------------------------------------------
  686. //////////////////////////////////////////////////////////////////////////////////////////////
  687.  
  688.  
  689. local function rainbownameesp()
  690. if GetConVarNumber("RAINBOWNAMEESP_enabled") == 1 then
  691. for k,v in pairs ( player.GetAll() ) do
  692. if v ~=LocalPlayer() and v:Alive() and v:IsValid() and v:Health() > 0 then
  693. local origin = v:GetPos()
  694. local pos = ( origin + Vector( 0, 0, 90 )):ToScreen()
  695. local getName = "N: " .. v:Nick()
  696. local getHealth = "H: " .. v:Health()
  697. local getGroup = "G: " .. v:GetUserGroup()
  698. local ply = LocalPlayer()
  699. draw.SimpleTextOutlined(getName, "ESPFont", pos.x, pos.y-30, Color( rainbow.R,rainbow.G,rainbow.B ), 1, 1, 1, Color(0, 0, 0 ))
  700. draw.SimpleTextOutlined(getGroup, "ESPFont", pos.x, pos.y-15, Color( rainbow.R,rainbow.G,rainbow.B ), 1, 1, 1, Color(0, 0, 0 ))
  701. draw.SimpleTextOutlined(getHealth, "ESPFont", pos.x, pos.y, Color( rainbow.R,rainbow.G,rainbow.B ), 1, 1, 1, Color(0, 0, 0))
  702. end
  703. end
  704. end
  705. end
  706. hook.Add("HUDPaint", "rainbownameesp", rainbownameesp)
  707.  
  708. //////////////////////////////////////////////////////////////////////////////////////////////
  709. -------------------------------------- CROSSHAIR ---------------------------------------------
  710. //////////////////////////////////////////////////////////////////////////////////////////////
  711.  
  712. hook.Add( "HUDPaint", "crosshair", function()
  713. rainbow = {}
  714. rainbow.R = math.sin(CurTime() * 4) * 127 + 128
  715. rainbow.G = math.sin(CurTime() * 4 + 2) * 127 + 128
  716. rainbow.B = math.sin(CurTime() * 4 + 4) * 127 + 128
  717.  
  718. surface.SetDrawColor(199,0,0)
  719. local x = ScrW() * 0.5
  720. local y = ScrH() * 0.5
  721. surface.DrawLine( x + 5, y, x - 5, y )
  722. surface.DrawLine( x, y + 5, x, y - 5 )
  723. end)
  724.  
  725. //////////////////////////////////////////////////////////////////////////////////////////////
  726. ------------------------------------------ ASUS ----------------------------------------------
  727. //////////////////////////////////////////////////////////////////////////////////////////////
  728. local function asus()
  729. local mattable = {};
  730.  
  731. if(#mattable == 0) then
  732. for k,v in next, game.GetWorld():GetMaterials() do
  733. mattable[#mattable + 1] = Material(v);
  734. end
  735.  
  736. for k,v in next, mattable do
  737. v:SetFloat("$alpha", GetConVarNumber("ASUS")/100 + 0.01 || 1);
  738. end
  739. end
  740. end
  741. hook.Add("RenderScene", "asus", asus)
  742. //////////////////////////////////////////////////////////////////////////////////////////////
  743. ------------------------------------------ FOV -----------------------------------------------
  744. //////////////////////////////////////////////////////////////////////////////////////////////
  745.  
  746. local function fieldofview()
  747. view = {}
  748. view.fov = GetConVarNumber("fieldofview")
  749. return view
  750. end
  751. hook.Add("CalcView", "fov", fieldofview)
  752.  
  753. //////////////////////////////////////////////////////////////////////////////////////////////
  754. ----------------------------------------- NORECOIL -------------------------------------------
  755. //////////////////////////////////////////////////////////////////////////////////////////////
  756. local function norec(ang)
  757. if GetConVarNumber("RECOIL_enabled") == 1 then
  758. return ang + pm.GetPunchAngle(me); end
  759. return ang;
  760. end
  761.  
  762. //////////////////////////////////////////////////////////////////////////////////////////////
  763. --------------------------------------- WEAPONDUPE -------------------------------------------
  764. //////////////////////////////////////////////////////////////////////////////////////////////
  765. function dupeweapon()
  766. timer.Simple( 0.4744, function()
  767. RunConsoleCommand("say", "/drop")
  768. end)
  769. timer.Simple( 1.4135, function()
  770. RunConsoleCommand("say", "/sleep")
  771. end)
  772. timer.Simple( 7, function()
  773. RunConsoleCommand("say", "/sleep")
  774. end)
  775. end
  776. //////////////////////////////////////////////////////////////////////////////////////////////
  777. --------------------------------------- BHOP -------------------------------------------------
  778. //////////////////////////////////////////////////////////////////////////////////////////////
  779.  
  780. local function BHOP(ply)
  781. if(GetConVarNumber("BHOP_enabled") == 1) then
  782. if(ply:KeyDown(IN_JUMP) && !LocalPlayer():IsOnGround()) then
  783. ply:RemoveKey(IN_JUMP);
  784. if(GetConVarNumber("AUTOSTRAFE_enabled") == 1) then
  785. if(ply:GetMouseX() > 1 || ply:GetMouseX() < -1) then
  786. ply:SetSideMove(ply:GetMouseX() > 1 && 400 || -400);
  787. else
  788. ply:SetForwardMove(5850 / LocalPlayer():GetVelocity():Length2D());
  789. ply:SetSideMove((ply:CommandNumber() % 2 == 0) && -400 || 400);
  790. end
  791. end
  792. elseif(ply:KeyDown(IN_JUMP) && GetConVarNumber("AUTOSTRAFE_enabled") == 1) then
  793. ply:SetForwardMove(10000)
  794. end
  795. end
  796. end
  797. hook.Add("CreateMove", "bhopp", function(ply)
  798. BHOP(ply);
  799. end);
  800.  
  801. //////////////////////////////////////////////////////////////////////////////////////////////
  802. --------------------------------------- OPEN MENU ---------------------------------------------
  803. //////////////////////////////////////////////////////////////////////////////////////////////
  804.  
  805.  
  806. hook.Add("Think", "menu", function()
  807. if(input.IsKeyDown(KEY_INSERT) && !insertdown) then
  808. if(menuframe) then
  809. menuframe:Close();
  810. menuframe = nil;
  811. else
  812. menuframe = Menu();
  813. end
  814. end
  815. insertdown = input.IsKeyDown(KEY_INSERT);
  816. end);
Add Comment
Please, Sign In to add comment