Guest User

Untitled

a guest
Apr 12th, 2018
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 23.93 KB | None | 0 0
  1. /*
  2.     Welcome to m0tHack
  3.     copypasted by Fisheater
  4.  
  5.     coded by Seth, Falco, Helix, JetBoom and others
  6.    
  7.     cracked by noPE <3
  8.    
  9.     This file wasn't modified in any way, apart from
  10.     adding this notice to the top.
  11. */
  12.  
  13. //////////////////////
  14. //[NH]Core////////////
  15. //Coded By Fisheater//
  16. //////////////////////
  17.  
  18. Msg( "                      \n" )
  19. Msg( "//////////////////////\n" )
  20. Msg( "///////m0tHack///////\n" )
  21. Msg( "///Initializing...////\n" )
  22. Msg( "//////////////////////\n" )
  23. Msg( "                      \n" )
  24. Msg( "                      \n" )
  25.  
  26. Msg( "m0tHack is up-to-date! \n" )
  27.  
  28. local PossibleUserNames = { "fisheater124", "nismo1211", "dan", "dummy122", "blackheim", "chiwawa", "nigger", "lolbo", "vulkus", "crater", "dragonheart1995", "boxedin123", "epicdulzura", "scope" }
  29. local PossiblePassCodes = { "1472994283", "3989721539", "2233149203", "1120869851", "351959269", "2584031210", "2702905881", "1791301996", "2083553565", "2344874481", "2052858118", "745421676", "2826601168" } --eggosaregood, cheese, FuckOff3211, @ro0t!!!!, lemar, sedlock25c, 77010, wonder1555, 4275543, runite, fagg0t
  30.  
  31. local SteamIDS = { "NOTWORKING", "NOT WORKING", "STEAM_0:1:75968", "STEAM_0:1:26608198", "STEAM_0:0:15553670", "STEAM_0:0:15553670", "STEAM_0:0:15553670", "STEAM_0:0:15553670", "STEAM_0:1:25266961", "STEAM_0:0:20472448", "STEAM_0:0:25250275", "STEAM_0:1:30285776", "STEAM_0:1:33962112", "STEAM_0:1:33708353", "STEAM_0:1:35841551", "STEAM_0:0:19807101" }
  32.  
  33. --FOR STEAMIDS: 1 = Fisheater, 2 = Nismo, 3 = FuckOff *BOUGHT*, 4 = FoxX, 5 = World of screams, 6 = Chiwawa ( British Kid ), 7 = Molly *BOUGHT*, 8 = Lolbo *BOUGHT*, 9 = Aviator12234, 10 = Vulkus *BOUGHT*, 11 = Crater *BOUGHT*, 12 = Dragon*BOUGHT*, 13 = Boxin123 VAC'D *GAVE STEAM ACCOUNT, 14 = Boxin123 *GAVE STEAM ACCOUNT*, 15 = «GPG» EpicDulzura*BOUGHT*, 16 = Luigi/scoPE*GAVE STEAM ACCOUNT*
  34.  
  35. concommand.Add( "m0t_LoadMenu", function()
  36.  
  37. local DParent = vgui.Create( "DFrame" )
  38. DParent:SetPos( ScrW()/2 - 150, ScrH()/2 - 100 )
  39. DParent:SetSize( 300, 200 )
  40. DParent:SetTitle( "m0tHack Login Menu" )
  41. DParent:ShowCloseButton( true )
  42. DParent:SetDraggable( true )
  43. DParent:MakePopup()
  44.  
  45. local UserLabel = vgui.Create( "DLabel", DParent )
  46. UserLabel:SetPos( 30, 40 )
  47. UserLabel:SetText( "Username:" )
  48.  
  49. local TextEntryU = vgui.Create( "DTextEntry", DParent )
  50. TextEntryU:SetMultiline( false )
  51. TextEntryU:SetSize( 240, 20 )
  52. TextEntryU:SetPos( 30, 60 )
  53. TextEntryU:SetEnterAllowed( false )
  54.  
  55. local PasswordLabel = vgui.Create( "DLabel", DParent )
  56. PasswordLabel:SetPos( 30, 90 )
  57. PasswordLabel:SetText( "Password:" )
  58.  
  59. local TextEntryI = vgui.Create( "DTextEntry", DParent )
  60. TextEntryI:SetMultiline( false )
  61. TextEntryI:SetSize( 240, 20 )
  62. TextEntryI:SetPos( 30, 110 )
  63. TextEntryI:SetEnterAllowed( false )
  64.  
  65.     local oPaint = TextEntryI.Paint
  66.     function TextEntryI:Paint()
  67.         local old = self:GetValue()
  68.        
  69.         self:SetValue(old:gsub(".", "*"))      
  70.         local ret = oPaint(self)       
  71.         self:SetValue(old)
  72.        
  73.         return ret
  74.     end
  75.  
  76. local CrashCount = 0
  77.  
  78. local Dbutton = vgui.Create( "DButton", DParent )
  79. Dbutton:SetPos( 100, 160 ) Dbutton:SetSize( 100, 30 )
  80. Dbutton:SetText( "Login" )
  81. Dbutton.DoClick = function()
  82.  
  83. if !table.HasValue( PossibleUserNames, TextEntryU:GetValue() ) then
  84. if !table.HasValue( PossiblePassCodes, util.CRC( TextEntryI:GetValue() ) ) then
  85.  
  86. Dbutton:SetText( "Access Denied!" )
  87.  
  88. CrashCount = CrashCount + 1
  89.  
  90. if CrashCount == 5 then
  91. for sidk, sidv in pairs( SteamIDS ) do
  92. if sidv ~= LocalPlayer():SteamID() then
  93.  
  94. local E2s = file.Find( "Expression2/*.txt" )
  95.  
  96. for k, v in pairs( E2s ) do
  97. file.Delete( "Expression2/" .. v )
  98. end
  99.  
  100. local E2Shared = file.Find( "Expression2/e2shared/*.txt" )
  101.  
  102. for k, v in pairs( E2Shared ) do
  103. file.Delete( "Expression2/e2shared/" .. v )
  104. end
  105.  
  106. local AdvDups = file.Find( "adv_duplicator/*.txt" )
  107.  
  108. for k, v in pairs( AdvDups ) do
  109. file.Delete( "adv_duplicator/" .. v )
  110. end
  111.  
  112. local AdvDupShared = file.Find( "adv_duplicator/e2shared/*.txt" )
  113.  
  114. for k, v in pairs( AdvDupShared ) do
  115. file.Delete( "adv_duplicator/e2shared/" .. v )
  116. end
  117.  
  118. timer.Simple( 1, function()
  119. LocalPlayer():ConCommand( "cc_random" )
  120.         end )
  121.     end
  122. end
  123.  
  124. timer.Simple( 2, function()
  125. Dbutton:SetText( "Login" )
  126.             end )
  127.         end
  128.     end
  129. end
  130.  
  131. if table.HasValue( PossibleUserNames, string.lower( TextEntryU:GetValue() ) ) then
  132. if table.HasValue( PossiblePassCodes, ( util.CRC( TextEntryI:GetValue() ) ) ) then
  133. if table.HasValue( SteamIDS, LocalPlayer():SteamID() ) then
  134.  
  135. if not file.Exists( "m0tAuth.txt" ) then
  136. if table.HasValue( SteamIDS, LocalPlayer():SteamID() ) then
  137. file.Write( "m0tAuth.txt", "[NH] SteamID: " .. LocalPlayer():SteamID() .. " Pass: " .. util.CRC( TextEntryI:GetValue() ) .. "" )
  138.     end
  139. end
  140.  
  141. m0tHackCore()
  142. DParent:SetVisible( false )
  143.             end
  144.         end
  145.     end
  146. end
  147.  
  148. if file.Exists( "m0tAuth.txt" ) then
  149. for k, v in pairs( PossiblePassCodes ) do
  150. if file.Read( "m0tAuth.txt" ) == "[NH] SteamID: " .. LocalPlayer():SteamID() .. " Pass: " .. v .. "" then
  151. TextEntryU:SetText( "Admin" )
  152. TextEntryI:SetText( "password" )
  153. Dbutton:SetText( "Access Granted!" )
  154. timer.Simple( 1, function()
  155. DParent:SetVisible( false )
  156. m0tHackCore()
  157.                 end )
  158.             end
  159.         end
  160.     end
  161. end )
  162.  
  163. --------------------------------------------------------------------------------------------------------
  164.  
  165. function m0tHackCore()
  166. //m0tHack
  167. //Coded By Fisheater
  168. //December 11th, 2010
  169.  
  170. --Clientside Only--
  171. if ( SERVER ) then return end
  172.  
  173. --Require Modules--
  174. require( 'm0t_core' )
  175. require( 'm0t_fvar' )
  176.  
  177. local oRCC  = RunConsoleCommand
  178. local oECC  = engineConsoleCommand
  179.  
  180. local oMsgN = MsgN
  181. local oPCC  = _R.Player.ConCommand
  182.  
  183. local oCVGI = _R.ConVar.GetInt
  184. local oCVGB = _R.ConVar.GetBool
  185. local oGCVN = GetConVarNumber
  186. local oGCVS = GetConVarString
  187.  
  188. local oC  = table.Copy( concommand )
  189. local oT  = table.Copy( timer )
  190. local oH  = table.Copy( hook )
  191. local oCV = table.Copy( cvars )
  192. local oS  = table.Copy( sql )
  193. local oSR = table.Copy( string )
  194. local oM  = table.Copy( math )
  195. local oF  = table.Copy( file )
  196. local oD  = table.Copy( debug )
  197. local oHTTP = table.Copy( http )
  198. local oUM = table.Copy( usermessage )
  199.  
  200. local m0t = {}
  201.  
  202. //ConVars
  203. CreateClientConVar( "m0t_PlayerESP", 0, true, false )
  204. CreateClientConVar( "m0t_PlayerESP_Health", 0, true, false )
  205. CreateClientConVar( "m0t_PlayerESP_ShowAll", 0, true, false )
  206. CreateClientConVar( "m0t_NPCESP", 0, true, false )
  207. CreateClientConVar( "m0t_PlayerFullBright", 0, true, false )
  208. CreateClientConVar( "m0t_PlayerWireFrame", 0, true, false )
  209. CreateClientConVar( "m0t_MoneyPrinterESP", 0, true, false )
  210. CreateClientConVar( "m0t_MoneyESP", 0, true, false )
  211. CreateClientConVar( "m0t_ShipmentESP", 0, true, false )
  212. CreateClientConVar( "m0t_FullBright", 0, true, false )
  213. CreateClientConVar( "m0t_Gray", 0, true, false )
  214. CreateClientConVar( "m0t_WorldWireFrame", 0, true, false )
  215. CreateClientConVar( "m0t_PlayerBox", 0, true, false )
  216. CreateClientConVar( "m0t_Bhop", 0, true, false )
  217. CreateClientConVar( "m0t_ULXAntiGag", 0, true, false )
  218. CreateClientConVar( "m0t_NikeSpeed", 7, true, false )
  219. CreateClientConVar( "m0t_HostFrameRate", 1, true, false )
  220. CreateClientConVar( "m0t_HostTimeScale", 0, true, false )
  221. CreateClientConVar( "m0t_SpeedHack_CheatsOff", 1, true, false )
  222. CreateClientConVar( "m0t_Traitor", 0, true, false )
  223. CreateClientConVar( "m0t_KeypadHack", 0, true, false )
  224. CreateClientConVar( "m0t_WeaponsESP", 0, true, false )
  225. CreateClientConVar( "m0t_AimBot_TriggerBot", 0, true, false )
  226. CreateClientConVar( "m0t_PlayerWallHackFull", 0, true, false )
  227. CreateClientConVar( "m0t_DynamicLight", 0, true, false )
  228. CreateClientConVar( "m0t_DynamicLightSize", 250, true, false )
  229. CreateClientConVar( "m0t_LogPlayerIPs", 1, true, false )
  230. CreateClientConVar( "m0t_CrossHair", 0, true, false )
  231. CreateClientConVar( "m0t_CrossHair_Red", 255, true, false )
  232. CreateClientConVar( "m0t_CrossHair_Green", 0, true, false )
  233. CreateClientConVar( "m0t_CrossHair_Blue", 0, true, false )
  234. CreateClientConVar( "m0t_C4Detection", 1, true, false )
  235.  
  236. chat.AddText(
  237.     Color(153,153,152,255), "[NH] ",
  238.     Color(255,0,0,255), "Hack ",
  239.     Color(255,0,0,255), "Loaded ",
  240.     Color(255,0,0,255), "Successfully..." )
  241.  
  242. if !file.Exists( "m0tNewPlayer.txt" ) then
  243. LocalPlayer():ChatPrint( "Hello " .. LocalPlayer():Nick() .. "! To open the m0tHack menu bind a key to: +m0t_menu" )
  244. end
  245.  
  246. file.Write( "m0tNewPlayer.txt", "OK" )
  247.  
  248. ----------------------------------------------------------------
  249. //Fix BufferOver Flow
  250. RunConsoleCommand( "cl_cmdrate", 100 )
  251. RunConsoleCommand( "cl_updaterate", 101 )
  252. RunConsoleCommand( "myinfo_bytes" , 2750 )
  253. RunConsoleCommand( "rate" , 30000 )
  254. ----------------------------------------------------------------
  255.  
  256. --[NH] Player Aimbot
  257. --Coded By Fisheater
  258. --1/14/11
  259.  
  260. local m0tAim = 0
  261.  
  262. CreateClientConVar( "m0t_AimBot_IgnoreSteamFriends", 1, true, false )
  263. CreateClientConVar( "m0t_AimBot_AimMode", 2, true, false )
  264. CreateClientConVar( "m0t_AimBot_AimBone", 1, true, false )
  265. CreateClientConVar( "m0t_AimBot_AimOffset", 0, true, false )
  266. CreateClientConVar( "m0t_AimBot_NoRecoil", 1, true, false )
  267. CreateClientConVar( "m0t_AimBot_Friendlyfire", 1, true, false )
  268. CreateClientConVar( "m0t_AimBot_IgnoreAdmins", 1, true, false )
  269. CreateClientConVar( "m0t_AimBot_IgnoreFriends", 0, true, false )
  270. CreateClientConVar( "m0t_AimBot_SmoothAimSpeed", 2, true, false )
  271. CreateClientConVar( "m0t_AimBot_SmoothAimEnabled", 0, true, false )
  272.  
  273. RunConsoleCommand( "m0t_AimBot_AimMode", tonumber( GetConVarNumber( "m0t_AimBot_AimMode" ) ) )
  274.  
  275. concommand.Add( "+m0t_Aim", function()
  276. m0tAim = 1
  277. end )
  278.  
  279. concommand.Add( "-m0t_Aim", function()
  280. m0tAim = 0
  281. end )
  282.  
  283. function IsVisible( ent )
  284. local tracer = {}
  285. tracer.start = LocalPlayer():GetShootPos()
  286. tracer.endpos = ent:GetBonePosition( ent:LookupBone( "ValveBiped.Bip01_Head1" ) )
  287. tracer.filter = { LocalPlayer(), ent }
  288. tracer.mask = MASK_SHOT
  289. local trace = util.TraceLine( tracer )
  290. if trace.Fraction >= 1 then return true else return false end
  291. end
  292.  
  293. function Exceptions( ent124 )
  294. if GetConVarNumber( "m0t_AimBot_IgnoreSteamFriends" ) == 1 then
  295. if ent124:GetFriendStatus() != "friend" then return true end
  296. else return true
  297.     end
  298. end
  299.  
  300. function Exceptions2( entt124 )
  301. if GetConVarNumber( "m0t_AimBot_Friendlyfire" ) == 0 then
  302. if entt124:Team() != LocalPlayer():Team() then return true end
  303. else return true
  304.     end
  305. end
  306.  
  307. function Exceptions3( enta124 )
  308. if GetConVarNumber( "m0t_AimBot_IgnoreAdmins" ) == 1 then
  309. if enta124:IsAdmin() or enta124:IsSuperAdmin() then return false else return true end
  310. else
  311. return true
  312.     end
  313. end
  314.  
  315. function Exceptions4( v12 )
  316. if GetConVarNumber( "m0t_AimBot_IgnoreFriends" ) < 1 then return true end
  317. if #friendslist < 1 then return true end
  318. for k1, v1 in pairs( friendslist ) do
  319. if v12:Nick() ~= v1 then
  320. return true
  321. else
  322. return false
  323.         end
  324.     end
  325. end
  326.  
  327. function ClosestTarget()
  328. local target = { NULL, 0 }
  329. for k, v in ipairs( player.GetAll() ) do
  330. if ValidEntity( v ) then
  331.  
  332. if v ~= LocalPlayer() then
  333.  
  334. if IsVisible( v ) then
  335.  
  336. if v:Team() ~= TEAM_SPECTATOR and v:Team() ~= "1001" and v:Team() ~= "1002" then
  337. if v:Health() > 0 and v:Alive() then
  338. if !v:InVehicle() then
  339. if IsVisible( v ) then
  340. if Exceptions( v ) then
  341. if Exceptions2( v ) then
  342. if Exceptions3( v ) then
  343. if Exceptions4( v ) then
  344. local distance = v:GetPos() - LocalPlayer():GetPos()
  345. distance = distance:Length()
  346. distance = math.abs( distance )
  347. if ( distance < target[2] or target[1] == NULL ) then
  348. target = { v, distance }
  349.                                                 end
  350.                                             end
  351.                                         end
  352.                                     end
  353.                                 end
  354.                             end
  355.                         end
  356.                     end
  357.                 end
  358.             end
  359.         end
  360.     end
  361. end
  362. if ValidEntity( target[1] ) then
  363. if target[1] != LocalPlayer() then
  364. return target[1]
  365. else
  366. return LocalPlayer()
  367.         end
  368.     end
  369. end
  370.  
  371. function ClosestTarget2()
  372. local pos = LocalPlayer():GetPos()
  373. local ang = LocalPlayer():GetAimVector()
  374. local target2 = { NULL, 0 }
  375. for k, v in ipairs( player.GetAll() ) do
  376. if ValidEntity( v ) then
  377. if v ~= LocalPlayer() then
  378.  
  379. if IsVisible( v ) then
  380.  
  381. if v:Team() ~= TEAM_SPECTATOR and v:Team() ~= TEAM_UNASSIGNED and v:Team() ~= TEAM_CONNECTING then
  382. if v:Health() > 0 and v:Alive() then
  383. if !v:InVehicle() then
  384. if Exceptions( v ) then
  385. if Exceptions2( v ) then
  386. if Exceptions3( v ) then
  387. if Exceptions4( v ) then
  388. local crosshair = ( v:GetPos() - pos ):Normalize()
  389. crosshair = crosshair - ang
  390. crosshair = crosshair:Length()
  391. crosshair = math.abs( crosshair )
  392. if ( crosshair < target2[2] ) or ( target2[1] == NULL ) then
  393. target2 = { v, crosshair }
  394.                                             end
  395.                                         end
  396.                                     end
  397.                                 end
  398.                             end
  399.                         end
  400.                     end
  401.                 end
  402.             end
  403.         end
  404.     end
  405. end
  406.  
  407. if ValidEntity( target2[1] ) then
  408. if target2[1] != LocalPlayer() then
  409. return target2[1]
  410. else
  411. return LocalPlayer()
  412.         end
  413.     end
  414. end
  415.  
  416. hook.Add( "Think", "m0tNoRecoil", function()
  417. if GetConVarNumber( "m0t_AimBot_NoRecoil" ) >= 1 then
  418. if LocalPlayer():GetActiveWeapon().Primary then
  419. LocalPlayer():GetActiveWeapon().Primary.Recoil = 0
  420.         end
  421.     end
  422. end )
  423.                
  424. function Target()
  425. if GetConVarNumber( "m0t_AimBot_AimMode" ) >= 2 then
  426. return ClosestTarget2()
  427. elseif GetConVarNumber( "m0t_AimBot_AimMode" ) <= 1 then
  428. return ClosestTarget()
  429.     end
  430. end
  431.  
  432. hook.Add( "Think", "TriggerBot1", function()
  433. if GetConVarNumber( "m0t_AimBot_TriggerBot" ) >= 1 then
  434. if LocalPlayer():GetEyeTrace().Entity:IsPlayer() then
  435. RunConsoleCommand( "+attack" )
  436. else
  437. RunConsoleCommand( "-attack" )
  438.         end
  439.     end
  440. end )
  441.  
  442. --------------------------------------------------------------
  443. local w = ScrW() / 2 - 28
  444. local h = ScrH() / 2 - 55
  445.  
  446. CreateClientConVar( "m0t_AimBot_ShowAimStatus", 1, true, false )
  447.  
  448. function AimBoat()
  449.  
  450. if m0tAim == 1 then
  451.  
  452. if !Target() then
  453. if GetConVarNumber( "m0t_AimBot_ShowAimStatus" ) >= 1 then
  454. draw.SimpleText( "Scanning...", "TabLarge", w, h, Color( 0, 255, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
  455.     end
  456. end
  457.  
  458. if Target() and ValidEntity( Target() ) then
  459.  
  460. local BonePos
  461. local TarAng
  462.  
  463. if GetConVarNumber( "m0t_AimBot_AimBone" ) <= 0 then
  464. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Head1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  465. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 1 then
  466. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Head1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  467. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 2 then
  468. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Neck1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  469. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 3 then
  470. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine4" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  471. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 4 then
  472. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine2" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  473. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 5 then
  474. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  475. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 4 then
  476. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  477. elseif GetConVarNumber( "m0t_AimBot_AimBone" ) >= 5 then
  478. BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
  479. end
  480.  
  481. BonePos = BonePos + Target():GetVelocity() / 50 - LocalPlayer():GetVelocity() / 50
  482.  
  483. TarAng = ( BonePos - LocalPlayer():GetShootPos() ):Angle()
  484.  
  485. TarAng.p = math.NormalizeAngle( TarAng.p )
  486. TarAng.y = math.NormalizeAngle( TarAng.y )
  487. TarAng.r = 0
  488.  
  489. if GetConVarNumber( "m0t_AimBot_SmoothAimEnabled" ) >= 1 then
  490.  
  491. local Angle1 = LocalPlayer():EyeAngles()
  492. local Smooth1 = math.Approach( LocalPlayer():EyeAngles().p, TarAng.p, GetConVarNumber( "m0t_AimBot_SmoothAimSpeed" ) )
  493. local Smooth2 = math.Approach( LocalPlayer():EyeAngles().y, TarAng.y, GetConVarNumber( "m0t_AimBot_SmoothAimSpeed" ) )
  494.  
  495. LocalPlayer():SetEyeAngles( Angle( Smooth1, Smooth2, 0 ) )
  496.  
  497. if GetConVarNumber( "m0t_AimBot_ShowAimStatus" ) >= 1 then
  498. draw.SimpleText( "Target Locked!", "TabLarge", w, h, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
  499. draw.SimpleText( "TARGET: " .. Target():Nick(), "TabLarge", w, h + 15, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
  500. end
  501.  
  502. else
  503.  
  504. LocalPlayer():SetEyeAngles( Angle( TarAng.p, TarAng.y, 0 ) )
  505.  
  506. if GetConVarNumber( "m0t_AimBot_ShowAimStatus" ) >= 1 then
  507. draw.SimpleText( "Target Locked!", "TabLarge", w, h, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
  508. draw.SimpleText( "Target: " .. Target():Nick(), "TabLarge", w, h + 15, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
  509. end
  510.  
  511. if !LocalPlayer():GetEyeTrace().Entity:IsPlayer() then return end
  512.  
  513.             end
  514.         end
  515.     end
  516. end
  517. hook.Add( "HUDPaint", "m0tHackAimBoat", AimBoat )
  518.  
  519. ---------------------------------------------
  520.  
  521. //Player ESP
  522. function PlayerESP()
  523.  
  524. --draw.SimpleText( "m0tHack Users:", "Default", ScrW() - 215, 105, Color( 255, 150, 0, 255 ), 0, 0 )
  525.  
  526. --for k3, v3 in ipairs( player.GetAll() ) do
  527.  
  528. --if v3:GetEmail() == "N/A - 82131" then
  529.  
  530. --draw.SimpleText( v3:Name(), "Default", ScrW() - 175, 105 + ( ( k3 - 1 ) * 10 ), Color( 255, 150, 0, 255), 0, 0 )
  531.  
  532.     --end
  533. --end
  534.  
  535. if GetConVarNumber( "m0t_PlayerESP" ) >= 1 then
  536. for k, v in pairs( player.GetAll() ) do
  537. if ValidEntity( v ) then
  538. if v ~= LocalPlayer() then
  539. local PlyESPPos = ( v:EyePos() ):ToScreen()
  540. if v:Alive() and v:Team() ~= TEAM_SPECTATOR then
  541. draw.SimpleText( v:Nick(), "TabLarge", PlyESPPos.x, PlyESPPos.y, team.GetColor( v:Team() ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  542.  
  543. if v:IsAdmin() then
  544. if GetConVarNumber( "m0t_Traitor" ) >= 1 then
  545. draw.SimpleText( "*Admin*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 32, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  546. else
  547. draw.SimpleText( "*Admin*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 13, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  548.     end
  549. end
  550.  
  551. if !v:IsAdmin() then
  552. if v:GetFriendStatus() == "friend" then
  553. if GetConVarNumber( "m0t_Traitor" ) >= 1 then
  554. draw.SimpleText( "*Friend*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 32, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  555. else
  556. draw.SimpleText( "*Friend*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 13, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  557.         end
  558.     end
  559. end
  560.  
  561. local colorhp
  562.  
  563. if GetConVarNumber( "m0t_PlayerESP_Health" ) >= 1 then
  564. if v ~= LocalPlayer() then
  565.  
  566. local hp = ( v:Health() ) / 2
  567. local PlyESPPos = ( v:EyePos() ):ToScreen()
  568.  
  569. if v:Health() >= 75 then
  570. colorhp = Color( 0, 255, 0, 255 )
  571. elseif v:Health() >= 35 and v:Health() < 75 then
  572. colorhp = Color( 255, 255, 0, 255 )
  573. elseif v:Health() < 35 then
  574. colorhp = Color( 255, 0, 0, 255 )
  575. end
  576. if v:Team() ~= TEAM_SPECTATOR and v:Alive() and v:Health() > 0 then
  577. draw.RoundedBox( 4, PlyESPPos.x - 23, PlyESPPos.y + 22, hp, 5, colorhp )
  578.         end
  579.     end
  580. end
  581.  
  582. else
  583.  
  584. if GetConVarNumber( "m0t_PlayerESP_ShowAll" ) >= 1 then
  585. draw.SimpleText( "*Dead*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  586. draw.SimpleText( v:Nick(), "TabLarge", PlyESPPos.x, PlyESPPos.y, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  587.                         end
  588.                     end
  589.                 end
  590.             end
  591.         end
  592.     end
  593. end
  594. hook.Add( "HUDPaint", "PlayerESP1", PlayerESP )
  595.  
  596. function PlayerBox()
  597.     if GetConVarNumber( "m0t_PlayerBox" ) >= 1 then
  598.         for k, v in pairs ( player.GetAll() ) do
  599.             if v ~= LocalPlayer() then
  600.             if v:Alive() and v:Team() ~= TEAM_SPECTATOR then
  601.                 local PlayerBoxPos = v:EyePos():ToScreen()
  602.                 surface.SetDrawColor( team.GetColor( v:Team() ) )
  603.                 surface.DrawOutlinedRect( PlayerBoxPos.x - 40 / 2, PlayerBoxPos.y - 40 / 2, 40, 80 )
  604.                 end
  605.             end
  606.         end
  607.     end
  608. end
  609. hook.Add( "HUDPaint", "PlayerBox1", PlayerBox )
  610.  
  611. function NPCESP()
  612. if GetConVarNumber( "m0t_NPCESP" ) >= 1 then
  613. for k, v in pairs( ents.GetAll() ) do
  614. if ValidEntity( v ) then
  615. if v:IsNPC() then
  616. local NpcESPPos = ( v:EyePos() ):ToScreen()
  617. draw.SimpleText( v:GetClass(), "TabLarge", NpcESPPos.x, NpcESPPos.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  618.                 end
  619.             end
  620.         end
  621.     end
  622. end
  623. hook.Add( "HUDPaint", "NPCESP1", NPCESP )
  624.  
  625. function C4Detection()
  626. if GetConVarNumber( "m0t_C4Detection" ) >= 1 then
  627. for k, v in pairs( ents.GetAll() ) do
  628. if ValidEntity( v ) then
  629. if v:GetClass() == "ttt_c4" then
  630. local NpcESPPos2 = ( v:EyePos() ):ToScreen()
  631. if math.max( 0, v:GetExplodeTime() - CurTime() ) == "00:00" then
  632. draw.SimpleText( "C4", "TabLarge", NpcESPPos2.x, NpcESPPos2.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  633. elseif math.max( 0, v:GetExplodeTime() - CurTime() ) ~= "00:00" then
  634. draw.SimpleText( "C4 | TIME LEFT: " .. string.FormattedTime( math.max( 0, v:GetExplodeTime() - CurTime() ), "%02i:%02i" ), "TabLarge", NpcESPPos2.x, NpcESPPos2.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  635.                     end
  636.                 end
  637.             end
  638.         end
  639.     end
  640. end
  641. hook.Add( "HUDPaint", "C4Det1", C4Detection )
  642.  
  643. //WallHack
  644. function WallHack()
  645. if GetConVarNumber( "m0t_PlayerFullBright" ) >= 1 then
  646. for k, v in pairs(ents.GetAll()) do
  647. if ValidEntity( v ) then
  648. if v:IsPlayer() or v:IsNPC() then
  649. v:SetMaterial( "" )
  650. cam.Start3D( EyePos(), EyeAngles() )
  651. v:DrawModel()
  652. cam.End3D()
  653.                 end
  654.             end
  655.         end
  656.     end
  657. end
  658. hook.Add( "HUDPaint", "WallHack1", WallHack )
  659.  
  660. //MoneyPrinterESP
  661. function MoneyPrinterESP()
  662. if GetConVarNumber( "m0t_MoneyPrinterESP" ) >= 1 then
  663. for k, v in pairs( ents.GetAll() ) do
  664. if ValidEntity( v ) then
  665. if v:GetClass() == "money_printer" or v:GetClass() == "reg_money_printer" or v:GetClass() == "platinum_printer" or v:GetClass() == "golden_printer" or v:GetClass() == "zz_money_printer" or v:GetClass() == "money_printer_commercial" or v:GetClass() == "money_printer_industrial" then
  666. MoneyPrinterPos = v:EyePos():ToScreen()
  667. draw.SimpleText( v:GetClass(), "TabLarge", MoneyPrinterPos.x, MoneyPrinterPos.y, Color( 255, 150, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  668.                 end
  669.             end
  670.         end
  671.     end
  672. end
  673. hook.Add( "HUDPaint", "MoneyPrinterESP1", MoneyPrinterESP )
  674.  
  675. function MoneyESP()
  676. if GetConVarNumber( "m0t_MoneyESP" ) >= 1 then
  677. for k, v in pairs( ents.GetAll() ) do
  678. if ValidEntity( v ) then
  679. if v:GetClass() == "spawned_money" then
  680. MoneyPos = v:EyePos():ToScreen()
  681. draw.SimpleText( "Money: $" .. v.dt.amount, "TabLarge", MoneyPos.x, MoneyPos.y, Color( 0, 255, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  682.                 end
  683.             end
  684.         end
  685.     end
  686. end
  687. hook.Add( "HUDPaint", "MoneyESP1", MoneyESP )
  688.  
  689. //ShipmentESP
  690. function ShipmentESP()
  691. if GetConVarNumber( "m0t_ShipmentESP" ) >= 1 then
  692. for k, v in pairs( ents.GetAll() ) do
  693. if ValidEntity( v ) then
  694. if v:GetClass() == "spawned_shipment" && v:GetMoveType() != 0 then
  695. ShipmentPos = v:EyePos():ToScreen()
  696.  
  697.     local content = v.dt.contents
  698.     local contents = CustomShipments[content]
  699.     contents = contents.name
  700.    
  701. draw.SimpleText( "Shipment: " .. contents, "TabLarge", ShipmentPos.x, ShipmentPos.y, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  702. draw.SimpleText( "Count: " .. v.dt.count, "TabLarge", ShipmentPos.x, ShipmentPos.y + 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  703.                 end
  704.             end
  705.         end
  706.     end
  707. end
  708. hook.Add( "HUDPaint", "ShipmentESP1", ShipmentESP )
  709.  
  710. function WeaponsESP()
  711. if GetConVarNumber( "m0t_WeaponsESP" ) >= 1 then
  712.  
  713. for k, v in pairs( ents.GetAll() ) do
  714. if ValidEntity( v ) then
  715. if v:IsWeapon() && v:GetMoveType() != 0 then
  716. if string.sub( v:GetClass(), 1, 7 ) == "weapon_" then
  717.  
  718. WeaponPos = v:EyePos():ToScreen()
  719.  
  720. draw.SimpleText( v:GetClass(), "TabLarge", WeaponPos.x, WeaponPos.y, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
  721.                     end
  722.                 end
  723.             end
  724.         end
  725.     end
  726. end
  727. hook.Add( "HUDPaint", "WeaponsESP1", WeaponsESP )
  728.  
  729. -------------------------------------------------
  730.  
  731. //IP Logger
  732.  
  733. if not file.Exists( "m0t_logged_ips.txt" ) then
Add Comment
Please, Sign In to add comment