I don't know the keys to make it work

Ask gaming related questions (AHK v1.1 and older)
loredana56
Posts: 7
Joined: 18 Jan 2022, 20:56

I don't know the keys to make it work

Post by loredana56 » 18 Jan 2022, 21:04

Good evening I'm new a friend of mine but given this scrip to play but I don't know the keys to make it work from the ke

Code: Select all

init:
#NoEnv
#SingleInstance, Force
#Persistent
#InstallKeybdHook
#UseHook
#KeyHistory, 0
#HotKeyInterval 1
#MaxHotkeysPerInterval 127
version = 1.0
traytip, Secret_Ninkjeboi AimbotAHK script %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 := 0xFE0000
ColVn := 2
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 ANUS RAMMER`nOverwatch 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
[Mod edit: [code][/code] tags added.]

User avatar
boiler
Posts: 16902
Joined: 21 Dec 2014, 02:44

Re: I don't know the keys to make it work

Post by boiler » 18 Jan 2022, 23:20

It looks like it acts upon clicking and holding the right mouse button.

swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: I don't know the keys to make it work

Post by swagfag » 18 Jan 2022, 23:49

some friends u got there, didn't even bother explaining how to use it

loredana56
Posts: 7
Joined: 18 Jan 2022, 20:56

Re: I don't know the keys to make it work

Post by loredana56 » 19 Jan 2022, 18:49

swagfag wrote:
18 Jan 2022, 23:49
some friends u got there, didn't even bother explaining how to use it


in fact I would not know how to use it if someone knows how to make this write work and with what keys thanks

User avatar
boiler
Posts: 16902
Joined: 21 Dec 2014, 02:44

Re: I don't know the keys to make it work

Post by boiler » 19 Jan 2022, 19:03

I already told you that you press the right mouse button. The only other buttons are Pause, which pauses the script, and Enter (Return) which starts the script from the beginning.

The instructions in the script incorrectly say that you press the left mouse button. I’m not sure I would trust anything else “ANUS RAMMER” says, either.

loredana56
Posts: 7
Joined: 18 Jan 2022, 20:56

Re: I don't know the keys to make it work

Post by loredana56 » 19 Jan 2022, 19:40

grazie

Post Reply

Return to “Gaming Help (v1)”