您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Robux Replacer
当前为
// ==UserScript== // @name Robux Replacer + Control // @namespace khanh_dev // @version 1.0 // @description Robux Replacer // @match https://www.roblox.com/* // @match https://web.roblox.com/* // @match https://roblox.com/* // @grant none // @run-at document-end // ==/UserScript== (function() { 'use strict'; let mockValue = 999999; function updateRobuxDisplay(el) { el.textContent = mockValue.toLocaleString(); el.setAttribute("data-robux-amount", mockValue); } function addControlButtons(el) { if (document.getElementById("mock-robux-controls")) return; const container = document.createElement("span"); container.id = "mock-robux-controls"; container.style.marginLeft = "8px"; const btnAdd = document.createElement("button"); btnAdd.textContent = "+10"; btnAdd.style.marginLeft = "4px"; btnAdd.onclick = () => { mockValue += 10; updateRobuxDisplay(el); }; const btnSub = document.createElement("button"); btnSub.textContent = "-10"; btnSub.style.marginLeft = "4px"; btnSub.onclick = () => { mockValue = Math.max(0, mockValue - 10); updateRobuxDisplay(el); }; const btnReset = document.createElement("button"); btnReset.textContent = "Reset"; btnReset.style.marginLeft = "4px"; btnReset.onclick = () => { mockValue = 0; updateRobuxDisplay(el); }; [btnAdd, btnSub, btnReset].forEach(btn => { btn.style.fontSize = "11px"; btn.style.padding = "2px 4px"; btn.style.border = "1px solid #ccc"; btn.style.borderRadius = "4px"; btn.style.cursor = "pointer"; btn.style.background = "#eee"; }); container.appendChild(btnAdd); container.appendChild(btnSub); container.appendChild(btnReset); el.parentElement.appendChild(container); } function applyMockRobux() { const robuxEl = document.getElementById("nav-robux-amount"); if (robuxEl) { updateRobuxDisplay(robuxEl); addControlButtons(robuxEl); } } setInterval(applyMockRobux, 500); })();