Gats Pack

The Ultimate gats.io game changer

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name         Gats Pack
// @namespace    http://tampermonkey.net/
// @version      2.1
// @description  The Ultimate gats.io game changer
// @author       bati (Akumu) 
// @match        https://gats.io/
// @icon         https://www.gats.io/
// @grant        none
// @license      Apache License 2.0
// ==/UserScript==

// Shows landmines & silencers
(() => {
    setTimeout(() => {
        /* eslint-disable no-undef */
        landMine[0].forEach((a, i) => landMine[0][i][1][3] = "#000000"); // eslint-disable-line no-return-assign

        setInterval(() => Object.keys(RD.pool).forEach((a, i) => { if (RD.pool[i].ghillie) RD.poll[i] = { ...RD.pool[i], ghillie: 0, invincible: 0 }; }), 30);

        setInterval(() => Object.keys(RC.pool).forEach((a, i) => { if (RC.pool[i].silenced) RC.pool[i].silenced = 0; }), 30);
        /* eslint-enable no-undef */
    }, 3000);
})();

// Zoom
(() => {
    window.addEventListener("wheel", (event) => {
        const num = Math.sign(event.deltaY);
        let zoom = 1;

        /* eslint-disable no-undef */
        switch (num) {
            case -1:
                j7 *= 1.1; j8 *= 1.1;
                a1();
                zoom *= 1.1;
                break;

            case 1:
                j7 *= 0.95; j8 *= 0.95;
                a1();
                zoom *= 0.95;
                break;
        }
        /* eslint-enable no-undef */
    });
})();