Unlimited Jump Hack

take over any game with unlimited jumps!

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

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.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

// ==UserScript==
// @name         Unlimited Jump Hack
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  take over any game with unlimited jumps!
// @author       noob 292
// @match        *://*/*
// @icon         https://www.google.com/url?sa=i&url=https%3A%2F%2Fwww.freeiconspng.com%2Fimages%2Fbinary-icon&psig=AOvVaw2wctA0HhLYiYq0gf4KMTtN&ust=1630608966642000&source=images&cd=vfe&ved=0CAsQjRxqFwoTCJivvve53vICFQAAAAAdAAAAABAE
// @grant        none
// ==/UserScript==

(function(Phaser) {

const Game = function() {};

Game.prototype = {
    jump() {
      this.player.body.velocity.y = -450;
    },
    checkDoubleJump() {
      if (this.jumpCount < this.jumpMax) {
        this.jump();
        this.jumpCount++;
      }
    },
    create() {
      this.jumpMax = 999999999;
      this.jumpCount = 0;
      this.spacebar = this.input.keyboard.addKey(Phaser.Keyboard.SPACEBAR);
      this.spacebar.onDown(this.checkDoubleJump, this);
    }
  };
})(window.Phaser);