Counter-Strike 2

Counter-Strike 2

29 ratings
Long Jump Script - Bind and Strafe Null for KZ-HnS-You Name It.
By mino
These scripts will help you get higher numbers when trying to long jump, and generally help you strafe more effectively. Easy to both customize and turn ON and OFF. This WON'T get you VAC banned.
2
   
Award
Favorite
Favorited
Unfavorite
Introduction
Before continuing, make sure the server you're playing on allows you to use these binds. They are commonly referred to as long jump script or jump script and Null script.
For example, on House Of Climb servers, the LJ bind is allowed, while the strafe null is not, as it is clearly stated under section 4 in their cheating rules.
Binds – in general, the only approved binds are ‘bind mwheeldown +jump’, and the crouch/LJ bind. And copypasta chat binds.

They are NOT auto-strafing scripts, or AHK, as this aren't allowed in basically every server, and you need external assistance to use them.

Make sure you also have knowledge of CS:GO movement, and what strafing, long jumps actually mean, there are plenty of guides online.
You also need to understand what is an autoexec.cfg and how to use the cs:go console, again if you don't you can refer to many guides online.

If you're scared of getting VAC Banned, just read the official steam support page on the subject. Other than using external software, you will only get VAC Banned if you mess with .exe and .dll files, which in this guide we're not going to do.

The scripts are specifically made to be easy to turn on and off, so you can hop between kz and standard csgo game modes without a problem.

As mentioned there are two scripts in this guide.
  • Long Jump Script
  • Null Strafe Script

The first one allows you to jump and duck at the same time while making sure in that exact moment you're not moving forwards nor backwards. This allows you to jump further.
Although possible to do this without a bind, it is very difficult and inconsistent.

The second one will make your life easier when trying to strafe with correct timings. To explain how it works I'll use this example. After strafing left which requires me to press A, I can start strafing right while only caring about timing the D key with the mouse movement, without having to worry about releasing the A key too late, since this script will do that for you.
In other words, when you press A, it automatically releases D, so overlapping your strafe is impossible.
To simplify this, let's say I want to strafe left, then right, then left again.

▼=Press
▲=Release

▼A-Mouse Left ▼D-Mouse Right ▲A ▼A-Mouse Left ▲D

You'll eventually develop a feel for this.

Note: This won't make you a long jump god instantly, since you'll still need to time your strafe correctly.



The Scripts
To get these to work, you need to put this in your autoexec.cfg
They are disabled by default.

//LongJump script //This script uses mouse2 to jump, since it's the one most people are comfortable when long //jumping. Other buttons you may use for jumping won't work. //You can replace mouse2 with whatever you want, make sure if you do that you also //replace +attack to the original command you're changing. For Instance if //I wanted to use spacebar, I'd replace mouse2 with SPACE and +attack with +jump alias +longjump "+duck; +jump; -forward; -back" alias -longjump "-duck; -jump; alias "longjumpon" "bind mouse2 +longjump" alias "longjumpoff" "bind mouse2 +attack2" alias "ljon" "longjumpon; echo LongJump bind ON; playvol buttons/button3 0.5; alias lj ljoff" alias "ljoff" "longjumpoff; echo LongJump bind OFF; playvol buttons/button2 0.5; alias lj ljon" alias "lj" "ljon" //Uncomment bind l "lj" if you want to toggle this script with a button. You can replace l with //any key you want. //bind "l" "lj" ljoff //Null Strafe script //Nothing here should be changed except if for some reason you're using different buttons //from WASD to move. alias checkfwd "" alias checkback "" alias checkleft "" alias checkright "" alias +mfwd "-back; +forward; alias checkfwd +forward" alias +mback "-forward; +back; alias checkback +back" alias +mleft "-moveright; +moveleft; alias checkleft +moveleft" alias +mright "-moveleft; +moveright; alias checkright +moveright" alias -mfwd "-forward; checkback; alias checkfwd" alias -mback "-back; checkfwd; alias checkback" alias -mleft "-moveleft; checkright; alias checkleft" alias -mright "-moveright; checkleft; alias checkright" alias "wstrafeon" "bind W +mfwd" alias "sstrafeon" "bind S +mback" alias "astrafeon" "bind A +mleft" alias "dstrafeon" "bind D +mright" alias "wstrafeoff" "bind W +forward" alias "sstrafeoff" "bind S +back" alias "astrafeoff" "bind A +moveleft" alias "dstrafeoff" "bind D +moveright" alias "strafeon" " wstrafeon; sstrafeon; astrafeon; dstrafeon; playvol buttons/button3 0.5; echo Strafe script ON; alias strafe strafeoff" alias "strafeoff" " wstrafeoff; sstrafeoff; astrafeoff; dstrafeoff; playvol buttons/button2 0.5; echo Strafe script OFF; alias strafe strafeon" alias "strafe" "strafeon" //Uncomment bind p "strafe" if you want to toggle this script with a button. You can replace p //with any key you want. //bind "p" "strafe" strafeoff

I have already included instruction in the "code", but I'll give further explanation here.
You should already know this, but for those who don't, commented sections (lines that start with // ) are not read by cs:go. This will be useful later.

There are two ways to enable/disable the long jump script:

The first one is by typing in the console ljon to turn it on, and ljoff to turn it off, or you can simply type lj to toggle it.

