So far, all the double pump scripts I see require shooting with an alternate key. I made a double pump script that automatically enables when you hit the "2" button, and automatically disables when you push other keys (like building, weapon changing, editing). That way you can shoot with your left click.
This script has many instructions to use properly:
1. The bottom half of the script contains all of my personal key bindings that would cause the game to switch weapons, or switch into building mode. You'll have to change it to suit your key bindings.
2. F5 will toggle the script on and off, and will display a small pop-up informing you if it's on or off. (i.e. You won't always have 2 pumps, so you don't always want the script running)
3. You must have a pump shotgun in weapon slot 2, and weapon slot 3.
4. The script is designed to ONLY change weapons for you. You control the timing of each shot. All you have to do is point and click, and the script will automatically cycle back and forth between the shotguns after each click.
Code:
#IfWinActive Fortnite
F5::
Suspend, permit
if (State = 0) {
Gui, +AlwaysOnTop +Disabled -SysMenu +Owner
Gui, Add, Text,, Double Pump ON
Gui, Show, xCenter y10, State, NoActivate,
sleep, 800
Gui, Destroy
State++
}
else {
State := 0
Gui, +AlwaysOnTop +Disabled -SysMenu +Owner
Gui, Add, Text,, Double Pump OFF
Gui, Show, xCenter y10, State, NoActivate,
sleep, 800
Gui, Destroy
}
Suspend, toggle
return
~*2::
enable=1
lbutton_count :=0
return
~*LButton::
if enable
{
lbutton_count++
If (lbutton_count = 1)
{
Sleep 50
Send {3}
Sleep 300
}
If (lbutton_count = 2)
{
Sleep 50
Send {2}
Sleep 300
}
If (lbutton_count = 2)
{
lbutton_count := 0
}
return
}
else
{
return
}
; Change the things below here to suit your own key bindings.
~*a::
enable=0
return
~*d::
enable=0
return
~*r::
enable=0
return
~*MButton::
enable=0
return
~*XButton1::
enable=0
return
~*XButton2::
enable=0
return
~*1::
enable=0
return
~*3::
enable=0
return
~*4::
enable=0
return
~*5::
enable=0
return
~*LShift::
enable=0
return
~*CapsLock::
enable=0
return
~*v::
enable=0
return
*Alt::
enable=0
Send {Alt down}
Keywait, Alt
Send {Alt up}
enable=1
return
#IfWinActive