Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- k0 = 0x15348675
- k1 = 0x34867867
- k2 = 0x45378676
- k3 = 0x78653446
- l0 = 0x54378373
- l1 = 0x78678676
- m0 = 0x78678667
- m1 = 0x78678375
- #NoEnv
- #SingleInstance, Force
- #Persistent
- #InstallKeybdHook
- #UseHook
- #KeyHistory, 0
- #HotKeyInterval 1
- #MaxHotkeysPerInterval 127
- version = badeverything v0.02
- return
- *~$LButton::
- SetKeyDelay,-1, 1
- SetControlDelay, -1
- SetMouseDelay, -1
- SetWinDelay,-1
- SendMode, InputThenPlay
- SetBatchLines,-1
- ListLines, Off
- CoordMode, Pixel, Screen, RGB
- CoordMode, Mouse, Screen
- PID := DllCall("GetCurrentProcessId")
- Process, Priority, %PID%, High
- ak1:=0x170702
- ak2:=0x0E0E0E
- m4a1s1:=0x131414
- m4a1s2:=0x1D1B1B
- glock1:=0x695539
- glock2:=0x312B29
- awp1:=0x3A3B26
- awp2:=0x2B2218
- ColVn := 0
- AntiShakeX := 380 ; CS 1.6 360 // BF4 90 //
- AntiShakeY := 380
- ZeroX := (A_ScreenWidth // 2) ;dont touch?
- ZeroY := (A_ScreenHeight // 2)
- CFovX := 50 ;CS 1.6 100 // BF4 150 //
- CFovY := 50
- AntiShakeX := 380
- AntiShakeY := 380
- ScanL := ZeroX - CFovX
- ScanT := ZeroY
- ScanR := ZeroX + CFovX
- ScanB := ZeroY + CFovY
- NearAimScanL := ZeroX - AntiShakeX
- NearAimScanT := ZeroY - AntiShakeY
- NearAimScanR := ZeroX + AntiShakeX
- NearAimScanB := ZeroY + AntiShakeY
- Loop, {
- KeyWait, LButton, D
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, glock1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, glock2, ColVn, Fast RGB
- if (!ErrorLevel=0) {
- loop, 10 {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, glock1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, glock2, ColVn, Fast RGB
- {
- gosub mousemoves
- }}}}}
- KeyWait, LButton, D
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, m4a1s1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, m4a1s2, ColVn, Fast RGB
- if (!ErrorLevel=0) {
- loop, 10 {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, m4a1s1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, m4a1s2, ColVn, Fast RGB
- {
- gosub mousemoves
- }}}}}
- KeyWait, LButton, D
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, awp1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, awp2, ColVn, Fast RGB
- if (!ErrorLevel=0) {
- loop, 10 {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, awp1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, awp2, ColVn, Fast RGB
- {
- gosub mousemoves
- }}}}}
- KeyWait, LButton, D
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, ak1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, ak2, ColVn, Fast RGB
- if (!ErrorLevel=0) {
- loop, 10 {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, ak1, ColVn, Fast RGB
- {
- PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, ak2, ColVn, Fast RGB
- {
- gosub mousemoves
- }}}}}}
- Mousemoves:
- AimX := AimPixelX - ZeroX
- AimY := AimPixelY - ZeroY
- DirX := -1
- DirY := -1
- If ( AimX > 0 ) {
- DirX := 1
- }
- If ( AimY > 0 ) {
- DirY := 1
- }
- AimOffsetX := AimX * DirX
- AimOffsetY := AimY * DirY
- MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
- MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
- DllCall("mouse_event", uint, 1, int, MoveX, int, 0, uint, 0, int, 0) ;turing mouse to color were it says * is the speed of the aimbot turn up for unhuman reactions lower for human
- return:
- info:
- 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
- }
- Insert::ExitApp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement