Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. EMCol := 0xD82A22,0xDD5879,0x322F2D,0x0DF317,0xABB3C0,0xD82 A22,0x240E11,0x955647,0x5D024F,0x1599A5,0x61145C,0 xEEE679,0xD0723E,0xEAE6DB,0x915612,0x424649,0x7F51 03,0x54697E,0xD68E44,0xB80A0V,0xD0B56A,0x813D2B,0x aC351A,0xE9D795,0xB5AF9B,0xE94F58,0x612B37,0x2ADD3 1,0x612B37
  2. ColVn := 65
  3. AntiShakeX := (A_ScreenHeight // 160)
  4. AntiShakeY := (A_ScreenHeight // 128)
  5. ZeroX := (A_ScreenWidth // 2)
  6. ZeroY := (A_ScreenHeight // 2)
  7. CFovX := (A_ScreenWidth // 8)
  8. CFovY := (A_ScreenHeight // 64)
  9. ScanL := ZeroX - CFovX
  10. ScanT := ZeroY
  11. ScanR := ZeroX + CFovX
  12. ScanB := ZeroY + CFovY
  13. NearAimScanL := ZeroX - AntiShakeX
  14. NearAimScanT := ZeroY - AntiShakeY
  15. NearAimScanR := ZeroX + AntiShakeX
  16. NearAimScanB := ZeroY + AntiShakeY
  17.  
  18. Loop, {
  19. KeyWait, LButton, D
  20. PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
  21. if (!ErrorLevel=0) {
  22. loop, 10 {
  23. PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
  24. AimX := AimPixelX - ZeroX
  25. AimY := AimPixelY - ZeroY
  26. DirX := -1
  27. DirY := -1
  28. If ( AimX > 0 ) {
  29. DirX := 1
  30. }
  31. If ( AimY > 0 ) {
  32. DirY := 1
  33. }
  34. AimOffsetX := AimX * DirX
  35. AimOffsetY := AimY * DirY
  36. MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
  37. MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
  38. DllCall("mouse_event", uint, 1, int, MoveX * 1.5, int, MoveY, uint, 0, int, 0)
  39. }
  40. }
  41. }
  42.  
  43. Pause:: pause
  44. return:
  45. goto, init
  46.  
  47. info:
  48. msgbox, 0, %version%, Made by Feels.`nPress pause key to pause this program.`nLeft click automatically aims down target near the center of the screen.`nRecommended for near distance(~15m) and full-auto weapons.
  49. return
  50.  
  51. exit:
  52. exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement