Fake Balance & Level (Persistent Visual)

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

Ten skrypt nie powinien być instalowany bezpośrednio. Jest to biblioteka dla innych skyptów do włączenia dyrektywą meta // @require https://update.greasyfork.org/scripts/538715/1603402/Fake%20Balance%20%20Level%20%28Persistent%20Visual%29.js

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

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

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         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é
    });
})();