0% found this document useful (0 votes)
18 views4 pages

Init

The document is a script for an AutoHotkey application named 'Sharpshooter' version 1.0, designed to run in the background with a system tray interface. It includes various configurations for keyboard, mouse, and control delays, as well as a list of color codes. The script also sets the process priority to high and provides options for help and exit in the tray menu.

Uploaded by

jinggamala78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views4 pages

Init

The document is a script for an AutoHotkey application named 'Sharpshooter' version 1.0, designed to run in the background with a system tray interface. It includes various configurations for keyboard, mouse, and control delays, as well as a list of color codes. The script also sets the process priority to high and provides options for help and exit in the tray menu.

Uploaded by

jinggamala78
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

init:

#NoEnv
#SingleInstance, Force
#Persistent
#InstallKeybdHook
#UseHook
#KeyHistory, 0
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
version = 1.0
traytip, Sharpshooter %version%, Running in background!, 5, 1
Menu, tray, NoStandard
Menu, tray, Tip, Sharpshooter %version%
Menu, tray, Add, Sharpshooter %version%, return
Menu, tray, Add
Menu, tray, Add, Help, info
Menu, tray, Add, Exit, exit
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

EMCol =
0xD82A220,0x181818,0x301818,0x483018,0x303018,0x303030,0xF0F0F0,0x483030,0x606030,0
xD8D8D8,0x906030,0x183018,0x000018,0x484830,0xA8A8A8,0x603018,0x604818,0x181830,0x7
84818,0x784830,0x787878,0x909090,0x484848,0xC0C0C0,0xA87830,0x606060,0x786030,0x604
830,0x001818,0x603030,0x606048,0x906048,0x301830,0x481818,0x786060,0xF0F0D8,0x78784
8,0x604848,0x907878,0x787860,0x906018,0xA89090,0x909078,0x484818,0x484860,0xC09048,
0x183030,0x907860,0x303048,0xD8C0C0,0x786048,0xD8C0A8,0xC07830,0xA8A890,0x784848,0x
907830,0xA86030,0x907848,0xA87860,0x604860,0x606078,0xD8D8C0,0x604800,0x786018,0xC0
9030,0x483048,0x787830,0x180018,0x486030,0x904818,0xA87878,0x304848,0xF0D8D8,0xA890
78,0x607878,0x787890,0xC0A890,0x304830,0xC0C0A8,0x909048,0xD8D8F0,0x304818,0x486060
,0xC0C0D8,0x907890,0xC09018,0x607860,0x784800,0x483000,0xA87818,0x9090A8,0xC0A878,0
xA89030,0x90A8A8,0xA8A8C0,0xD8A8A8,0xF0D8C0,0xC0A8A8,0xA87848,0x906060,0xF0F0FF,0x4
86078,0x786078,0x904848,0xC09078,0xA8A878,0x181818,0x301818,0x303030,0x481818,0x000
018,0x483018,0x483030,0x303018,0x781800,0x601800,0x603018,0x601818,0x181830,0x90300
0,0xF0F0F0,0xA8A8A8,0x783018,0xD8D8D8,0x303048,0x484848,0x903018,0xC0C0C0,0x606060,
0x301830,0x484830,0x909090,0x001818,0x180018,0x901800,0x786060,0x183030,0x787878,0x
C0A890,0x604848,0xFFF0C0,0x603030,0x304848,0xA83000,0x906048,0xF0D8A8,0xC0A8A8,0xA8
9090,0xFFFFF0,0xFFF0D8,0x481800,0x783000,0xD8A890,0x484860,0xA84818,0xF0D8C0,0x9078
60,0x000000,0x604830,0xA86030,0xFFF0A8,0x483048,0x9090A8,0xC04800,0xF0F0C0,0xA84830
,0x784830,0x784848,0xD8C0C0,0x906060,0xA84800,0xF0C078,0xC06018,0x606078,0xF0D8D8,0
xFFF0F0,0xD8A878,0xC07848,0xD8D8C0,0xD8C090,0x606048,0x301800,0xA87848,0x304860,0x7
87860,0xA83018,0xA87860,0xC04818,0xA86018,0x904818,0xD8A860,0x904830,0x907878,0xFFF
090,0x781818,0xD89060,0xC07830,0xA8A890,0xA89078,0xF0D890,0xA86048,0x786048,0xA8A8C
0,0x909078,0xF0C048,0xF0A860,0x784818,0xD8C0A8,0xC07818,0xA87878,0xF0C090,0xF0F0D8,
0x90A8A8,0xF0C0A8,0xC03000,0xC07860,0xC09078,0x481830,0xD86030,0xF09000,0x904848,0x
D87848,0xFFD878,0x604860,0x786078,0xD8A848,0xFFD890,0x906030,0xF09030,0xF0C060,0x78
90A8,0x789090,0x90A8C0,0xF0A830,0xD8C078,0x603000,0xC06000,0xFFD860,0xC09048,0xD8A8
A8,0xD86018,0xFFC048,0xD87830,0xC06030,0x181818,0x303030,0x181830,0x484848,0x001818
,0x183030,0x303048,0x000018,0xF0F0F0,0x606060,0x484830,0xD8D8D8,0x301818,0x483030,0
xC0C0C0,0xA8A8A8,0x303018,0x909090,0x484860,0x301830,0x787878,0x787890,0x604848,0x6
06048,0x304848,0xA89078,0xC0A890,0xA8A890,0x606078,0x486060,0x483018,0x9090A8,0x786
060,0xC0C0A8,0x789090,0x604830,0x786048,0x907860,0x90A8A8,0xC0C0D8,0x787860,0x78483
0,0x604860,0x907878,0x304860,0x604818,0xA87860,0xD8D8C0,0xA89090,0x481818,0x603018,
0xD8C0A8,0x909078,0x607890,0xC0A8A8,0x601818,0xF0F0D8,0x607878,0x304830,0x604800,0x
D8C0C0,0x601830,0x481830,0xC09078,0xA8A8C0,0x483048,0x906060,0x906048,0x7890A8,0x78
4818,0x183018,0xA89060,0xA8C0C0,0xC0C090,0xA8A878,0xD8C060,0xC04830,0x784848,0xA818
00,0xC06030,0xF0C078,0xF04800,0x903018,0x603030,0xC0A878,0xF0FFF0,0x781830,0x786018
,0x484818,0x483000,0x783018,0x786030,0xD8A878,0x783030,0xC09048,0x487848,0xD8F0C0,0
xC0D8D8,0xD8F0F0,0x606030,0xC09060,0xF0D8D8,0xD89060,0x607848,0x78A848,0x486078,0xA
86048,0x601848,0xD87890,0x783060,0xA84878,0x481830,0xC06078,0xD86090,0xC04878,0xC07
890,0xF0F0F0,0xF090A8,0xD890A8,0xF078A8,0x481848,0x903060,0x904878,0xF090C0,0x78304
8,0xC06090,0xD86078,0x603048,0xF07890,0xA84860,0xD878A8,0xA86078,0xF0A8C0,0xF0C0D8,
0xA86090,0xF0D8D8,0x903048,0xC0C0C0,0xD8A8C0,0xD8C0C0,0xC04860,0x903078,0x183048,0x
FFF0F0,0x784878,0x904860,0x483030,0xA83048,0xA87890,0xA83060,0x784860,0x781848,0xF0
D8F0,0x304848,0x483048,0x907890,0x906078,0x304860,0x303048,0xC0A8C0,0x7890A8,0xD890
C0,0x301830,0xD8D8D8,0x787890,0xC078A8,0xF0A8D8,0xA8A8A8,0xC090A8,0x6090C0,0xD84878
,0xC0A8A8,0xC06060,0x603030,0x486078,0x603018,0x786078,0x906060,0x9090A8,0xA89090,0
xD8A8A8,0xD860A8,0xF0C0C0,0x901848,0x483018,0xD87878,0x906030,0x603060,0xD8C0D8,0xA
890A8,0x783078,0xA8C0C0,0x606078,0xD8D8F0,0x907878,0x604860,0x601830,0x906048,0x604
848,0x607890,0x304878,0xD89090,0x303018,0x486090,0xD86060,0x784818,0x484860,0x60481
8,0xC0D8D8,0x183018,0x6090A8,0xF06090,0x484830,0x784830,0xC0A890,0x787878,0x606060,
0xF078C0,0x786048,0x909090,0x6078A8,0xA8A8C0,0x906090,0xC04890,0x90A8A8,0xA86060,0x
487890,0xFFA8C0,0x304818,0x786030,0x904848,0x606048,0xA89078,0x781860,0x904830,0x60
4830,0x90A8C0,0xC09090,0xF09060,0xD8C090,0x303060,0x484848,0xFFD8F0,0x787860,0x7890
90,0x904890,0x789060,0xD8D8C0,0x78A8C0,0x906018,0xD8C0A8,0x783030,0xD87848,0xA878A8
,0xF0F0D8,0x909078,0xFFF0FF,0x784848,0x183030,0x484878,0xA87878,0xC03060,0x183060,0
xA8C0D8,0xC060A8,0x607860,0x486048,0x609090,0x303030,0xFFA8A8,0x306060,0x301818,0xC
09078,0xD8A890,0x784890,0x786060,0xC06030,0xA84890,0xA8A890,0x606090,0xC07848,0x786
090,0xD8A878,0xA86030,0xD89078,0x306078,0x607848,0xC07878,0x486060,0xC07860,0xA8A87
8,0xD8F0D8,0x607830,0x484818,0xF07860,0x90C0D8,0xD84860,0x487860,0x604878,0x789078,
0x9090C0,0xF09078,0xF090D8,0x306090,0x609078,0xD8F0F0,0x184860,0x90C0C0,0x909060,0x
C090C0,0x487878,0x90A8D8,0x783018,0x9078A8,0xC0C078,0xC0A878,0xF0C090,0xFFC0D8,0xA8
4830,0xF0A890,0xF09090,0xC0C090,0xA87860,0xA87830,0xD8A848,0xD8A8D8,0x7878A8,0x7890
C0,0xD89060,0x607878,0xD878C0,0xC07830,0x487830,0x306030,0x606030,0x486030,0x304830
,0xFFD8D8,0xFFC0C0,0xD83078,0xF06078,0xF0A8A8,0xA86048,0xD89048,0x907860,0x786018,0
xF07878,0x483060,0xA83078,0x181818,0x303030,0x484830,0x483030,0x303018,0x000018,0x4
84848,0xF0F0F0,0x301818,0x606048,0x909090,0xD8D8D8,0x604848,0xF0C090,0x606060,0x787
878,0xA8A8A8,0x481818,0x787860,0xC0C0C0,0x181830,0x784830,0xF0A860,0xD87848,0x00181
8,0x604830,0x786060,0x606078,0x909078,0xF0C078,0xD89060,0x603030,0xD89048,0x786048,
0xF0A878,0x904830,0x907860,0xF0C0A8,0x303048,0x906048,0xA89078,0x907878,0x483048,0x
F0D8C0,0xC07848,0x000000,0x484860,0xA86048,0x783030,0xF0D8A8,0x183030,0xF0F0D8,0x90
1818,0xFFF0F0,0x301830,0xF0D8D8,0x787890,0xC09060,0xD8C0C0,0x903030,0x483078,0xF090
60,0xA89090,0x483018,0x906030,0xC0C0A8,0xD8D8C0,0x781818,0xD8C0A8,0x603018,0x601818
,0xC0A8C0,0x904848,0xC06030,0xA89060,0xC0A8A8,0x784848,0xA81818,0x304848,0xA80018,0
x483060,0x901830,0xFFFFF0,0x480018,0x180018,0xA87848,0xC06048,0x604860,0xD8A860,0x9
0A8A8,0x907890,0xC0A890,0xC09090,0x604878,0xF0C0C0,0xD8A890,0x906018,0x9090A8,0xA80
000,0xF0D8F0,0x607878,0x486060,0x301848,0xC01818,0xA8A8C0,0xC07818,0xA84830,0xA8A87
8,0xA86030,0x786090,0x786078,0xC0A878,0x783018,0xA890A8,0xC07830,0x904818,0x784890,
0x907848,0xC0C0D8,0xA8A8D8,0x7860A8,0x9090C0,0x789090,0xC09078,0xF09048,0xF0A890,0x
606090,0x303030,0x181830,0x303018,0x183030,0x484848,0x484830,0x000018,0x301818,0x48
3030,0x001818,0x303048,0x606060,0xF0F0F0,0x787878,0xC0C0C0,0x787860,0x600018,0x6060
48,0x301830,0xA8A8A8,0x604848,0x484860,0x481818,0xD8D8D8,0x480018,0x606078,0x604830
,0x909090,0x786060,0x780000,0x907860,0x304848,0x786048,0x300018,0x787890,0x909078,0
x900000,0xD87860,0x607878,0xC0A8A8,0x483018,0x486060,0x786030,0x900018,0xA81818,0x6
01818,0x600000,0xD8A8A8,0x603030,0xD87878,0x9090A8,0x304830,0x789090,0xFFFFF0,0x781
818,0x907878,0xA8A8C0,0x780018,0xA83030,0xD89090,0x606030,0x483048,0xC0C0A8,0xC0C07
8,0x180018,0xA86078,0xA8A890,0xA89090,0x787848,0xA84848,0xC06048,0xA83018,0x90A8A8,
0x903030,0xC04830,0x901818,0xD87848,0x907848,0xD86048,0x904848,0xA89078,0xC09090,0x
604860,0xC0A878,0xC06060,0xF0F0D8,0xA8C0C0,0x481830,0x183018,0xD87890,0x786078,0xA8
0018,0x904830,0xD890A8,0x906060,0xA86060,0x781830,0x783030,0x784830,0xC06030,0xD890
60,0x904860,0xA84830,0x903018,0x901830,0xC07878,0xD8A8C0,0xD8C0C0,0x486048,0xFFF0F0
,0x909060,0xA89048,0xD86060,0xC07890,0xA86048,0x784860,0xC03030,0xA89060,0xA87878,0
xD8D8F0,0x783048,0x90A890,0x903048,0xD8C090,0x603018,0xD8C078,0x603048,0x601830,0x4
86078,0xD8D890,0xA8A860,0xC0C0D8,0x484818,0xA87890,0x906078,0xA84860,0xF0A878,0xF0C
090,0xA86030,0xC090A8,0xD89078,0xC0A860,0xD8D8A8,0xC0C090,0xC0A890,0xC09060,0xF0D8D
8,0x783018
ColVn := 64
AntiShakeX := (A_ScreenHeight // 160)
AntiShakeY := (A_ScreenHeight // 128)
ZeroX := (A_ScreenWidth // 2)
ZeroY := (A_ScreenHeight // 2)
CFovX := (A_ScreenWidth // 8)
CFovY := (A_ScreenHeight // 64)
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, RButton, D
PixelSearch, AimPixelX, AimPixelY, NearAimScanL, NearAimScanT, NearAimScanR,
NearAimScanB, EMCol, ColVn, Fast RGB
if (!ErrorLevel=0) {
loop, 10 {
PixelSearch, AimPixelX, AimPixelY, ScanL, ScanT, ScanR, ScanB, EMCol,
ColVn, Fast RGB
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 * 1.5, int, MoveY, uint, 0,
int, 0)
}
}
}

Pause:: pause
return:
goto, init

info:
msgbox, 0, Sharpsooter %version%, Made by KillaHackz `nFortnite must be running in
borderless windowed mode.`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.
return

exit:
exitapp

You might also like