Fake Balance & Level (Persistent Visual)

Modifie visuellement la balance et le niveau (persistant après refresh)

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/538715/1603402/Fake%20Balance%20%20Level%20%28Persistent%20Visual%29.js

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला 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.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         Fake Balance & Level (Persistent Visual)
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  Modifie visuellement la balance et le niveau (persistant après refresh)
// @match        *://*.rbxgold.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    // 🔧 Configuration (tu peux changer ces valeurs)
    const fakeBalance = "9999";
    const fakeLevel = "99";

    // 🔒 Sauvegarde dans le localStorage
    localStorage.setItem('fake_balance', fakeBalance);
    localStorage.setItem('fake_level', fakeLevel);

    // 🔁 Fonction qui applique les changements visuels
    function applyFakeValues() {
        // Trouve l'élément de balance (ajuste si besoin)
        const balanceEl = document.querySelector('div:has(svg)'); // à ajuster selon ton HTML exact
        if (balanceEl && balanceEl.innerText.match(/^\d+$/)) {
            balanceEl.innerText = localStorage.getItem('fake_balance');
        }

        // Exemple pour le niveau (si affiché quelque part)
        const levelEl = document.querySelector('.user-level'); // remplace avec le vrai sélecteur
        if (levelEl) {
            levelEl.innerText = "Level " + localStorage.getItem('fake_level');
        }
    }

    // 📌 Appliquer les changements après chargement
    window.addEventListener('load', () => {
        setTimeout(applyFakeValues, 1000); // petit délai pour s'assurer que tout est chargé
    });
})();