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