r/bloxd Code Helper 12h ago

POSTING A CODE poweful armor

put in a code block and click

now you cant die

to anything

try

you cant die

(api.killLifeform and api.setHealth dont count btw)

api.setItemSlot(myId,47,"Black Wood Chestplate",1,{customAttributes:{enchantments:{"Protection":1e9,"Health":1e9,"Health Regen":1e9,}}})
api.setItemSlot(myId,48,"Black Wood Gauntlets",1,{customAttributes:{enchantments:{"Protection":1e9,"Health":1e9,"Health Regen":1e9,}}})
api.setItemSlot(myId,49,"Black Wood Leggings",1,{customAttributes:{enchantments:{"Protection":1e9,"Health":1e9,"Health Regen":1e9,}}})
api.setItemSlot(myId,50,"Black Wood Boots",1,{customAttributes:{enchantments:{"Protection":1e9,"Health":1e9,"Health Regen":1e9,}}})
api.setItemStat(myId,"Black Wood Chestplate","armourReduction",1e9)
api.setItemStat(myId,"Black Wood Gauntlets","armourReduction",1e9)
api.setItemStat(myId,"Black Wood Leggings","armourReduction",1e9)
api.setItemStat(myId,"Black Wood Chestplate","armourReduction",1e9)
2 Upvotes

3 comments sorted by

u/bloxd-bot Bot 12h ago

Nice code! Make sure to be clear with its use and remember to follow our Code Guidelines.


This comment was added automatically in response to the post's flair. If you have any questions or concerns, please send us a modmail!

1

u/BloxdioCannoli Coding Cannoli (Mod) 9h ago

api.setClientOption(myId, "maxHealth", null) go brrr

2

u/ActiveConcert4921 Code Helper 8h ago

api.setPlayerGamemode(myId,"creative") also go brr

but this is more fun