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 ME PLZ .LUA

AngryHELP ME PLZ .LUA

Posts 1–5 of 5 · Page 1 of 1
SN
snowycold
HELP ME PLZ .LUA
SO i have a code
concommand.Remove("+bhop")
concommand.Add("+bhop",function()
local ply = LocalPlayer()
local oldeyeang = ply:EyeAngles()
hook.Add("CreateMove","hape",function(cmd)
local neweyeang = ply:EyeAngles()
if neweyeang.y > oldeyeang.y then
oldeyeang = neweyeang
RunConsoleCommand("+moveleft")
RunConsoleCommand("-moveright")
timer.Simple(.01, function() RunConsoleCommand("-moveleft") end)
end

if oldeyeang.y > neweyeang.y then
oldeyeang = neweyeang
RunConsoleCommand("+moveright")
RunConsoleCommand("-moveleft")
timer.Simple(.01, function() RunConsoleCommand("-moveright") end)
end
end)
end)
concommand.Remove("-hemp")
concommand.Add("-hemp",function()
RunConsoleCommand("-moveleft")
RunConsoleCommand("-moveright")
hook.Remove("CreateMove","hape")
end)

I need to make a on off button and i dont know how i want to be able to press the mouse scroll wheel down and turn it on and off with that button can someone recode in lua and send me it?
#1 · 12y ago
SU
suchisgood
bind mwheeldown +bhop
#2 · 12y ago
Prometheois117
Prometheois117
I think he's asking how to turn of the +bhop command.
Snowycold, as you mention, someone will have to recode the lua to add a -bhop command.
I am new to lua, so please correct me if I am wrong.
Once you get your new lua script (if you do) type this into console;
bind mwheelup -bhop
bind mwheeldown +bhop
If you scroll your mouse down, it'll activate the script. Scroll it up, and it'll stop the bhop script.
#3 · 12y ago
SU
suchisgood
Quote Originally Posted by Prometheois117 View Post
I think he's asking how to turn of the +bhop command.
Snowycold, as you mention, someone will have to recode the lua to add a -bhop command.
I am new to lua, so please correct me if I am wrong.
Once you get your new lua script (if you do) type this into console;
bind mwheelup -bhop
bind mwheeldown +bhop
If you scroll your mouse down, it'll activate the script. Scroll it up, and it'll stop the bhop script.
+bhop already does that hence.. -hemp except for you need to reload the script every time you use -hemp
#4 · 12y ago
Prometheois117
Prometheois117
Ah, thanks. I am new to lua coding. Though could you explain the hemp part?
#5 · 12y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Tags for this Thread

#halp