Armor Piece Equips Full Set

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.
Feb 8, 2022
20
0
1
15
I need help getting a skript so that when you put on one piece of armor, it automatically puts on a full set of armor(all the armor pieces have curse of binding except for the piece you use to take on/off the armor set), then when you take that 1 armor piece off it removes all the armor pieces except for the one you use to take the armor set on/off. if that didn’t make sense, so basically when you put a netherite chestplate called “&f&l&oChestplate” it equips a full set of armor with curse of binding, then when you take the chestplate off it deletes all the armor pieces except for the helmet
 
On armor equip:
event-item is a netherite chestplate named "&f&l&oChestplate"
if player's boots are not enchanted with curse of binding:
give player player's helmet
give player player's leggings
give player player's boots
#- Exit if statement here
set player's helmet to a netherite helmet
set players leggings to netherite leggings
set player's boots to netherite boots
enchant player's helmet with curse of binding
enchant player's leggings with curse of binding
enchant player's boots with curse of binding

on armor unequip:
event-item is a netherite chestplate named "&f&l&oChestplate"
set player's helmet to air
set player's leggings to air
set player's boots to air

This Skript will register when the player equips the chestplate, and will give the player the armor they currently have equiped to avoid its deletion. It then sets the rest of there armor to netherite and enchants it with curse of binding. When the player removes the chestplate it registers the event and sets the rest of the player's armor to air
 
Status
Not open for further replies.