Advertisement
NukeVsCity

coems

May 4th, 2023
12,634
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.36 KB | None | 0 0
  1. // ==UserScript==
  2. // @name         Revert Roblox Client Platform
  3. // @version      1.0.0
  4. // @description  This will revert any channel builds that Roblox has placed on your account and revert them back to the normal version everyone should have.
  5. // @author       BabyHamsta
  6. // @match        https://*.roblox.com/*
  7. // @match        https://roblox.com/*
  8. // @icon         https://www.roblox.com/favicon.ico
  9. // @grant        none
  10. // @run-at       document-start
  11. // @license      MIT
  12. // ==/UserScript==
  13.  
  14. (async () => {
  15.   'use strict';
  16.  
  17.   while (typeof Roblox == "undefined" || typeof Roblox.ProtocolHandlerClientInterface == "undefined") await new Promise(resolve => setTimeout(resolve))
  18.  
  19.   try {
  20.     let ProtocolHandlerClientInterface = Roblox.ProtocolHandlerClientInterface
  21.     Object.defineProperty(ProtocolHandlerClientInterface, "playerChannel", {
  22.         value: "ZLIVE",
  23.         writable: false
  24.     });
  25.     Object.defineProperty(ProtocolHandlerClientInterface, "channel", {
  26.         value: "ZLIVE",
  27.         writable: false
  28.     });
  29.     Object.defineProperty(ProtocolHandlerClientInterface, "studioChannel", {
  30.         value: "",
  31.         writable: false
  32.     });
  33.  
  34.     console.warn("Roblox channel reverted successfully!")
  35.   } catch (exception) {
  36.       console.warn("There was an error trying to set the channel:");
  37.       console.error(exception);
  38.   }
  39. })()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement