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 › Help Coding Speedhack - New to Lua

Help Coding Speedhack - New to Lua

Posts 1–6 of 6 · Page 1 of 1
LI
lil ricky
Help Coding Speedhack - New to Lua
Ok so I am new to Lua and Ihave been making Wallhacks and Aimbots (small ones from tutorials, not sure if they work) and I want to make a SpeedHack with console commands orion_sh 0 or 1. I don't know of this will work or if this is even the proper way to go about it.

So far I have
Code:
function addCmds( cmd )
	concommand.Add("orion_sh 1", speedhackOn)
	concommand.Add("orion_sh 0", speedhackOff)
end

function speedhackOn() -- Starting the On Function
	local ply = LocalPlayer() -- Getting Ourselves
	ply:SetRunSpeed 2500 -- Sets the Player's RunSpeed Variable to 2500, mega fast
end

function speedhackOff() -- Starting the Off Function
	local ply = LocalPlayer() -- Getting Ourselves
	ply:SetRunSpeed 500 -- Returns the Player's RunSpeed Variable to 500, the default
end
Will this work? If not, how abouts would I go about making a Speed Hack?
#1 · 12y ago
Trollaux
Trollaux
No you cant use SetRunSpeed in clientside.
#2 · 12y ago
wisezombieking
wisezombieking
Also if you where to make it. SetRunSpeed is a function, so you would have to have function arguments like this
ply:SetRunSpeed( 500 )
But if you are new to lua, your best bet would to spoof host_framerate or host_timescale and use that, which can only be done with c++.
Depending on your bypass, it may spoof them...
#3 · 12y ago
Kellyseveride
Kellyseveride
Quote Originally Posted by wisezombieking View Post
Also if you where to make it. SetRunSpeed is a function, so you would have to have function arguments like this
ply:SetRunSpeed( 500 )
But if you are new to lua, your best bet would to spoof host_framerate or host_timescale and use that, which can only be done with c++.
Depending on your bypass, it may spoof them...
What the actual fuck. Ok.
#4 · 12y ago
wisezombieking
wisezombieking
Quote Originally Posted by Kellyseveride View Post
What the actual fuck. Ok.
I know, I use the wrong terminology for things.
#5 · 12y ago
HI
hilo peeps
willox can use setwalkspeed nerds
#6 · 12y ago
Posts 1–6 of 6 · Page 1 of 1

Post a Reply

Similar Threads

  • Help with coding on new clientBy john29990 in Realm of the Mad God Help & Requests
    3Last post 13y ago
  • Please help me Ineed new Weapon CodeBy mzzxxccvv in Blackshot Help
    2Last post 11y ago
  • I need help debugging a nil script (Lua coding)By TearInHeaven in Other Programming
    0Last post 11y ago
  • I WANT TO HELP CODE!!By youngbuck1970 in Alliance of Valiant Arms (AVA) Help
    7Last post 15y ago
  • help with my new injector!!By Connorcide in CrossFire Help
    1Last post 15y ago

Tags for this Thread

#gmod#hacks#help#lua#speed