hey,
i am using skript version 2.6.4 and skbee 2.18.3
this is my skript:
i am using skript version 2.6.4 and skbee 2.18.3
this is my skript:
it executes the command and makes the item unbreakable but it does not apply the armor trim, it doesnt give me any errors either and to be honest i dont know what else to trycommand /Halloweenunbreakable:
trigger:
loop all items in the inventory of player:
if loop-value is a leather helmet named "Halloween Helmet":
message "&d[&6BMC Halloween&d] &6Poof!" to player
add nbt compound from "{Unbreakable:1}" to nbt compound of loop-value
add armor trim using gold_material with eye_pattern to armor trim of loop-value
if loop-value is a leather chestplate named "&6Halloween &dTorso":
add nbt compound from "{Unbreakable:1}" to nbt compound of loop-value
if loop-value is a leather Leggings named "&6Halloween &dLeggings":
add nbt compound from "{Unbreakable:1}" to nbt compound of loop-value
if loop-value is a leather Boots named "&6Halloween &dBoots":
add nbt compound from "{Unbreakable:1}" to nbt compound of loop-value
stop