Moonwalker

Join us! - https://discord.gg/3xDbJ8QD8f

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

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το 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.

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

Δημιουργός
GoBattle Hacks Official
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
7
Βαθμολογίες
0 0 0
Έκδοση
1.2.1
Δημιουργήθηκε την
21/07/2025
Ενημερώθηκε την
17/12/2025
Μέγεθος
3 KB
Άδεια
MIT
Εφαρμόζεται σε

"Moonwalker" automates the pressing of the left or right arrow keys in the web game GoBattle.io. It allows users to continuously simulate holding down the "ArrowRight" key by pressing the = key, or the "ArrowLeft" key by pressing the - key. This allows the simulation of "moonwalking" in GoBattle.


Core Functionality

The script listens for key presses on the gobattle.io website.

  • When the = key is pressed, it begins to rapidly "press" the "ArrowRight" key, causing the in-game character to move continuously to the right.
  • When the - key is pressed, it begins to rapidly "press" the "ArrowLeft" key, causing the in-game character to move continuously to the left.

Toggle and Cancellation Logic

The key feature of this script is its toggle and cancellation behavior:

  • If either = or - is pressed while the other is already active (e.g., if you're holding = for right movement and then press -), the currently active movement will be stopped, and the new movement will start immediately. This means you can fluidly switch directions by just pressing the desired trigger key.
  • If you press the same key again while its action is active (e.g., pressing = a second time while moving right), the movement will stop. This allows you to toggle the continuous movement on and off.