so this is my skript: command /prestige:
trigger:
set metadata tag "headGUI" of player to chest inventory with 3 rows named "&6sigma"
set slot 13 of metadata tag "headGUI" of player to echo shard named "&6&lPrestige Shard" with lore "&7Use this shard at the prestige shard shop"
open (metadata tag "headGUI" of player) to player
on inventory click:
if event-inventory = (metadata tag "headGUI" of player):
cancel event
if index of event-slot is 13:
give 1 of echo shard named "&6&lPrestige Shard" to player
which works fine, but since im new to skript, can someone help me add requirements to click the prestige button? i want to make it so you have to have 50k blocks mined