Advertisement
LMV

tampermonkey script to block roblox updates

LMV
Apr 27th, 2023 (edited)
1,863
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Revert Roblox update channel
  3. // @version      1.0.0
  4. // @description  Reverts any builds that Roblox has forced on your account
  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((res) => setTimeout(res))
  18.  
  19.     try {
  20.         let PHCI = Roblox.ProtocolHandlerClientInterface
  21.  
  22.         Object.defineProperty(PHCI, "playerChannel", {
  23.             value: "",
  24.             writable: false
  25.         })
  26.  
  27.         Object.defineProperty(PHCI, "channel", {
  28.             value: "",
  29.             writable: false
  30.         })
  31.  
  32.         Object.defineProperty(PHCI, "studioChannel", {
  33.             value: "",
  34.             writable: false
  35.         })
  36.  
  37.         console.warn("Roblox update channel reverted successfully:\n", PHCI)
  38.     } catch (ex) {
  39.         alert("Failed to revert update. Check console for details")
  40.         console.error(`\n\nFailed to revert update:\n${ex}\n\n`)
  41.     }
  42. })()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement