Untitled
unknown
plain_text
a year ago
2.6 kB
2
Indexable
Never
Loop, { PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, aimbot_ColVn, Fast RGB if (!ErrorLevel=0) { loop, 10 { IF (AimbotActive == 1) { KeyWait, LButton, D PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, aimbot_ColVn, Fast RGB AimX := AimPixelX - ZeroX AimY := AimPixelY - ZeroY If ( AimX > 0 ) { DirX := 1 } If ( AimX < 0 ) { DirX := -1 } If ( AimY > 0 ) { DirY := 1 } If ( AimY < 0 ) { DirY := -1 } If (LastRandomMove + (Random, rand, 0, MaxRandTime) + AdditionalTime < A_TickCount) { Devation1 := (Random, rand, -RandomMultiplier, RandomMultiplier) Devation2 := (Random, rand, -RandomX, RandomX) Devation3 := (Random, rand, -RandomY, RandomY) Random, rand, 1 RandomSwitch := Mod(rand, 2) If (RandomSwitch = 0) { ImpreciseX := Devation1 * cos(Devation2) ImpreciseY := Devation1 * sin(Devation3) } Else If (RandomSwitch = 1) { ImpreciseX := Devation1 * sin(Devation2) ImpreciseY := Devation1 * cos(Devation3) } LastRandomMove := A_TickCount } AimX -= ImpreciseX * ((Random, jitter, 0, aimbot_jitter_percent) / 100) AimY -= ImpreciseY * ((Random, jitter, 0, aimbot_jitter_percent) / 100) AimOffsetX := AimX * DirX AimOffsetY := AimY * DirY MoveX := (AimOffsetX * DirX) / 10 * aimbot_Offset_X MoveY := (AimOffsetY * DirY) / 10 * aimbot_Offset_Y ; AHI.SendMouseMove(11, Min(aimbot_max_move_pixels , MoveX) , Min(aimbot_max_move_pixels, MoveY) ) DllCall("mouse_event", uint, 1, int, MoveX, int, MoveY, uint, 0, int, 0) } } } }