my skript is kit pay to get kit but if player doesn't have 16 gold ingot | doesn't work
command /helmeti:
trigger:
if player have 16 gold ingot:
give player diamond helmet of protection 1
give player diamond chestplate of protection 1
give player diamond leggings of protection 1
give player diamond boots of protection 1
remove 16 gold ingot from player
else:
if player doesn't have 16 gold ingot
cancel event
message "&cYou Don`t Have Enough Gold ingot &4!"
command /helmeti:
trigger:
if player have 16 gold ingot:
give player diamond helmet of protection 1
give player diamond chestplate of protection 1
give player diamond leggings of protection 1
give player diamond boots of protection 1
remove 16 gold ingot from player
else:
if player doesn't have 16 gold ingot
cancel event
message "&cYou Don`t Have Enough Gold ingot &4!"