0600 (07-05-2020),akresic (08-07-2020),boss334 (06-27-2020),dshdiabo (07-22-2020),exviet (07-10-2020),IAMxPARADOX (10-22-2020),mktranker1 (07-02-2020),Nub_1 (07-14-2020),xtraderss (07-22-2020)
download and install autohotkey too many online tutorials
how to protect scrip
1) download ahkhider and paste it into a folder with the scrip
2create run.ahk and write:
Run norecoil.ahk
Run ahkhider.ahk (Googling it is easy to get)
3)Compile run.ahk
4)verify that origin is not running and then run run.exe
you can change the blinds of the keys of the weapons for the one you consider best; for example = bind_r31=f2 for f4
havoc updating pattern
Code:#NoEnv SetWorkingDir %A_ScriptDir% #SingleInstance force #MaxThreadsBuffer on SetTitleMatchMode, 2 ;#IfWinActive r5apex.exe SetBatchLines -1 ;removes default 10ms delay between lines #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 ;if not A_IsAdmin { ; Run *RunAs "%A_ScriptFullPath%" ; ExitApp ;} ;-----editplz----- sens:=3 ; x2 from your sens in game bind_bhop= ;This button should be binded sub-crouch[hold] key in Game setting subjumpkey=9 ;This button should be binded sub-Jump key in Game setting subshootkey=0 ;This button should be binded sub-Attack key in Game setting bind_1=1 bind_2=2 bind_run=3 ;Run key bind_reset=5 ;Reset button bind_granade=g ;Granade key bind_box=f ;open box key bind_r31=f2 bind_r9=f1 bind_alt=f3 bind_re=f4 bind_spit=f9 bind_pros=f6 bind_pro=f8 bind_lstar=f10 bind_hav=f5 bind_flat=f7 bind_devo=f11 bind_tdevo=f12 ;----hotkey registor----- Hotkey, ~$*%bind_1%, key_1 Hotkey, ~$*%bind_2%, key_2 Hotkey, ~$*%bind_run%, key_3 Hotkey, ~$*%bind_r31%, r301 Hotkey, ~$*%bind_r9%, r99 Hotkey, ~$*%bind_alt%, alternator Hotkey, ~$*%bind_re%, re45 Hotkey, ~$*%bind_spit%, spitfire Hotkey, ~$*%bind_pros%, prowlerselect Hotkey, ~$*%bind_pro%, prowler Hotkey, ~$*%bind_lstar%, lstar Hotkey, ~$*%bind_hav%, havoc Hotkey, ~$*%bind_flat%, flatline Hotkey, ~$*%bind_devo%, devotion Hotkey, ~$*%bind_tdevo%, taabodevotion Hotkey, ~$*%bind_reset%, key_reset Hotkey, ~$*%bind_granade%, key_granade Hotkey, ~$*%bind_bhop%, key_bhop ; ~~~~~~~~~~~~~~~~~Pattern~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ no_pattern := {} r301_pattern := {1: "-3.5,10.4,80", 2: "4.4,10.6,80", 3: "-6.4,9.5,80" ,4: "-1.2,10.0,80", 5: "-5.3,7.6,80", 6: "-0.4,4.1,80" ,7: "-1.8,3.3,80", 8: "-4.1,1.9,80", 9: "-2.4,3.3,80" ,10: "-3.2,1.0,80", 11: "0.0,3.3,80", 12: "2.0,2.2,80" ,13: "5.0,2.8,80", 14: "4.7,2.3,80", 15: "5.0,1.9,80" ,16: "5.2,0.9,80", 17: "3.2,0.9,80", 18: "0.0,2.2,80" ,19: "-1.1,4.2,80", 20: "-3.1,2.8,80", 21: "-3.6,1.3,80" ,22: "-3.6,0.0,80", 23: "-2.6,1.4,80", 24: "-2.4,1.4,80" ,25: "-3.0,0.0,80", 26: "0.0,0.0,80", 27: "0.0,0.0,80" ,28: "0.0,0.0,80", 29: "0.0,0.0,80", 30: "0.0,0.0,80"} r99_pattern := {1: "-1.6,7,53", 2: "0.1,7,53", 3: "2.3,5.9,53" ,4: "-1.8,10.2,53", 5: "-3.3,14.9,53", 6: "-6.3,13,53" ,7: "-5.5,9.7,53", 8: "-2.5,8.8,53", 9: "0.2,9,52" ,10: "2.3,7.8,52", 11: "4.5,7.3,52", 12: "0.9,6.1,52" ,13: "1.6,8.5,52", 14: "-1.1,4,52", 15: "-4.9,1,52" ,16: "-2.3,2.8,52", 17: "-4.5,1.5,52", 18: "4,2.3,52" ,19: "0,2,52", 20: "2.5,1.7,52", 21: "3.5,1.7,52" ,22: "4,2.6,52", 23: "3.5,2,52", 24: "4.6,2,52" ,25: "2,1.5,52", 26: "2,2,52", 27: "-5,3,52" ,28: "-5,0,52", 29: "-5,1,52", 30: "0,0,52"} alternator_pattern := {1: "0.0,14.4,109", 2: "0.0,13.0,109", 3: "0.0,15.8,109" ,4: "0.0,13.9,109", 5: "0.0,15.6,109", 6: "0.0,15.6,109" ,7: "-2.0,12.7,109", 8: "-2.0,7.3,109", 9: "-3.0,13.2,109" ,10: "-3.0,6.6,109", 11: "-3.0,9.8,109", 12: "-2.0,1.2,109" ,13: "-2.0,6.8,109", 14: "-2.0,4.6,109", 15: "-1.0,10.0,109" ,16: "0.0,9.3,109", 17: "5.0,3.2,109", 18: "5.0,9.8,109" ,19: "5.0,0.7,109", 20: "5.0,8.3,109", 21: "5.0,-0.2,109" ,22: "5.0,7.1,109", 23: "5.0,1.7,109", 24: "5.0,7.6,109" ,25: "5.0,-0.7,109", 26: "5.0,6.8,109", 27: "5.0,0.0,109"} re45_pattern := {1: "-0.7,12.6,112", 2: "-1.4,10.9,112", 3: "-6.1,11.2,112" ,4: "-3.0,11.6,112", 5: "-4.1,9.9,112", 6: "-5.7,8.0,112" ,7: "-5.9,7.1,112", 8: "-7.7,6.9,112", 9: "-7.2,6.2,112" ,10: "-6.7,5.0,112", 11: "-4.7,5.1,112", 12: "1.0,6.4,112" ,13: "-5.7,5.7,112", 14: "-3.4,5.1,112", 15: "-2.4,6.4,112" ,16: "2.4,5.7,112", 17: "-3.1,4.7,142", 18: "-5.1,1.3,142" ,19: "-4.7,3.4,147", 20: "-3.7,4.1,147", 21: "-5.1,2.4,147" ,22: "-5.1,4.1,147", 23: "-5.0,0.0,147"} spitfire_pattern := {1: "3.0,15.2,110", 2: "1.5,4.8,110", 3: "9.6,9.6,110", 4: "6.3,7.0,110" ,5: "3.3,9.2,110", 6: "-0.3,9.2,110", 7: "-4.5,2.6,110", 8: "-9.6,-2.0,110" ,9: "-2.7,-1.6,110", 10: "-3.9,3.2,110", 11: "-2.7,6.6,110", 12: "4.5,2.0,110" ,13: "9.9,4.4,110", 14: "5.1,1.4,110", 15: "9.6,-1.6,110", 16: "4.2,1.4,110" ,17: "1.8,7.8,110", 18: "3.3,7.6,110", 19: "6.9,4.4,110", 20: "9.0,1.8,110" ,21: "3.9,0.6,113", 22: "-1.2,5,113", 23: "-6.9,2.5,113", 24: "-4.5,2,113" ,25: "-7.8,2.2,113", 26: "-8.1,1,113", 27: "-7.8,-1,113", 28: "-3.3,3.6,113" ,29: "-4.5,4.2,113", 30: "-0.3,4.2,113", 31: "-9.6,-2.0,113", 32: "-2.7,-1.6,113" ,33: "-3.9,2.2,113", 34: "-2.6,3,113", 35: "4.5,1.5,113", 36: "9.9,3.4,113" ,37: "5.1,1.4,113", 38: "9.6,-1.6,113", 39: "4.2,1.4,113", 40: "1.8,7.8,113" ,41: "3.3,7.6,113", 42: "6.9,4.4,113", 43: "9.0,1.8,113", 44: "3.9,0.6,113" ,45: "-1.2,5.6,113", 46: "-6.9,3.2,113", 47: "-4.5,2.6,113", 48: "-7.8,3.2,113" ,49: "-8.1,2.0,113", 50: "-7.8,-2.0,113", 51: "-3.3,4.6,113", 52: "-4.5,6.2,113" ,53: "-0.3,6.2,113", 54: "-9.6,-2.0,113", 55: "-2.7,-1.6,113", 56: "-3.9,3.2,113" ,57: "-2.7,6.6,113", 58: "4.5,2.0,113", 59: "9.9,4.4,113", 60: "5.1,1.4,113" ,61: "9.6,-1.6,113"} prowlerselect_pattern := {1: "2,15.2,120", 2: "2,11.7,120", 3: "2,12.9,120" ,4: "2,12.4,120", 5: "3,9.4,120", 6: "3,10.6,120" ,7: "3,9.0,120", 8: "3,8.5,120", 9: "-2,3.9,120" ,10: "-3,6.0,120", 11: "-3,6.0,120", 12: "-3,6.4,120" ,13: "-3,6.9,120", 14: "-3,3.9,120", 15: "3,7.8,120" ,16: "3,4.8,120", 17: "3,3.7,120", 18: "0,3.9,120" ,19: "0,6.0,120", 20: "0.0,5.3,120", 21: "0.0,0.0,120"} prowler_pattern := {1: "0.7,17.3,36", 2: "0.3,15.0,36", 3: "0.3,14.3,36"} lstar_pattern := {1: "2,5,37", 2: "1,5,37", 3: "2,5,37" ,4: "2,5,37", 5: "2,5,37", 6: "2,5,37" ,7: "2,5,37", 8: "2,5,37", 9: "2,5,37" ,10: "1,5,32", 11: "-1,5,32", 12: "-1,5,37" ,13: "-2,5,32", 14: "-3,5,32", 15: "-3,5,32" ,16: "0,5,42", 17: "-1,5,42", 18: "0,5,42" ,19: "1,5,42", 20: "2,5,42", 21: "2,5,42" ,22: "1,5,42", 23: "1,5,55", 24: "0,5,55" ,25: "1,5,55", 26: "0,5,55", 27: "0,5,55" ,28: "0,5,55", 29: "0,5,55", 30: "0,5,55" ,31: "0,5,55", 32: "0,5,55", 33: "0,5,55" ,34: "0,5,55", 35: "0,5,55", 36: "0,5,55" ,37: "0,5,55", 38: "0,5,55", 39: "0,5,55" ,40: "0,5,55", 41: "0,5,55", 42: "0,5,55" ,43: "0,5,55", 44: "0,5,55", 45: "0,5,55"} havoc_pattern := {1: "0.0,0.0,460", 2: "-1.1,10.8,84", 3: "-5,11.9,84" ,4: "-5,10.4,84", 5: "-5,10.8,84", 6: "-2.5,11.0,84" ,7: "-2.0,11.1,84", 8: "-3.7,11.1,84", 9: "-0.9,11.1,84" ,10: "2.8,11.1,84", 11: "5.5,10.3,84", 12: "2.8,11.1,84" ,13: "0.9,10.1,84", 14: "-2.0,10.1,84", 15: "-2.0,10.1,84" ,16: "-3.7,8,83", 17: "-2.8,7,83", 18: "-2.0,5,83" ,19: "-0.9,5.5,83", 20: "0.9,4,84", 21: "2.0,2.8,84" ,22: "2.8,2.8,84", 23: "2.0,2.8,84", 24: "0.9,2.8,84" ,25: "-0.9,2.5,84", 26: "-2.0,2.5,84", 27: "0.0,2,84" ,28: "0.0,2,84", 29: "0.0,2,84", 30: "0.0,2,84" ,31: "0.0,2,84", 32: "0.0,2,84", 33: "0.0,0.0,100"} flatline_pattern := {1: "3.0,15.2,110", 2: "1.5,5.3,110", 3: "9.6,10.1,110", 4: "6.3,7.5,110" ,5: "3.3,9.7,110", 6: "-1.3,9.7,110", 7: "-4.5,2.6,110", 8: "-10.6,-2.0,110" ,9: "-2.7,-1.3,110", 10: "-3.9,3.5,110", 11: "-1.7,6.6,110", 12: "4.5,2.0,110" ,13: "9.9,4.4,110", 14: "5.1,1.9,110", 15: "9.6,-1.6,110", 16: "4.2,2.1,110" ,17: "1.8,8.3,110", 18: "3.3,8.1,110", 19: "6.9,4.9,110", 20: "9.0,2.3,110" ,21: "3.9,0.6,113", 22: "-1.2,5,113", 23: "-7.9,2.5,113", 24: "-5.5,2,113" ,25: "-8.8,2.2,113", 26: "-9.1,1.5,113", 27: "-8.8,1,113"} devotion_pattern := {1: "0.0,0.0,40", 2: "0.8,24.5,180", 3: "0.3,20.0,170" ,4: "0.3,23.5,140", 5: "2.0,23.2,120", 6: "3.1,19.5,100" ,7: "2.8,12.6,85", 8: "2.8,10.6,85", 9: "6.2,4.8,85" ,10: "2.8,6.4,85", 11: "3.1,5.8,68", 12: "4.8,7.1,68" ,13: "5.0,4.4,68", 14: "6.2,2.3,68", 15: "7.6,1.8,68" ,16: "7.0,0.5,68", 17: "4.2,-1.6,68", 18: "6.2,1.6,68" ,19: "-1.4,4.6,68", 20: "0.0,5.3,66", 21: "-3.9,3.9,66" ,22: "-4.5,2.3,66", 23: "-4.5,2.5,66", 24: "-6.7,3.0,66" ,25: "-7.0,3.0,66", 26: "-3.1,3.2,66", 27: "1.7,3.7,66" ,28: "-1.4,4.8,66", 29: "-3.6,4.4,66", 30: "-5.0,3.5,70" ,31: "-6.2,2.1,70", 32: "-5.6,-0.5,70", 33: "-5.6,-0.5,70" ,34: "-4.8,3.7,70", 35: "-4.8,3.7,67", 36: "-0.8,4.1,67" ,37: "-2.8,3.5,67", 38: "2.0,3.5,67", 39: "2.0,3.5,66" ,40: "-1.4,3.7,67", 41: "-1.4,2.8,67", 42: "-3.6,1.6,67" ,43: "-1.4,2.3,67", 44: "0.0,3.0,67", 45: "3.6,1.8,67"} taabodevotion_pattern := {1: "0.0,0.0,40", 2: "0.8,24.5,140", 3: "0.3,20.0,140" ,4: "0.3,23.5,140", 5: "2.0,23.2,100", 6: "3.1,19.5,100" ,7: "2.8,12.6,100", 8: "2.8,10.6,100", 9: "6.2,4.8,100" ,10: "2.8,6.4,88", 11: "3.1,5.8,88", 12: "4.8,7.1,88" ,13: "5.0,4.4,88", 14: "6.2,2.3,88", 15: "7.6,10.8,86" ,16: "7.0,0.5,86", 17: "4.2,-1.6,86", 18: "6.2,1.6,86" ,19: "-1.4,4.6,86", 20: "0.0,5.3,86", 21: "-3.9,3.9,86" ,22: "-4.5,2.3,86", 23: "-4.5,2.5,86", 24: "-6.7,3.0,86" ,25: "-7.0,3.0,86", 26: "-3.1,3.2,86", 27: "1.7,3.7,86" ,28: "-1.4,4.8,86", 29: "-3.6,4.4,86", 30: "-5.0,3.5,88" ,31: "-6.2,2.1,88", 32: "-5.6,-0.5,88", 33: "-5.6,-0.5,88" ,34: "-4.8,3.7,88", 35: "-4.8,3.7,87", 36: "-0.8,4.1,87" ,37: "-2.8,3.5,87", 38: "2.0,3.5,87", 39: "2.0,3.5,86" ,40: "-1.4,3.7,86", 41: "-1.4,2.8,86", 42: "-3.6,1.6,86" ,43: "-1.4,2.3,86", 44: "0.0,3.0,87", 45: "0.0,0.0,120"} ;~~~~~~~~~~~~~~~~~~~~~~~Base state~~~~~~~~~~~~~~~~~~~~~~~~~~ slotA:=1 ;Slot1 activate memory Var slotB:=0 ;Slot2 activate memory Var memA:=non ,memB:=non ;Weapon pattern memory Var memR1:=0 memR2:=0 ;Fire-mode memory Var active_pattern:=no_pattern modifier:= 3.4/sens rate=10 volume=80 SAPI.voice := SAPI.GetVoices().Item(1) SAPI := ComObjCreate("SAPI.SpVoice") SAPI.rate:=rate SAPI.volume:=volume rapidmode:=0 isCursorShown() { StructSize := A_PtrSize + 16 VarSetCapacity(InfoStruct, StructSize) NumPut(StructSize, InfoStruct) DllCall("GetCursorInfo", UInt, &InfoStruct) Result := NumGet(InfoStruct, 8) if Result > 1 Return 1 else Return 0 } Loop { Sleep 50 if isCursorShown() == 1 mice:=1 else mice:=0 } ; ~~~~~~~~~~~~~~~~~Base activation~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ key_1: slotA:=1 slotB:=0 active_pattern:=%memA%_pattern rapidmode:=memR1 SAPI.Speak(memA,1) return key_2: slotA:=0 slotB:=1 active_pattern:=%memB%_pattern rapidmode:=memR2 SAPI.Speak(memB,1) return key_3: key_granade: active_pattern:=no_pattern rapidmode:=() if GetKeyState(bind_run,"P") SAPI.Speak("",1) else if GetKeyState(bind_granade,"P") SAPI.Speak("",1) return key_reset: active_pattern:=no_pattern slotA:=1 slotB:=0 memA:=non memB:=non memR1:=0 memR2:=0 rapidmode:=0 SAPI.Speak("allreset",1) return ; ~~~~~~~~~~~~~~~~~~~~~~~~~~Weapon Profile~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ;Full-Auto Weapon section r301: r99: alternator: re45: spitfire: lstar: havoc: flatline: devotion: taabodevotion: prowlerselect: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=0 if (slotA) memA:=nullA ,memR1:=0 else memB:=nullA ,memR2:=0 SAPI.Speak(nullA,1) } return ;Tap or burst weapon section prowler: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=1 if (slotA) memA:=nullA ,memR1:=1 else memB:=nullA ,memR2:=1 SAPI.Speak(nullA,1) } return ; ~~~~~~~~~~~~~~~~~~~~~~Main~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ key_bhop: sleep 150 while GetKeyState(bind_bhop, "P") { Random, foo, 50, 100 Send % subjumpkey Sleep %foo% send {space} sleep %foo% } return #IF mice=0 ; Disable switch cursor shown (start line) ~$*LButton:: sleep 5 loop { x := strsplit(active_pattern[a_index],",")[1] ;using str insteed of normal array for easly edit pattern y := strsplit(active_pattern[a_index],",")[2] t := strsplit(active_pattern[a_index],",")[3] dllcall("mouse_event","UInt",0x01,"UInt",x*modifier,"UInt",y*modifier) sleep t } until !GetKeyState("LButton","P") || a_index > active_pattern.maxindex() return #IF ; Disable switch cursor shown (end line) ~end:: SAPI.Speak("bye") Exitapp return
Last edited by GasFerr123; 06-26-2020 at 05:09 PM.
0600 (07-05-2020),akresic (08-07-2020),boss334 (06-27-2020),dshdiabo (07-22-2020),exviet (07-10-2020),IAMxPARADOX (10-22-2020),mktranker1 (07-02-2020),Nub_1 (07-14-2020),xtraderss (07-22-2020)
//approved
Premium Member 22/4/16
Steam Minion 22/12/2017
OFPS Minion 5/2/2019
MMO Minion 5/2/2019
Minion+ 5/2/2019
Mod 8/11/2020
Retired 3/10/2022
22 / Dec 7, 2001
GasFerr123 (06-26-2020)
havoc_pattern := {1: "0.0,0.0,460", 2: "-15,20.8,84", 3: "-5,22.9,84"
,4: "0,17.4,84", 5: "3,15.8,84", 6: "4,15.0,84"
,7: "4,14.1,84", 8: "2,14.1,84", 9: "-0.9,14.1,84"
,10: "2.8,14.1,84", 11: "5.5,14.3,84", 12: "2.8,14.4,84"
,13: "0.9,13.1,84", 14: "-2.0,13.1,84", 15: "-2.0,13.1,84"
,16: "-3.7,12,83", 17: "-2.8,12,83", 18: "-2.0,11,83"
,19: "-0.9,9,83", 20: "0.9,9,84", 21: "2.0,9,84"
,22: "2.8,2.8,84", 23: "2.0,2.8,84", 24: "0.9,2.8,84"
,25: "-0.9,2.5,84", 26: "-2.0,2.5,84", 27: "0.0,2,84"
,28: "0.0,2,84", 29: "0.0,2,84", 30: "0.0,2,84"
,31: "0.0,2,84", 32: "0.0,2,84", 33: "0.0,0.0,100"}
thx a lot bro btw is it still undetected?
yes, using since season 1
Hi mate. Thank for share. I using just code and it is running. Is this method correct?
GasFerr123 (07-05-2020)
always run un.exe before the apex so ahkhider will run and hide the autohotkey process
I don't know why I can't edit the thread, but you have to change that pattern to the one in the file.
nasigoreng12345 (07-07-2020)
yo,about line (sens:=3 ; x2 from your sens in game),you can ignore the x2 from your sens
Last edited by nasigoreng12345; 07-07-2020 at 11:56 PM.
sens:=6 ; x2 from your sens in game // so this is just double your game sens. Is it double because you are trying to not get banned or thats how the script works?
bind_bhop= ;This button should be binded sub-crouch[hold] key in Game setting //do i need to bind anything here?
subjumpkey=space ;This button should be binded sub-Jump key in Game setting //Again do i need to bind anything here
subshootkey=LButton ;This button should be binded sub-Attack key in Game setting // is the the attack key like left mouse? or does this need to just be left blank
bind_1=1
bind_2=2
bind_run=0 ;Run key //This just starts the script and then makes it to where when you switch switch weapons it switches recoil? Also does this make it to when you do switch it auto has no recoil?
bind_reset=9 ;Reset button // this resets the guns bound to 1 and 2?
bind_granade=g ;Granade key // do i need to bin this to grenade key?
bind_box=e ;open box key // does this need to be bound?
Here's my version of the script. Added gui + tooltip and removed SAP voice.
Code:#NoEnv SetWorkingDir %A_ScriptDir% #SingleInstance force #MaxThreadsBuffer on SetTitleMatchMode, 2 #IfWinActive r5apex.exe Gui, Font, cWhite Gui, Font, s10 Gui, Add, Text, x30 y10, Ultimate Apex Legends No Recoil Script Gui, Font, s12 Gui, Add, Text, x30 y+15, Hotkeys: Gui, Font, s10 Gui, Add, Text, x30 y+5, "F1" Wingman/Prowler Gui, Add, Text, x30 y+5, "F2" Hemlock Gui, Add, Text, x30 y+5, "F3" Scout Gui, Add, Text, x30 y+5, "F4" R301 Gui, Add, Text, x30 y+5, "F5" R99 Gui, Add, Text, x30 y+5, "F6" Spitfire Gui, Add, Text, x30 y+5, "F7" Flatline Gui, Add, Text, x30 y+5, "F8" R45 Gui, Add, Text, x30 y+5, "F9" Alternator Gui, Add, Text, x30 y+5, "F10" Lstar Gui, Add, Text, x30 y+5, "F11" Havoc Gui, Add, Text, x30 y+5, "F12" Devotion Gui, Add, Text, x30 y+5, "5" Reset Script Gui, Add, Button, x30 y+5 w115 h30 gButtonClose, Close Script Gui, Font, s11 Gui, Font, cDA4F49 Gui, Add, Text, x30 y+5, Make sure to use the AHK Hider! Gui, -AlwaysOnTop Gui, Color, Grey Gui, Show, w350 h450, No Recoil Script SetBatchLines -1 ;removes default 10ms delay between lines #MaxHotkeysPerInterval 99000000 #HotkeyInterval 99000000 #KeyHistory 0 ListLines Off SetKeyDelay, -1, -1 SetMouseDelay, -1 SetDefaultMouseSpeed, 0 SetWinDelay, -1 ;if not A_IsAdmin { ; Run *RunAs "%A_ScriptFullPath%" ; ExitApp ;} ;-----editplz----- sens:=5 ; x2 from your sens in game ; your zoom sensitivity bind_bhop= ;This button should be binded sub-crouch[hold] key in Game setting subjumpkey=9 ;This button should be binded sub-Jump key in Game setting subshootkey=0 ;This button should be binded sub-Attack key in Game setting bind_1=1 bind_2=2 bind_run=3 ;Run key bind_reset=5 ;Reset button bind_granade=g ;Granade key bind_box=f ;open box key bind_pro=f1 bind_hemlock=f2 bind_scout=F3 bind_r301=f4 bind_r99=f5 bind_spit=f6 bind_flat=f7 bind_re45=f8 bind_alt=f9 bind_lstar=f10 bind_hav=f11 bind_devo=f12 ;----hotkey registor----- Hotkey, ~$*%bind_1%, key_1 Hotkey, ~$*%bind_2%, key_2 Hotkey, ~$*%bind_pro%, prowler Hotkey, ~$*%bind_pros%, prowlerselect Hotkey, ~$*%bind_hemlock%, hemlock Hotkey, ~$*%bind_scout%, scout Hotkey, ~$*%bind_r301%, r301 Hotkey, ~$*%bind_r99%, r99 Hotkey, ~$*%bind_spit%, spitfire Hotkey, ~$*%bind_flat%, flatline Hotkey, ~$*%bind_alt%, alternator Hotkey, ~$*%bind_re45%, re45 Hotkey, ~$*%bind_lstar%, lstar Hotkey, ~$*%bind_p20%, P2020 Hotkey, ~$*%bind_hav%, havoc Hotkey, ~$*%bind_devo%, devotion Hotkey, ~$*%bind_reset%, key_reset ; ~~~~~~~~~~~~~~~~~Pattern~~~~~~~~~~~~~~~~~~~~~~~~~~ no_pattern := {} r301_pattern := {1: "-3.5,10.4,80", 2: "4.4,10.6,80", 3: "-6.4,9.5,80" ,4: "-1.2,10.0,80", 5: "-5.3,7.6,80", 6: "-0.4,4.1,80" ,7: "-1.8,3.3,80", 8: "-4.1,1.9,80", 9: "-2.4,3.3,80" ,10: "-3.2,1.0,80", 11: "0.0,3.3,80", 12: "2.0,2.2,80" ,13: "5.0,2.8,80", 14: "4.7,2.3,80", 15: "5.0,1.9,80" ,16: "5.2,0.9,80", 17: "3.2,0.9,80", 18: "0.0,2.2,80" ,19: "-1.1,4.2,80", 20: "-3.1,2.8,80", 21: "-3.6,1.3,80" ,22: "-3.6,0.0,80", 23: "-2.6,1.4,80", 24: "-2.4,1.4,80" ,25: "-3.0,0.0,80", 26: "0.0,0.0,80", 27: "0.0,0.0,80" ,28: "0.0,0.0,80", 29: "0.0,0.0,80", 30: "0.0,0.0,80"} p2020_pattern := {1: "2,0,0,", 2: "4,0,0", 3:"1,2,36", 4:"4,0,0,"} scout_pattern := {1: "2,0,0,", 2: "4,0,0"} hemlock_pattern := {1: "2,0,0,", 2: "4,0,0"} r99_pattern := {1: "-1.6,7,53", 2: "0.1,7,53", 3: "2.3,5.9,53" ,4: "-1.8,10.2,53", 5: "-3.3,14.9,53", 6: "-6.3,13,53" ,7: "-5.5,9.7,53", 8: "-2.5,8.8,53", 9: "0.2,9,52" ,10: "2.3,7.8,52", 11: "4.5,7.3,52", 12: "0.9,6.1,52" ,13: "1.6,8.5,52", 14: "-1.1,4,52", 15: "-4.9,1,52" ,16: "-2.3,2.8,52", 17: "-4.5,1.5,52", 18: "4,2.3,52" ,19: "0,2,52", 20: "2.5,1.7,52", 21: "3.5,1.7,52" ,22: "4,2.6,52", 23: "3.5,2,52", 24: "4.6,2,52" ,25: "2,1.5,52", 26: "2,2,52", 27: "-5,3,52" ,28: "-5,0,52", 29: "-5,1,52", 30: "0,0,52"} alternator_pattern := {1: "0.0,14.4,109", 2: "0.0,13.0,109", 3: "0.0,15.8,109" ,4: "0.0,13.9,109", 5: "0.0,15.6,109", 6: "0.0,15.6,109" ,7: "-2.0,12.7,109", 8: "-2.0,7.3,109", 9: "-3.0,13.2,109" ,10: "-3.0,6.6,109", 11: "-3.0,9.8,109", 12: "-2.0,1.2,109" ,13: "-2.0,6.8,109", 14: "-2.0,4.6,109", 15: "-1.0,10.0,109" ,16: "0.0,9.3,109", 17: "5.0,3.2,109", 18: "5.0,9.8,109" ,19: "5.0,0.7,109", 20: "5.0,8.3,109", 21: "5.0,-0.2,109" ,22: "5.0,7.1,109", 23: "5.0,1.7,109", 24: "5.0,7.6,109" ,25: "5.0,-0.7,109", 26: "5.0,6.8,109", 27: "5.0,0.0,109"} re45_pattern := {1: "-0.7,12.6,112", 2: "-1.4,10.9,112", 3: "-6.1,11.2,112" ,4: "-3.0,11.6,112", 5: "-4.1,9.9,112", 6: "-5.7,8.0,112" ,7: "-5.9,7.1,112", 8: "-7.7,6.9,112", 9: "-7.2,6.2,112" ,10: "-6.7,5.0,112", 11: "-4.7,5.1,112", 12: "1.0,6.4,112" ,13: "-5.7,5.7,112", 14: "-3.4,5.1,112", 15: "-2.4,6.4,112" ,16: "2.4,5.7,112", 17: "-3.1,4.7,142", 18: "-5.1,1.3,142" ,19: "-4.7,3.4,147", 20: "-3.7,4.1,147", 21: "-5.1,2.4,147" ,22: "-5.1,4.1,147", 23: "-5.0,0.0,147"} spitfire_pattern := {1: "3.0,15.2,110", 2: "1.5,4.8,110", 3: "9.6,9.6,110", 4: "6.3,7.0,110" ,5: "3.3,9.2,110", 6: "-0.3,9.2,110", 7: "-4.5,2.6,110", 8: "-9.6,-2.0,110" ,9: "-2.7,-1.6,110", 10: "-3.9,3.2,110", 11: "-2.7,6.6,110", 12: "4.5,2.0,110" ,13: "9.9,4.4,110", 14: "5.1,1.4,110", 15: "9.6,-1.6,110", 16: "4.2,1.4,110" ,17: "1.8,7.8,110", 18: "3.3,7.6,110", 19: "6.9,4.4,110", 20: "9.0,1.8,110" ,21: "3.9,0.6,113", 22: "-1.2,5,113", 23: "-6.9,2.5,113", 24: "-4.5,2,113" ,25: "-7.8,2.2,113", 26: "-8.1,1,113", 27: "-7.8,-1,113", 28: "-3.3,3.6,113" ,29: "-4.5,4.2,113", 30: "-0.3,4.2,113", 31: "-9.6,-2.0,113", 32: "-2.7,-1.6,113" ,33: "-3.9,2.2,113", 34: "-2.6,3,113", 35: "4.5,1.5,113", 36: "9.9,3.4,113" ,37: "5.1,1.4,113", 38: "9.6,-1.6,113", 39: "4.2,1.4,113", 40: "1.8,7.8,113" ,41: "3.3,7.6,113", 42: "6.9,4.4,113", 43: "9.0,1.8,113", 44: "3.9,0.6,113" ,45: "-1.2,5.6,113", 46: "-6.9,3.2,113", 47: "-4.5,2.6,113", 48: "-7.8,3.2,113" ,49: "-8.1,2.0,113", 50: "-7.8,-2.0,113", 51: "-3.3,4.6,113", 52: "-4.5,6.2,113" ,53: "-0.3,6.2,113", 54: "-9.6,-2.0,113", 55: "-2.7,-1.6,113", 56: "-3.9,3.2,113" ,57: "-2.7,6.6,113", 58: "4.5,2.0,113", 59: "9.9,4.4,113", 60: "5.1,1.4,113" ,61: "9.6,-1.6,113"} prowlerselect_pattern := {1: "2,15.2,120", 2: "2,11.7,120", 3: "2,12.9,120" ,4: "2,12.4,120", 5: "3,9.4,120", 6: "3,10.6,120" ,7: "3,9.0,120", 8: "3,8.5,120", 9: "-2,3.9,120" ,10: "-3,6.0,120", 11: "-3,6.0,120", 12: "-3,6.4,120" ,13: "-3,6.9,120", 14: "-3,3.9,120", 15: "3,7.8,120" ,16: "3,4.8,120", 17: "3,3.7,120", 18: "0,3.9,120" ,19: "0,6.0,120", 20: "0.0,5.3,120", 21: "0.0,0.0,120"} prowler_pattern := {1: "0.5,18.3,36", 2: "0.3,15.0,36", 3: "0.3,14.3,36"} lstar_pattern := {1: "2,5,37", 2: "1,5,37", 3: "2,5,37" ,4: "2,5,37", 5: "2,5,37", 6: "2,5,37" ,7: "2,5,37", 8: "2,5,37", 9: "2,5,37" ,10: "1,5,32", 11: "-1,5,32", 12: "-1,5,37" ,13: "-2,5,32", 14: "-3,5,32", 15: "-3,5,32" ,16: "0,5,42", 17: "-1,5,42", 18: "0,5,42" ,19: "1,5,42", 20: "2,5,42", 21: "2,5,42" ,22: "1,5,42", 23: "1,5,55", 24: "0,5,55" ,25: "1,5,55", 26: "0,5,55", 27: "0,5,55" ,28: "0,5,55", 29: "0,5,55", 30: "0,5,55" ,31: "0,5,55", 32: "0,5,55", 33: "0,5,55" ,34: "0,5,55", 35: "0,5,55", 36: "0,5,55" ,37: "0,5,55", 38: "0,5,55", 39: "0,5,55" ,40: "0,5,55", 41: "0,5,55", 42: "0,5,55" ,43: "0,5,55", 44: "0,5,55", 45: "0,5,55"} havoc_pattern := {1: "0.0,0.0,460", 2: "-15,20.8,84", 3: "-5,22.9,84" ,4: "0,17.4,84", 5: "3,15.8,84", 6: "4,15.0,84" ,7: "4,14.1,84", 8: "2,14.1,84", 9: "-0.9,14.1,84" ,10: "2.8,14.1,84", 11: "5.5,14.3,84", 12: "2.8,14.4,84" ,13: "0.9,13.1,84", 14: "-2.0,13.1,84", 15: "-2.0,13.1,84" ,16: "-3.7,12,83", 17: "-2.8,12,83", 18: "-2.0,11,83" ,19: "-0.9,9,83", 20: "0.9,9,84", 21: "2.0,9,84" ,22: "2.8,2.8,84", 23: "2.0,2.8,84", 24: "0.9,2.8,84" ,25: "-0.9,2.5,84", 26: "-2.0,2.5,84", 27: "0.0,2,84" ,28: "0.0,2,84", 29: "0.0,2,84", 30: "0.0,2,84" ,31: "0.0,2,84", 32: "0.0,2,84", 33: "0.0,0.0,100"} flatline_pattern := {1: "3.0,15.2,110", 2: "1.5,5.3,110", 3: "9.6,10.1,110", 4: "6.3,7.5,110" ,5: "3.3,9.7,110", 6: "-1.3,9.7,110", 7: "-4.5,2.6,110", 8: "-10.6,-2.0,110" ,9: "-2.7,-1.3,110", 10: "-3.9,3.5,110", 11: "-1.7,6.6,110", 12: "4.5,2.0,110" ,13: "9.9,4.4,110", 14: "5.1,1.9,110", 15: "9.6,-1.6,110", 16: "4.2,2.1,110" ,17: "1.8,8.3,110", 18: "3.3,8.1,110", 19: "6.9,4.9,110", 20: "9.0,2.3,110" ,21: "3.9,0.6,113", 22: "-1.2,5,113", 23: "-7.9,2.5,113", 24: "-5.5,2,113" ,25: "-8.8,2.2,113", 26: "-9.1,1.5,113", 27: "-8.8,1,113"} devotion_pattern := {1: "0.0,0.0,40", 2: "0.8,24.5,180", 3: "0.3,20.0,170" ,4: "0.3,23.5,140", 5: "2.0,23.2,120", 6: "3.1,19.5,100" ,7: "2.8,12.6,85", 8: "2.8,10.6,85", 9: "6.2,4.8,85" ,10: "2.8,6.4,85", 11: "3.1,5.8,68", 12: "4.8,7.1,68" ,13: "5.0,4.4,68", 14: "6.2,2.3,68", 15: "7.6,1.8,68" ,16: "7.0,0.5,68", 17: "4.2,-1.6,68", 18: "6.2,1.6,68" ,19: "-1.4,4.6,68", 20: "0.0,5.3,66", 21: "-3.9,3.9,66" ,22: "-4.5,2.3,66", 23: "-4.5,2.5,66", 24: "-6.7,3.0,66" ,25: "-7.0,3.0,66", 26: "-3.1,3.2,66", 27: "1.7,3.7,66" ,28: "-1.4,4.8,66", 29: "-3.6,4.4,66", 30: "-5.0,3.5,70" ,31: "-6.2,2.1,70", 32: "-5.6,-0.5,70", 33: "-5.6,-0.5,70" ,34: "-4.8,3.7,70", 35: "-4.8,3.7,67", 36: "-0.8,4.1,67" ,37: "-2.8,3.5,67", 38: "2.0,3.5,67", 39: "2.0,3.5,66" ,40: "-1.4,3.7,67", 41: "-1.4,2.8,67", 42: "-3.6,1.6,67" ,43: "-1.4,2.3,67", 44: "0.0,3.0,67", 45: "3.6,1.8,67"} taabodevotion_pattern := {1: "0.0,0.0,40", 2: "0.8,24.5,140", 3: "0.3,20.0,140" ,4: "0.3,23.5,140", 5: "2.0,23.2,100", 6: "3.1,19.5,100" ,7: "2.8,12.6,100", 8: "2.8,10.6,100", 9: "6.2,4.8,100" ,10: "2.8,6.4,88", 11: "3.1,5.8,88", 12: "4.8,7.1,88" ,13: "5.0,4.4,88", 14: "6.2,2.3,88", 15: "7.6,10.8,86" ,16: "7.0,0.5,86", 17: "4.2,-1.6,86", 18: "6.2,1.6,86" ,19: "-1.4,4.6,86", 20: "0.0,5.3,86", 21: "-3.9,3.9,86" ,22: "-4.5,2.3,86", 23: "-4.5,2.5,86", 24: "-6.7,3.0,86" ,25: "-7.0,3.0,86", 26: "-3.1,3.2,86", 27: "1.7,3.7,86" ,28: "-1.4,4.8,86", 29: "-3.6,4.4,86", 30: "-5.0,3.5,88" ,31: "-6.2,2.1,88", 32: "-5.6,-0.5,88", 33: "-5.6,-0.5,88" ,34: "-4.8,3.7,88", 35: "-4.8,3.7,87", 36: "-0.8,4.1,87" ,37: "-2.8,3.5,87", 38: "2.0,3.5,87", 39: "2.0,3.5,86" ,40: "-1.4,3.7,86", 41: "-1.4,2.8,86", 42: "-3.6,1.6,86" ,43: "-1.4,2.3,86", 44: "0.0,3.0,87", 45: "0.0,0.0,120"} ;~~~~~~~~~~~~~~~~~~~~~~~Base state~~~~~~~~~~~~~~~~~~~~~~~~~~ slotA:=1 ;Slot1 activate memory Var slotB:=0 ;Slot2 activate memory Var memA:=non ,memB:=non ;Weapon pattern memory Var memR1:=0 memR2:=0 ;Fire-mode memory Var active_pattern:=no_pattern modifier:= 5/sens rate=10 volume=80 rapidmode:=0 isCursorShown() { StructSize := A_PtrSize + 16 VarSetCapacity(InfoStruct, StructSize) NumPut(StructSize, InfoStruct) DllCall("GetCursorInfo", UInt, &InfoStruct) Result := NumGet(InfoStruct, 8) if Result > 1 Return 1 else Return 0 } Loop { Sleep 50 if isCursorShown() == 1 mice:=1 else mice:=0 } ; ~~~~~~~~~~~~~~~~~Base activation~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ key_1: slotA:=1 slotB:=0 active_pattern:=%memA%_pattern rapidmode:=memR1 loop { mousegetpos, x, y tooltip, M%memA%, (x + 20), (y + 20), 1 Break } return key_2: slotA:=0 slotB:=1 active_pattern:=%memB%_pattern rapidmode:=memR2 loop { mousegetpos, x, y tooltip, S%memB%, (x + 20), (y + 20), 1 Break } return key_reset: active_pattern:=no_pattern slotA:=1 slotB:=0 memA:=non memB:=non memR1:=0 memR2:=0 rapidmode:=0 loop { mousegetpos, x, y tooltip, allreset, (x + 20), (y + 20), 1 Break } return ; ~~~~~~~~~~~~~~~~~~~~~~~~~~Weapon Profile~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ;Full-Auto Weapon section r301: r99: alternator: re45: spitfire: lstar: havoc: flatline: devotion: taabodevotion: prowlerselect: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=0 if (slotA) memA:=nullA ,memR1:=0 else memB:=nullA ,memR2:=0 (nullA,1) } return ;Tap or burst weapon section prowler: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=1 if (slotA) memA:=nullA ,memR1:=1 else memB:=nullA ,memR2:=1 (nullA,1) } return hemlock: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=1 if (slotA) memA:=nullA ,memR1:=1 else memB:=nullA ,memR2:=1 } return scout: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=1 if (slotA) memA:=nullA ,memR1:=1 else memB:=nullA ,memR2:=1 (nullA,1) } return p2020: { nullA := A_thislabel active_pattern:=%nullA%_pattern rapidmode:=1 if (slotA) memA:=nullA ,memR1:=1 else memB:=nullA ,memR2:=1 (nullA,1) } return ; ~~~~~~~~~~~~~~~~~~~~~~Main~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ key_bhop: sleep 150 while GetKeyState(bind_bhop, "P") { Random, foo, 50, 100 Send % subjumpkey Sleep %foo% send {space} sleep %foo% } return #IF mice=0 ; Disable switch cursor shown (start line) ~$*LButton:: sleep 5 loop { x := strsplit(active_pattern[a_index],",")[1] ;using str insteed of normal array for easly edit pattern y := strsplit(active_pattern[a_index],",")[2] t := strsplit(active_pattern[a_index],",")[3] dllcall("mouse_event","UInt",0x01,"UInt",x*modifier,"UInt",y*modifier) sleep t } until !GetKeyState("LButton","P") || a_index > active_pattern.maxindex() return #IF ; Disable switch cursor shown (end line) ButtonClose: ExitApp return
AndrewStilwell (05-09-2021),GasFerr123 (07-10-2020),nasigoreng12345 (07-11-2020),Nub_1 (07-14-2020)