Advertisement
FlyFar

Simple Krunker.io AHK Color Aimbot Never Patched!

Oct 27th, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. init:
  2. #NoEnv
  3. #SingleInstance, Force
  4. #Persistent
  5. #InstallKeybdHook
  6. #UseHook
  7. #KeyHistory, 0
  8. #HotKeyInterval 1
  9. #MaxHotkeysPerInterval 127
  10. version = 1.1
  11. traytip, Compiled-Aimbot-.[censored].net%version%, Running in background!, 5, 1
  12. Menu, tray, NoStandard
  13. Menu, tray, Tip, Sharpshooter %version%
  14. Menu, tray, Add, Sharpshooter %version%, return
  15. Menu, tray, Add
  16. Menu, tray, Add, Help, info
  17. Menu, tray, Add, Exit, exit
  18. SetKeyDelay,-1, 1
  19. SetControlDelay, -1
  20. SetMouseDelay, -1
  21. SetWinDelay,-1
  22. SendMode, InputThenPlay
  23. SetBatchLines,-1
  24. ListLines, Off
  25. CoordMode, Pixel, Screen, RGB
  26. CoordMode, Mouse, Screen
  27. PID := DllCall("GetCurrentProcessId")
  28. Process, Priority, %PID%, High
  29.  
  30. EMCol := 0xEB5A5B
  31. ColVn := 25
  32. AntiShakeX := (A_ScreenHeight // 160)
  33. AntiShakeY := (A_ScreenHeight // 128)
  34. ZeroX := (A_ScreenWidth // 2)
  35. ZeroY := (A_ScreenHeight // 2)
  36. CFovX := (A_ScreenWidth // 8)
  37. CFovY := (A_ScreenHeight // 64)
  38. ScanL := ZeroX - CFovX
  39. ScanT := ZeroY
  40. ScanR := ZeroX + CFovX
  41. ScanB := ZeroY + CFovY
  42. NearAimScanL := ZeroX - AntiShakeX
  43. NearAimScanT := ZeroY - AntiShakeY
  44. NearAimScanR := ZeroX + AntiShakeX
  45. NearAimScanB := ZeroY + AntiShakeY
  46.  
  47. Loop, {
  48. KeyWait, RButton, D
  49. PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR, NearAimScanB, EMCol, ColVn, Fast RGB
  50. if (!ErrorLevel=0) {
  51. loop, 10 {
  52. PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol, ColVn, Fast RGB
  53. AimX := AimPixelX - ZeroX
  54. AimY := AimPixelY - ZeroY
  55. DirX := -1
  56. DirY := -1
  57. If ( AimX > 0 ) {
  58. DirX := 1
  59. }
  60. If ( AimY > 0 ) {
  61. DirY := 1
  62. }
  63. AimOffsetX := AimX * DirX
  64. AimOffsetY := AimY * DirY
  65. MoveX := Floor(( AimOffsetX ** ( 1 / 2 ))) * DirX
  66. MoveY := Floor(( AimOffsetY ** ( 1 / 2 ))) * DirY
  67. DllCall("mouse_event", uint, 1, int, MoveX * 7.5, int, MoveY, uint, 0, int, 0)
  68. }
  69. }
  70. }
  71.  
  72. Pause:: pause
  73. return:
  74. goto, init
  75.  
  76. info:
  77. msgbox, 0, %version%
  78. return
  79.  
  80. exit:
  81. exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement