Gats.io right click for spacebar

This script allows you to use your right click for the abilities you usually use with spacebar. However it wont work for shield (working on it). This script can sometimes glitch and not do the spacebar action.

当前为 2021-10-17 提交的版本,查看 最新版本

// ==UserScript==
// @name         Gats.io right click for spacebar
// @version      1.0
// @description  This script allows you to use your right click for the abilities you usually use with spacebar. However it wont work for shield (working on it). This script can sometimes glitch and not do the spacebar action.
// @author       Rayan223
// @match        https://gats.io/
// @icon         none
// @grant        none
// @namespace https://gf.qytechs.cn/users/825882
// ==/UserScript==

window.oncontextmenu = function ()
{
    for (let pas = 0; pas < 10; pas++) {dash();}
    return false;
}

function dash(){
    RF.list[0].socket.send('k,5,1');
    RF.list[0].socket.send('k,5,0');
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址