How i can fix it? When player have this armour and hand and don't have lvl5 event will cancel but when player switch item on other slot and equip nothing happend
code_language.skript:
on armor equip:
if level of player is less than 6:
if name of tool of player is "&4&lPavucie nohavice":
play "ENTITY_ARMORSTAND_BREAK" to player at volume 100
send "&e&lHAP> &c&lNemas dostatocny XP LVL! &fPre pouzitie &e&lpotrebujes&f aspon &a&llvl 6&f!"
cancel event