The second one is by binding it to a key. Refer to the
bind "l" "lj"
(Line 21)
In the script for instructions. This could be especially useful when playing in game-modes like multi-games, jailbreak or even standard matchmaking when trying to showoff your sick jumps with your friends.
Make sure you use mouse2 (right mouse button) to jump, as any other button you may use for jumping won't be affected.

The same goes for the null strafe script:

strafeon to turn it on, and strafeoff to turn it off; strafe to toggle it.

To bind it to a key, refer to the
bind "p" "strafe"
(Line 61)
In the script for instructions.

In every case different sounds will be played to let you know that the scripts have been enabled or disabled.

December 2020 edit:

As requested in the comments, I added a version that supports the r_cleardecals bind on wasd, while working the same way as the previous script.
//LongJump script //This script uses mouse2 to jump, since it's the one most people are comfortable when long //jumping. You can replace mouse2 with whatever you want, make sure if you do that you also //replace +attack to the original command you're changing. For Instance if //I wanted to use spacebar, I'd replace mouse2 with SPACE and +attack with +jump alias +longjump "+duck; +jump; -forward; -back" alias -longjump "-duck; -jump; alias "longjumpon" "bind mouse2 +longjump" alias "longjumpoff" "bind mouse2 +attack2" alias "ljon" "longjumpon; echo LongJump bind ON; playvol buttons/button3 0.5; alias lj ljoff" alias "ljoff" "longjumpoff; echo LongJump bind OFF; playvol buttons/button2 0.5; alias lj ljon" alias "lj" "ljon" //Uncomment bind l "lj" if you want to toggle this script with a button. You can replace l with //any key you want. //bind "l" "lj" ljoff //Null Strafe script //Nothing here should be changed except if for some reason you're using different buttons //from WASD to move. alias checkfwd "" alias checkback "" alias checkleft "" alias checkright "" alias +mfwd "-back; +forward; r_cleardecals; alias checkfwd +forward" alias +mback "-forward; +back; r_cleardecals; alias checkback +back" alias +mleft "-moveright; +moveleft; r_cleardecals; alias checkleft +moveleft" alias +mright "-moveleft; +moveright; r_cleardecals; alias checkright +moveright" alias -mfwd "-forward; checkback; alias checkfwd" alias -mback "-back; checkfwd; alias checkback" alias -mleft "-moveleft; checkright; alias checkleft" alias -mright "-moveright; checkleft; alias checkright" alias +normalforward "+forward; r_cleardecals" alias +normalback "+back; r_cleardecals" alias +normalleft "+moveleft; r_cleardecals" alias +normalright "+moveright; r_cleardecals" alias -normalforward "-forward" alias -normalback "-back" alias -normalleft "-moveleft" alias -normalright "-moveright" alias "wstrafeon" "bind W +mfwd" alias "sstrafeon" "bind S +mback" alias "astrafeon" "bind A +mleft" alias "dstrafeon" "bind D +mright" alias "wstrafeoff" "bind W +normalforward" alias "sstrafeoff" "bind S +normalback" alias "astrafeoff" "bind A +normalleft" alias "dstrafeoff" "bind D +normalright" alias "strafeon" " wstrafeon; sstrafeon; astrafeon; dstrafeon; playvol buttons/button3 0.5; echo Strafe script ON; alias strafe strafeoff" alias "strafeoff" " wstrafeoff; sstrafeoff; astrafeoff; dstrafeoff; playvol buttons/button2 0.5; echo Strafe script OFF; alias strafe strafeon" alias "strafe" "strafeon" //Uncomment bind p "strafe" if you want to toggle this script with a button. You can replace p //with any key you want. //bind "p" "strafe" strafeoff
Final notes and Credits
Any feedback is greatly appreciated, especially if you find mistakes in the script, or even in my grammar. If you want to support me just leave a positive rating, add this to your favorites and share this guide with your friends.

If you want to use this in your content (although I don't request it) I'd appreciate some credit.

The scripts in this guide are a modified version of the ones in this github repo[github.com]. There are also other useful scripts in that repository, so I highly recommend checking it out.

Disclaimer: As already stated, I'm not responsible if you get banned from any community server. It is your responsibility to check the rules, and I already explained what to look for. Again, this won't get you banned from official matchmaking.

As of 06/15/2020, this is allowed on FaceIT, as stated on their support page.[support.faceit.com] (Might not be the same in certain hubs/tournaments, so make sure you double check.)
14 Comments
PxL^ May 1, 2023 @ 4:52am 
Is on actuality ?
432 Feb 11, 2023 @ 2:57pm 
thanks a lot. i really appreciate it <33
aeyde Aug 23, 2021 @ 1:48pm 
thanks a lot:tschernobeer:
mino  [author] Aug 23, 2021 @ 11:22am 
Of course, just make sure you copy your desired version, and only the part inside the frame
wrapped Aug 13, 2021 @ 5:36pm 
can i copy the whole thing and paste it?
mino  [author] Mar 31, 2021 @ 2:12pm 
It's off by default
sylq Mar 31, 2021 @ 8:30am 
is it always on if i put it in autoexec?
mino  [author] Mar 3, 2021 @ 3:03pm 
Mouse wheel is tricky, as you will be crouching multiple times after jumping by scrolling and it is going to be less effective
mutt Mar 2, 2021 @ 4:57am 
This works fine with mouse2 but for whatever reason it does not with the mouse wheel. Is that not possible?
mino  [author] Dec 20, 2020 @ 3:35pm 
I added a version that supports r_cleardecals