Rainbow Capes!
- ObiloxYT
- Apr 26
- 2 min read
Updated: Apr 27

/*-----------------------------------------------------------------------------------------------------------------------*/
Bloxd Capes? Pay-to-win and underwhelming. 😞 But fear not—here comes Rainbow Capes, the ultimate free cosmetic upgrade!
Say goodbye to mediocre capes—it's time to flex the best free cape ever! 🚀💡 🔥🌟 Ready to show it off?

The Mod Conflicts with Super Boots,Super Pickaxes and Sit Addon

World Code
const rainbowColors = [
"Red Carpet", "Orange Carpet", "Yellow Carpet", "Lime Carpet",
"Green Carpet", "Cyan Carpet", "Blue Carpet", "Purple Carpet", "Pink Carpet",
"Purple Carpet", "Blue Carpet", "Cyan Carpet", "Green Carpet", "Lime Carpet",
"Yellow Carpet", "Orange Carpet", "Red Carpet"
];
let playerCapeIndexes = {}; // Stores each player's current cape color index
let tickCounter = 0; // Track game ticks for timing
tick = () => {
tickCounter++; // Increment tick count
if (tickCounter % 5 === 0) { // Every 100 ticks (~5 sec)
const playerIds = api.getPlayerIds(); // Get all active players
for (let myId of playerIds) {
playerCapeIndexes[myId] = (playerCapeIndexes[myId] || 0) + 1; // Cycle colors
playerCapeIndexes[myId] %= rainbowColors.length; // Keep within bounds
api.updateEntityNodeMeshAttachment(
myId,
"TorsoNode",
"BloxdBlock",
{ blockName: rainbowColors[playerCapeIndexes[myId]], size: 0.5, meshOffset: [0, 0, 0] },
[0, 0.35, -0.3],
[-0.5, 3.15, 1.6]
);
}
}
};

✔ Dynamic Color Cycling – Your cape shifts through vibrant rainbow colors every 5 ticks (~0.25 seconds)!
✔ Completely Free! – No paywalls, no premium restrictions—everyone gets one!
✔ No Lag, No Hassle – Lightweight design, optimized for smooth performance.
✔ Works for ALL Players – Whether you’re a builder, fighter, or explorer—your cape shines. ✔ Reverse Cycle Animation – The colors flow forward and then back for a seamless look. ✔ Instant Activation – No commands - just paste and watch the magic happen

To Change the colours, basically change the colours in the cycle in this line...
const rainbowColors = [
"Red Carpet", "Orange Carpet", "Yellow Carpet", "Lime Carpet",
"Green Carpet", "Cyan Carpet", "Blue Carpet", "Purple Carpet", "Pink Carpet",
"Purple Carpet", "Blue Carpet", "Cyan Carpet", "Green Carpet", "Lime Carpet",
"Yellow Carpet", "Orange Carpet", "Red Carpet"
];
Change them to "YourColour Carpet"
Thanks for using my fourth addon
Comments