Moonwalker

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
GoBattle Hacks Official
今日安裝
0
安裝總數
8
評價
0 0 0
版本
1.2.1
建立日期
2025-07-21
更新日期
2025-12-17
尺寸
2.9 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.