Visual Bricks Changer

Shows Fake polytoria Bricks/Studs to troll

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey, Greasemonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

คุณจะต้องติดตั้งส่วนขยาย เช่น Tampermonkey หรือ Violentmonkey เพื่อติดตั้งสคริปต์นี้

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

Advertisement:

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.

(I already have a user style manager, let me install it!)

Advertisement:

// ==UserScript==
// @name         Visual Bricks Changer
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  Shows Fake polytoria Bricks/Studs to troll
// @author       Absayno/Xavior S/Voo
// @match        https://polytoria.com/*
// @license MIT
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// @UpdateCredits v1.0 Xavior S] v1.1 absayno]Voo]
// ==/UserScript==
console.log('|VBC Working 1.2|');
(function() {
    'use strict';

    const FAKE_BRICKS = "1,000,000"; // change this to whatever you want
    const FAKE_STUDS = "1,000,000";  // change this to whatever you want

    function updateCurrencies() {
        // Bricks
        const brickEl = document.querySelector(".brickBalanceCount");
        if (brickEl) {
            brickEl.textContent = FAKE_BRICKS;
        }

        // Studs
        const studsEl = document.querySelector(".studsBalanceCount");
        if (studsEl) {
            studsEl.textContent = FAKE_STUDS;
        }
    }

    // By absayno/voo/Xavior S
    updateCurrencies();
    setInterval(updateCurrencies, 1000);
})();