Why its working only for first line of inventory
Code:
on inventory click:
if level of player is less than 15:
if name of tool of player is "&6&lKevlar" or "&6&lPrilba":
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 15&f!"
cancel event
on armor equip:
if level of player is less than 15:
if name of tool of player is "&6&lKevlar" or "&6&lPrilba":
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 15&f!"
cancel event