Advertisement
FlyFar

krunker_aimbot - public.ahk

Mar 2nd, 2023
1,564
0
Never
2
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn  ; Enable warnings to assist with detecting common errors.
  3. SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
  5. #SingleInstance FORCE
  6. ;OPTIMIZATIONS START
  7. #MaxHotkeysPerInterval 920000000
  8. #HotkeyInterval 920000000
  9. #KeyHistory 0
  10. ListLines Off
  11. Process, Priority, , A
  12. SetBatchLines, -1
  13. SetKeyDelay, -1, -1
  14. SetMouseDelay, -1
  15. SetDefaultMouseSpeed, 0
  16. SetWinDelay, -1
  17. SetControlDelay, -1
  18. ;OPTIMIZATIONS END
  19.  
  20. CoordMode, Mouse, Screen
  21. CoordMode, Pixel, Screen
  22. MidX := A_ScreenWidth / 2
  23. MidY := A_ScreenHeight / 2
  24. Triggerbot = 0
  25. Sense = 2
  26. MX := A_ScreenWidth / 16
  27. MY := A_ScreenHeight / 9
  28. FirstPairX := (MidX - MX)
  29. FirstPairY := (MidY - MX)
  30. SecondPairX := (MidX + MY)
  31. SecondPairY := (MidY + MY)
  32. aimcolor = 0x5D56EB
  33.  
  34. ; Create the OSD for the hack:
  35. MyColor = EEAA99  
  36. Gui OSD:+LastFound +AlwaysOnTop -Caption +ToolWindow  
  37. Gui, OSD:Color, %MyColor%
  38. Gui, OSD:Font, s24  
  39. Gui, OSD:Add, Text, vMyText cLime, Krunker Aimbot Activated
  40. Gui, OSD:Add, Text, vMyTexty cRed, https://shoppy.gg/@CheetosFTW/groups/4GxiKea for better version
  41. WinSet, TransColor, %MyColor% 155
  42.  
  43. Gui, OSD:Show, x0 y0 NoActivate
  44.  
  45. Msgbox, CREATED BY HACKERHANSEN
  46. Msgbox, Works best on 1080p
  47. Msgbox, If you need help be sure to read the readme on the github page.
  48. Msgbox,
  49. (
  50. INSTRUCTIONS:
  51. Aim near a person, then hold right mouse button to aim in.
  52. Aimbot will activate if you are aiming close to the target.
  53. )
  54. Msgbox, To disable the hack, press the `` button (next to the 1 key)
  55.  
  56. TrayTip, Krunker Aimbot, Aimbot has started!, 5, 33
  57.  
  58.  
  59.  
  60. ~RButton::
  61. {
  62.     While GetKeyState("RButton"){
  63. PixelSearch, TargetX, TargetY, FirstPairX, FirstPairY, SecondPairX, SecondPairY, %aimcolor%, 7, Fast
  64. If ErrorLevel = 0
  65. {
  66. TargetX := TargetX + 42
  67. TargetY := TargetY + 30
  68. MoveX := ((TargetX - MidX) / sense)
  69. MoveY := ((TargetY - MidY) / sense)
  70. MouseMove, MoveX, MoveY,, R
  71. if (TriggerBot = 1)
  72. Click
  73. }
  74. }
  75. }
  76. return
  77.  
  78. `::
  79. TrayTip, Krunker Aimbot, Aimbot deactivated!, 5, 33
  80. exitapp
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement