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 › Other First Person Shooter Hacks › Overwatch Hacks & Cheats › Aimbot AHK red pixel

Aimbot AHK red pixel

Posts 1–15 of 45 · Page 1 of 3
Nero
Nero
Aimbot AHK red pixel
The code was already leaked. So i decided to leak it on here
Code:
; <COMPILER: v1.1.24.01>
k0 = 0x15348675
k1 = 0x34867867
k2 = 0x45378676
k3 = 0x78653446
l0 = 0x54378373
l1 = 0x78678676
m0 = 0x78678667
m1 = 0x78678375
#Persistent
IniFile = Credential.ini
Fileinstall, C:\Users\Rod\Desktop\overawtah\1.png ,1.png
guif:
#NoEnv
#SingleInstance force
SkinForm(Apply, A_ScriptDir . "\USkin.dll", A_ScriptDir . "\Milikymac.msstyles")
Gui, Add, Text, x12 y40 w200 h30 ,  Start Bot { F1 }
Gui, Add, Text, x12 y80 w200 h30 ,  Restart Program { F12 }
Gui, Add, Text, x12 y100 w200 h30 ,  Pause/Resume { Alt }
Gui, Add, CheckBox, x12 y120 w53  h20 vaimbot, Aimbot
Gui, Add, Text, x65 y120 w20 h30 , ---
Gui, Add, CheckBox, x81 y120 w155 h20 vaimbotsmooth, Smooth Aimbot
Gui, Add, CheckBox, x12 y140 w70 h20 vtrigger, TriggerBot
Gui, Add, CheckBox, x81 y140 w100 h20 vsniper, SniperSettings
Gui, Add, CheckBox, x12 y160 w70 h15 vtriaim, Snapshot
Gui, Add, CheckBox, x81 y160 w145 h20 vtriaimhb, SnapshotHB
Gui, Add, CheckBox, x12 y185 w100 h25 vgenji, Updated Genji {V}
Gui, Add, CheckBox, x110 y180 w100 h20 vturn, 180 Turn
Gui, Add, CheckBox, x292 y0 w150 h40 vaimtype Checked, Left Click Hotkey
Gui, Add, CheckBox, x292 y25 w150 h40 vaimtype1, Right Click Hotkey
Gui, Add, Text, x270 y110 w120 h30 , Aim speed control
Gui, Add, Edit, x362 y110 w100 h30 vrx, 0.5
Gui, Add, Text, x235 y75 w120 h30 , Ingame Mouse Sensitivity
Gui, Add, Edit, x362 y75 w100 h30 vrxx, 19
Gui, Add, Button, x232 y150 w230 h90 gchange1, Apply settings
gui, add, button, x5 y5 h20 w70 gIssue, Help
Gui, Show
Loop {
Gui, Submit, NoHide
Sleep -1
}
Return
#If mccree=1
~RButton::
Loop
If GetKeyState("RButton") {
Sleep, 5
moveAmount := (moveAmount = 2) ? 3 : 0
mouseXY(moveAmount,3.4)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
#If
return
#If genji=1
~v::
MouseClick, right
Send {shift down}{shift up}
sleep, 400
if(turn=1)
{
GuiControlget, rXx
if(timer < A_TickCount)
{
timer := A_TickCount +300
DllCall("mouse_event", uint, 1, int, ((A_ScreenWidth // 2)*2)*(14.2/rxx), int, -50, uint, 0, int, 0)
}
sleep, 250
}
Mouseclick, Right
send {Mbutton down}{MButton Up}
Return
#If
Return
Reload
Return
Issue:
{
msgbox, Having issues?`n`n-Please make sure that you have matched the ingame sensitivity with the settings `n`n-Play around with the settings for a bit`n`n-For huge boost in fps, try setting your window theme the classic.`n`n-You can pause the trial time by hitting the pause button!`n`n-Snapshot for now can only send out "V" to shoot. Please have your primary set to "V" if you are planning to use SnapShot.`n`n-Try not to use this hack in Maps like Route 66 because of too many red pixels`n`n-SniperSettings means it'll wait until sniper is done charging before shooting.`n`n-Please put Overwatch to Windowless Border and have it set to 1920*1080`n`n-Hold on left button for triggerbot to detect enemies.
}
return
GuiClose:
ExitApp
return
SkinForm(Param1 = "Apply", DLL = "", SkinName = ""){
if(Param1 = Apply){
DllCall("LoadLibrary", str, DLL)
DllCall(DLL . "\USkinInit", Int,0, Int,0, AStr, SkinName)
}else  if(Param1 = 0) {
DllCall(DLL . "\USkinExit")
}}
Change1:
Tooltip, Applied!
SetTimer, RemoveToolTip, 500
Gui,Submit, Nohide
return
RemoveToolTip:
SetTimer, RemoveToolTip, Off
ToolTip
return
F1::
Soundbeep
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 2000
#Usehook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Pixel, Screen, RGB
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
MouseX1:= 895
MouseX2:= 1035
Mousey1:= 425
Mousey2:= 515
EMCol := 0xD82A22
ColVn := 64
Health :=0
Body:=1
if(body=1)
{
AntiShakeX := (A_ScreenWidth // 160)
AntiShakeY := (A_ScreenHeight // 128)
ZeroX := (A_ScreenWidth // 2)
ZeroY := (A_ScreenHeight // 2)
CFovX := (A_ScreenWidth // 8)
CFovY := (A_ScreenWidth // 64)
}else  {
AntiShakeX := (A_ScreenWidth // 160)
AntiShakeY := (A_ScreenHeight // 12)
ZeroX := 900
ZeroY := 450
CFovX := 200
CFovY := 50
}
xrange :=58
yrange :=85
ScanL := ZeroX - CFovX
ScanT := ZeroY
ScanR := ZeroX + CFovX
ScanB := ZeroY + CFovY
NearAimScanL := ZeroX - AntiShakeX
NearAimScanT := ZeroY - AntiShakeY
NearAimScanR := ZeroX + AntiShakeX
NearAimScanB := ZeroY + AntiShakeY
Timer:=0
Negative :=0
Positive :=0
Shoot :=0
ExitTimer:=0
ExitCount:=0
soundbeep
Loop, {
Gui,Submit, Nohide

if (aimtype=1){
GetKeyState, Mouse2, LButton , P
GoSub MouseMoves2
}
if (aimtype1=1)
{
GetKeyState, Mouse2, RButton, P
GoSub MouseMoves2
}
GoSub GetAimOffset1
}
MouseMoves2:
If ( Mouse2 == "D" ) {
if (aimbot=1 or aimbotsmooth=1)
{
blockinput, on
DllCall("mouse_event", "UInt", 0x01, "UInt", Movesx*(rx), "UInt", Movesy)
blockinput, off
}
if(1trigger =1)
{
if(sniper=1)
{
rx =0.5
Timeyes = 1
}else  {
GuiControlget, rX
}
DllCall("mouse_event", uint, 4, int, x, int, y, uint, 0, int, 0)
if(sniper=1)
{
if(aimpixelx < zerox +20 and aimpixelx > zerox - 20 )
{
if(Timer > 200)
{
Timer := 0
DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)
}}}else  {
if(aimpixelx < zerox +5 and aimpixelx > zerox - 5 )
{
DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)
}}}
if(trigger)
{
DllCall("mouse_event", uint, 4, int, 0, int, 0, uint, , int, 0)
if(shoot=1)
{
if(sniper=1)
{
if(Timer < A_Tickcount)
{
Timer := A_Tickcount+1350
DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
Shoot :=0
}}else  {
DllCall("mouse_event", uint, 2, int, 0, int, 0, uint, 0, int, 0)
Shoot :=0
}}
Shoot:=0
}
if(otriaim =1)
{
DllCall("mouse_event", uint, 4, int, x, int, y, uint, 0, int, 0)
if(aimpixelx < zerox + 5 and aimpixelx > zerox -5)
{
DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)
}}
if(triaim =1)
{
blockinput, on
if(Timer < A_Tickcount)
{
Timer:= A_tickcount + 300
if(Positive=1)
{
Dirx := (14.2/rxx)
Aimx := (Aimx-50) * Dirx
DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
Send, v
Positive :=0
}
if(Negative =1 )
{
Dirx := (14.2/rxx)
Aimx := (Aimx-20) * Dirx
DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
Send, v
Negative :=0
}}
blockinput, off
}
if(triaimhb =1)
{
blockinput, on
if(Timer < A_Tickcount)
{
Timer:= A_tickcount + 300
if(Positive=1)
{
Dirx := (14.2/rxx)
Aimx := (Aimx-50) * Dirx
DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
Send, v
Positive :=0
}
if(Negative =1 )
{
Dirx := (14.2/rxx)
Aimx := (Aimx-20) * Dirx
DllCall("mouse_event", uint, 4, int, aimx, int, aimy, uint, 0, int, 0)
Send, v
Negative :=0
}}
blockinput, off
}
}
Return
GetAimOffset1:
Gui,Submit, Nohide
if(trigger =1)
{
ImageSearch, , , 960, 0, 960, 540, *100 1.png
If Errorlevel = 0
ImageSearch, , , 960, 541, 960, 1080, *100 1.png
If Errorlevel = 0
ImageSearch, , , 0, 540, 960, 540, *100 1.png
If Errorlevel = 0
ImageSearch, , , 960, 540, 1920, 540, *100 1.png
if Errorlevel = 0
Shoot:=1
}
if(aimbotsmooth=1 or triaim =1)
{
PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
if (!ErrorLevel=0) {
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
AimX := AimPixelX - ZeroX +50
AimY := AimPixelY - ZeroY
If ( AimX > 0 ) {
DirX := 1
negative:=0
positive:=1
}else  {
DirX := -1
DirY := -1
negative:=1
positive:=0
}
If ( AimY > 0 ) {
DirY := 1
}
AimOffsetX := (AimX * DirX) * (14.2/rxx)
AimOffsetY := (AimY * DirY) * (14.2/rxx)
MovesX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
MovesY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
}}
if(aimbot=1 or triaimhb = 1)
{
ImageSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB,  *4 hhp2.bmp
if (!ErrorLevel=0)
{
Body:=1
Health:=0
PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
if (!ErrorLevel=0) {
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
AimX := AimPixelX - ZeroX +50
AimY := AimPixelY - ZeroY
If ( AimX > 0 ) {
DirX := 1
negative:=0
positive:=1
}else  {
DirX := -1
DirY := -1
negative:=1
positive:=0
}
If ( AimY > 0 ) {
DirY := 1
}
AimOffsetX := (AimX * DirX) * (14.2/rxx)
AimOffsetY := (AimY * DirY) * (14.2/rxx)
MovesX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
MovesY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
}else  {
Health:=1
Body:=0
ImageSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB,  *4 hhp.bmp
AimX := AimPixelX - ZeroX
AimY := AimPixelY - ZeroY
If ( AimX > 0 ) {
DirX := 1
negative:=0
positive:=1
}else  {
DirX := -1
DirY := -1
negative:=1
positive:=0
}
If ( AimY > 0 ) {
DirY := 1
}
AimOffsetX := (AimX * DirX) * (14.2/rxx)
AimOffsetY := (AimY * DirY) * (14.2/rxx)
MovesX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
MovesY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
}}}
Return
reload:
SleepF1:
SleepDuration = 1
TimePeriod = 1
DllCall("Winmm\timeBeginPeriod", uint, TimePeriod)
Iterations = 1
StartTime := A_TickCount
Loop, %Iterations% {
DllCall("Sleep", UInt, TimePeriod)
}
DllCall("Winmm\timeEndPeriod", UInt, TimePeriod)
Return
DebugTool1:
MouseGetPos, MX, MY
ToolTip, Mouse Pos: %Movesx% %MY% %cfovx% %cfovy%
ToolTip, Aimpixel: %aimpixelx% %AimY% ,,+3, 2
Return
Return
TEA(ByRef y,ByRef z, k0,k1,k2,k3)
{
s = 0
d = 0x9E3779B9
Loop 32
{
k := "k" . s & 3
y := 0xFFFFFFFF & (y + ((z << 4 ^ z >> 5) + z  ^  s + %k%))
s := 0xFFFFFFFF & (s + d)
k := "k" . s >> 11 & 3
z := 0xFFFFFFFF & (z + ((y << 4 ^ y >> 5) + y  ^  s + %k%))
}
}
XCBC(x, u,v, k0,k1,k2,k3, l0,l1, m0,m1)
{
Loop % Ceil(StrLen(x)/16)-1
XCBCstep(u, v, x, k0,k1,k2,k3)
If (StrLen(x) = 16)
{
u := u ^ l0
v := v ^ l1
XCBCstep(u, v, x, k0,k1,k2,k3)
}
Else {
u := u ^ m0
v := v ^ m1
x = %x%100000000000000
XCBCstep(u, v, x, k0,k1,k2,k3)
}
Return Hex8(u) . Hex8(v)
}
XCBCstep(ByRef u, ByRef v, ByRef x, k0,k1,k2,k3)
{
StringLeft  p, x, 8
StringMid   q, x, 9, 8
StringTrimLeft x, x, 16
p = 0x%p%
q = 0x%q%
u := u ^ p
v := v ^ q
TEA(u,v,k0,k1,k2,k3)
}
Hex8(i)
{
format = %A_FormatInteger%
SetFormat Integer, Hex
i += 0x100000000
StringTrimLeft i, i, 3
SetFormat Integer, %format%
Return i
}
Hex(ByRef b, n=0)
{
format = %A_FormatInteger%
SetFormat Integer, Hex
m := VarSetCapacity(b)
If (n < 1 or n > m)
n := m
Loop %n%
{
x := 256 + *(&b+A_Index-1)
StringTrimLeft x, x, 3
h = %h%%x%
}
SetFormat Integer, %format%
Return h
}
ALT::
pause,toggle,1
{
if(A_IsPaused=0)
{
Gui, Add, Text, x80 y5 w70 h30 , Running...!
Soundbeep
}
if(A_IsPaused=0)
{
Gui, Add, Text, x80 y5 w70 h30 , Running...!
Soundbeep
}
}
if(A_IsPaused=1)
{
Gui, Add, Text, x80 y5 w70 h30 , Paused...
Soundbeep
}
if(A_IsPaused=1)
{
Gui, Add, Text, x80 y5 w70 h30 , Paused...
Soundbeep
}
return
F12::
Reload
Return
Credit too @overdose_stinkyjoint For removing timer @lyan123 For leaking it
Virus Scans
https://www.virustotal.com/en/url/34...is/1473616698/
How to
Step1: Download AHK https://autohotkey.com/
Step2: Copy and paste the code
Step3: Download the attachment
Step4: Have them all in the same folder
Step5: Have fun
IMAGE_mpgh.net.rar
#1 · edited 9y ago · 9y ago
Doged
Doged
Doesnt work dont bother

Edit; already tried it like 2/3 hours ago on a diffrent forum
#2 · 9y ago
Nero
Nero
it does work
#3 · 9y ago
AL
aleaallee
where is the attachment?
#4 · 9y ago
overdose_stinkyjoint
overdose_stinkyjoint
thanks for the mention

this does work its a full on colour bot, it detects the colour rather then hp bar

for the triggerbot to work you need to have the 1x1 red pixel in the same folder
#5 · 9y ago
_NightWare
_NightWare
Nice that you release this, however the pixel search is far from optimal. Not to forget that the top left corner has priority over the center.
You may want to look into other ways of getting the pixel(s) than having 4 nornal image searches.

If someone is willing to buy me OverWatch I'll make a script for this
#6 · 9y ago
YU
yurodd
Oh thanks for the credit for whoever made this too...

Quote Originally Posted by _NightWare View Post
Nice that you release this, however the pixel search is far from optimal. Not to forget that the top left corner has priority over the center.
You may want to look into other ways of getting the pixel(s) than having 4 nornal image searches.

If someone is willing to buy me OverWatch I'll make a script for this
Set Eyex,y's to center of screen
Loop, %howeverbigyouwant%
EyeX+=-1
EyeX2+=1
EyeY+=-1
EyeY2+=1
Pixelsearch, x, y, EyeX, EyeY2, EyeX2, EyeY2,
If Found
Break

Creates a box spreading outwards from center until it detects red.

And btw this is to detect if the cursor is INSIDE the outline of the enemy instead of THE outline
#7 · edited 9y ago · 9y ago
TO
TonySK
Thank you for this
#8 · 9y ago
MU
mubbey2
Anyone want to share their settings? It works, but not that good.
#9 · 9y ago
JO
joshcake
Quote Originally Posted by yurodd View Post
Oh thanks for the credit for whoever made this too...


Set Eyex,y's to center of screen
Loop, %howeverbigyouwant%
EyeX+=-1
EyeX2+=1
EyeY+=-1
EyeY2+=1
Pixelsearch, x, y, EyeX, EyeY2, EyeX2, EyeY2,
If Found
Break

Creates a box spreading outwards from center until it detects red.

And btw this is to detect if the cursor is INSIDE the outline of the enemy instead of THE outline
Hi... so I am a uber nub.

Can any1 tell me where I add this to the code, so that I can get it to center on the screen?
#10 · 9y ago
_NightWare
_NightWare
Quote Originally Posted by yurodd View Post
Oh thanks for the credit for whoever made this too...


Set Eyex,y's to center of screen
Loop, %howeverbigyouwant%
EyeX+=-1
EyeX2+=1
EyeY+=-1
EyeY2+=1
Pixelsearch, x, y, EyeX, EyeY2, EyeX2, EyeY2,
If Found
Break

Creates a box spreading outwards from center until it detects red.

And btw this is to detect if the cursor is INSIDE the outline of the enemy instead of THE outline
You are totally correct. However it will still favor left over right
#11 · edited 9y ago · 9y ago
YU
yurodd
Quote Originally Posted by _NightWare View Post


You are totally correct. However it will still favor left over right
Doesn't matter cuz the size increases by 1 pixel. Just point you mouse closer to your target. Which ever is closest is the one it'll detect.
#12 · 9y ago
_NightWare
_NightWare
Quote Originally Posted by yurodd View Post
Doesn't matter cuz the size increases by 1 pixel. Just point you mouse closer to your target. Which ever is closest is the one it'll detect.
I'm just trying to give out some tips so OP can improve
you clearly didn't see what I meant though -.-
#13 · 9y ago
YU
yurodd
Quote Originally Posted by _NightWare View Post


I'm just trying to give out some tips so OP can improve
you clearly didn't see what I meant though -.-
You mean sell your tip? Cuz you only mentioned facts. Btw, op most likely can't do anything to improve because he just copied it from another forum. And btw this is my source code that's leaked.
#14 · edited 9y ago · 9y ago
_NightWare
_NightWare
Quote Originally Posted by yurodd View Post
You mean sell your tip?
Selling code/mods/menus/scripts/hacks is not allowed. And therefore I won't.

This is my approach at it: (pretty old already)


So a bit of background
With your/op's method, it will favour one side over the other, if there is the color you search in the top left corner of your "search erea" but also 1 pixel to the right of the crosshair, it will go for the one far away. If you use what I used (a UDF that allows me to search for "nearest" with minimal amount of pixels with said color) it would always choose wichever is closest.
#15 · edited 9y ago · 9y ago
Posts 1–15 of 45 · Page 1 of 3

Post a Reply

Similar Threads

  • QuakeLive Color Aimbot AHK ScriptBy GEHhgerhgerhgerhrhr in Quake LIVE Hacks
    6Last post 13y ago
  • Pixel / Color Aimbot | TriggerbotBy Voltage552 in Sudden Attack General
    13Last post 16y ago
  • eConic Applications External Material Pixel CSS Aimbot v5.1By consca in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    16Last post 14y ago
  • AHK QS + aimbotBy 63OR63 in Call of Duty Black Ops Coding, Programming & Source Code
    23Last post 15y ago
  • [Release] RED HEAD MINI CHAMS, pre-release for my color aimbotBy Jarppi in Combat Arms Mods & Rez Modding
    19Last post 16y ago

Tags for this Thread

None