Custom Armour Abilities

  • 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 community!

    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.

ImBananaCrazy

Member
Dec 15, 2019
1
0
0
How can I make it where you can craft a certain set of armour and it to have an ability when completed?

EX. Armour made with Lapiz and the Full Set Ability is Speed.

Thanks
 
How can I make it where you can craft a certain set of armour and it to have an ability when completed?

EX. Armour made with Lapiz and the Full Set Ability is Speed.

Thanks
WIld guess here

Code:
on load:
    register new shaped recipe for iron boots named "&2Lapis Boots" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using air, air, air, lapis lazuli, air, lapis lazuli, lapis lazuli, air, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Leggings" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, air, lapis lazuli, lapis lazuli, air, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Chestplate" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using lapis lazuli, air, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Helmet" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, air, lapis lazuli, air, air, air
register new shaped recipe for iron boots named "&2Lapis Helmet" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using air, air, air, lapis lazuli, lapis lazuli, lapis lazuli, lapis lazuli, air, lapis lazuli
register new shaped recipe for iron boots named "&2Lapis Boots" with lore "&2Set Ability:||&2You get speed II when using a full set of Lapis Armor!" using air, air, air, lapis lazuli, air, lapis lazuli, lapis lazuli, air, lapis lazuli

every 15 seconds:
    if {_lapis.%uuid of player%} is false:
        if player is wearing iron helmet named "&2Lapis Boots":
            if player is wearing iron chestplate named "&2Lapis Chestplate":
                if player is wearing iron leggings named "&2Lapis Leggings":
                    if player is wearing iron boots named "&2Lapis Boots":
                        apply swiftness 2 to player
                        set {_lapis.%uuid of player%
every 15 seconds:
    if {_lapis.%uuid of player%} is true
        if player is not wearing iron helmet named "&2Lapis Boots":
            execute console command "effect clear %player%"
            set {_lapis.%uuid of player%} to false
        if player is not wearing iron helmet named "&2Lapis Leggings":
            execute console command "effect clear %player%"
            set {_lapis.%uuid of player%} to false
        if player is not wearing iron helmet named "&2Lapis Chestplate":
            execute console command "effect clear %player%"
            set {_lapis.%uuid of player%} to false
        if player is not wearing iron helmet named "&2Lapis Helmet":
            execute console command "effect clear %player%"
            set {_lapis.%uuid of player%} to false
 
Status
Not open for further replies.