Vaqu's Script

Take over Agarpowers easily with this script!

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         Vaqu's Script
// @namespace    http://tampermonkey.net/
// @version      0.6
// @description  Take over Agarpowers easily with this script!
// @author       You
// @match        https://flarex.fun/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=180.92
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
        /*if (document.getElementById('overlays').style.display != 'none' || document.getElementById('advert').style.display != 'none') {
            return;
        }*/
    //var shieldKey = document.getElementById("shield").val()
    if (document.activeElement.type == 'text' || document.activeElement.type == 'password') {
            return;
    }
    setInterval(function(){
        $("#canvas").trigger($.Event("keydown", { keyCode: 72}));
        $("#canvas").trigger($.Event("keyup", { keyCode: 72}));
    }, 1600)


    var startGoldNick = setInterval(function(){
        document.getElementById('setGoldNickname').dispatchEvent(new MouseEvent("click"));
    }, 100)
})();