v0 2 4
v0 2 4
// @name funnySCRIPT
// @namespace tacobell
// @match https://*.bloxd.io/*
// @grant none
// @version 0.2.4
// @author Developed by skidmus, wang, and ENTITY.
// @description 🟢https://discord.gg/G6ksFfQdaW🟢
// ==/UserScript==
//
// ⚠️⚠️ALWAYS USE ALTS⚠️⚠️
//
// 🟢https://discord.gg/G6ksFfQdaW join this for updates please.🟢
//(() => {
//__START__SETTINGS______________________________________________
/* const minimalMouseEvent = {
button: 2,
buttons: 2,
clientX: 315,
clientY: 177,
screenX: 315,
screenY: 316,
target: document.querySelector('#noa-container'),
type: "mousedown",
isTrusted: true,
view: window,
bubbles: true,
cancelable: true,
};*/
let blinkState = {
enabled: false,
originalSendBytes: null,
queued: [],
interval: 0,
noPacket: false
};
const possibleNames = [
"LegLeftMesh",
"LegRightMesh",
//"TorsoNode",
"ArmLeftMesh",
"ArmRightMesh",
"BodyMesh",
"HeadMesh"
]; // Potential detection: If the player has leg armour there is no way leftLegMesh
could have been hit.
///////////////////////////////////////////////////////////////////////////////////
/////Main Functions
var r = { //WANG
keys(e) {
var t = [],
o = 0;
for (var s in e) e != null && (t[o] = s, o++);
return t
},
values(e) {
for (var t = this.keys(e), o = [], s = 0, i = 0; s < t.length;) {
var l = t[s],
d = e[l];
o[i] = d, i++, s++
}
return o
},
assign(e, ...t) {
let o = Object(e);
for (let s = 0; s < t.length; s++) {
let i = t[s];
if (i != null)
for (let l in i) o[l] = i[l]
}
return o
}
};
function matchesAllPatterns(fn) {
const patterns = ["this.names.position", ".base[0]"].map(p => p.replace(/\s+/g,
''));
try {
const src = fn.toString().replace(/\s+/g, '');
return patterns.every(p => src.includes(p));
} catch {
return false;
}
}
function findClassConstructor(obj) {
let current = obj;
while (current) {
for (const key of Reflect.ownKeys(current)) {
let val;
try {
const desc = Object.getOwnPropertyDescriptor(current, key);
val = desc?.value ?? current[key];
} catch {
continue;
}
if (typeof val === "function" && matchesAllPatterns(val)) {
return val;
}
}
current = Object.getPrototypeOf(current);
}
return null;
}
function findGhMethod(clsConstructor) {
const protoLocal = clsConstructor?.prototype;
if (!protoLocal) return null;
function togglePickupReach() {
if (!injectedBool) {
}
if (!proto || !originalGetEntitiesInAABB) {
const cls = findClassConstructor(shideFuxny.NIGHT.entities);
if (!cls) {
console.warn("[pickupReach] Could not find class constructor");
return;
}
proto = cls.prototype;
originalGetEntitiesInAABB = ghMethod.fn;
ghMethodKey = ghMethod.key;
}
if (pickupReachEnabled) {
// Disable patch
proto[ghMethodKey] = originalGetEntitiesInAABB;
pickupReachEnabled = false;
console.log("[pickupReach] Patch disabled");
} else {
// Enable patch
proto[ghMethodKey] = function(box, name) {
const center = [
(box.base[0] + box.max[0]) / 2,
(box.base[1] + box.max[1]) / 2,
(box.base[2] + box.max[2]) / 2,
];
const halfSize = [
(box.max[0] - box.base[0]) / 2,
(box.max[1] - box.base[1]) / 2,
(box.max[2] - box.base[2]) / 2,
];
const enlarged = {
base: center.map((c, i) => c - halfSize[i] * RANGE_MULTIPLIER),
max: center.map((c, i) => c + halfSize[i] * RANGE_MULTIPLIER)
};
function passiveFeatures() {
if (changeHealthBar) {
(function() { // FROM ENTITY
'use strict';
const healthBar =
document.getElementsByClassName("BottomScreenStatBar")[0];
if (healthBar) {
// Clear all conflicting styles
healthBar.style.background = defaultGradient;
healthBar.style.backgroundColor = 'transparent';
healthBar.style.boxShadow = 'none';
healthBar.style.border = 'none';
healthBar.style.backgroundRepeat = 'no-repeat';
healthBar.style.backgroundSize = '100% 100%';
healthBar.style.outline = 'none';
// Also fix child elements (some bars use internal fill divs)
for (const child of healthBar.children) {
child.style.background = 'transparent';
child.style.backgroundColor = 'transparent';
child.style.boxShadow = 'none';
child.style.border = 'none';
}
////////Anti-cobweb
Object.defineProperty(shideFuxny.entities[shideFuxny.impKey].moveState.list[0].spee
dMultiplier.multipliers, "inCobweb", {
configurable: true,
enumerable: true,
get() {
return 1; // always return 1
},
set(value) {
// ignore all attempts to change it
}
});
if (spoofRanksEnabled) {
shideFuxny.entityList[1][1].ranks[0] = "developer";
shideFuxny.entityList[1][1].ranks[1] = "youtuber";
shideFuxny.entityList[1][1].ranks[2] = "super";
} else {
function emitSafePrimaryFire() {
const realEvent = new MouseEvent("mousedown");
const fakeEvent = {
timeStamp: performance.now(),
altKey: false,
ctrlKey: realEvent.ctrlKey,
shiftKey: realEvent.shiftKey,
metaKey: realEvent.metaKey,
button: realEvent.button,
buttons: realEvent.buttons,
clientX: realEvent.clientX,
clientY: realEvent.clientY,
screenX: realEvent.screenX,
screenY: realEvent.screenY
};
shideFuxny.NIGHT.inputs.down.emit("primary-fire", fakeEvent);
}
function inMenu() {
const requests = shideFuxny.Props.pointerLockWrapper.pointerUnlockRequests;
return requests.includes("SettingsMenuComponent") ||
requests.includes("InGameMenu");
}
function movePotionToSlot() {
if (!playerInventoryParent || !playerInventoryParent.playerInventory?.items) {
console.warn("❌ playerInventoryParent is not set. Run
findAndSavePlayerInventoryParent() first.");
return false;
}
const items = playerInventoryParent.playerInventory.items;
let potionSlot = null;
for (let i = desiredPotionSlot; i < items.length; i++) {
const item = items[i];
if (!item || typeof item.name !== 'string') continue;
const name = item.name.toLowerCase();
if (
name.includes("potion") &&
name.includes("splash") &&
(name.includes("healing") || name.includes("shield"))
) {
potionSlot = i;
break;
}
}
if (potionSlot === null) {
return false;
}
console.log(`🔁 Swapping potion from slot ${potionSlot} with slot $
{desiredPotionSlot}`);
playerInventoryParent.swapPosClient(potionSlot, desiredPotionSlot, null);
return true;
}
function makeHitboxes() {
if (!injectedBool) {
console.log("NOT INJECTED NO TARGET");
return;
}
if (
eId == null ||
eId === myId ||
obj.pickable === false ||
obj.type !== "Player" ||
!shideFuxny.entities.getState(eId, "genericLifeformState")
) continue;
activeEIds.add(eId);
Object.defineProperty(newBox_00._nodeDataStorage, '_isEnabled', {
get: () => true,
set: (v) => {},
configurable: false
});
hitboxes[eId] = newBox_00;
}
(() => {
// Remove if already present
const old = document.getElementById("vertical-health-bar");
if (old) old.remove();
container.appendChild(fill);
document.body.appendChild(container);
setHealthBar(100, false)
function toggleEnemyHealthGui() {
if (!injectedBool) {
}
enemyHealthGuiEnabled = !enemyHealthGuiEnabled;
if (enemyHealthGuiEnabled) {
startHealthWatcher();
} else {
// Toggle off: clean up everything
if (healthWatcherInterval) clearInterval(healthWatcherInterval);
if (resetTimeout) clearTimeout(resetTimeout);
setHealthBar(100, false); // hide bar
lastPercent = null;
}
updateEnemyHealthGuiButton();
}
function startHealthWatcher() {
if (healthWatcherInterval) clearInterval(healthWatcherInterval);
if (resetTimeout) clearTimeout(resetTimeout);
resetTimeout = setTimeout(() => {
setHealthBar(100, false);
lastPercent = null;
}, 10000);
}
}, 300);
}
function checkAndClick() {
const hit = playerEntity.tryHitEntity();
if (hit?.hitEId != null) {
if (
!playerEntity.breaking &&
!inMenu() &&
shideFuxny.entities.getState(1, "genericLifeformState").isAlive &&
shideFuxny.entities.getState(hit.hitEId, "genericLifeformState") &&
shideFuxny.entities.getState(hit.hitEId,
"genericLifeformState").isAlive &&
r.values(shideFuxny.entityList)?.[1]?.[hit.hitEId].canAttack
) {
emitSafePrimaryFire();
targetEntityEId = hit.hitEId
}
}
}
function toggleTriggerBot() {
if (!injectedBool) {
showTemporaryNotification('You need to inject first habibi!')
}
if (triggerBotEnabled) {
clearTimeout(autoAttackInterval);
triggerBotEnabled = false;
console.log("⛔ Auto-attack stopped");
} else {
triggerBotEnabled = true;
function autoAttackLoop() {
if (!triggerBotEnabled) return;
checkAndClick();
const nextDelay = ATTACK_INTERVAL_MS + (Math.random() * 40 - 20); //
±20ms
autoAttackInterval = setTimeout(autoAttackLoop, nextDelay);
}
autoAttackLoop();
console.log("▶️ Auto-attack started");
}
updateTriggerBotButton();
}
function toggleLockPlayerWaterState() {
if (!injectedBool) {
}
const movementList = shideFuxny.entities[shideFuxny.impKey]?.movement?.list;
if (!Array.isArray(movementList) || movementList.length === 0) return;
const c = movementList[0];
if (waterJumpingEnabled) {
// Restore defaults (optional: redefine properties as writable again)
waterJumpingEnabled = false;
console.log("🔓 Player water state unlocked");
updateWaterJumpButton();
return;
}
try {
Object.defineProperty(c, "inAirFromWater", {
get: () => false,
set: () => {},
configurable: true
});
Object.defineProperty(c, "_jumpCount", {
get: () => 0,
set: () => {},
configurable: true
});
Object.defineProperty(c, "_ticksOutOfWater", {
get: () => 346,
set: () => {},
configurable: true
});
function toggleWallJumpScript() {
if (!injectedBool) {
}
const client = shideFuxny?.clientOptions;
const body = shideFuxny?.physics?.bodies?.[0];
if (wallJumpRunning) {
// Unlock airJumpCount (optional reset)
Object.defineProperty(client, "airJumpCount", {
value: 0,
writable: true,
configurable: true
});
wallJumpRunning = false;
console.log("🧱 Wall jump script disabled");
updateWallJumpButton();
return;
}
wallJumpRunning = true;
console.log("🧱 Wall jump script enabled");
updateWallJumpButton();
}
function wangPlace(position) {
function spoofTargetedBlock(position) {
return new Proxy({}, {
get(target, prop, receiver) {
if (prop === worldInstanceKey) {
return new Proxy(worldInstance, {
get(inner, key) {
if (key === targetedBlockKey) {
let spoofedTargetedBlock =
structuredClone(targetedBlock) || {};
spoofedTargetedBlock.position = position;
return spoofedTargetedBlock;
}
return worldInstance[key];
},
});
}
if (prop == "checkTargetedBlockCanBePlacedOver") {
return () => true;
}
heldBlock.placeBlock.call(spoofTargetedBlock(position));
}
function placeToPlayer(position) {
function placeSpike(position) {
oldSlot = i;
break;
}
}
if (oldSlot === null) {
console.warn(`❌ No ${itemName} found in slot 10 or higher.`);
return false;
}
console.log(`🔁 Swapping ${itemName} from slot ${oldSlot} with slot $
{desiredSlot}`);
playerInventoryParent.swapPosClient(oldSlot, desiredSlot, null);
return true;
}
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
shideFuxny.NIGHT.inputs.down['_events'][`HotBarSlot${webSlot + 1}`]();
placeToPlayer(enemyPos);
if (moveItem("spikes", spikeSlot)) {
shideFuxny.NIGHT.inputs.down['_events'][`HotBarSlot${spikeSlot +
1}`]();
placeSpike(enemyPos);
}
} else { // just place spikes
if (moveItem("spikes", spikeSlot)) {
shideFuxny.NIGHT.inputs.down['_events'][`HotBarSlot${spikeSlot +
1}`]();
await sleep(50);
function startTargetFinder() {
targetFinderId = setInterval(() => {
if (!injectedBool) {
if (!eIdKey) return;
if (
eId == null ||
eId === myId ||
obj.pickable === false ||
obj.type !== "Player" ||
!shideFuxny.entities.getState(1, "genericLifeformState").isAlive ||
!shideFuxny.entities.getState(eId, "genericLifeformState") ||
!shideFuxny.entities.getState(eId, "genericLifeformState").isAlive
) continue;
if (closestId != null) {
if (!newBox.metadata) newBox.metadata = {};
newBox.metadata.eId = closestId;
if (hitboxes[closestId]) {
hitboxes[closestId].material.diffuseColor = new
shideFuxny.Lion.Color3(1, 0, 0);
hitboxes[closestId].material.emissiveColor = new
shideFuxny.Lion.Color3(1, 0, 0);
for (const id in hitboxes) {
if (id !== closestId && hitboxes[id]) {
hitboxes[id].material.diffuseColor = new
shideFuxny.Lion.Color3(1, 1, 1);
hitboxes[id].material.emissiveColor = new
shideFuxny.Lion.Color3(1, 1, 1);
}
}
}
lastClosestId = closestId;
targetEntityEId = lastClosestId;
}
} else {
targetEntityEId = lastClosestId;
lastClosestId = null;
newBox[__nullKey] = false;
}
if (killAuraEnabled) {
newBox[__nullKey] = (minDist < 16);
targetEntityDistance = Math.floor(minDist)
} else {
newBox[__nullKey] = false
targetEntityDistance = Math.floor(minDist)
}
}, 500);
}
function toggleKillAura() {
if (!injectedBool) {
showTemporaryNotification('You need to inject first habibi!');
return;
}
if (killAuraEnabled) {
killAuraEnabled = !killAuraEnabled;
} else {
killAuraEnabled = !killAuraEnabled;
newBox[__nullKey] = false;
console.log("⛔ Kill aura disabled");
}
updateKillAuraButton();
}
function toggleHitBoxes() {
if (!injectedBool) {
showTemporaryNotification('You need to inject first habibi!');
return;
}
hitBoxEnabled = !hitBoxEnabled;
updateHitboxButton();
}
function toggleSkybox() {
if (!injectedBool) {
}
(function saveSkyboxEntity() {
for (let i = 0; i < 10000; i++) {
const meshState = shideFuxny.entities.getState(i, "mesh");
if (meshState?.mesh?.id === "skyBox") {
console.log(`✔ Found skyBox entity: ${i}`);
skyboxEntity = i; // Save globally
skyboxMesh = meshState.mesh; // Optional: save mesh reference too
break;
}
}
})();
if (!skyboxMesh) {
console.warn("❌ skyboxMesh is not defined.");
return;
}
isSkyboxHidden = !isSkyboxHidden;
skyboxMesh.isVisible = isSkyboxHidden ? false : true;
/*
function rainbowSky() {
rainbowSkyEnabled = !rainbowSkyEnabled
if (!rainbowSkyEnabled) {
}*/
function toggleWireframe() {
if (!injectedBool) {
}
wireFramesBool = !wireFramesBool;
if (
material &&
typeof material.wireframe === "boolean" &&
!(typeof name === "string" && name.includes("Armour"))
) {
material.wireframe = wireFramesBool;
}
}
}
updateWireframeButton();
}
function clearESPBoxes() {
for (const key in chestBoxes) {
for (const {
mesh,
id
}
of chestBoxes[key]) {
mesh.dispose();
shideFuxny.entities.deleteEntity(id);
}
}
scannedChunks.clear();
chestBoxes = {};
}
function getChunkKey(chunk) {
const [wx, wy, wz] = chunk.pos || [0, 0, 0];
const cx = Math.floor(wx / 32);
const cy = Math.floor(wy / 32);
const cz = Math.floor(wz / 32);
return `${cx}|${cy}|${cz}|overworld`;
}
const {
data,
stride
} = blockData;
}
}
function scanAllChunks() {
if (!shideFuxny?.world || !shideFuxny?.world?.[shideFuxny.impKey]?.hash)
return;
const chunkHash = shideFuxny.world[shideFuxny.impKey].hash;
// Step 1: Remove boxes for chunks no longer loaded
for (const scannedKey of scannedChunks) {
if (!(scannedKey in chestBoxes)) continue;
function toggleChestESP() {
if (!injectedBool) {
}
chestESPEnabled = !chestESPEnabled;
if (chestESPEnabled || oreESPEnabled) {
scanAllChunks();
chestOreInterval = setInterval(scanAllChunks, 5000);
} else {
clearInterval(chestOreInterval);
chestOreInterval = null;
clearESPBoxes();
scannedChunks.clear(); // Allow rescan next time
}
updateChestESPButton();
}
function toggleOreESP() {
if (!injectedBool) {
}
oreESPEnabled = !oreESPEnabled;
if (chestESPEnabled || oreESPEnabled) {
scanAllChunks();
chestOreInterval = setInterval(scanAllChunks, 5000);
} else {
clearInterval(chestOreInterval);
chestOreInterval = null;
clearESPBoxes();
scannedChunks.clear(); // Allow rescan next time
}
updateOreESPButton();
}
function toggleESP() {
if (!injectedBool) {
}
if (!shideFuxny.impKey) return;
espEnabled = !espEnabled;
const groupId = espEnabled ? 2 : 0;
if (Array.isArray(r.values(shideFuxny.rendering)[18].thinMeshes)) {
for (const thinMesh of r.values(shideFuxny.rendering)[18].thinMeshes) {
if (thinMesh?.mesh && typeof thinMesh.mesh.renderingGroupId ===
"number") {
thinMesh.mesh.renderingGroupId = groupId;
}
}
console.log(`✅ Thin meshes render group set to ${groupId}`);
} else {
console.error("❌ thinMeshes array not found.");
}
updateESPButton?.();
}
// Utility Functions
function findNoaAndKey() {
// HILOCATOR push
wpInstance.push([
[Math.floor(Math.random() * 90000) + 10000], {},
function(wpRequire) {
shideFuxny.findModule = (code) => wpRequire(Object.keys(wpRequire.m)
[Object.values(wpRequire.m).findIndex(m => m.toString().includes(code))]);
shideFuxny.Props =
Object.values(shideFuxny.findModule("nonBlocksClient:")).find(prop => typeof prop
== "object");
shideFuxny.NIGHT = Object.values(shideFuxny.Props).find(prop =>
prop?.entities);
//Credits to, you guessed it wang!
}
]);
if (!shideFuxny.NIGHT) {
if (shideFuxny.impKey) {
console.log("importantList identified:", shideFuxny.impKey);
(function findECS() {
const noaObj = shideFuxny.NIGHT;
if (!noaObj) {
console.error("❌ noa object not found");
return;
}
function findeIdKey() {
findeIdKey();
function findAddComponentFunction(obj) {
const exclude = ['overwriteComponent', 'deleteComponent',
'removeComponent', 'getState'];
for (const key in obj) {
if (exclude.includes(key)) continue;
const fn = obj[key];
if (typeof fn !== 'function') continue;
try {
fn(999999, "__FAKE_COMPONENT__", {});
} catch (err) {
const msg = (err?.message || "").toLowerCase();
if (
msg.includes("unknown component") ||
msg.includes("already has component") ||
(msg.includes("component") && msg.includes("missing"))
) {
console.log(`🧩 Candidate: ${key} → likely addComponent()`);
return key;
}
}
}
console.warn("❌ Could not identify an addComponent-like function.");
return null;
}
function autoDetectChunkDataField(chunk) {
for (const key of Object.keys(chunk)) {
const val = chunk[key];
if (!val) continue;
if (
typeof val === "object" &&
Array.isArray(val.stride) &&
val.stride.length === 3 &&
(
Array.isArray(val.data) ||
ArrayBuffer.isView(val.data) // covers Uint16Array etc.
)
) {
console.log("✅ Detected chunk data field:", key);
chunkDataField = key;
return key;
}
}
autoDetectChunkDataField(Object.values(shideFuxny.world[shideFuxny.impKey].hash)
[0]);
if (hasDoAttackDirect) {
console.log("maybeEntity has doAttack");
playerEntity = maybeEntity;
} else if (hasDoAttackBreakingItem) {
console.log("maybeEntity.breakingItem has doAttack");
playerEntity = maybeEntity.breakingItem;
} else {
console.warn("Neither maybeEntity nor its breakingItem has doAttack");
playerEntity = null;
}
mesh = null;
scene = null;
engine = null;
StandardMaterial = null;
Color3 = null;
/*
(function findRenderingModule() {
const scene = shideFuxny?.Lion?.scene;
if (!scene) {
console.error("❌ shideFuxny.Lion.scene not set");
return;
}
})();
*/
startTargetFinder()
// Create box
//newBox.Da = true;
newBox.material = new shideFuxny.Lion.StandardMaterial("mat",
shideFuxny.Lion.scene);
newBox.material.diffuseColor = new shideFuxny.Lion.Color3(1, 1, 1);
newBox.material.emissiveColor = new shideFuxny.Lion.Color3(1, 1, 1);
newBox.name = 'BodyMesh';
newBox.id = 'BodyMesh';
newBox.isVisible = false;
shideFuxny.entityList = r.values(shideFuxny.NIGHT)[30]
humanoidMeshlist = shideFuxny.entities[shideFuxny.impKey]?.humanoidMesh?.list;
__stringKey = null;
if (Array.isArray(humanoidMeshlist)) {
outerLoop: for (const obj of humanoidMeshlist) {
for (const key in obj) {
if (typeof obj[key] === "string") {
__stringKey = key;
break outerLoop;
}
}
}
}
else {
console.error("❌ Invalid humanoidMeshlist path.");
}
// Follow loop
function followHeadLoop() {
if (newBox) {
const playerId = 1;
const playerPosState = shideFuxny.entities.getState(playerId,
"position");
animationFrameId = requestAnimationFrame(followHeadLoop);
}
passiveFeatures();
if (value && typeof value === 'object' && value.id === '1NameTag')
{
console.log("✅ Path to NameTag parent:", currentPath);
return obj;
}
cachedNameTagParent = shideFuxny.Lion.scene
//findParentOfNameTag(shideFuxny.world[shideFuxny.impKey].hash) Все ебать.
function findElementByText(text) {
const all = document.querySelectorAll('div, span, button, a');
for (const el of all)
if (el.textContent.trim() === text) return el;
return null;
}
function clickTeleportButton() {
const teleportButtonText = findElementByText('Teleport To Lobby Spawn');
if (teleportButtonText) {
let clickable = teleportButtonText;
while (clickable && !clickable.onclick && clickable.tagName !== 'BUTTON')
clickable = clickable.parentElement;
if (clickable) {
console.log('Clicking teleport button:', clickable);
clickable.click();
} else {
console.warn('No clickable parent found, trying to click text element
itself');
teleportButtonText.click();
}
} else console.warn('Teleport button text not found in DOM');
}
function toggleAutoPot() {
if (!injectedBool) {
}
autoPotionEnabled = !autoPotionEnabled;
if (autoPotionEnabled) {
autoPotionInterval = setInterval(movePotionToSlot, 1000);
console.log("AutoPotion enabled");
} else {
clearInterval(autoPotionInterval);
autoPotionInterval = null;
console.log("AutoPotion disabled");
}
updateAutoPotButton();
}
function toggleNameTags() {
if (!injectedBool) {
nameTagsEnabled = !nameTagsEnabled;
if (nameTagsEnabled) {
if (!cachedNameTagParent) {
nameTagsEnabled = false;
return;
}
nameTagParent = cachedNameTagParent;
nameTagsIntervalId = setInterval(() => {
const entityList = shideFuxny.entityList;
if (!entityList || typeof entityList !== 'object') return;
} catch (e) {}
}
}
}
const descRenderGroup =
Object.getOwnPropertyDescriptor(tag, 'renderingGroupId');
if (!descRenderGroup || descRenderGroup.configurable) {
Object.defineProperty(tag, 'renderingGroupId', {
get() {
return 3;
},
set(val) {
if (val !== 3) {}
},
configurable: true
});
}
} catch (e) {}
}
}
}, 15000);
console.log("✅ NameTag visibility lock: ON");
} else {
clearInterval(nameTagsIntervalId);
nameTagsIntervalId = null;
if (nameTagParent) {
for (const key in nameTagParent) {
const tag = nameTagParent[key];
if (tag && typeof tag === 'object' && typeof tag.id === 'string' &&
tag.id.includes('NameTag')) {
try {
const current = tag._isVisible;
delete tag._isVisible;
tag._isVisible = current;
} catch (e) {
console.warn("Failed to unlock _isVisible on", tag);
}
}
}
}
nameTagParent = null;
console.log("🟡 NameTag visibility lock: OFF");
}
updateNameTagsButton();
}
function toggleBHOP() {
if (!injectedBool) {
}
bhopEnabled = !bhopEnabled;
if (bhopEnabled) {
if (!moveState || !physState) {
console.warn("❌ BHOP references not initialized. Did you inject?");
bhopEnabled = false;
return;
}
bhopIntervalId = setInterval(bunnyHop, 10); //was 60
console.log("BHOP: ON");
} else {
clearInterval(bhopIntervalId);
bhopIntervalId = null;
console.log("BHOP: OFF");
}
updateBHOPButton();
}
function toggleBlinkWrapper() {
if (!injectedBool) {
}
const colyRoom = shideFuxny?.bloxd?.client?.msgHandler?.colyRoom;
if (!colyRoom || typeof colyRoom.sendBytes !== "function") {
console.warn("[Blink] colyRoom or sendBytes not ready.");
return;
}
// Initialize blinkState if needed
if (!blinkState) {
blinkState = {
enabled: false,
originalSendBytes: colyRoom.sendBytes,
queued: [],
interval: 0,
noPacket: false
};
} else if (typeof blinkState.originalSendBytes !== "function") {
// Safeguard: recapture originalSendBytes if corrupted
blinkState.originalSendBytes = colyRoom.sendBytes;
}
// Toggle
blinkState.enabled = !blinkState.enabled;
blinkState.interval = 0; // optional tweak
blinkState.noPacket = false;
if (blinkState.enabled) {
console.log(`[Blink] ENABLED — interval: ${blinkState.interval}, noPacket:
${blinkState.noPacket}`);
if (blinkState.interval > 0) {
setTimeout(send, blinkState.interval);
} else {
blinkState.queued.push([J, T]);
}
};
} else {
console.log(`[Blink] DISABLED — sending ${blinkState.queued.length}
packets.`);
for (const [J, T] of blinkState.queued) {
if (typeof blinkState.originalSendBytes === "function") {
blinkState.originalSendBytes.call(colyRoom, J, T);
} else {
console.warn("[Blink] Cannot replay packets — originalSendBytes is
invalid.");
break;
}
}
colyRoom.sendBytes = blinkState.originalSendBytes;
blinkState.queued = [];
}
// Update UI
if (typeof updateBlinkButton === "function") {
updateBlinkButton();
}
}
// ⛏ BHOP logic
function bunnyHop() {
if (!bhopEnabled || !physState.isOnGround?.() || moveState.crouching ||
moveState.speed < 0.05) return;
moveState.jumping = true;
physState._hadJumpInputPrevTick = false;
setTimeout(() => {
moveState.jumping = false;
}, 20);
}
///////////////////////////////////////////////////////////////////////////////////
///GUI
document.getElementById("rndAsciiGUI")?.remove();
document.getElementById("rndAsciiGUI_minimized")?.remove();
let miniPos = {
left: 10,
top: 10
};
let accent = {
color: defaultColor,
alpha: 1
};
let bg = {
color: defaultBackGroundColor,
alpha: defaultBackGroundTransparency,
blur: defaultBackGroundBlur
};
let isGuiVisible = true;
let minimizedIcon = null;
.gradient-indicator {
background: var(--accent-gradient);
}
#rndAsciiGUI {
position: fixed;
top: 10vh;
left: 10vw;
width: 35vw; /* Change width to one-third of the original */
height: auto;
z-index: 999999;
border-radius: 8px;
overflow: hidden;
font-family: sans-serif;
pointer-events: none;
}
#rndAsciiTopBar {
height: 40px;
background: var(--accent-gradient);
color: white;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 10px;
cursor: move;
pointer-events: auto;
}
#rndAsciiTopBar img {
width: 24px;
height: 24px;
margin-right: 10px;
border-radius: 4px;
}
#rndAsciiTopBarTitle {
display: flex;
align-items: center;
pointer-events: auto;
}
#rndAsciiMinBtn {
background: none;
border: none;
color: white;
font-size: 18px;
cursor: pointer;
padding: 0 10px;
pointer-events: auto;
}
#rndAsciiContent {
display: flex;
height: auto;
pointer-events: auto;
}
#rndAsciiSidebar {
width: 150px;
display: flex;
flex-direction: column;
}
.rndAsciiBtn {
box-sizing: border-box;
padding: 12px 10px;
color: rgba(255, 255, 255, 0.8);
background: none;
text-align: left;
position: relative;
cursor: pointer;
outline: none;
border: none;
box-shadow: none;
transition: all 0.2s;
pointer-events: auto;
font-size: 14px;
height: 50px;
display: flex;
align-items: center;
border-radius: 4px;
margin: 2px 5px;
}
.rndAsciiBtn.active {
font-weight: bold;
background: rgba(255, 255, 255, 0.1);
}
.rndAsciiBtn:hover {
background: rgba(255, 255, 255, 0.05);
}
.rndAsciiBtn.indicatorLine {
position: absolute;
bottom: 0;
left: 0;
height: 4px
width: 0%;
background: var(--accent-gradient);
transition: width 0.3s;
border-radius: 2px;
}
#rndAsciiDivider {
width: 2px;
background: var(--accent-color, ${defaultColor});
margin: 0 5px;
}
#rndAsciiPage {
flex: 1;
padding: 20px;
color: white;
overflow-y: auto;
pointer-events: auto;
}
#rndAsciiGUI_minimized {
position: fixed;
width: 32px;
height: 32px;
background: var(--accent-gradient);
border-radius: 4px;
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
cursor: move;
user-select: none;
pointer-events: auto;
}
#rndAsciiGUI_minimized img {
width: 20px;
height: 20px;
border-radius: 4px;
}
.rndAsciiGroup {
margin-bottom: 20px;
}
.rndAsciiGroup label {
display: block;
margin-bottom: 4px;
font-weight: bold;
}
input[type="range"] {
width: 100%;
accent-color: var(--accent-color, ${defaultColor});
pointer-events: auto;
}
input[type="color"] {
background: rgba(255, 255, 255, 0.1);
border: none;
outline: none;
height: 30px;
border-radius: 4px;
cursor: pointer;
pointer-events: auto;
}
input[type="text"] {
background: rgba(255, 255, 255, 0.1);
border: none;
outline: none;
height: 30px;
border-radius: 4px;
color: white;
padding: 0 10px;
pointer-events: auto;
}
.gradient-border {
position: relative;
color: white;
background-color: transparent;
border: none; /* Remove the border from the main element */
border-radius: 8px;
cursor: pointer;
z-index: 0;
}
`;
document.head.appendChild(style);
const gui = document.createElement("div");
gui.id = "rndAsciiGUI";
document.body.appendChild(gui);
const topHTML = `
<style>
#rndAsciiTopBarTitle span {
text-shadow:
0 0 5px rgba(255, 255, 255, 0.9),
0 0 10px rgba(255, 255, 255, 0.8),
0 0 15px rgba(255, 255, 255, 0.7);
}
</style>
<div id="rndAsciiTopBar">
<div id="rndAsciiTopBarTitle">
<img src="${ICON_URL}" alt="icon">
<span>${TITLE}</span>
</div>
<button id="rndAsciiMinBtn">_</button>
</div>
`;
const contentHTML = `
<div id="rndAsciiContent">
<div id="rndAsciiSidebar"></div>
<div id="rndAsciiDivider"></div>
<div id="rndAsciiPage"></div>
</div>
`;
const pageNames = [
"Inject & Enumerate",
"Combat",
"Movement",
"Visual",
"World",
"Settings"
];
function createButton(label) {
const btn = document.createElement('button');
btn.textContent = label;
btn.className = 'rndAsciiBtn';
btn.style.width = 'calc(100% - 10px)';
btn.style.padding = '12px 10px';
btn.style.position = 'relative';
btn.style.margin = '3px 5px';
btn.style.border = 'none';
btn.style.borderRadius = '4px';
btn.style.backgroundColor = 'rgba(255, 255, 255, 0.05)';
btn.style.color = 'rgba(255, 255, 255, 0.8)';
btn.style.cursor = 'pointer';
btn.style.fontSize = '14px';
btn.style.textAlign = 'left';
btn.style.height = '50px';
btn.style.display = 'flex';
btn.style.alignItems = 'center';
btn.style.transition = 'all 0.2s';
btn.appendChild(indicatorLine);
btn.indicatorLine = indicatorLine;
btn.onmouseenter = function() {
this.style.backgroundColor = 'rgba(255, 255, 255, 0.15)';
};
btn.onmouseleave = function() {
if (!this.classList.contains('active')) {
this.style.backgroundColor = 'rgba(255, 255, 255, 0.05)';
}
};
return btn;
}
btn.onclick = () => {
// Clear existing active styles
pageBtns.forEach((b) => {
b.classList.remove("active");
b.style.backgroundColor = "rgba(255, 255, 255, 0.05)";
b.style.fontWeight = "normal";
b.indicatorLine.style.width = "0%";
});
if (i === 0) btn.classList.add("active");
sidebar.appendChild(btn);
pageBtns.push(btn);
}
function showCustomizationPage() {
customizationElements.length = 0;
accentGroup.appendChild(accentColorLabel);
accentGroup.appendChild(accentColorInput);
accentGroup.appendChild(accentAlphaLabel);
accentGroup.appendChild(accentAlphaInput);
bgGroup.appendChild(bgColorLabel);
bgGroup.appendChild(bgColorInput);
bgGroup.appendChild(bgAlphaLabel);
bgGroup.appendChild(bgAlphaInput);
bgGroup.appendChild(bgBlurLabel);
bgGroup.appendChild(bgBlurInput);
toggleKeyGroup.appendChild(toggleKeyLabel);
toggleKeyGroup.appendChild(toggleKeyInput);
toggleKeyGroup.appendChild(toggleKeyDesc);
keybindActions.forEach((bind) => {
const bindLabel = document.createElement("label");
bindLabel.textContent = `${bind.name} Keybind`;
document.removeEventListener("keydown", handleKeyDown);
bindInput.blur();
};
document.addEventListener("keydown", handleKeyDown, {
once: true
});
});
keybindGroup.appendChild(bindLabel);
keybindGroup.appendChild(bindInput);
});
toggleKeyInput.addEventListener("focus", () => {
const handleKeyDown = (e) => {
e.preventDefault();
openKey = e.key;
toggleKeyInput.value = openKey;
console.log(openKey);
document.removeEventListener("keydown", handleKeyDown);
toggleKeyInput.blur();
};
document.addEventListener("keydown", handleKeyDown, {
once: true
});
});
}
showCustomizationPage();
function applyTheme() {
const accentRGBA = hexToRgba(accent.color, accent.alpha);
const bgRGBA = hexToRgba(bg.color, bg.alpha);
gui.style.setProperty("--accent-color", accent.color);
gui.style.setProperty("--accent-gradient", defaultGradient);
gui.style.background = bgRGBA;
gui.style.backdropFilter = `blur(${bg.blur}px)`;
return `#${compR}${compG}${compB}`;
}
applyTheme();
document.addEventListener("mouseup", () => {
dragging = false;
});
gui.querySelector("#rndAsciiMinBtn").onclick = () => {
gui.style.display = "none";
isGuiVisible = false;
showMinimizedIcon();
};
function showMinimizedIcon() {
minimizedIcon = document.createElement("div");
minimizedIcon.id = "rndAsciiGUI_minimized";
minimizedIcon.className = "minimized-icon";
minimizedIcon.style.left = `${miniPos.left}px`;
minimizedIcon.style.top = `${miniPos.top}px`;
minimizedIcon.style.position = "fixed";
minimizedIcon.style.width = "32px";
minimizedIcon.style.height = "32px";
minimizedIcon.style.background = accent.color; // Set the background color here
minimizedIcon.style.borderRadius = "4px";
minimizedIcon.style.zIndex = "130";
minimizedIcon.style.display = "flex";
minimizedIcon.style.alignItems = "center";
minimizedIcon.style.justifyContent = "center";
minimizedIcon.style.cursor = "move";
minimizedIcon.style.userSelect = "none";
minimizedIcon.style.pointerEvents = "auto";
minimizedIcon.appendChild(draggableArea);
minimizedIcon.appendChild(img);
document.body.appendChild(minimizedIcon);
shideFuxny.Props.pointerLockWrapper.removePointerUnlockRequest("Menu")
}
} else {
gui.style.display = "block";
isGuiVisible = true;
if (minimizedIcon) minimizedIcon.remove();
if (shideFuxny.Props.pointerLockWrapper) {
shideFuxny.Props.pointerLockWrapper.requestPointerUnlock("Menu")
}
}
}
});
function createPageOneContent() {
const page = document.getElementById("rndAsciiPage");
page.innerHTML = "";
const container = document.createElement("div");
container.style.display = "flex";
container.style.flexDirection = "column";
container.style.justifyContent = "center";
container.style.alignItems = "center";
container.style.height = "100%";
// Inject Button
injectButton = document.createElement("button");
injectButton.textContent = injectedBool ? "Injected!" : "Waiting for game...";
injectButton.className = "rndAsciiBtn gradient-border";
injectButton.disabled = true;
Object.assign(injectButton.style, {
backgroundImage: defaultGradient,
color: "#fff",
border: "none",
padding: "2px 12px",
fontSize: "14px",
textShadow: "0 0 6px rgba(255, 255, 255, 0.6)",
marginBottom: "8px",
cursor: "pointer",
width: "150px",
height: "30px",
boxSizing: "border-box",
display: "flex",
justifyContent: "center",
alignItems: "center",
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
});
injectButton.style.textShadow = `
0 0 5px #fff,
0 0 10px ${defaultColor},
0 0 20px ${defaultColor},
0 0 30px ${defaultColor}
`;
injectButton.onmouseenter = () => {
injectButton.style.boxShadow = "0 4px 12px rgba(0, 0, 0, 0.3)";
};
injectButton.onmouseleave = () => {
injectButton.style.boxShadow = "0 4px 8px rgba(0, 0, 0, 0.2)";
};
injectButton.onmousedown = () => {
injectButton.style.transform = "scale(0.98)";
};
injectButton.onmouseup = () => {
injectButton.style.transform = "scale(1)";
};
injectButton.onclick = () => {
try {
findNoaAndKey();
if (!shideFuxny.NIGHT) {
console.warn("❌ Could not find noa");
injectButton.textContent = "Failed";
return;
}
console.log("Injection completed!");
injectButton.textContent = "Injected!";
injectedBool = true;
applyTheme();
} catch (err) {
console.error("Error running findNoaAndKey:", err);
injectButton.textContent = "Error";
alert("Error running function. See console.");
}
};
// Discord Button
const discordButton = document.createElement("button");
discordButton.textContent = "Discord";
discordButton.className = "rndAsciiBtn";
Object.assign(discordButton.style, buttonStyle);
discordButton.style.textShadow = `
0 0 5px #fff,
0 0 10px #5865F2,
0 0 20px #5865F2,
0 0 30px #5865F2
`;
discordButton.onclick = () => {
window.open("https://discord.gg/G6ksFfQdaW", "_blank");
};
addHoverHandlers(discordButton);
addHoverHandlers(clearCookiesButton);
// Append elements
container.appendChild(injectButton);
container.appendChild(discordButton);
container.appendChild(clearCookiesButton);
page.appendChild(container);
// HILOCATOR push
wpInstance.push([
[Math.floor(Math.random() * 90000) + 10000], {},
function(wpRequire) {
shideFuxny.findModule = (code) => wpRequire(Object.keys(wpRequire.m)
[Object.values(wpRequire.m).findIndex(m => m.toString().includes(code))]);
shideFuxny.Props =
Object.values(shideFuxny.findModule("nonBlocksClient:")).find(prop => typeof prop
== "object");
shideFuxny.NIGHT = Object.values(shideFuxny.Props).find(prop =>
prop?.entities);
//Credits to, you guessed it wang!
}
]);
createPageOneContent();
notification.style.backdropFilter = `blur(${defaultBackGroundBlur}px)`;
notification.style.border = '2px solid transparent';
notification.style.borderImage = 'var(--accent-gradient) 1';
notification.style.backgroundClip = 'padding-box';
// Add to container
notificationContainer.appendChild(notification);
// Update functions
function updateWireframeButton() {
updateButtonUnderline(wireframeBtn, wireFramesBool);
if (!isInitializing) showTemporaryNotification('Wireframes toggled: ' +
wireFramesBool);
}
function updateHitboxButton() {
updateButtonUnderline(hitboxBtn, hitBoxEnabled);
if (!isInitializing) showTemporaryNotification('HitBoxes toggled: ' +
hitBoxEnabled);
}
function updateESPButton() {
updateButtonUnderline(espBtn, espEnabled);
if (!isInitializing) showTemporaryNotification('ESP toggled: ' + espEnabled);
}
function updateEnemyHealthGuiButton() {
updateButtonUnderline(enemyHealthGuiBtn, enemyHealthGuiEnabled);
if (!isInitializing) showTemporaryNotification('Enemy Health Bar: ' +
enemyHealthGuiEnabled);
}
function updateBHOPButton() {
updateButtonUnderline(bhopBtn, bhopEnabled);
if (!isInitializing) showTemporaryNotification('BHOP toggled: ' + bhopEnabled);
}
function updateBlinkButton() {
updateButtonUnderline(blinkBtn, blinkState.enabled);
if (!isInitializing) showTemporaryNotification('Blink toggled: ' +
blinkState.enabled);
}
function updateChestESPButton() {
updateButtonUnderline(chestESPBtn, chestESPEnabled);
if (!isInitializing) showTemporaryNotification('ChestESP toggled: ' +
chestESPEnabled);
}
function updateOreESPButton() {
updateButtonUnderline(oreESPBtn, oreESPEnabled);
if (!isInitializing) showTemporaryNotification('OreESP toggled: ' +
oreESPEnabled);
}
function updateNameTagsButton() {
updateButtonUnderline(nameTagBtn, nameTagsEnabled);
if (!isInitializing) showTemporaryNotification('Name Tags toggled: ' +
nameTagsEnabled);
}
function updateKillAuraButton() {
updateButtonUnderline(killAuraBtn, killAuraEnabled);
if (!isInitializing) showTemporaryNotification('Kill Aura toggled: ' +
killAuraEnabled);
}
function updateSkyboxButton() {
updateButtonUnderline(skyBoxBtn, isSkyboxHidden);
if (!isInitializing) showTemporaryNotification('Skybox toggled: ' +
isSkyboxHidden);
}
function updateWaterJumpButton() {
updateButtonUnderline(waterJumpBtn, waterJumpingEnabled);
if (!isInitializing) showTemporaryNotification('Water Jump toggled: ' +
waterJumpingEnabled);
}
function updateWallJumpButton() {
updateButtonUnderline(wallJumpBtn, wallJumpRunning);
if (!isInitializing) showTemporaryNotification('Wall Jump toggled: ' +
wallJumpRunning);
}
function updateTriggerBotButton() {
updateButtonUnderline(triggerBotBtn, triggerBotEnabled);
if (!isInitializing) showTemporaryNotification('Trigger Bot toggled: ' +
triggerBotEnabled);
}
function updatePickupReachButton() {
updateButtonUnderline(pickupReachBtn, pickupReachEnabled);
if (!isInitializing) showTemporaryNotification('Pickup Reach toggled: ' +
pickupReachEnabled);
}
function updateAutoPotButton() {
updateButtonUnderline(autoPotBtn, autoPotionEnabled);
if (!isInitializing) showTemporaryNotification('Auto Potion toggled: ' +
autoPotionEnabled);
}
injectedBool = false;
isInitializing = false;
/*
function retoggleEnabledFeatures() {
const toggles = [
{ enabled: wireFramesBool, btn: wireframeBtn },
{ enabled: espEnabled, btn: espBtn },
{ enabled: bhopEnabled, btn: bhopBtn },
{ enabled: blinkState?.enabled, btn: blinkBtn },
{ enabled: chestESPEnabled, btn: chestESPBtn },
{ enabled: oreESPEnabled, btn: oreESPBtn },
{ enabled: nameTagsEnabled, btn: nameTagBtn },
{ enabled: killAuraEnabled, btn: killAuraBtn },
{ enabled: isSkyboxHidden, btn: skyBoxBtn },
{ enabled: waterJumpingEnabled, btn: waterJumpBtn },
{ enabled: wallJumpRunning, btn: wallJumpBtn },
{ enabled: triggerBotEnabled, btn: triggerBotBtn },
{ enabled: pickupReachEnabled, btn: pickupReachBtn },
{ enabled: enemyHealthGuiEnabled, btn: enemyHealthGuiBtn },
];
observer.observe(document.body, {
childList: true,
subtree: true
});
}
function startWebSocketWatcher() {
let waitingForConnect = true;
let wasConnected = false;
if (waitingForConnect) {
if (url) {
console.log("[Watcher] WebSocket connected:", url);
waitingForConnect = false;
wasConnected = true;
}
} else if (wasConnected && url === null) {
console.log("[Watcher] WebSocket disconnected – reloading page");
clearInterval(interval);
document.getElementById("rndAsciiGUI")?.remove();
document.getElementById("rndAsciiGUI_minimized")?.remove();
location.reload();
}
}, 2000);
}
//})();