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 › TriggerBot

TriggerBot

Posts 1–5 of 5 · Page 1 of 1
TH
thiag00
TriggerBot
Hii
Can someone help me with this codes...
in the module i have:
Code:
Option Explicit
Private Declare Sub mouse_event Lib "user32" _
(ByVal dwFlags As Long, ByVal dx As Long, _
ByVal dy As Long, ByVal cButtons As Long, _
ByVal dwExtraInfo As Long)
Private Const MOUSEEVENTF_LEFTDOWN = &H2
Private Const MOUSEEVENTF_LEFTUP = &H4

Public Sub lef***ick()
Call mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0)
Call mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0)
End Sub
in the timer:
Code:
dim cat as long
readalong(&H(TriggerBotAddy), cat)
if cat = (whatever the tiggerbot addy changes to when you scroll over someone.. it changes) then
lef***ick()
end if
Currely the When you scroll over someone it changes from
-1 if not in game yet
0 if not over someone
2 if over someone
When i scroll the mouse over someone I can't shoot...
what i have to do for this work?
#1 · 18y ago
K2
K2 Nemico
the second code is like this:
Code:
dim cat as long
call readalong(&H(TriggerBotAddy), cat)
if cat = val("2") then
lef***ick
end if
this should help
#2 · 18y ago
TH
thiag00
the same thing...
when I scroll the mouse over someone I can't shoot..
#3 · 18y ago
JE
Jester62
in ur module u need the sendkeys command


Private Declare Sub keybd_event Lib "user32" ( _
ByVal bVk As Byte, ByVal bScan As Byte, _
ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Const KEYEVENTF_EXTENDEDKEY = &H1
Private Const KEYEVENTF_KEYUP = &H2




Private Declare Function GetVersion Lib "kernel32" () As Long
Private Declare Function VkKeyScan Lib "user32" Alias "VkKeyScanA" ( _
ByVal cChar As Byte) As Integer
Private Declare Function VkKeyScanW Lib "user32" ( _
ByVal cChar As Integer) As Integer

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
lpvDest As Any, lpvSource As Any, ByVal cbCopy As Long)


Public Sub KeyDown(ByVal vKey As KeyCodeConstants)
keybd_event vKey, 0, KEYEVENTF_EXTENDEDKEY, 0
End Sub

Public Sub KeyUp(ByVal vKey As KeyCodeConstants)
keybd_event vKey, 0, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0
End Sub

Public Function KeyCode(ByVal sChar As String) As KeyCodeConstants
Dim bNt As Boolean
Dim iKeyCode As Integer
Dim b() As Byte
Dim iKey As Integer
Dim vKey As KeyCodeConstants
Dim iShift As ShiftConstants

' Determine if we have Unicode support or not:
bNt = ((GetVersion() And &H80000000) = 0)

' Get the keyboard scan code for the character:
If (bNt) Then
b = sChar
CopyMemory iKey, b(0), 2
iKeyCode = VkKeyScanW(iKey)
Else
b = StrConv(sChar, vbFromUnicode)
iKeyCode = VkKeyScan(b(0))
End If

KeyCode = (iKeyCode And &HFF&)

End Function


i cant get triggerbot to work for myself because if sum varible bs

but ut that in ur module and c if it works

if it works can i get a thank u lol
#4 · 18y ago
TH
thiag00
hii
already fixed
MODULE:
Code:
Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
  Public Const MDown = &H2
    Public Const MUp = &H4

Public Sub Down()
    mouse_event MDown, 0, 0, 0, 0
End Sub

Public Sub Up()
    mouse_event MUp, 0, 0, 0, 0
TIMER:
Code:
Dim triggerbot As Long
Call readalong(Addie, triggerbot)
If triggerbot = 2 Then
Call Down
Else
Call Up
End If
#5 · edited 18y ago · 18y ago
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tutorial] Triggerbot ClassBy cjg333 in Programming Tutorials
    10Last post 18y ago
  • VB6 TRIGGERBOTBy apezwijn in WarRock - International Hacks
    1Last post 18y ago
  • [Release] Triggerbot *UPDATE*By ahlun89 in Combat Arms Hacks & Cheats
    43Last post 17y ago
  • Mogen1000's TriggerbotBy That0n3Guy in Combat Arms Hacks & Cheats
    70Last post 17y ago
  • address for triggerbot ?By Chimpen in WarRock Discussions
    0Last post 17y ago

Tags for this Thread

#triggerbot