Code:
; <COMPILER: v1.1.22.04>
#NoTrayIcon
Box_Init(C="0000FF") {
Gui, 96: -Caption +ToolWindow +E0x20
Gui, 96: Color, % C
Gui, 97: -Caption +ToolWindow +E0x20
Gui, 97: Color, % C
Gui, 98: -Caption +ToolWindow +E0x20
Gui, 98: Color, % C
Gui, 99: -Caption +ToolWindow +E0x20
Gui, 99: Color, % C
}
Box_Draw(X, Y, W, H, T="1", O="I") {
If(W < 0)
X += W, W *= -1
If(H < 0)
Y += H, H *= -1
If(T >= 2)
{
If(O == "O")
X -= T, Y -= T, W += T, H += T
If(O == "C")
X -= T / 2, Y -= T / 2
If(O == "I")
W -= T, H -= T
}
Gui, 96: Show, % "x" X " y" Y " w" W " h" T " NA", Horizontal 1
Gui, 96:+AlwaysOnTop
Gui, 98: Show, % "x" X " y" Y + H " w" W " h" T " NA", Horizontal 2
Gui, 98:+AlwaysOnTop
Gui, 97: Show, % "x" X " y" Y " w" T " h" H " NA", Vertical 1
Gui, 97:+AlwaysOnTop
Gui, 99: Show, % "x" X + W " y" Y " w" T " h" H " NA", Vertical 2
Gui, 99:+AlwaysOnTop
}
Box_Destroy() {
Loop, 4
Gui, % A_Index + 95 ": Destroy"
}
Box_Hide() {
Loop, 4
Gui, % A_Index + 95 ": Hide"
}
Gui Add, Text, x210 y35 w150 h20, 1280x720 [F1]
Gui Add, Text, x210 y55 w150 h20, 1920x1080 [F2]
Gui Add, Text, x210 y75 w150 h20, Restart [F3]
Gui Add, Text, x210 y95 w150 h20, Program End [F4]
Gui Add, Text, x210 y115 w150 h20, Pause Cheat [ALT]
Gui,Add, Checkbox,x20 y55 w90 h15 vaimtype3, Mouse B4
Gui,Add, Checkbox,x110 y55 w90 h15 vaimtype4, Mouse B5
Gui Add, GroupBox, cblue x10 y10 w187 h70, Hotkey
Gui Add, CheckBox, x20 y30 w80 h20 vaimtype Checked, Left Click
Gui Add, CheckBox, x110 y30 w80 h20 vaimtype1 Checked, Right Click
Gui Add, GroupBox, cblue x10 y85 w187 h50, Aim Location
Gui Add, Text, x40 y110 w35 h20, Speed :
Gui Add, Edit, x80 y105 w50 h20 vrx, 5
Gui Add, GroupBox, cblue x10 y225 w187 h145, Reloads
Gui Add, Radio, cRed x16 y248 w140 h15 , No Fast Loading
Gui Add, Radio, x16 y268 w140 h15 vpharah, Pharah Fast
Gui Add, Radio, x16 y288 w140 h15 vreaper, Reaper Fast Load
Gui Add, Radio, x16 y308 w140 h15 vsombra, Sombra Fast load
Gui Add, Radio, x16 y328 w140 h15 vroadhog, RoadHog Fast Load
Gui Add, Radio, x16 y348 w140 h15 vtorbjorn, Torbjorn Fast load
Gui Add, GroupBox, cblue x205 y225 w187 h145, Other Hacks
Gui Add, CheckBox, x210 y248 w170 h20 vmccree, Mcree tool
Gui Add, CheckBox, x210 y268 w150 h15 vroadhog1, RoadHog Combo
Gui Add, CheckBox, x210 y288 w150 h15 vtrigger, Trigger Bot
Gui Add, CheckBox, cRed x210 y328 w150 h15 vbunny, Bunny Hop
Gui Add, CheckBox, cRed x210 y348 w150 h15 voverlayActive, Overlay
Gui Add, button, x210 y10 w50 h20 gsub1, Must Read
Gui Add, button, x260 y10 w50 h20 gsub2, Help
Gui Add, button, x310 y10 w50 h20 gsub3, Etc
Gui Add, GroupBox, cblue x10 y140 w187 h80, Fov
Gui Add, Text, x16 y164 w35 h20, x:
Gui Add, Slider,x48 y160 w130 h25 vxrange Invert Tickinterval1 range1-4, 4
Gui Add, Text, x16 y188 w35 h19, y:
Gui Add, Slider,x48 y184 w130 h25 vyrange Invert Tickinterval1 range1-4, 4
Gui Add, GroupBox, cblue x205 y140 w187 h50, Aim Area
Gui Add, Text, x220 y163 w35 h20, x:
Gui Add, Edit, x255 y160 w35 h20 vxa, 58
Gui Add, Text, x305 y163 w35 h20, y:
Gui Add, Edit, x340 y160 w35 h20 vxy, 85
Gui Show, w402 h380, SuccWatch v1
Loop {
Gui, Submit, NoHide
Sleep -1
}
Return
TrigerSub:
GuiControlGet, trigger
if trigger
setbatchlines,-1
dir := "1.png"
if (!fileexist(dir)) {
URLDownloadToFile,https://i.imgur.com/wrQBaYL.png, % dir
while (!fileexist(dir))
sleep, 50
}
wingetpos,,,ww,wh, % "ahk_class TankWindowClass"
center_x := ww/2
center_y := wh/2
loop {
ImageSearch, , , % center_x, 0, % center_x, % center_y, % "*100 " dir
If (!Errorlevel) {
ImageSearch, , , % center_x, % center_y, % center_x, % wh, % "*100 " dir
If (!Errorlevel)
Send {Click down}
Sleep,225
Send {Click up}
Sleep,20
}
}
Return
F4::
exitapp
Return
#If bunny=1
*~$Space::
sleep 20
loop
{
GetKeyState, SpaceState, Space, P
if SpaceState = U
break
Sleep 1
Send, {Blind}{Space}
}
Return
#If
Return
#If sombra=1
$r::
Send {r}
Sleep 600
Send {v}
Return
#If roadhog1=1
LShift::
MouseClick, right
Sleep, 5
Send {LShift Down}{LShift up}
sleep, 1200
MouseClick, Left
sleep, 50
Send {v down}{v up}
Return
#If
Return
#If roadhog=1
$r::
Send {r}
Sleep 1880
Send {v}
Return
#If
Return
#If torbjorn=1
$r::
Send {r}
Sleep 1780
Send {v}
Return
#If
Return
#If pharah=1
$r::
Send {r}
Sleep 1200
Send {v}
Return
#If
return
#If reaper=1
$r::
Send {r}
Sleep 300
Send {v}
Return
#If
return
#If mccree=1
~RButton::
Loop
If GetKeyState("RButton") {
Sleep, 3
moveAmount := (moveAmount = 2) ? 3 : 0
mouseXY(moveAmount,5.0)
}
else
break
Return
mouseXY(x,y)
{
DllCall("mouse_event",int,1,int,x,int,y,uint,0,uint,0)
}
#If
#if trigger=1
~LButton::
setbatchlines,-1
dir := "1.png"
if (!fileexist(dir)) {
URLDownloadToFile,https://i.imgur.com/wrQBaYL.png, % dir
while (!fileexist(dir))
sleep, 50
}
wingetpos,,,ww,wh, % "ahk_class TankWindowClass"
center_x := ww/2
center_y := wh/2
loop {
ImageSearch, , , % center_x, 0, % center_x, % center_y, % "*100 " dir
If (!Errorlevel) {
ImageSearch, , , % center_x, % center_y, % center_x, % wh, % "*100 " dir
If (!Errorlevel)
Send {Click down}
Sleep,225
Send {Click up}
Sleep,20
}}
return
#If
sub1:
{
msgbox, Asian dude who wrote this put some random nonsense
}
return
sub2:
{
msgbox, BorderLess Windowed, you know the drill
}
return
sub3:
{
msgbox, Here he says its some edit of another korean cheat
}
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:
MsgBox, Applied
Gui,Submit, Nohide
return
F1::
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Mouse, Screen
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
ZeroX := 640
ZeroY := 360
CFovX := 320
CFovY := 200
ScanL := 500
ScanR := 800
ScanT := 180
ScanB := 400
GuiControlget, rX
GuiControlget, xa
GuiControlget, ya
GuiControlget, xrange
GuiControlget, yrange
GuiControlget, rX
Loop, {
Gui,Submit, Nohide
if (aimtype=1)
{
GetKeyState, Mouse2, LButton, P
GoSub MouseMoves2
}
if (aimtype1=1)
{
GetKeyState, Mouse2, RButton, P
GoSub MouseMoves2
}
if (aimtype3=1)
{
GetKeyState, Mouse2, XButton1, P
GoSub MouseMoves2
}
if (aimtype4=1)
{
GetKeyState, Mouse2, XButton2, P
GoSub MouseMoves2
}
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)), *4 hhp2.bmp
GoSub GetAimOffset
GoSub GetAimMoves
if(ErrorLevel = 1){
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)), *4 hhp3.bmp
GoSub GetAimOffset3
GoSub GetAimMoves
}
Box_Init("0000FF")
X := 0 + (A_Screenwidth * (xrange/10))
Y := 0 + (A_Screenheight * (yrange/10))
W := (A_Screenwidth - (A_Screenwidth * (xrange/10))) - X
H := (A_Screenheight - (A_Screenheight * (yrange / 10))) -Y
Box_Draw(X, Y , W, H)
if(overlayActive=0){
Box_Hide()
}
}
MouseMoves:
If ( Mouse2 == "D" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return
MouseMoves1:
If ( Mouse2 == "U" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return
GetAimOffset:
Gui,Submit, Nohide
AimX := AimPixelX - ZeroX +xA
AimY := AimPixelY - ZeroY +xY
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimOffset3:
Gui,Submit, Nohide
AimX := AimPixelX - ZeroX +30
AimY := AimPixelY - ZeroY +50
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves:
RootX := Ceil(( AimOffsetX ** ( 1 )))
RootY := Ceil(( AimOffsetY ** ( 1 )))
MoveX := RootX * DirX
MoveY := RootY * DirY
Return
SleepF:
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
DebugTool:
MouseGetPos, MX, MY
ToolTip, %AimOffsetX% | %AimOffsetY%
ToolTip, %AimX% | %AimY%
ToolTip, %IntAimX% | %IntAimY%
ToolTip, %RootX% | %RootY%
ToolTip, %MoveX% | %MoveY% || %MX% %MY%
Return
F2::
#Persistent
#KeyHistory, 0
#NoEnv
#HotKeyInterval 1
#MaxHotkeysPerInterval 2000
#InstallKeybdHook
#UseHook
#SingleInstance, Force
SetKeyDelay,-1, 8
SetControlDelay, -1
SetMouseDelay, 0
SetWinDelay,-1
SendMode, InputThenPlay
SetBatchLines,-1
ListLines, Off
CoordMode, Mouse, client
PID := DllCall("GetCurrentProcessId")
Process, Priority, %PID%, Normal
ZeroX := 960
ZeroY := 540
CFovX := 80
CFovY := 200
ScanL := 660
ScanR := 1250
ScanT := 280
ScanB := 610
GuiControlget, rX
GuiControlget, xa
GuiControlget, ya
GuiControlget, xrange
GuiControlget, yrange
Loop, {
Gui,Submit, Nohide
if (aimtype=1)
{
GetKeyState, Mouse2, LButton, P
GoSub MouseMoves2
}
if (aimtype1=1)
{
GetKeyState, Mouse2, RButton, P
GoSub MouseMoves2
}
if (aimtype3=1)
{
GetKeyState, Mouse2, XButton1, P
GoSub MouseMoves2
}
if (aimtype4=1)
{
GetKeyState, Mouse2, XButton2, P
GoSub MouseMoves2
}
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)), *4 hhp2.bmp
GoSub GetAimOffset1
GoSub GetAimMoves1
if(ErrorLevel = 1){
imageSearch, AimPixelX, AimPixelY, 0 + (A_Screenwidth * (xrange/10)), 0 + (A_Screenheight * (yrange/10)), A_Screenwidth - (A_Screenwidth * (xrange/10)), A_Screenheight - (A_Screenheight * (yrange / 10)), *4 hhp.bmp
GoSub GetAimOffset2
GoSub GetAimMoves1
}
Box_Init("0000FF")
X := 0 + (A_Screenwidth * (xrange/10))
Y := 0 + (A_Screenheight * (yrange/10))
W := (A_Screenwidth - (A_Screenwidth * (xrange/10))) - X
H := (A_Screenheight - (A_Screenheight * (yrange / 10))) -Y
Box_Draw(X, Y , W, H)
if(overlayActive=0){
Box_Hide()
}
}
MouseMoves2:
If ( Mouse2 == "D" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
Return
MouseMoves11:
If ( Mouse2 == "U" ) {
DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0)
}
GetAimOffset1:
Gui,Submit, Nohide
AimX := AimPixelX - ZeroX +xa
AimY := AimPixelY - ZeroY +xy
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimOffset2:
Gui,Submit, Nohide
AimX := AimPixelX - ZeroX +40
AimY := AimPixelY - ZeroY +70
If ( AimX+5 > 0) {
DirX := rx / 10
}
If ( AimX+5 < 0) {
DirX := (-rx) / 10
}
If ( AimY+2 > 0 ) {
DirY := rX /10 *0.5
}
If ( AimY+2 < 0 ) {
DirY := (-rx) /10 *0.5
}
AimOffsetX := AimX * DirX
AimOffsetY := AimY * DirY
Return
GetAimMoves1:
RootX := Ceil(( AimOffsetX ** ( 1 )))
RootY := Ceil(( AimOffsetY ** ( 1 )))
MoveX := RootX * DirX
MoveY := RootY * 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, %AimOffsetX% | %AimOffsetY%
ToolTip, %AimX% | %AimY%
ToolTip, %IntAimX% | %IntAimY%
ToolTip, %RootX% | %RootY%
ToolTip, %MoveX% | %MoveY% || %MX% %MY%
Return
ALT::
pause
SoundBEEP
return
F3::
Reload