top of page

Shields


ree

/*----------------------------------------------------------------------------------------------------------------------*/

Armors are great, but what if you could take defense to the next level?

Introducing SHIELDS in Bloxd.io – the ultimate way to block all incoming damage, keeping you safe from relentless zombie attacks and other threats. Now, you can stand your ground, deflect hits, and survive longer!

ree

This mod conflicts with Super Boots, Super Pickaxes, Sit Addon and Rainbow Capes.

ree

World Code:

Code Block:

api.giveItem(myId, "Pine Door",1,{customDisplayName:"Shield"})

⚠Paste this code twice as "Pine Door" many times gets converted to "pine Door"

ree

🛡️ Ultimate Defense: Not even a group of 4 zombies can kill you!

💪 Tactical Survival: Crouch while holding this shield to use it!

🎮 Essential Upgrade: Goes beyond armor—shields give full damage negation, making survival easier.

🔄 Optimized Performance: Works efficiently without causing lag or interruptions in gameplay. although, a lot of "World code tick: InternalError: Interrupted" Errors occur frequently.

ree
  1. To modify how frequently the presence of shield is checked, modify this line:

if (tickCounter % 2 !== 0) return

Modify `2` to in how many ticks you want the addon to check for shield.

  1. To modify the item and its customDisplayName for Shield, modify these lines:

if (heldItem?.name === "Pine Door" && heldItem?.attributes?.customDisplayName === "Shield") {
api.giveItem(myId, "Pine Door",1,{customDisplayName:"Shield"})

Modify "Pine Door" to the item you want

Modify "Shield" to the customDisplayName you want.

  1. To modify the 3D model of the shield, modify this line:

api.updateEntityNodeMeshAttachment(
myId, 
"TorsoNode",
"BloxdBlock",
{ blockName: "Pine Door", size: 0.7, meshOffset: [0, 0, 0] },
[0, 1, 0.7], 
[-0.5, 0, 0]
);

Modify "Pine Door" to the item you want.

  1. to modify the pose while holding the shield, modify this line:

api.setPlayerPose(myId, "zombie");

Modify "zombie" to the pose you want. some examples are: "driving","sitting",etc.


Thanks for using my 6th addon!


 
 
 

Comments


ADD YOUR OWN PROJECT

© 2025 Bloxd world. All rights reserved.

bottom of page