Shellshockers Speed Hack 2024 and Infinity jump

Infinity jump and speedhack!

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Shellshockers Speed Hack 2024 and Infinity jump
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Infinity jump and speedhack!
// @author       Prostreamer2024
// @match       https://shellshock.io/
// @icon         https://www.google.com/shellshockers.io
// @grant        none
// @license MIT 
// ==/UserScript==
 
(function() {
    'use strict';
    const oldSpeed = 80;
    const oldKeyDown = window.onkeydown;
    let infinityJump = false;
    let speedHack = false;
    window.onkeydown = (e)=>{
      if(e.code === 'Numpad7') infinityJump = !infinityJump;
      if(e.code === 'Numpad8') {
          speedHack = !speedHack;
          if(speedHack){
             window.speed = 300;
          } else{
             window.speed = oldSpeed;
          }
      }
        if(e.code === 'Space' && infinityJump){
           window.canJump = true;
        }
        if(oldKeyDown) oldKeyDown(e);
    }
})();