Hello everyone! 👋 From today onwards, I’ll be posting all the scripts on this channel. Welcome, everyone! ❤️
❤3
Script hypesquad-> Apena cole isso no console e seja feliz.
1 = Bravery
2 = Brilliance
3 = Balance
let webpackRequire = webpackChunkdiscord_app.push([[Symbol()],{},(r) => r]);
webpackChunkdiscord_app.pop();
let modules = webpackRequire.m;
let cache = webpackRequire.c;
function findByCode(src) {
for (const [id, mod] of Object.entries(modules)) {
if (mod.toString().includes(src)) {
return cache[id].exports;
}
}
}
function findObjectFromKey(exports, key) {
if (!exports) return;
for (const exportKey in exports) {
const obj = exports[exportKey];
if (obj && obj[key]) return obj;
}
}
const api = findObjectFromKey(
findByCode('.set("X-Audit-Log-Reason",'),
"patch",
);
const request = await api.post({
url: "/hypesquad/online",
body: { house_id: 1 },
});house_id 1 = Bravery
2 = Brilliance
3 = Balance
(async () => {
const val = true;
// false = mostrar/ativar Legacy Username Badge
// true = esconder/desativar Legacy Username Badge
const req = await new Promise(r => {
const c =
Object.keys(window).find(k => k.startsWith("webpackChunk") && Array.isArray(window[k])) ||
"webpackChunkdiscord_app";
(window[c] ??= []).push([[Math.random()], {}, r]);
window[c].pop();
});
let hit;
for (const [id, fn] of Object.entries(req.m ?? {})) {
let s;
try {
s = fn.toString();
} catch {
continue;
}
if (!s.includes("hideLegacyUsername")) continue;
const v = s.match(
/(?:^|[;,])\s*(?:let|const|var)?\s*([A-Za-z_$][\w$]*)\s*=\s*[A-Za-z_$][\w$]*\(\s*["']privacy["']\s*,\s*["']hideLegacyUsername["']/
)?.[1];
const e =
v &&
s.match(
new RegExp(`([A-Za-z_$][\\w$]*)\\s*:\\s*\\(\\)\\s*=>\\s*${v}\\b`)
)?.[1];
if (e) {
hit = [id, e];
break;
}
}
const setting = hit && req(hit[0])?.[hit[1]];
if (!setting?.updateSetting) {
return console.error("hideLegacyUsername not found.");
}
console.log("Before:", setting.getSetting());
await setting.updateSetting(val);
setTimeout(() => {
console.log("After:", setting.getSetting());
}, 1000);
})();This script permanently removes the Pomelo badge from your account, and everyone will see the change