on rightclick on gold ore: cancel event wait 1 tick open chest with 6 rows named "************" to player format slot 0 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 1 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 2 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 3 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 4 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 5 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 6 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 7 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 8 of player with 1 white stained glass pane of unbreaking 10 named "************" to close format slot 9 of player with 1 white stained glass pane of unbreaking 10 named "************" to close