Need help with my Script. I made a GUI Script to open up a menu and display navigation to other pages, but i am not sure how to make it open a new GUI or give a player an item on click.
The Script:
command /shop:
trigger:
open virtual chest inventory with size 3 named "&8&lShop" to player
format slot 0 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 1 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 2 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 3 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 4 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 5 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 6 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 7 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 8 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 9 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 10 of player with Iron Block named "&f&lGenerators" to be unstealable
format slot 11 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 12 of player with Oak Plank named "&e&lBlocks" to be unstealable
format slot 13 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 14 of player with Water Bucket named "&b&lEssentials" to be unstealable
format slot 15 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 16 of player with Blaze Rod named "&6&lWands " to be unstealable
format slot 17 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 18 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 19 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 20 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 21 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 22 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 23 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 24 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 25 of player with Gray Stained Glass Pane named "&f&l " to be unstealable
format slot 26 of player with Gray Stained Glass Pane named "&f&l " to be unstealable