Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Garry's Mod Hacks & Cheats › external2 - because it turned out to be even shittier than your scripts

Coolexternal2 - because it turned out to be even shittier than your scripts

Posts 1–15 of 155 · Page 1 of 11
…
tdsx
tdsx
external2 - because it turned out to be even shittier than your scripts
So this is a complete remake of gmcl_external. It is no longer a module that needs to be loaded by Lua. Instead, you can now inject it into hl2.exe and load Lua through console commands. This is a module to prevent servers from stealing your scripts, and to offer a bit of stealth while doing so.

What's New

As I've said earlier, instead of loading it via require, you may now simply inject it into hl2.exe and load scripts through console commands. There are no more encryption features, mainly because they were shitty anyways. This time around I wanted to focus on becoming a stealthbomber. I've also added a console command to load external binary modules (gmcl_*****_win32.dll files). All files are relative to My Documents\external, so create a file called "external" in your documents folder and put all your files there. One thing to note is that there is no more functionality to load an entire folder of scripts.

You may load external files regardless of the value of sv_allowcslua, which means you do not need a bypasser of any kind.

Console Commands


  • external
  • require

external takes two arguments, the second one being optional. The first argument is the name of the external script you want to run, and the second one is a fake source file. Some anti-cheats use the debug library to check where a script is being ran from, and if they detect that it's from an unknown file, they may ban you. You can fake them out with this second argument. If you do not include a second argument, the fake source file will simply be "external". In some cases, you may want to not fake the source file. In this case, if you specify "!" as the second argument, the source file will not be hidden at all, which means it will show the true name of your file in the debug information. Useful for tracking down errors with many external files being loaded.



Every time you use the external console command, a raw global function called external is created. When your script is done running, the function is destroyed. This is for added stealth. Ideally, you should create an external loader.lua that will load other external scripts of yours.
Code:
--[[
	Save a copy of the external function because it's going to be destroyed.
	This only really needs to be done if the script isn't instantaneous, but 
	I do it anyways just for uniformity.
--]]

local external = external

-- It works just like the console command.
external("someotherfile.lua")
external("piss_out_my_ass.lua", "lua/includes/init.lua")
external("yummygummybears.lua", "!")
require takes one argument: the binary module to load. Keep in mind that this is also relative to My Documents\external, so put your module there along with your scripts. It does NOT need to be in the gmcl_*****_win32 format. It can be named whatever you want. Every time you want to join a new server, you should go to the main menu, type the command in again with the name of your module, connect to a new server, and then load the module with the command again. Not doing this procedure can cause Garry's Mod to crash, depending on the module.



Upon injection you should see what's in the picture below.



Virus Scans


  • VirusTotal
  • Jotti

Thanks to @MeepDarknessMeep for dealing with my autism. Use Extreme Injector to inject the .dll into hl2.exe.

love, peace, and bacon grease.
external_mpgh.net.zip
#1 · edited 11y ago · 11y ago
bojicha
bojicha
And what does this do again?
#2 · 11y ago
tdsx
tdsx
Quote Originally Posted by bojicha View Post
And what does this do again?
what is reading first 4 sentences.
#3 · 11y ago
KO
Kona-chan
looks good, you could also add a concommand similar to lua_run_cl
#4 · 11y ago
max1612
max1612
can you may release the source of this module so i can edit this or make one that targets C://Lua
#5 · 11y ago
tdsx
tdsx
Quote Originally Posted by Kona-chan View Post
looks good, you could also add a concommand similar to lua_run_cl
Thanks, and yeah, I should have done that. I rushed it since I've been wanting to do this for a while.

Quote Originally Posted by max1612 View Post
can you may release the source of this module so i can edit this or make one that targets C://Lua
that's what I was going to do originally, but ":" fucked with it and I just decided to use My Documents. Releasing the source is something I want to do, and probably will, but it's likely going to be a trimmed down version that is still usable, at least for the most part. For now I'll just describe what it does.

The console commands check to see if you're in-game by using IVEngineClient->IsInGame(), and react accordingly. In the case of external, it just doesn't run the script. In the case of require, it loads/unloads/reloads the module, depending on if you're in a server and if the module is already loaded.

require works by using GetProcAddress on the module and targeting gmod13_open and gmod13_close, which are exported by Garry's Mod binary modules (GMOD_MODULE_OPEN/CLOSE). That's pretty much the jist of it. The rest is just reading the file and then using luaL_loadbuffer and lua_pcall.
#6 · edited 11y ago · 11y ago
LA
lashuna1999
Thank u very much and can i get VAC banned for this?
#7 · 11y ago
tdsx
tdsx
Quote Originally Posted by lashuna1999 View Post
Nice , thanks.

- - - Updated - - -

Will i get banned for just running old lua scripts?

- - - Updated - - -

And one more thing , Is it possible to get VAC banned for this ?

- - - Updated - - -

And one more thing , Is it possible to get VAC banned for this ?

- - - Updated - - -

And one more thing , Is it possible to get VAC banned for this ?
1. you're so very welcome kind stranger
2. you might get banned from a server if they detect your scripts.
3. no
4. no
5. no
#8 · 11y ago
LA
lashuna1999
I am sorry for "spam" my net is really very slow at the moment ,and i pressed reply too many times.
#9 · 11y ago
RA
Raple
Appears safe, approved.
#10 · 11y ago
D3M0L1T10N
D3M0L1T10N
even more detected than the module
#11 · 11y ago
max1612
max1612
Quote Originally Posted by D3M0L1T10N View Post
even more detected than the module
oh nose gac is gunna ban u
#12 · 11y ago
PO
polivilas
can we get a require("external") version..?
#13 · 11y ago
KI
kingboy111
Quote Originally Posted by polivilas View Post
can we get a require("external") version..?
ya thats the first one he made

its on the forum somewhere
#14 · 11y ago
Quiet
Quiet
Thanks for this!
#15 · 11y ago
Posts 1–15 of 155 · Page 1 of 11
…

Post a Reply

Similar Threads

  • Turned out i got free earlier than a yearBy Jov in General
    16Last post 11y ago
  • Me vs humper turned out me vs Faux -.- . Close please.By .Amnesia in Challenges & Competitions
    0Last post 17y ago
  • It turns out that George W. Bush is a shemale ?!By -Lame in Art & Graphic Design
    13Last post 16y ago
  • These turned out pretty goodBy FallenCoder™ in General
    0Last post 16y ago
  • it turned out bad:SBy Mister Krister in Showroom
    8Last post 15y ago

Tags for this Thread

#external#garrysmod#gmcl_external#gmod#hack#module#tdsx