Robux changer 😎

Press escape on a roblox site to change robux. Not real robux.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         Robux changer 😎
// @namespace    http://tampermonkey.net/
// @version      1.30
// @description  Press escape on a roblox site to change robux. Not real robux.
// @author       Gunnar Discord
// @match        https://www.roblox.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        GM.setValue
// @grant GM.getValue
// @license MIT
// ==/UserScript==
 
var originalrobux
var originalbalance
 
 
window.addEventListener('DOMContentLoaded', (event) => {
        var originalrobux = document.getElementById("nav-robux-amount").textContent();
    var originalbalance = document.getElementById("nav-robux-balance").textContent();
});
var RobuxAmount = 10813152;
document.addEventListener('keydown', function(event){
	if(event.key === "Escape"){
        console.log("a");
        var _ = prompt("Amount to save\nwrite 'none' to have original value")
        console.log(Number.isInteger(_))
        if(!isNaN(_)){setValue(_)}else{setValue(10813152)}
        var a = getValue("RobuxSaved", "default").then(function(result){
        RobuxAmount = result
        console.log(result)})
 
	}
});
function setValue(amount){GM.setValue("RobuxSaved", amount)}
function getValue(name){return GM.getValue(name)}
function a23(){getValue("RobuxSaved", "default").then(function(result){if(result != "default" && result != "undefined"){RobuxAmount = result; console.log(result)};})}
async function ads(){await a23()}
 
 
ads()
 
 
 
 
 
 
 
function Robux() {
    if(RobuxAmount != 10813152){
    try{
    var robux = document.getElementById("nav-robux-amount");
    var balance = document.getElementById("nav-robux-balance");
    robux.innerHTML = RobuxAmount;
    balance.innerHTML = RobuxAmount + " Robux";
    balance.title = RobuxAmount;
    }
    catch(error){if(!error == "TypeError: Cannot set properties of null (setting 'innerHTML')"){console.log(error)}}
    }else{try{robux = originalrobux; balance.innerHTML = originalbalance; balance.title = originalbalance + " Robux"}catch(error){if(!error == "TypeError: Cannot set properties of null (setting 'innerHTML')"){console.log(error)}}}};
 
setInterval(Robux, 1);