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 › Programming › Visual Basic Programming › [Tutorial] How to set hotkeys to your basic hacks.

[Tutorial] How to set hotkeys to your basic hacks.

Posts 1–5 of 5 · Page 1 of 1
WR
wr194t
[Tutorial] How to set hotkeys to basic hacks.
Ok so you have just made a hack and now you want to set hotkeys? Ok i will use stamina for example:

Code:
Private Sub Timer1_Timer()
Call WriteALong("Warrock", &H7F2B34, 1120403456)
End Sub
So this should be your stamina code and to set a hotkey to it you need to make another timer with an interval of 1, now add this code:

Code:
Private Sub Timer2_Timer()
If GetKeyPress(vbKeyShift) Then
Call WriteALong("Warrock", &H7F2B34, 1120403456)
End If
End Sub
Shift is just an example, you can use any other key if you want put i would recommend shift. So basically you can use this same method for alot of other hacks like No Recoil/Spread etc, you just have to change the addresses, values and hotkeys. The good thing about this is it doesn't freeze your stamina it refills it, freezing values is one thing that can get detected in a hack. I hope this helped and i am sorry if someone has already made a tutorial like this.
#1 · edited 19y ago · 19y ago
pbsucks
pbsucks
nice that somebody tells this the others...
but i think this is not a real tut, its only a nice edit to make hacking easier...

ps: if you want two keys pressed at the same time as a hotkey, use "and"

ex: If GetKeyPress(vbKeyShift) and GetKeyPress(vbKeySpace) then...
#2 · 19y ago
WR
wr194t
Quote Originally Posted by pbsucks View Post
nice that somebody tells this the others...
but i think this is not a real tut, its only a nice edit to make hacking easier...

ps: if you want two keys pressed at the same time as a hotkey, use "and"

ex: If GetKeyPress(vbKeyShift) and GetKeyPress(vbKeySpace) then...
I didn't edit anything from any other tutorials, i wrote all this myself and in my opinion pressing 1 key is easier then 2 keys, i don't think people want to press shift + space just to refill their stamina when they can just press shift.
#3 · 19y ago
MA
MaskedFox
so say i want it so when someone does ctrl + alt it toggles scope it would be something like

If GetKeyPress(vbKeyCtrl) and GetKeyPress(vbKeyAlt)
Call WriteALong("Warrock", &H435FS, 1)
End If
#4 · 18y ago
WR
wr194t
Quote Originally Posted by MaskedFox View Post
so say i want it so when someone does ctrl + alt it toggles scope it would be something like

If GetKeyPress(vbKeyCtrl) and GetKeyPress(vbKeyAlt)
Call WriteALong("Warrock", &H435FS, 1)
End If
No, your code would be like this:
Code:
If GetKeyPress(vbKeyControl) and GetKeyPress(vbKeyMenu) Then
Call WriteALong("Warrock", &H435FS, 1)
End If
#5 · 18y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] How to set hotkeys to more advanced hacks.By wr194t in Visual Basic Programming
    13Last post 18y ago
  • How To Add Hotkeys To Your Programs/HacksBy **HACKER** in CrossFire Tutorials
    1Last post 15y ago
  • [Tutorial]How to set all maps FREEBy tony94 in WarRock - International Hacks
    18Last post 19y ago
  • [Tutorial] How To Mack HotKeys On VBBy TheRedEye in WarRock - International Hacks
    32Last post 19y ago
  • [Tutorial] How to VB.Net your trainerBy dezer in WarRock - International Hacks
    10Last post 19y ago

Tags for this Thread

None