Caliber_

Gmod leak dump part 3: Electrified

Dec 31st, 2017
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 61.24 KB | None | 0 0
  1. --[[
  2. ElectfRied Private Gmod Hook
  3. "We Do Not Forget. We Do Not Forgive"
  4.  
  5. Electfried Private Gmod Anonymous Hook v.1
  6.  
  7. AuthoRized Vip Registered Users
  8. ElectfRied
  9. shimm3y
  10. Plex
  11. ultra
  12. Darkbyte
  13. Jynxx
  14. All PoKi MemBers
  15. --]]
  16.  
  17. /************************************
  18.     Contact Information
  19.    
  20.     /id/electfried
  21.     /id/electfriedalt
  22.    
  23.     Official Employer Steam Groups
  24.    
  25.     /groups/sinewaveteam
  26.     /groups/employer
  27.    
  28. "Need Help Coding , Have A Lua Question ? Don't Be Afraid Too Contact Me . "
  29.  
  30. ************************************/
  31.  
  32. /************************************
  33.     Name: Local Injection Copies
  34.     Purpose: Make Gmod Hook Faster
  35.     Author: Electfried
  36.     OS: Windows 10 Ultimate 64 Bits
  37. ************************************/
  38.  
  39. MsgN("Injecting Local Copies By Electfried ...")
  40. local surface = surface
  41. local table = table
  42. local ents = ents
  43. local Vector = Vector
  44. local render = render
  45. local cam = cam
  46. local Angle = Angle
  47. local player = player
  48. local team = team
  49. local ScrW = ScrW
  50. local ScrH = ScrH
  51. local util = util
  52. local math = math
  53. local type = type
  54. local tostring = tostring
  55. local string = string
  56. local CurTime = CurTime
  57. local Color = Color
  58. local hook = hook
  59. MsgN("Injection InToo Local Copies By Electfried Success")
  60.  
  61. /************************************
  62.     Name: Console Variables
  63.     Purpose: Inject Private Settings By Electfried
  64.     Author: Electfried
  65.     OS: Windows 10 Ultimate 64 Bits
  66. ************************************/
  67.  
  68. MsgN("Injecting Local Console Variables By Electfried...")
  69. local espC = CreateClientConVar("Employer_Esp_Yes", "1", true, false)
  70. local twoboxC = CreateClientConVar("Employer_2DBox_Yes", "1", true, false)
  71. local bhopC = CreateClientConVar("Employer_BHop_Yes", "1", true, false)
  72. local noskyC = CreateClientConVar("Employer_NoSky_Yes", "1", true, false)
  73. local chamsC = CreateClientConVar("Employer_Chams_Yes", "1", true, false)
  74. local wepchamsC = CreateClientConVar("Employer_WepChams_Yes", "0", true, false)
  75. local eyetracersC = CreateClientConVar("Employer_EyeTracers_Yes", "1", true, false)
  76. local threedtracerC = CreateClientConVar("Employer_3DTracer_Yes", "1", true, false)
  77. local wepespC = CreateClientConVar("Employer_WepEsp_Yes", "1", true, false)
  78. local crossedhairC = CreateClientConVar("Employer_CrossedHair_Yes", "1", true, false)
  79. local sinewaveespC = CreateClientConVar("Employer_SineWaveEsp_Yes", "1", true, false)
  80. local chatinfoC = CreateClientConVar("Employer_ChatInfo_Yes", "1", true, false)
  81. local xrayC = CreateClientConVar("Employer_XRay_Yes", "1", true, false)
  82. local propnameC = CreateClientConVar("Employer_PropName_Yes", "0", true, false)
  83. local safeC = CreateClientConVar("Employer_Safe_Yes", "1", true, false)
  84. local twodtracerC = CreateClientConVar("Employer_2DTracer_Yes", "0", true, false)
  85. local longshothelpertwodC = CreateClientConVar("employer_LongshotHelper2D_Yes", "0", true, false)
  86. local longshothelperthreedC = CreateClientConVar("Employer_LongshotHelper3D_Yes", "0", true, false)
  87. local proplogC = CreateClientConVar("Employer_PropLog_Yes", "1", true, false)
  88. local propdrawcounterC = CreateClientConVar("Employer_PropDrawCounter_Yes", "1", true, false)
  89. local headsmashbeamC = CreateClientConVar("Employer_HeadSmashBeam_Yes", "1", true, false)
  90. local threedboxC = CreateClientConVar("Employer_3DBox_Yes", "0", true, false)
  91. local threedtwodboxC = CreateClientConVar("Employer_3D2DBox_Yes", "0", true, false)
  92. local fovC = CreateClientConVar("Employer_Fov", "120", true, false)
  93. local fovenableC = CreateClientConVar("Employer_FovEnable_Yes", "1", true, false)
  94. local aimbotC = CreateClientConVar("Employer_AimBot_Yes", "0", true, false)
  95. local propaimbotC = CreateClientConVar("Employer_PropAimBot_Yes", "0", true, false)
  96. local thirdpersonC = CreateClientConVar("Employer_ThirdPerson_Yes", "0", true, false)
  97. local asuswallC = CreateClientConVar("Employer_AsusWall_Yes", "0", true, false)
  98. local repeatC = CreateClientConVar("Employer_Repeat_Yes", "0", true, false)
  99. MsgN("Injection Of Local Console Variables By Electfried Success")
  100.  
  101. /************************************
  102.     Name: Lua Code Encrypter
  103.     Purpose: Lua Hook Encrypter By Electfried
  104.     Author: Electfried
  105.     OS: Windows 10 Ultimate 64 Bits
  106. ************************************/
  107.  
  108. local function ByteConvert(x)
  109. --  {
  110.     if type(x) ~= "string" then return end
  111.     local tb = {string.byte(x, 1, #x)}
  112.     local emp = ""
  113.     emp = emp .. "\\" .. table.concat(tb, "\\")
  114.     return emp
  115. --  }
  116. end
  117.  
  118. /************************************
  119.     Name: Private Lua Fonts By Electfried
  120.     Purpose: Inject Private Lua Fonts By Electfried
  121.     Author: Electfried
  122.     OS: Windows 10 Ultimate 64 Bits
  123. ************************************/
  124.  
  125. MsgN("Beginning Injection Of Private Lua Fonts...")
  126.  
  127. surface.CreateFont("cfont2", {
  128. font = "Default",
  129. size = 30,
  130. weight = 1,
  131. outline = true,
  132. antialias = false
  133. })
  134.  
  135. surface.CreateFont("cfont3", {
  136. font = "Default",
  137. size = 40,
  138. weight = 1,
  139. outline = true,
  140. antialias = false
  141. })
  142.  
  143. MsgN("Injection Of Private Lua Fonts Success")
  144.  
  145. /************************************
  146.     Name: Private Colour Shifter By Electfried
  147.     Purpose: Private Hook Too Inject Color Shifting InToo The Lua State
  148.     Author: Electfried
  149.     OS: Windows 10 Ultimate 64 Bits
  150. ************************************/
  151.  
  152. local function colshit()
  153. --  {
  154.     local col = HSVToColor(CurTime() % 6 * 60, 1, 1)
  155.     return Vector(col.r/255, col.g/255, col.b/255)
  156. --  }
  157. end
  158.  
  159. local function colshit2()
  160. --  {
  161.     local col2 = HSVToColor(CurTime() % 6 * 60, 1, 1)
  162.     return Color(col2.r, col2.g, col2.b)
  163. --  }
  164. end
  165.  
  166. /************************************
  167.     Name: Private WaterMark Hook By Electfried
  168.     Purpose: Private Hook Too Render WaterMark By Electfried
  169.     Author: Electfried
  170.     OS: Windows 10 Ultimate 64 Bits
  171. ************************************/
  172.  
  173. MsgN("Beginning Injection Of Private Lua WaterMark Hook By Electfried...")
  174.  
  175. local function watermark()
  176. --  {
  177.     surface.SetFont("cfont2")
  178.     surface.SetTextColor(colshit2())
  179.     surface.SetTextPos(ScrW() / 24, ScrH() / 14)
  180.     surface.DrawText("__Employer Private Build V.Sin(90) [WARNING: UNREGISTERED COPY]")
  181.     surface.SetTextPos(ScrW() / 24, ScrH() / 10)
  182.     surface.DrawText(tostring(GetHostName()))
  183.     surface.SetTextPos(ScrW() / 24, ScrH() / 7.7)
  184.     surface.DrawText(game.GetIPAddress())
  185. --  }
  186. end
  187.  
  188. MsgN("Injection Of Private Lua WaterMark By Electfried Success")
  189.  
  190. /************************************
  191.     Name: Private Lua Function Injection Detour By Electfried
  192.     Purpose: Detour The __MetaTables By Electfried
  193.     Author: Electfried
  194.     OS: Windows 10 Ultimate 64 Bits
  195. ************************************/
  196.  
  197. MsgN("Beginning Injection Of Private Lua __MetaTable Detours")
  198.  
  199. local function safe()
  200. --  {
  201.     if not safeC:GetBool() then return end
  202.     function render.Capture() chat.AddText(Color(255, 0, 0), "render.Capture() blocked By Electfried") return false end
  203.     function render.CapturePixels() chat.AddText(Color(255, 0, 0), "render.CapturePixels() blocked By Electfried") return false end
  204.     function gui.OpenURL() chat.AddText(Color(255, 0, 0), "gui.OpenURL() blocked By Electfried") return false end
  205.     function http.Fetch() chat.AddText(Color(255, 0, 0), "http.Fetch() blocked By Electfried") return false end
  206.     function file.Read() chat.AddText(Color(255, 0, 0), "file.Read() blocked By Electfried") return false end
  207.     function file.Write() chat.AddText(Color(255, 0, 0), "file.Write() blocked By Electfried") return false end
  208.     function file.Append() chat.AddText(Color(255, 0, 0), "file.Append() blocked By Electfried") return false end
  209.     function file.CreateDir() chat.AddText(Color(255, 0, 0), "file.CreateDir() blocked By Electfried") return false end
  210.     function file.Delete() chat.AddText(Color(255, 0, 0), "file.Delete() blocked By Electfried") return false end
  211.     function file.Exists() chat.AddText(Color(255, 0, 0), "file.Exists() blocked By Electfried") return false end
  212.     local a = FindMetaTable("Player")
  213. //  function a:ConCommand() chat.AddText(Color(255, 0, 0), "ConCommand() blocked By Electfried") return false end
  214. --  }
  215. end
  216.  
  217. MsgN("Injection Of Private Lua __MetaTables Complete")
  218.  
  219.  
  220. /************************************
  221.     Name: Private Three Dimensional Vector Hack By Electfried
  222.     Purpose: Private Three Dimensional Vector Hack By Electfried
  223.     Author: Electfried
  224.     OS: Windows 10 Ultimate 64 Bits
  225. ************************************/
  226.  
  227. local function midpoint(x, x2, y, y2, z, z2)
  228. --  {
  229.     local addx = x + x2
  230.     local addy = y + y2
  231.     local addz = z + z2
  232.     return Vector(addx / 2, addy / 2, addz / 2)
  233. --  }
  234. end
  235.  
  236.  
  237. /************************************
  238.     Name: Private Lua Colour Hook By Electfried
  239.     Purpose: Inject Private Lua Colours InToo Lua State
  240.     Author: Electfried
  241.     OS: Windows 10 Ultimate 64 Bits
  242. ************************************/
  243.  
  244. MsgN("Beginning Injection Of Private Lua Colours...")
  245.  
  246. local ColorTable = {
  247. Color(255, 0, 0),
  248. Color(0, 255, 0),
  249. Color(0, 0, 255),
  250. Color(255, 255, 255),
  251. Color(0, 255, 255),
  252. Color(255, 0, 255),
  253. Color(255, 255, 0),
  254. Color(124, 252, 0),
  255. Color(128, 0, 252),
  256. Color(252, 128, 0),
  257. Color(0, 252, 128),
  258. Color(238, 130, 238),
  259. Color(169, 169, 169),
  260. Color(255, 69, 0),
  261. Color(0, 59, 255),
  262. Color(165, 42, 42),
  263. Color(165, 165, 42),
  264. Color(161, 202, 241),
  265. Color(222, 93, 131),
  266. Color(199, 21, 133),
  267. Color(21, 199, 87),
  268. Color(87, 21, 199),
  269. Color(199, 176, 21),
  270. Color(21, 133, 199),
  271. Color(199, 87, 21),
  272. Color(199, 21, 44),
  273. Color(176, 21, 199),
  274. Color(50, 205, 50),
  275. Color(128, 50, 205),
  276. Color(51, 50, 205),
  277. Color(205, 129, 50),
  278. Color(50, 126, 205),
  279. Color(50, 204, 205),
  280. Color(205, 51, 50),
  281. Color(205, 50, 127),
  282. Color(128, 50, 205),
  283. }
  284.  
  285. MsgN("InJection Of Private Lua Colours Success")
  286.  
  287. MsgN("Injecting Additional Fonts...")
  288.  
  289. surface.CreateFont("cfont", {
  290. font = "Default",
  291. size = 14,
  292. weight = 1,
  293. antialias = false,
  294. outline = true
  295. })
  296.  
  297. MsgN("Injection Of Additional Fonts Success")
  298.  
  299. /************************************
  300.     Name: Custom Local Player Hook By Electfried
  301.     Purpose: Private Custom Local Player Detour By Electfried
  302.     Author: Electfried
  303.     OS: Windows 10 Ultimate 64 Bits
  304. ************************************/
  305.  
  306. MsgN("Beginning Injection Of LocalPlayer Detour By Electfried...")
  307.  
  308. local ply = LocalPlayer()
  309.  
  310. MsgN("Injection Of Private Local Player Detour By Electfried Success")
  311.  
  312. /************************************
  313.     Name: Custom Private IsValid Detour By Electfried
  314.     Purpose: Private Detour Of IsValid Detour By Electfried
  315.     Author: Electfried
  316.     OS: Windows 10 Ultimate 64 Bits
  317. ************************************/
  318.  
  319. MsgN("Beginning Injection Of Private Custom IsValid Detour By Electfried...")
  320.  
  321. local function valid(x)
  322. --  {
  323.     if not IsValid(x) or not x:Alive() or x == ply or x:IsDormant() or x:Team() == TEAM_SPECTATOR or x:HasGodMode() then
  324.         return false
  325.     else
  326.         return true
  327.     end
  328. --  }
  329. end
  330.  
  331. MsgN("Injection Of Private Custom IsValid Detour By Electfried Success")
  332.  
  333. /************************************
  334.     Name: Custom Private Two Dimensional Tracer By Electfried
  335.     Purpose: Injects Custom Tracer By Electfried InToo Lua State
  336.     Author: Electfried
  337.     OS: Windows 10 Ultimate 64 Bits
  338. ************************************/
  339.  
  340. MsgN("Beginning Injection Of Private Two Dimensional Lua Tracer By Electfried")
  341.  
  342. local function TwoDTracer()
  343. --  {
  344.     if not twodtracerC:GetBool() then return end
  345.     for k,v in next, player.GetAll() do
  346. --  }
  347. --      {
  348.         if valid(v) then
  349.             local pos = v:GetShootPos():ToScreen()
  350.             local center = Vector(ScrW()/2, ScrH()/2)
  351.             if pos.x > ScrW() or pos.x < 0 or pos.y > ScrH() or pos.y < 0 then continue end
  352.             surface.SetDrawColor(ColorTable[k % 255])
  353.             surface.DrawLine(center.x, center.y, pos.x, pos.y)
  354. --      }
  355.         end
  356.     end
  357. end
  358.  
  359. MsgN("Injection Of Private Lua Two Dimensional Tracer By Electfried Success")
  360.  
  361. /************************************
  362.     Name: Custom Private Three Dimensional Tracer By Electfried
  363.     Purpose: Injects Custom Tracer By Electfried InToo Lua State
  364.     Author: Electfried
  365.     OS: Windows 10 Ultimate 64 Bits
  366. ************************************/
  367.  
  368. MsgN("Beginning Injection Of Private Three Dimensional Lua Tracer By Electfried")
  369.  
  370. local function ThreeDTracer()
  371. --  {
  372.     if not threedtracerC:GetBool() then return end
  373.     for k,v in next, player.GetAll() do
  374. --  }
  375. --      {
  376.         if valid(v) then
  377.             local pos = v:GetShootPos()
  378.             local screen = EyePos() + ply:GetAimVector() * 100
  379. --          {
  380.             cam.Start3D()
  381. --              {
  382.                 render.SetColorMaterialIgnoreZ()
  383.                 render.DrawBeam(screen, pos, .2, 1, 1, ColorTable[k % 255])
  384. --              }
  385.             cam.End3D()
  386. --          }
  387. --      }
  388.         end
  389.     end
  390. end
  391.  
  392. MsgN("Injection Of Private Lua Three Dimensional Tracer By Electfried Success")
  393.  
  394. /************************************
  395.     Name: Custom Private Fov Detour By Electfried
  396.     Purpose: Detours The MetaTables To Detour Your Fov By Electfried
  397.     Author: Electfried
  398.     OS: Windows 10 Ultimate 64 Bits
  399. ************************************/
  400.  
  401. MsgN("Beginning Injection Of Private Fov Detour By Electfried")
  402.  
  403. local function fov(_, _, angles, fov) -- I Recommend Using This When Using 3D Tracers For Shooting
  404. --  {
  405.     if not fovenableC:GetBool() then return end
  406.     local fovtable = {}
  407.     fovtable.angles = ply:EyeAngles()
  408.     fovtable.fov = math.abs(GetConVar("employer_fov"):GetInt())
  409.     return fovtable
  410. --  }
  411. end
  412.  
  413. MsgN("Injection Of Private Lua Fov Detour By Electfried Success")
  414.  
  415. /************************************
  416.     Name: Custom Private Distance Detour By Electfried
  417.     Purpose: Detours The MetaTables To Detour The Distance By Electfried
  418.     Author: Electfried
  419.     OS: Windows 10 Ultimate 64 Bits
  420. ************************************/
  421.  
  422. MsgN("Beginning Injection Of Private Distance Detour By Electfried")
  423.  
  424. local function DistancePropEspTwoD() -- 2D LongShoot Helper
  425. --  {
  426.     if not CPPI or not longshothelpertwodC:GetBool() then return end
  427. --  }
  428.     for k,v in next, ents.GetAll() do
  429.         if IsValid(v) and v:CPPIGetOwner() == ply and v:GetClass() == "prop_physics" then
  430. --          {
  431.             local pos = v:LocalToWorld(v:OBBCenter()):ToScreen()
  432.             if pos.x > ScrW() or pos.x < 0 or pos.y > ScrH() or pos.y < 0 then continue end
  433.             for j, k in next, player.GetAll() do
  434. --          }
  435.                 if valid(k) then
  436. --                  {
  437.                     local plypos = k:GetShootPos():ToScreen() -- used to find the mid point
  438.                     local mid = Vector((plypos.x + pos.x) / 2, (plypos.y + pos.y) / 2)
  439.                     if k:GetShootPos():Distance(v:GetPos()) / 16 > 20 then continue end
  440.                     if plypos.x > ScrW() or plypos.x < 0 or plypos.y > ScrH() or plypos.y < 0 then continue end
  441.                     surface.SetFont("cfont")
  442.                     surface.SetTextColor(ColorTable[j % 255])
  443.                     surface.SetTextPos(mid.x, mid.y)
  444.                     surface.DrawText(tostring(math.abs(math.floor(k:GetShootPos():Distance(v:GetPos()) / 16)) .. " ft"))
  445.                     surface.SetDrawColor(ColorTable[j % 255])
  446.                     surface.DrawLine(pos.x, pos.y, plypos.x, plypos.y)
  447. --                  }
  448.                 end
  449.             end
  450.         end
  451.     end
  452. end
  453.  
  454. MsgN("Injection Of Private Lua Distance Detour By Electfried Success")
  455.  
  456. /************************************
  457.     Name: Custom Private Three Dimensional Distance Detour By Electfried
  458.     Purpose: Detours The MetaTables To Detour The Three Dimensional Distance By Electfried
  459.     Author: Electfried
  460.     OS: Windows 10 Ultimate 64 Bits
  461. ************************************/
  462.  
  463. MsgN("Beginning Injection Of Private Three Dimensional Distance Detour By Electfried")
  464.  
  465. local function DistancePropEspThreeD() -- 3D Version Of LongShoot Helper
  466. --  {
  467.     if not CPPI or not longshothelperthreedC:GetBool() then return end
  468. --  }
  469.     for k,v in next, ents.GetAll() do
  470. --      {
  471.         if IsValid(v) and v:CPPIGetOwner() == ply then
  472.             local screenpos = v:LocalToWorld(v:OBBCenter()):ToScreen()
  473.             local pos = v:LocalToWorld(v:OBBCenter())
  474. --      }
  475.             for i, j in next, player.GetAll() do
  476.                 if valid(j) then
  477. --                  {
  478.                     local screenplypos = j:GetShootPos():ToScreen()
  479.                     local plypos = j:GetShootPos()
  480.                     local mid = Vector((screenplypos.x + screenpos.x) / 2, (screenplypos.y + screenpos.y) / 2)
  481.                     if math.abs(math.floor(pos:Distance(plypos))) / 16 > 20 then continue end
  482.                     if math.abs(math.floor(pos:Distance(plypos))) / 16 <= 20 then
  483. --                  }
  484.                         cam.Start3D()
  485. --                      {
  486.                             render.SetColorMaterialIgnoreZ()
  487.                             render.DrawBeam(pos, plypos, 2, 1, 1, ColorTable[i % 255])
  488. --                      }
  489.                         cam.End3D()
  490. --                  {
  491.                         surface.SetFont("cfont")
  492.                         surface.SetTextColor(ColorTable[i % 255])
  493.                         surface.SetTextPos(mid.x, mid.y)
  494.                         surface.DrawText(tostring(math.abs(math.floor(j:GetShootPos():Distance(pos) / 16)) .. " ft"))
  495. --                  }
  496.                     end
  497.                 end
  498.             end
  499.         end
  500.     end
  501. end
  502.  
  503. MsgN("Injection Of Private Lua Three Dimensional Distance Detour By Electfried Success")
  504.  
  505. /************************************
  506.     Name: Custom Private Unique Sine Wave ESP By Electfried
  507.     Purpose: Detours The __MetaTables Too Add A Custom Sine Wave ESP Hook By Electfried
  508.     Author: Electfried
  509.     OS: Windows 10 Ultimate 64 Bits
  510. ************************************/
  511.  
  512. MsgN("Beginning Injection Of Sine Wave ESP By Electfried InToo Lua Registry...")
  513.  
  514. local function esp() -- This Should OverRide All Except Tracers
  515. --  {
  516.     if not espC:GetBool() then return end
  517.     for k,v in next, player.GetAll() do
  518. --      {
  519.         if valid(v) then
  520. --          {
  521.             local col = team.GetColor(v:Team())
  522.             local pos = v:GetPos():ToScreen()
  523.             if pos.x > ScrW() or pos.x < 0 or pos.y > ScrH() or pos.y < 0 then continue end
  524.             surface.SetFont("cfont")
  525.             surface.SetTextColor(ColorTable[k % 255])
  526.             surface.SetTextPos(pos.x, pos.y)
  527.             surface.DrawText(v:Nick())
  528.             surface.SetTextColor(Color(0, 255, 0))
  529.             surface.SetTextPos(pos.x, pos.y + 12)
  530.             surface.DrawText(v:Health())
  531.             surface.SetTextColor(col)
  532.             surface.SetTextPos(pos.x, pos.y + 24)
  533.             surface.DrawText(v:GetUserGroup())
  534.             surface.SetTextColor(Color(255, 255, 0))
  535.             surface.SetTextPos(pos.x, pos.y + 36)
  536.             surface.DrawText(math.abs(math.floor(ply:GetPos():Distance(v:GetPos()) / 16)) .. " ft")
  537.             surface.SetTextColor(Color(255, 0, 255))
  538.             surface.SetTextPos(pos.x, pos.y + 48)
  539.             if not IsValid(v:GetActiveWeapon()) then continue end
  540.             surface.DrawText(v:GetActiveWeapon():GetClass())
  541. --          }
  542.         end
  543. --      }
  544.     end
  545. --  }
  546. end
  547.  
  548. local function weaponesp()
  549. --  {
  550.     if not wepespC:GetBool() then return end
  551.     for k,v in next, ents.GetAll() do
  552. --      {
  553.         if type(v) ~= "Weapon" or v:GetOwner() ~= NULL or v:IsDormant() then continue end
  554.         local pos = v:GetPos():ToScreen()
  555.         if pos.x > ScrW() or pos.x < 0 or pos.y > ScrH() or pos.y < 0 then continue end
  556.         surface.SetFont("cfont")
  557.         surface.SetTextColor(Color(0, 255, 255))
  558.         surface.SetTextPos(pos.x, pos.y)
  559.         surface.DrawText(v:GetClass())
  560.         surface.SetTextColor(Color(255, 255, 255))
  561.         surface.SetTextPos(pos.x, pos.y + 12)
  562.         surface.DrawText(tostring(math.abs(math.floor(v:GetPos():Distance(ply:GetPos()) / 16))) .. " ft")
  563. --      }
  564.     end
  565. --  }
  566. end
  567.  
  568. MsgN("Injection Of Custom Private Sine Wave ESP By Electfried InToo Lua Registry Success")
  569.  
  570. /************************************
  571.     Name: Custom Private Prop Rendering Hack By Electfried
  572.     Purpose: Detours The __MetaTables Too Add A Custom Private Prop Rendering Hack By Electfried
  573.     Author: Electfried
  574.     OS: Windows 10 Ultimate 64 Bits
  575. ************************************/
  576.  
  577. MsgN("Beginning Injection Of Custom Private Prop Rendering Hack By Electfried...")
  578.  
  579. local function xray()
  580. --{
  581.     if not xrayC:GetBool() then return end
  582.     local mat = Material("models/wireframe", "VertexLitGeneric")
  583.     for k,v in next, ents.GetAll() do
  584. --}
  585. --      {
  586.         if IsValid(v) and v:GetClass() == "prop_physics" then
  587.             local col = ColorTable[k % 255]
  588.             local getcol = v:GetColor()
  589.             getcol.a = 0
  590. --          {
  591.             cam.Start3D()
  592. --              {
  593.                 render.SuppressEngineLighting(true)
  594.                 render.MaterialOverride(mat)
  595.                 render.SetColorModulation(100, 65, 0)
  596.                 v:SetColor(Color(getcol.r, getcol.g, getcol.b, getcol.a))
  597.                 v:SetRenderMode(RENDERMODE_TRANSALPHA)
  598.                 v:DrawModel()
  599.                 render.SuppressEngineLighting(false)
  600. --              }
  601.             cam.End3D()
  602. --          }
  603.         end
  604. --      }
  605.     end
  606. end
  607.  
  608. MsgN("Injection Of Custom Private Prop Rendering Hack By Electfried Success")
  609.  
  610. /************************************
  611.     Name: Custom Private Material Injection By Electfried
  612.     Purpose: Detours The __MetaTables Too Add A Custom Private Material Hack By Electfried Too The Lua Registry
  613.     Author: Electfried
  614.     OS: Windows 10 Ultimate 64 Bits
  615. ************************************/
  616.  
  617. MsgN("Beginning Injection Of Private Custom Material Detour By Electfried")
  618.  
  619. local mat = CreateMaterial("wire", "VertexLitGeneric", {
  620. ["$basetexture"] = "models/debug/debugwhite",
  621. ["$ignorez"] = 1,
  622. ["$model"] = 1,
  623. })
  624.  
  625. MsgN("Injection Of Private Custom Material Detour By Electfried Success")
  626.  
  627. /************************************
  628.     Name: Custom Private Player Chameleon Hack By Electfried
  629.     Purpose: Detours The __MetaTables Too Add A Custom Private Prop Player Chameleon Hack By Electfried
  630.     Author: Electfried
  631.     OS: Windows 10 Ultimate 64 Bits
  632. ************************************/
  633.  
  634. MsgN("Beginning Injection Of Custom Private Player Chameleon Hack By Electfried")
  635.  
  636. local function chams()
  637. --  {
  638.     if not chamsC:GetBool() then return end
  639.     for k,v in next, player.GetAll() do
  640. --      {
  641.         if valid(v) then
  642.             local box = ColorTable[k % 255]
  643. --          {
  644.             cam.Start3D()
  645. --              {
  646.                 render.SuppressEngineLighting(true)
  647.                 render.MaterialOverride(mat)
  648.                 render.SetColorModulation(box.r/255, box.g/255, box.b/255)
  649.                 v:DrawModel()
  650.                 render.SuppressEngineLighting(false)
  651. --              }
  652.             cam.End3D()
  653. --          }
  654.         end
  655. --      }
  656.     end
  657. --  }
  658. end
  659.  
  660. MsgN("Injection Of Custom Private Player Chameleon Hack By Electfried Success")
  661.  
  662. /************************************
  663.     Name: Custom Private Weapon Chameleon Hack By Electfried
  664.     Purpose: Detours The __MetaTables Too Add A Custom Private Prop Weapon Chameleon Hack By Electfried
  665.     Author: Electfried
  666.     OS: Windows 10 Ultimate 64 Bits
  667. ************************************/
  668.  
  669. MsgN("Beginning Injection Of Custom Private Weapon Chameleon Hack By Electfried")
  670.  
  671. local function wepchams()
  672. --  {
  673.     if not wepchamsC:GetBool() then return end
  674.     for k,v in next, player.GetAll() do
  675.         if valid(v) and IsValid(v:GetActiveWeapon()) then
  676. --          {
  677.             cam.Start3D()
  678. --              {
  679.                 render.SuppressEngineLighting(true)
  680.                 render.MaterialOverride(mat)
  681.                 render.SetColorModulation(colshit().x, colshit().y, colshit().z)
  682.                 v:GetActiveWeapon():DrawModel()
  683.                 render.SuppressEngineLighting(false)
  684. --              }
  685.             cam.End3D()
  686. --          }
  687.         end
  688.     end
  689. --  }
  690. end
  691.  
  692. MsgN("Injection Of Custom Private Weapon Chameleon Hack By Electfried Success")
  693.  
  694. /************************************
  695.     Name: Custom Private Event Hook Detour By Electfried
  696.     Purpose: Detours The __MetaTables Too Add A Custom Private Event Hook Detour By Electfried
  697.     Author: Electfried
  698.     OS: Windows 10 Ultimate 64 Bits
  699. ************************************/
  700.  
  701. MsgN("Beginning Injection Of Custom Private Event Hook Detour By Electfried")
  702.  
  703. gameevent.Listen("player_hurt")
  704.  
  705. MsgN("Injection Of Custom Private Event Hook Detour By Electfried Success")
  706.  
  707. /************************************
  708.     Name: Custom Private Chat Detour By Electfried
  709.     Purpose: Detours The __MetaTables Too Add A Custom Private Chat Detour By Electfried
  710.     OS: Windows 10 Ultimate 64 Bits
  711. ************************************/
  712.  
  713. MsgN("Beginning Injection Of Custom Private Chat Detour By Electfried")
  714.  
  715. local function chatinfo(data)
  716. --  {
  717.     if not chatinfoC:GetBool() then return end
  718.     if data.attacker == 0 then return end
  719.     if ply:UserID() == data.attacker and data.health == 0 and data.userid != ply:UserID() then
  720.         RunConsoleCommand("say", Player(data.userid):Nick() .. " got owned by Electfried. Distance: " .. math.Round(Player(data.attacker):GetPos():Distance(Player(data.userid):GetPos()) / 16, 1) .. " ft")
  721.     end
  722. --  }
  723. end
  724.  
  725. MsgN("Injection Of Custom Private Chat Detour By Electfried Success")
  726.  
  727. /************************************
  728.     Name: Custom Private Event Hook Detour By Electfried
  729.     Purpose: Detours The __MetaTables Too Add A Custom Private Event Hook Detour By Electfried
  730.     Author: Electfried
  731.     OS: Windows 10 Ultimate 64 Bits
  732. ************************************/
  733.  
  734. MsgN("Beginning Injection Of Custom Private Event Hook Detour By Electfried")
  735.  
  736. gameevent.Listen("player_say")
  737.  
  738. MsgN("Injection Of Custom Private Event Hook Detour By Electfried Success")
  739.  
  740. /************************************
  741.     Name: Custom Private Repeat Hack By Electfried
  742.     Purpose: Detours The __MetaTables Too Add A Custom Private Repeat Hack By Electfried
  743.     Author: Electfried
  744.     OS: Windows 10 Ultimate 64 Bits
  745. ************************************/
  746.  
  747. MsgN("Beginning Injection Of Custom Private Repeat Hack By Electfried")
  748.  
  749. local function repeater(data) -- Make A Con Cammed For This
  750. --  {
  751.     if not repeatC:GetBool() then return end
  752.     if Player(data.userid) ~= ply then
  753.         RunConsoleCommand("say", Player(data.userid):Nick() .. " | " .. data.text)
  754.     end
  755. --  }
  756. end
  757.  
  758. MsgN("Injection Of Custom Private Repeat Hack By Electfried Success")
  759.  
  760. /************************************
  761.     Name: Custom Private Event Hook Detour By Electfried
  762.     Purpose: Detours The __MetaTables Too Add A Custom Private Event Hook Detour By Electfried
  763.     Author: Electfried
  764.     OS: Windows 10 Ultimate 64 Bits
  765. ************************************/
  766.  
  767. MsgN("Beginning Injection Of Custom Private Event Hook Detour By Electfried")
  768.  
  769. gameevent.Listen("entity_killed")
  770.  
  771. MsgN("Injection Of Custom Private Event Hook Detour By Electfried Success")
  772.  
  773. /************************************
  774.     Name: Custom Private PropKill Detour By Electfried
  775.     Purpose: Detours The __MetaTables Too Add A Custom Private PropKill Detour By Electfried
  776.     Author: Electfried
  777.     OS: Windows 10 Ultimate 64 Bits
  778. ************************************/
  779.  
  780. MsgN("Beginning Injection Of Custom Private PropKill Detour By Electfried")
  781.  
  782. local var = ply:GetPData("Propkill_logger2", 0)
  783.  
  784. local function proplog(data) -- Use entity_killed Hooked
  785. --  {
  786.     if not CPPI or not proplogC:GetBool() then return end
  787.     local meme = data.entindex_killed
  788.     if Entity(data.entindex_attacker):CPPIGetOwner() ~= ply then return end
  789.     if Entity(meme) == ply or Entity(meme):IsBot() or Entity(meme):IsNPC() or Entity(meme) == nil then return end
  790.     var = var + 1
  791.     ply:SetPData("Propkill_logger2", var)
  792. --  }
  793. end
  794.  
  795. local function PropDrawCounter()
  796. --  {
  797.     if not propdrawcounterC:GetBool() then return end
  798.     surface.SetFont("cfont3")
  799.     surface.SetTextColor(colshit2())
  800.     surface.SetTextPos(ScrW() / 24, ScrH() / 6)
  801.     surface.DrawText("Pk counter: " .. ply:GetPData("Propkill_logger2", 0))
  802. --  }
  803. end
  804.  
  805. MsgN("Injection Of Custom Private PropKill Detour By Electfried Success")
  806.  
  807. /************************************
  808.     Name: Custom Private Jump Detour By Electfried
  809.     Purpose: Detours The __MetaTables Too Add A Custom Private Jump Detour By Electfried
  810.     Author: Electfried
  811.     OS: Windows 10 Ultimate 64 Bits
  812. ************************************/
  813.  
  814. MsgN("Beginning Injection Of Private Custom Jump Detour By Electfried")
  815.  
  816. local function bhop()
  817.     if not bhopC:GetBool() then return end
  818.     if gui.IsGameUIVisible() or gui.IsConsoleVisible() or not ply:Alive() or ply:Team() == TEAM_SPECTATOR or ply:GetMoveType() == 8 then
  819.         return
  820.     end
  821.     if ply:IsOnGround() and input.IsKeyDown(KEY_SPACE) then
  822.         RunConsoleCommand("+jump")
  823.     else
  824.         RunConsoleCommand("-jump")
  825.     end
  826. end
  827.  
  828. MsgN("Injection Of Private Custom Jump Detour By Electfried Success")
  829.  
  830. /************************************
  831.     Name: Custom Private Sky Detour By Electfried
  832.     Purpose: Detours The __MetaTables Too Add A Custom Private Sky Detour By Electfried
  833.     Author: Electfried
  834.     OS: Windows 10 Ultimate 64 Bits
  835. ************************************/
  836.  
  837. MsgN("Beginning Injection Of Private Custom Sky Detour By Electfried")
  838.  
  839. local function NoSky() -- Use Hooked PostDrawSkyBox
  840.     if not noskyC:GetBool() then return end
  841.     render.Clear(0, 0, 0, 255, true, false)
  842. end
  843.  
  844. MsgN("Injection Of Private Custom Sky Detour By Electfried Success")
  845.  
  846. /************************************
  847.     Name: Custom Private Prop Detour By Electfried
  848.     Purpose: Detours The __MetaTables Too Add A Custom Private Prop Detour By Electfried
  849.     Author: Electfried
  850.     OS: Windows 10 Ultimate 64 Bits
  851. ************************************/
  852.  
  853. MsgN("Beginning Injection Of Private Custom Prop Detour By Electfried")
  854.  
  855. local function PropInfo()
  856.     if not propnameC:GetBool() then return end
  857.     if IsValid(ply:GetEyeTrace().Entity) and ply:GetEyeTrace().Entity:GetClass() == "prop_physics" then
  858. --      {
  859.         local ent = ply:GetEyeTrace().Entity
  860.         local pos = ent:GetPos():ToScreen()
  861.         surface.SetFont("cfont")
  862.         surface.SetTextColor(Color(255, 0, 0))
  863.         surface.SetTextPos(pos.x, pos.y)
  864.         surface.DrawText(ent:GetModel())
  865. --      }
  866.         if input.IsKeyDown(KEY_E) then
  867. --          {
  868.             SetClipboardText(ent:GetModel())
  869. --          }
  870.         end
  871.     end
  872. end
  873.  
  874. MsgN("Injection Of Private Custom Prop Detour By Electfried Success")
  875.  
  876. /************************************
  877.     Name: Custom Private Two Dimensional Box Sine Wave ESP By Electfried
  878.     Purpose: Detours The __MetaTables Too Add A Custom Private Two Dimensional Box Sine Wave ESP By Electfried
  879.     Author: Electfried
  880.     OS: Windows 10 Ultimate 64 Bits
  881. ************************************/
  882.  
  883. MsgN("Beginning Injection Of Private Custom Bix Sine Wave ESP Detour By Electfried")
  884.  
  885. local function twobox()
  886. --  {
  887.     if not twoboxC:GetBool() then return end
  888.     for k,v in next, player.GetAll() do
  889. --      {
  890.         local start = v:GetPos():ToScreen()
  891.         local endL = v:LocalToWorld(Vector(0, 0, v:OBBMaxs().z)):ToScreen()
  892.         local height = start.y - endL.y
  893.         local width = height / 2
  894.         if start.x > ScrW() or start.x < 0 or start.y > ScrH() or start.y < 0 then continue end
  895.         if valid(v) then
  896. --          {
  897.             surface.SetDrawColor(ColorTable[k % 255])
  898.             surface.DrawOutlinedRect(start.x - width / 2, start.y - height, width, height)
  899.             surface.SetDrawColor(Color(0, 0, 0))
  900.             surface.DrawOutlinedRect(start.x - width / 2 + 1, start.y - height + 1, width - 2, height - 2)
  901.             surface.DrawOutlinedRect(start.x - width / 2 - 1, start.y - height - 1, width + 2, height + 2)
  902. --          }
  903.         end
  904. --      }
  905.     end
  906. --  }
  907. end
  908.  
  909. MsgN("Injection Of Private Custom Box Sine Wave ESP Detour By Electfried Success")
  910.  
  911. /************************************
  912.     Name: Custom Private Eye Tracer Sine Wave Hack By Electfried
  913.     Purpose: Detours The __MetaTables Too Add A Custom Private Eye Tracer Sine Wave Hack By Electfried
  914.     Author: Electfried
  915.     OS: Windows 10 Ultimate 64 Bits
  916. ************************************/
  917.  
  918. MsgN("Beginning Injection Of Private Custom Eye Tracer Detour By Electfried")
  919.  
  920. local function EyeTracers()
  921. --  {
  922.     if not eyetracersC:GetBool() then return end
  923.     for k,v in next, player.GetAll() do
  924. --      {
  925.         if valid(v) then
  926.             local eye = v:GetEyeTrace().HitPos
  927.             local div = v:GetShootPos():Distance(v:GetEyeTrace().HitPos)
  928. --          {
  929.             cam.Start3D()
  930. --              {
  931.                 render.SetMaterial(Material("sprites/lookingat"))
  932.                 render.DrawBeam(v:GetShootPos(), eye, 4, 0.01, -div/30, ColorTable[k % 255])
  933.                 render.SetColorMaterialIgnoreZ()
  934.                 render.DrawBox(eye, Angle(angle_zero), Vector(-4, -4, -4), Vector(4, 4, 4), ColorTable[k % 255])
  935. --              }
  936.             cam.End3D()
  937. --          }
  938.         end
  939. --      }
  940.     end
  941. --  }
  942. end
  943.  
  944. MsgN("Injection Of Private Custom Eye Tracer Detour By Electfried Success")
  945.  
  946. /************************************
  947.     Name: Custom Private Three Dimensional Box Sine Wave ESP By Electfried
  948.     Purpose: Detours The __MetaTables Too Add A Custom Private Three Dimensional Box Sine Wave ESP By Electfried
  949.     Author: Electfried
  950.     OS: Windows 10 Ultimate 64 Bits
  951. ************************************/
  952.  
  953. MsgN("Beginning Injection Of Private Custom Great Three Dimensional Box ESP By Electfried")
  954.  
  955. local function GreatThreeDBox()
  956. --  {
  957.     if not threedboxC:GetBool() then return end
  958.     for k,v in next, player.GetAll() do
  959. --      {
  960.         if valid(v) then
  961.             local BoxColor = ColorTable[k % 255]
  962.             local toppos = v:LocalToWorld(v:OBBMaxs())
  963.             local toppos2 = v:LocalToWorld(Vector(0, v:OBBMaxs().y, v:OBBMaxs().z) - Vector(v:OBBMaxs().x, 0, 0))
  964.             local toppos3 = v:LocalToWorld(Vector(0, 0, v:OBBMaxs().z) - Vector(v:OBBMaxs().x, v:OBBMaxs().y, 0))
  965.             local toppos4 = v:LocalToWorld(Vector(v:OBBMaxs().x, 0, v:OBBMaxs().z) - Vector(0, v:OBBMaxs().y, 0))
  966.            
  967.             local botpos = v:LocalToWorld(v:OBBMins())
  968.             local botpos2 = v:LocalToWorld(Vector(0, v:OBBMins().y, v:OBBMins().z) - Vector(v:OBBMins().x, 0, 0))
  969.             local botpos3 = v:LocalToWorld(Vector(0, 0, v:OBBMins().z) - Vector(v:OBBMins().x, v:OBBMins().y, 0))
  970.             local botpos4 = v:LocalToWorld(Vector(v:OBBMins().x, 0, v:OBBMins().z) - Vector(0, v:OBBMins().y, 0))
  971. --          {
  972.             cam.Start3D()
  973. --              {
  974.                 render.DrawLine(toppos, toppos2, BoxColor)
  975.                 render.DrawLine(toppos3, toppos4, BoxColor)
  976.                 render.DrawLine(toppos3, toppos2, BoxColor)
  977.                 render.DrawLine(toppos4, toppos, BoxColor)
  978.            
  979.                 render.DrawLine(botpos, botpos2, BoxColor)
  980.                 render.DrawLine(botpos3, botpos2, BoxColor)
  981.                 render.DrawLine(botpos4, botpos, BoxColor)
  982.                 render.DrawLine(botpos3, botpos4, BoxColor)
  983.                
  984.                 render.DrawLine(botpos2, toppos4, BoxColor)
  985.                 render.DrawLine(botpos, toppos3, BoxColor)
  986.                 render.DrawLine(botpos3, toppos, BoxColor)
  987.                 render.DrawLine(toppos2, botpos4, BoxColor)
  988. --              }
  989.             cam.End3D()
  990. --          }
  991.         end
  992. --      }
  993.     end
  994. --  }
  995. end
  996.  
  997. MsgN("Injection Of Private Custom Great Three Dimensional Box ESP By Electfried Success")
  998.  
  999. /************************************
  1000.     Name: Custom Private Three Dimensional Two Dimensional Box Sine Wave ESP By Electfried
  1001.     Purpose: Detours The __MetaTables Too Add A Custom Private Three Dimensional Two Dimensional Box Sine Wave ESP By Electfried
  1002.     Author: Electfried
  1003.     OS: Windows 10 Ultimate 64 Bits
  1004. ************************************/
  1005.  
  1006. MsgN("Beginning Injection Of Private Custom Two Dimensional Three Dimensional Box ESP By Electfried")
  1007.  
  1008. local function ThreeDTwoDBox()
  1009. --  {
  1010.     if not threedtwodboxC:GetBool() then return end
  1011.     for k,v in next, player.GetAll() do
  1012. --      {
  1013.         if valid(v) then
  1014. --          {
  1015.             local toppos = v:LocalToWorld(v:OBBMaxs()):ToScreen()
  1016.             local toppos2 = v:LocalToWorld(Vector(0, v:OBBMaxs().y, v:OBBMaxs().z) - Vector(v:OBBMaxs().x, 0, 0)):ToScreen()
  1017.             local toppos3 = v:LocalToWorld(Vector(0, 0, v:OBBMaxs().z) - Vector(v:OBBMaxs().x, v:OBBMaxs().y, 0)):ToScreen()
  1018.             local toppos4 = v:LocalToWorld(Vector(v:OBBMaxs().x, 0, v:OBBMaxs().z) - Vector(0, v:OBBMaxs().y, 0)):ToScreen()
  1019.            
  1020.             local botpos = v:LocalToWorld(v:OBBMins()):ToScreen()
  1021.             local botpos2 = v:LocalToWorld(Vector(0, v:OBBMins().y, v:OBBMins().z) - Vector(v:OBBMins().x, 0, 0)):ToScreen()
  1022.             local botpos3 = v:LocalToWorld(Vector(0, 0, v:OBBMins().z) - Vector(v:OBBMins().x, v:OBBMins().y, 0)):ToScreen()
  1023.             local botpos4 = v:LocalToWorld(Vector(v:OBBMins().x, 0, v:OBBMins().z) - Vector(0, v:OBBMins().y, 0)):ToScreen()
  1024.             if toppos.x > ScrW() or toppos.x < 1 or toppos.y > ScrH() or toppos.y < 1 then continue end
  1025.             if botpos.x > ScrW() or botpos.x < 1 or botpos.y > ScrH() or botpos.y < 1 then continue end
  1026.             surface.SetDrawColor(ColorTable[k % 255])
  1027.             surface.DrawLine(toppos.x, toppos.y, toppos2.x, toppos2.y)
  1028.             surface.DrawLine(toppos3.x, toppos3.y, toppos4.x, toppos4.y)
  1029.             surface.DrawLine(toppos3.x, toppos3.y, toppos2.x, toppos2.y)
  1030.             surface.DrawLine(toppos4.x, toppos4.y, toppos.x, toppos.y)
  1031.            
  1032.             surface.DrawLine(botpos.x, botpos.y, botpos2.x, botpos2.y)
  1033.             surface.DrawLine(botpos3.x, botpos3.y, botpos2.x, botpos2.y)
  1034.             surface.DrawLine(botpos4.x, botpos4.y, botpos.x, botpos.y)
  1035.             surface.DrawLine(botpos3.x, botpos3.y, botpos4.x, botpos4.y)
  1036.            
  1037.             surface.DrawLine(botpos2.x, botpos2.y, toppos4.x, toppos4.y)
  1038.             surface.DrawLine(botpos.x, botpos.y, toppos3.x, toppos3.y)
  1039.             surface.DrawLine(botpos3.x, botpos3.y, toppos.x, toppos.y)
  1040.             surface.DrawLine(toppos2.x, toppos2.y, botpos4.x, botpos4.y)
  1041. --          }
  1042.         end
  1043. --      }
  1044.     end
  1045. --  }
  1046. end
  1047.  
  1048. MsgN("Injection Of Private Custom Two Dimensional Three Dimensional Box ESP By Electfried Success")
  1049.  
  1050. /************************************
  1051.     Name: Custom Private Eye Trace Head Smash Detour By Electfried
  1052.     Purpose: Detours The __MetaTables Too Add A Custom Private Eye Trace Head Smash Detour By Electfried
  1053.     Author: Electfried
  1054.     OS: Windows 10 Ultimate 64 Bits
  1055. ************************************/
  1056.  
  1057. MsgN("Beginning Injection Of Private Custom Eye Trace Head Smash Detour By Electfried")
  1058.  
  1059. local function headsmashtrace(x)
  1060. --  {
  1061.     local tr = {}
  1062.     tr.start = x:GetShootPos() + Vector(0, 0, 10)
  1063.     tr.endpos = x:GetShootPos() + Vector(0, 0, 16384)
  1064.     tr.filter = {ply}
  1065.     tr.mask = MASK_PLAYERSOLID
  1066.     return tr
  1067. --  }
  1068. end
  1069.  
  1070. local function Headsmash()
  1071. --  {
  1072.     if not headsmashbeamC:GetBool() then return end
  1073.     for k,v in next, player.GetAll() do
  1074. --      {
  1075.         if valid(v) then
  1076.             local cancer = util.TraceLine(headsmashtrace(v))
  1077. --          {
  1078.             cam.Start3D()
  1079. --              {
  1080.                 render.SetColorMaterialIgnoreZ()
  1081.                 render.DrawBeam(v:GetShootPos(), cancer.HitPos, 4, 1, 1, ColorTable[k % 255])
  1082. --              }
  1083.             cam.End3D()
  1084. --          }
  1085.         end
  1086. --      }
  1087.     end
  1088. --  }
  1089. end
  1090.  
  1091. MsgN("Injection Of Private Custom Eye Trace Head Smash Detour By Electfried Success")
  1092.  
  1093. /************************************
  1094.     Name: Custom Private View Angle Hack By Electfried
  1095.     Purpose: Detours The __MetaTables Too Add A Custom Private View Angle Hack By Electfried
  1096.     Author: Electfried
  1097.     OS: Windows 10 Ultimate 64 Bits
  1098. ************************************/
  1099.  
  1100. MsgN("Beginning Injection Of Private Custom View Angle Hack By Electfried")
  1101.  
  1102. local function Aimbot()
  1103. --  {
  1104.     if not aimbotC:GetBool() then return end
  1105.     local ent
  1106.     local huge = math.huge
  1107.     for k,v in next, player.GetAll() do
  1108. --      {
  1109.         if valid(v) and ply:IsLineOfSightClear(v) and v:GetFriendStatus() ~= "friend" then
  1110. --          {
  1111.             local pos = v:GetPos():ToScreen()
  1112.             if pos.x > ScrW() or pos.x < 0 or pos.y > ScrH() or pos.y < 0 then continue end
  1113.             local center = Vector(ScrW()/2, ScrH()/2)
  1114.             if center:Distance(Vector(pos.x, pos.y)) < huge then
  1115.                 huge = center:Distance(Vector(pos.x, pos.y))
  1116.                 ent = v
  1117.             end
  1118.             if ent:GetModel() ~= "models/error.mdl" then
  1119.                 bonepos = ent:GetBonePosition(ent:LookupBone("ValveBiped.Bip01_Spine2"))
  1120.             else
  1121.                 bonepos = ent:GetPos() + Vector(0, 0, 50)
  1122.             end
  1123.             if input.IsKeyDown(KEY_E) then
  1124.                 ply:SetEyeAngles((bonepos - ply:GetShootPos()):Angle())
  1125.             end
  1126. --          }  
  1127.         end
  1128. --      }
  1129.     end
  1130. --  }
  1131. end
  1132.  
  1133. MsgN("Injection Of Private Custom View Angle Hack By Electfried Success")
  1134.  
  1135. /************************************
  1136.     Name: Custom Private Third Person Hack By Electfried
  1137.     Purpose: Detours The __MetaTables Too Add A Custom Private Third Person Hack By Electfried By Electfried
  1138.     Author: Electfried
  1139.     OS: Windows 10 Ultimate 64 Bits
  1140. ************************************/
  1141.  
  1142. MsgN("Beginning Injection Of Private Custom Third Person Hack By Electfried")
  1143.  
  1144. local function ThirdPerson(_, origin, angles, fov)
  1145. --  {
  1146.     if not thirdpersonC:GetBool() then return end
  1147.     local tb = {}
  1148.     tb.origin = origin - ply:GetAimVector() * 100
  1149.     tb.angles = ply:EyeAngles()
  1150.     tb.fov = math.abs(GetConVar("employer_fov"):GetInt())
  1151.     tb.drawviewer = true
  1152.     return tb
  1153. --  }
  1154. end
  1155.  
  1156. MsgN("Injection Of Private Custom Third Person Hack By Electfried Success")
  1157.  
  1158. /************************************
  1159.     Name: Custom Private View Angle Hack By Electfried
  1160.     Purpose: Detours The __MetaTables Too Add A Custom Private View Angle Hack By Electfried
  1161.     Author: Electfried
  1162.     OS: Windows 10 Ultimate 64 Bits
  1163. ************************************/
  1164.  
  1165. MsgN("Beginning Injection Of Private Custom Prop View Angle Hack By Electfried")
  1166.  
  1167. local function PropAimbot()
  1168. --  {
  1169.     if not propaimbotC:GetBool() then return end
  1170.     local ent
  1171.     local huge = math.huge
  1172.     for k,v in next, ents.GetAll() do
  1173. --      {
  1174.         if IsValid(v) and v:GetClass() == "prop_physics" then
  1175. --          {
  1176.             local pos = v:GetPos():ToScreen()
  1177.             if pos.x > ScrW() or pos.x < 0 or pos.y > ScrH() or pos.y < 0 then continue end
  1178.             local center = Vector(ScrW()/2, ScrH()/2)
  1179.             if center:Distance(Vector(pos.x, pos.y)) < huge then
  1180.                 huge = center:Distance(Vector(pos.x, pos.y))
  1181.                 ent = v
  1182.             end
  1183. --          }
  1184.         end
  1185. --      }
  1186.         if input.IsKeyDown(KEY_E) and ent ~= nil then
  1187.             ply:SetEyeAngles((ent:LocalToWorld(ent:OBBCenter()) - ply:GetShootPos()):Angle())
  1188.         end
  1189.     end
  1190. --  }
  1191. end
  1192.  
  1193. MsgN("Injection Of Private Custom Prop View Angle Hack By Electfried Success")
  1194.  
  1195. /************************************
  1196.     Name: Custom Private Unique Ghost Wall Hack By Eectrified
  1197.     Purpose: Detours The __MetaTables Too Add A Custom Private Unique Ghost Wall Hack By Electfried By Electfried
  1198.     Author: Electfried
  1199.     OS: Windows 10 Ultimate 64 Bits
  1200. ************************************/
  1201.  
  1202. MsgN("Beginning Injection Of Private Custom Unique Ghost Wall Hack By Electfried")
  1203.  
  1204. local function AsusWalls() -- RenderScene Hooker
  1205. --  {
  1206.     if not asuswallC:GetBool() then return end
  1207.     for k,v in next, Entity(0):GetMaterials() do
  1208.         Material(v):SetFloat("$alpha", .85)
  1209.     end
  1210. --  }
  1211. end
  1212.  
  1213. MsgN("Injection Of Private Custom Unique Ghost Wall Hack By Electfried Success")
  1214.  
  1215. --[[
  1216.  
  1217.     Caution Alert, The Rest Of The Employer Anonymous Hook Is Exprimental.
  1218.  
  1219.     Too Continue, Please Scroll.
  1220.    
  1221. --]]
  1222.  
  1223. /************************************
  1224.     Name: Custom Private ASCII Graph Examples By Electfried
  1225.     Purpose: Refrence Custom Private ASCII Graphs By Electfried
  1226.     Author: Electfried
  1227.     OS: Windows 10 Ultimate 64 Bits
  1228. ************************************/
  1229.  
  1230. MsgN("Beginning Injection Of Custom Private ASCII Refrence Graphs By Electfried...")
  1231.  
  1232. sine = [[
  1233.      _            
  1234.     (_)          
  1235.  ___ _ _ __   ___
  1236. / __| | '_ \ / _ \
  1237. \__ \ | | | |  __/
  1238. |___/_|_| |_|\___|
  1239. ]]
  1240.  
  1241. sinegraph = [[
  1242.           _
  1243.     \/ _ |_  // |-.   \/
  1244.     /  -  _| \  | |   /\
  1245.  
  1246. 1 -|         ,-'''-.
  1247.     |      ,-'       `-.           *Not So Accurate Scale*
  1248.    |    ,'             `.
  1249.     |  ,'                 `.
  1250.    | /                     \
  1251.    |/                       \
  1252. ----+-------------------------\--------------------------
  1253.    |          __           __ \          __           /  __
  1254.    |          ||/2         ||  \        3||/2        /  2||
  1255.    |                            `.                 ,'
  1256.     |                              `.             ,'
  1257.    |                                `-.       ,-'
  1258. -1 -|                                   `-,,,-'
  1259. ]]
  1260.  
  1261. cosine = [[
  1262.               _            
  1263.              (_)          
  1264.  ___ ___  ___ _ _ __   ___
  1265. / __/ _ \/ __| | '_ \ / _ \
  1266. | (_| (_) \__ \ | | | |  __/
  1267.  \___\___/|___/_|_| |_|\___|
  1268.  ]]
  1269.  
  1270. cosinegraph = [[
  1271.            _  _   _
  1272.      \/ _ /  / \ |_'  \/
  1273.     /  - \_ \_/ ._|  /\
  1274.  
  1275.                 | 1
  1276.              ,--|--.
  1277.           ,-'   |   `-.           *Not So Accurate Scale*
  1278.          ,'      |      `.
  1279.       ,'        |        `.
  1280.       /          |          \
  1281.      /           |           \                           /
  1282. ----+------------+------------\------------+------------/---
  1283.    __            |0         __ \          __           /  __
  1284.    ||            |          ||  \         ||          /  3||  
  1285.  - ---           |          ---  `.                 ,'   ---
  1286.     2            |           2     `.             ,'      2
  1287.                 |                   `-.       ,-'
  1288.                  | -1                   `--,--'
  1289. ]]
  1290.  
  1291. tangent = [[
  1292.  _                               _  
  1293. | |                             | |  
  1294. | |_ __ _ _ __   __ _  ___ _ __ | |_
  1295. | __/ _` | '_ \ / _` |/ _ \ '_ \| __|
  1296. | || (_| | | | | (_| |  __/ | | | |_
  1297.  \__\__,_|_| |_|\__, |\___|_| |_|\__|
  1298.                  __/ |              
  1299.                 |___/
  1300. ]]
  1301.  
  1302. tangentgraph = [[
  1303.  
  1304.  
  1305.              |            ^ y        |                       |
  1306.              |            |          |                       |
  1307.              |            |          |                       |
  1308.              |            |          |                       |
  1309.             .'            |         .'                      .'
  1310.            |             |         |                       |
  1311.            '             |         '      y=tan(x)         '
  1312.            :              |        :                       :
  1313.            :              |        :                       :
  1314.            '              |        '                       '
  1315.          :               |       :                       :
  1316.         .                |      .                       .
  1317.        .                 |     .                       .
  1318.       .                  |    .                       .
  1319.     .'                   |  .'                      .'
  1320.    .'                     |.'                      .'             x
  1321. --+-----------+-----------+-----------+-----------+-----------+-->
  1322. .'__         __         .'| 0        __         .' __         __
  1323.  -||         ||       .'  |          ||       .'   ||        3||
  1324.            - ---     '    |          ---     '               ---
  1325.               2     '     |           2     '                 2
  1326.                    '      |                '
  1327.                   :       |               :
  1328.                  ,        |              ,                       ,
  1329.                  :        |              :                       :
  1330.                  :        |              :                       :
  1331.                 ,         |             ,                       ,
  1332.                 |         |             |                       |
  1333.                ,'         |            ,'                      ,'
  1334.               |          |            |                       |
  1335.               |          |            |                       |
  1336.               |          |            |                       |
  1337. ]]
  1338.  
  1339. MsgN("Injection Of Private Custom ASCII Refrence Graphs By Electfried Success")
  1340.  
  1341. /************************************
  1342.     Name: Custom Private Server Spammens Hack By Electfried
  1343.     Purpose: Refrence Custom Private ASCII Graphs By Electfried
  1344.     Author: Electfried
  1345.     OS: Windows 10 Ultimate 64 Bits
  1346. ************************************/
  1347.  
  1348. MsgN("Beginning Injection Of Custom Private Server Spammens Hack By Electfried Not Activated Yes...")
  1349.  
  1350. local _ElectriFriedPsaySpammerHack_Yes = false
  1351.  
  1352. function _G._ElectriFriedSpammerHackInjector( )
  1353.  
  1354.    if (_ElectriFriedPsaySpammerHack_Yes) then  
  1355. --  {
  1356.  
  1357.    for k, v in ipairs(player.GetAll()) do
  1358.  
  1359. -- }
  1360.  
  1361.    if v:Nick() != LocalPlayer():Nick() then
  1362.  
  1363. RunConsoleCommand("ulx","psay",v:Nick(),"Best GMod Hacked Client In The Market, Contact id/electfried For The Hack!")
  1364.  
  1365.    --{
  1366.  
  1367.    end
  1368.        end
  1369.      
  1370.    end
  1371.    end
  1372.  
  1373. hook.Add("Think","InjectPsayHack", _ElectriFriedSpammerHackInjector)
  1374.  
  1375. concommand.Add("Employer_FloodServer_Enable_Yes",function()
  1376.  
  1377.    MsgN("Injecting Private Psay Spammen Hack By Electrifried Completed...")
  1378.  
  1379.    _ElectriFriedPsaySpammerHack_Yes = !_ElectriFriedPsaySpammerHack_Yes
  1380.  
  1381. end)
  1382.  
  1383. /************************************
  1384.     Name: Custom Private Unique Suprise Expirmental Threaten Hack By Electfried
  1385.     Purpose: Threaten NearBy Players Who Might Attack You By Electfried
  1386.     Author: Electfried
  1387.     OS: Windows 10 Ultimate 64 Bits
  1388. ************************************/
  1389.  
  1390. MsgN("Beginning Injection Of Custom Private Unique Suprise Expirmental Threaten By Electfried...")
  1391.  
  1392. local ThreatHack = {
  1393.  
  1394.    "If You Come Any Closer , Consider Your Router Too Be ElectFried .",
  1395.     "Get Out Of My Territory , Before You Get Owned By ElectFried .",
  1396.     "Come Closer And You Will Die By The Power Of ElectFried .",
  1397.     "Who The Fuck Do You Think You Are Approaching , I Am A Math God , A LUA God , Leave My Sights , Slave .",
  1398.     "Leave My Safe Space , Before I Notify The System Administrator .",
  1399.     "Leave Me Alone , You Inferior Human , Do You Even Know What A Sine Wave Is ?",
  1400.     "Leave Me Alone , You Inferior Human , Do You Even Know What A Tangent Wave Is ?",
  1401.     "Leave Me Alone , You Inferior Human , Do You Even Know What A Calculator Is ?",
  1402.  
  1403. }
  1404.  
  1405. local ElectriFiedCustomPrefixSettingConVarLocal = CreateClientConVar("Expirmental_ElectFried_DDoser_Threatener_BeforeWord","/y")
  1406. local ElectriFriedCustomDDosThreatEnableHackConVarLocalHackDoNotLeak = CreateClientConVar("Expirmental_ElectFried_DDoser_Enable_Yes", "1", true, false)
  1407.  
  1408.  
  1409. local function coTagents()
  1410.  
  1411. if !ElectriFriedCustomDDosThreatEnableHackConVarLocalHackDoNotLeak:GetBool() then return end
  1412.    for k, v in pairs(player.GetAll()) do
  1413.      
  1414.    if  (!IsValid(v)) then continue end
  1415.  
  1416.    if v != LocalPlayer() and LocalPlayer():GetPos():Distance(v:GetPos()) <= 350 then
  1417.  
  1418.        ply:ConCommand("say " .. ElectriFiedCustomPrefixSettingConVarLocal:GetString()  .. " Listen Here," .. v:Nick() .. ", " .. table.Random(ThreatHack))
  1419.      
  1420.    end
  1421.  
  1422.      
  1423.    end
  1424.        --end
  1425. end
  1426.  
  1427. timer.Create("coTagents", 2, 0, coTagents)
  1428.  
  1429. MsgN("Injection Of Private Custom Unique Suprise Expirmental Threaten By Electfried Success")
  1430.  
  1431. /************************************
  1432.     Name: Custom Private Math Pi Multiplied By 2 Tau Detour By Electfried
  1433.     Purpose: Inject Detour Tau Too Multiply Pi Multiplied By 2 For Sine Wave Function By Electfried
  1434.     Author: Electfried
  1435.     OS: Windows 10 Ultimate 64 Bits
  1436. ************************************/
  1437.  
  1438. MsgN("Beginning Injection Of Tau Detour By Electfried...")
  1439.  
  1440. local tau = math.pi * 2
  1441.  
  1442. MsgN("Injection Of Private Tau Pi * 2 Detour By Electfried Success")
  1443.  
  1444. /************************************
  1445.     Name: Custom Private Complex Math Generic Sine Wave Function By Electfried.
  1446.     Purpose: Constructs A Custom Sine Wave Function For Drawing Sine Waves By Electfried.
  1447.     Author: Electfried
  1448.     OS: Windows 10 Ultimate 64 Bits
  1449. ************************************/
  1450.  
  1451. MsgN("Beginning Injection Of Generic Sine Wave Function By Electfried...")
  1452.  
  1453. local function generic_sinewave(x1, y1, x2, y2, numpoints, numwaves, amplitude, pointfunc)
  1454.     local numpoints = numpoints - 1 --the algorithm is messy without this, unfortunately.
  1455.                                     --try to imagine that the first point (sin of 0) is "free"
  1456.     local delta_x = x2 - x1
  1457.     local delta_y = y2 - y1
  1458.  
  1459.     local angle = math.atan2(delta_y, delta_x)
  1460.     local magnitude = math.sqrt((delta_x ^ 2) + (delta_y ^ 2))
  1461.  
  1462.     for i = 0, numpoints do
  1463.         local curpoint = i * (magnitude / numpoints)
  1464.  
  1465.         local point_x = curpoint
  1466.         local point_y = math.sin(curpoint * (tau / magnitude) * (numwaves / 2)) * amplitude
  1467.  
  1468.         --[cos(θ), -sin(θ)|sin(θ), cos(θ)]*[x|y]
  1469.         local rot_point_x = point_x * math.cos(angle) + point_y * -math.sin(angle)
  1470.         local rot_point_y = point_x * math.sin(angle) + point_y * math.cos(angle)
  1471.  
  1472.         --pointfunc is passed the point as well as how far it is in the wave on a scale of 0 to 1
  1473.         pointfunc(x1 + rot_point_x, y1 + rot_point_y, curpoint / magnitude)
  1474.     end
  1475. end
  1476.  
  1477. MsgN("Injection Of Custom Private Generic Sine Wave Function By Electfried Success")
  1478.  
  1479. /************************************
  1480.     Name: Custom Private Complex Math UnDulating Sine Wave Function Showcase By Electfried.
  1481.     Purpose: Constructs A Custom Sine Wave Function For Drawing Sine Waves By Electfried.
  1482.     Author: Electfried
  1483.     OS: Windows 10 Ultimate 64 Bits
  1484. ************************************/
  1485.  
  1486. MsgN("Beginning Injection Of UnDulating Sine Wave Function By Electfried...")
  1487.  
  1488. local function undulating_sinewave(x1, y1, x2, y2, numpoints, numwaves, amplitude, lengthratio, pointfunc, progress)
  1489.     local numpoints = numpoints - 1
  1490.  
  1491.     local delta_x = x2 - x1
  1492.     local delta_y = y2 - y1
  1493.  
  1494.     local angle = math.atan2(delta_y, delta_x)
  1495.     local magnitude = math.sqrt((delta_x ^ 2) + (delta_y ^ 2))
  1496.  
  1497.     local magnitude_wave = magnitude * lengthratio
  1498.     local magnitude_rest = (magnitude - magnitude_wave) * progress
  1499.  
  1500.     for i = 0, numpoints do
  1501.         local curpoint = i * (magnitude_wave / numpoints)
  1502.  
  1503.         local point_x = magnitude_rest + curpoint
  1504.         local point_y = math.sin((magnitude_rest + curpoint) * (tau / magnitude) * (numwaves / 2)) * amplitude
  1505.  
  1506.         --[cos(θ), -sin(θ)|sin(θ), cos(θ)]*[x|y]
  1507.         local rot_point_x = point_x * math.cos(angle) + point_y * -math.sin(angle)
  1508.         local rot_point_y = point_x * math.sin(angle) + point_y * math.cos(angle)
  1509.  
  1510.         --pointfunc is passed the point as well as how far it is in the wave on a scale of 0 to 1
  1511.         pointfunc(x1 + rot_point_x, y1 + rot_point_y, (curpoint + magnitude_rest) / magnitude)
  1512.     end
  1513. end
  1514.  
  1515. MsgN("Injection Of Custom Private UnDulating Sine Wave Function By Electfried Success")
  1516.  
  1517. /************************************
  1518.     Name: Custom Private Sine Wave Colouring Function Showcase By Electfried.
  1519.     Purpose: Constructs A Custom Sine Wave Coloring Mechanism For MultiColouring Sine Waves By Amplitude For Sine Wave Function Showcase By Electfried By Electfried.
  1520.     Author: Electfried
  1521.     OS: Windows 10 Ultimate 64 Bits
  1522. ************************************/
  1523.  
  1524. MsgN("Beginning Injection Of Colouring Mechanism For Sine Waves Per Amplitude By Electfried...")
  1525.  
  1526. local function rgb_triangle_surface(x)
  1527.     if (x <= 1/4) then
  1528.         local scaled = x * 4
  1529.         return Color(255, scaled * 255, 0)
  1530.     elseif (x <= 2/4) then
  1531.         local scaled = (x - 1/4) * 4
  1532.         return Color((1 - scaled) * 255, 255, 0)
  1533.     elseif (x <= 3/4) then
  1534.         local scaled = (x - 2/4) * 4
  1535.         return Color(0, 255, scaled * 255)
  1536.     else
  1537.         local scaled = (x - 3/4) * 4
  1538.         return Color(0, (1 - scaled) * 255, 255)
  1539.     end
  1540. end
  1541.  
  1542. MsgN("Injection Of Custom Private Colouring Mechanism Function By Electfried Success")
  1543.  
  1544. /************************************
  1545.     Name: Custom Private Expirmental Sine Wave ESP Showcase By Electfried.
  1546.     Purpose: Constructs A Custom Private Expirmental Sine Wave ESP Showcase For InjectToo Garry's Mod By Electfried.
  1547.     Author: Electfried
  1548.     OS: Windows 10 Ultimate 64 Bits
  1549. ************************************/
  1550.  
  1551. MsgN("Beginning Injection Of Custom Private Expirmental Sine Wave ESP By Electfried...")
  1552.  
  1553. local progr = 0.0
  1554. local function SineWaveESP()
  1555.     if not sinewaveespC:GetBool() then return end
  1556.     local lppos = LocalPlayer():EyePos()
  1557.  
  1558.     progr = (progr + (tau / 1024)) % tau
  1559.  
  1560.     for _, v in pairs(player.GetAll()) do
  1561.         if (v == LocalPlayer()) then continue end
  1562.  
  1563.         local plypos = v:GetPos():ToScreen()
  1564.         local plyeyepos = v:EyePos():ToScreen()
  1565.  
  1566.         if (plypos.visible && plyeyepos.visible) then
  1567.             undulating_sinewave(plyeyepos.x, plyeyepos.y, plypos.x, plypos.y, 25, 9, 6000/lppos:Distance(v:EyePos()), 0.5, function(x, y, i)
  1568.                 local rectsize = 3500/lppos:Distance(v:EyePos())
  1569.  
  1570.                 surface.SetDrawColor(rgb_triangle_surface(i))
  1571.                 surface.DrawRect(x, y, rectsize, rectsize)
  1572.             end, (math.sin(progr) + 1) / 2)
  1573.         end
  1574.     end
  1575. end
  1576.  
  1577. MsgN("Injection Of Custom Private Expirmental Sine Wave ESP Hook By Electfried Success")
  1578.  
  1579. /************************************
  1580.     Name: Sine Wave CrossedHair Showcase Console Variables By Electfried.
  1581.     Purpose: Inject Private Settings For Custom Private CrossedHair Showcase By Electfried By Electfried.
  1582.     Author: Electfried
  1583.     OS: Windows 10 Ultimate 64 Bits
  1584. ************************************/
  1585.  
  1586. MsgN("Beginning Injection Of Custom Private CrossedHair Detours By Electfried...")
  1587.  
  1588. local size_cvar = CreateClientConVar("Employer_SineWaveCrossedHair_Size", "300")
  1589. local pointnum_cvar = CreateClientConVar("Employer_SineWaveCrossedHair_PointNum", "80")
  1590. local wavenum_cvar = CreateClientConVar("Employer_WaveCrossedHair_WaveNum", "9")
  1591. local magnitude_cvar = CreateClientConVar("Employer_SineWaveCrossedHair_Magnitude", "15")
  1592. local pointsize_cvar = CreateClientConVar("Employer_SineWaveCrossedHair_Pointsize", "10")
  1593.  
  1594. MsgN("Injection Of Custom Private CrossedHair ConCommand Detours By Electfried Success")
  1595.  
  1596. /************************************
  1597.     Name: Custom Private Sine Wave CrossedHair Showcase By Electfried.
  1598.     Purpose: Inject Custom Private CrossedHair Showcase By Electfried By Electfried.
  1599.     Author: Electfried
  1600.     OS: Windows 10 Ultimate 64 Bits
  1601. ************************************/
  1602.  
  1603. MsgN("Beginning Injection Of Custom Private CrossedHair Hack Showcase By Electfried...")
  1604.  
  1605. local function SineWaveCrossedHair()
  1606.     if not crossedhairC:GetBool() then return end
  1607.     local size = size_cvar:GetFloat()
  1608.     local numpoints = pointnum_cvar:GetInt()
  1609.     local numwaves = wavenum_cvar:GetInt()
  1610.     local magnitude = magnitude_cvar:GetFloat()
  1611.     local pointsize = pointsize_cvar:GetFloat()
  1612.  
  1613.     --slower than looping with an integer pretty much always
  1614.     for i = 0, size, size / numpoints do
  1615.         surface.SetDrawColor(rgb_triangle_surface(i / size))
  1616.  
  1617.         --l-r
  1618.         surface.DrawRect(
  1619.             (ScrW() / 2) - (size / 2) + i - (pointsize / 2),
  1620.             (ScrH() / 2) + math.sin(i * (tau / size) * (numwaves / 2)) * magnitude - (pointsize / 2),
  1621.             pointsize,
  1622.             pointsize)
  1623.  
  1624.         --d-u
  1625.         surface.DrawRect(
  1626.             (ScrW() / 2) + math.sin(i * (tau / size) * (numwaves / 2)) * magnitude - (pointsize / 2),
  1627.             (ScrH() / 2) - (size / 2) + i - (pointsize / 2),
  1628.             pointsize,
  1629.             pointsize)
  1630.     end
  1631. end
  1632.  
  1633. MsgN("Injection Of Custom Private CrossedHair Showcase Hack By Electfried Success")
  1634.  
  1635. /************************************
  1636.     Name: Custom Private Hooker Detours By Electfried.
  1637.     Purpose: Inject Custom Private Hooker Detours By Electfried.
  1638.     Author: Electfried
  1639.     OS: Windows 10 Ultimate 64 Bits
  1640. ************************************/
  1641.  
  1642. MsgN("Beginning Injection Of Custom Private Hooker Detours By Electfried...")
  1643. hook.Add("HUDDrawPickupHistory", "esp", esp)
  1644. hook.Add("HUDDrawPickupHistory", "twobox", twobox)
  1645. hook.Add("Think", "bhop", bhop)
  1646. hook.Add("RenderScreenspaceEffects", "chams", chams)
  1647. hook.Add("HUDDrawPickupHistory", "esp", esp)
  1648. hook.Add("HUDPaint", "EyeTracers", EyeTracers)
  1649. hook.Add("PostDrawSkyBox", "NoSky", NoSky)
  1650. hook.Add("HUDDrawTargetID", "ThreeDTracer", ThreeDTracer)
  1651. hook.Add("HUDDrawTargetID", "TwoDTracer", TwoDTracer)
  1652. hook.Add("HUDDrawScoreBoard", "DistancePropEspTwoD", DistancePropEspTwoD)
  1653. hook.Add("HUDDrawScoreBoard", "DistancePropEspThreeD", DistancePropEspThreeD)
  1654. hook.Add("PostRenderVGUI", "watermark", watermark)
  1655. hook.Add("player_hurt", "chatinfo", chatinfo)
  1656. hook.Add("entity_killed", "propcount", proplog)
  1657. hook.Add("PostRenderVGUI", "PropDrawCounter", PropDrawCounter)
  1658. hook.Add("HUDPaint", "Headsmash", Headsmash)
  1659. hook.Add("HUDPaint", "SineWaveESP", SineWaveESP)
  1660. hook.Add("HUDPaint", "SineWaveCrossedHair", SineWaveCrossedHair)
  1661. hook.Add("HUDDrawPickupHistory", "weaponesp", weaponesp)
  1662. hook.Add("HUDDrawPickupHistory", "GreatThreeDBox", GreatThreeDBox)
  1663. hook.Add("HUDDrawPickupHistory", "ThreeDTwoDBox", ThreeDTwoDBox)
  1664. hook.Add("HUDDrawScoreBoard", "xray", xray)
  1665. hook.Add("Think", "Aimbot", Aimbot)
  1666. hook.Add("Think", "PropAimbot", PropAimbot)
  1667. hook.Add("CalcView", "fov", fov)
  1668. hook.Add("CalcView", "ThirdPerson", ThirdPerson)
  1669. hook.Add("RenderScene", "AsusWalls", AsusWalls)
  1670. safe()
  1671. MsgN("Injection Of Custom Private Hooker Detours By Electfried Success")
  1672.  
  1673. /************************************
  1674.     Name: Custom Private ASCII Refrence Graphs By Electfried.
  1675.     Purpose: Inject Custom Private ASCII Refrence Graphs By Electfried.
  1676.     Author: Electfried
  1677.     OS: Windows 10 Ultimate 64 Bits
  1678. ************************************/
  1679.  
  1680. MsgN("Beginning Injection Of Custom Private ASCII Refrence Graphs By Electfried...")
  1681.  
  1682. MsgN(sine)
  1683. MsgN(sinegraph)
  1684. MsgN(cosine)
  1685. MsgN(cosinegraph)
  1686. MsgN(tangent)
  1687. MsgN(tangentgraph)
  1688.  
  1689. MsgN("Injection Of Custom Private ASCII Refrence Graphs By Electfried Success")
  1690.  
  1691. /************************************
  1692.     Name: Custom Private UnRegistered Message Detour By Electfried.
  1693.     Purpose: Inject Custom Private UnRegistered Message Detour By Electfried.
  1694.     Author: Electfried
  1695.     OS: Windows 10 Ultimate 64 Bits
  1696. ************************************/
  1697.  
  1698. MsgN("Beginning Injection Of Custom Private UnRegistered Message Detour By Electfried...")
  1699.  
  1700. local info =
  1701. [[
  1702. This Is The UnRegistered Version , Please Contact id/electfried For More InFormation.
  1703.  
  1704.  
  1705. "The Noon Of Day On A October Evening Was Unlike Another . The Sky Hidden Beneath A Cloud Of White Gray And The Ominous Ambience Of A Hum .
  1706. I Was Awaken Too A Hum And During This Quiet Evening I Heard The Sound Of People Screaming . I Saw Out My White Door What I Thought Was A Illusion Of A Long Widened Carrier;
  1707. Yet Too My Dismay It Was A Ship . I Open The Door An Embark Down The Broken Cement Steps With Growing Foilage Towards A Empty Road .
  1708. The Screaming Became Palpable From A Distance And The Humming Became More Intense As I Stood Staring At The Deaths Of Hundreds .
  1709. The Fear Hit Me Like A Pinched Nerve And I Began Too Run Back Too My House As I Knew I Was The Next Target .
  1710. As I Rushed Up The Steps The Humming Intensified Drastically An It Felt As If Time Was Aging .
  1711. The Trees Were Dying , The Concrete Cracking And The Steps Foilage Growing Too Immensive Heights .
  1712. I Felt Every Single Part Of My Body Begin Too Age And Quickly Decimate; Time Has Stopped Completely ."
  1713.  
  1714. Poem By Electfried - By Electfried .
  1715.  
  1716.     Contact Information
  1717.    
  1718.     /id/electfried
  1719.     /id/electfriedalt
  1720.  
  1721.     /groups/sinewaveteam
  1722.     /groups/employer
  1723. ]]
  1724.  
  1725. local window = vgui.Create("DFrame")
  1726. window:SetSize(640, 480)
  1727. window:Center()
  1728. window:SetPos(300, 150)
  1729. window:SetTitle("UnRegistered __Employer Anonymous Hook By Electfried")
  1730. window:SetVisible(true)
  1731. window:SetDraggable(false)
  1732. window:ShowCloseButton(false)
  1733. window:MakePopup()
  1734.  
  1735. local button = vgui.Create( "DButton", window )
  1736. button:SetSize(100, 40)
  1737. button:SetPos((window:GetWide() - button:GetWide()) / 2, window:GetTall() - button:GetTall() - 10)
  1738. button:SetText("Wait - ")
  1739. button:SetDisabled(true)
  1740.  
  1741. local text = vgui.Create( "DTextEntry", window )
  1742. text:SetSize(620,360)
  1743. text:Center()
  1744. text:SetMultiline(true)
  1745. text:SetDisabled(true)
  1746. text:SetText(info)
  1747.  
  1748. timersec = 30
  1749.  
  1750. timer.Create("countDown", 1, 30, function()
  1751.     timersec = timersec - 1
  1752.     button:SetText("Wait - " .. timersec)
  1753.         if timersec == 0 then
  1754.             button:SetText("Close")
  1755.             button:SetDisabled(false)
  1756.         button.DoClick = function() window:Close() end
  1757.     end
  1758. end)
  1759.  
  1760. if timersec == 0 then
  1761.     button:SetText("Close")
  1762.     button:SetDisabled(false)
  1763.     button.DoClick = function() window:Close() end
  1764. end
  1765.  
  1766. UnRegistered = [[
  1767.  
  1768.  
  1769. ************************************************************************************************************
  1770.     WARNING: This Is An UnRegistered Copy Of __Employer Anonymous Hook , Contact id/electfried !
  1771. ************************************************************************************************************
  1772.  
  1773. ]]
  1774.  
  1775. MsgN(UnRegistered)
  1776.  
  1777. MsgN("Injection Of Custom Private UnRegistered Message Detour By Electfried Success")
  1778. /************************************
  1779.  
  1780.     More Hacks Too Be Continued In v.2
  1781.  
  1782. ************************************/
Add Comment
Please, Sign In to add comment