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 › Garry's Mod Discussions & Help › Ban Players SteamID from using my lua script?

QuestionBan Players SteamID from using my lua script?

Posts 1–5 of 5 · Page 1 of 1
XviperGamingXVG
XviperGamingXVG
Ban Players SteamID from using my lua script?
Basically what i want is a script where it fetches the players SteamID from a website file and if there SteamID is in that file then they cant use the script aka banned. How would you make this?
#1 · edited 8y ago · 8y ago
negroid
negroid
well, you'd have to check if their steamid is banned from inside the script, which means they could just open the script and delete your ban system.
#2 · 8y ago
XviperGamingXVG
XviperGamingXVG
Quote Originally Posted by negroid View Post
well, you'd have to check if their steamid is banned from inside the script, which means they could just open the script and delete your ban system.
They could do that but i'm planning on obfuscating it since encryption is not an option and if they do delete the ban system then nothing will load, i'm going to be fetching the lua script from the website instead of putting it in the file with the ban system.
#3 · edited 8y ago · 8y ago
Cyaegha
Cyaegha
If you have a server or somethin just use http.Post and verify the player's SteamID that way before responding with the Lua; or just have a table with SteamIDs as keys and check if the player's SteamID is in it, if it is then stop the script from running.

Code:
local banned = {
	["steam id"] = true
}

if (banned[LocalPlayer():SteamID()]) then
	error("banned")
end
#4 · 8y ago
XviperGamingXVG
XviperGamingXVG
Quote Originally Posted by Cyaegha View Post
If you have a server or somethin just use http.Post and verify the player's SteamID that way before responding with the Lua; or just have a table with SteamIDs as keys and check if the player's SteamID is in it, if it is then stop the script from running.

Code:
local banned = {
	["steam id"] = true
}

if (banned[LocalPlayer():SteamID()]) then
	error("banned")
end
Thank You! And one more thing, how would i get the keys from a website file?
#5 · edited 8y ago · 8y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • A script that blocks another user from using a kill script on you.By PyroGodz in DayZ Mod & Standalone Hacks & Cheats
    2Last post 13y ago
  • The Ability to Rain Planks, Keycards, etc from the sky (LUA Script)By unseenpath in Payday 2 Hacks & Cheats
    0Last post 11y ago
  • British group pushes to ban internet racists from using the internetBy Wyo in General
    13Last post 11y ago
  • Ban Players ScriptBy Jayce in Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    1Last post 16y ago
  • [Tutorial] Banning Players Using the ConsoleBy Archangel in Call of Duty Modern Warfare 2 Tutorials
    28Last post 16y ago

Tags for this Thread

None