Whenever players try to open a GUI from the skript I made, they get the message "you can't open that menu", any solutions?
command /info:
trigger:
open chest with 3 rows named "{@GUI}" to player
wait a tick
format slot 1 of player with armor stand named "{@Item1}" with lore "{@Item1Lore}" to close
format slot 3 of player with diamond sword named "{@Item2}" with lore "{@Item2Lore}" to close
format slot 5 of player with iron pickaxe named "{@Item3}" with lore "{@Item3Lore}" to close
format slot 7 of player with saddle named "{@Item4}" with lore "{@Item4Lore}" to close
format slot 11 of player with enchantment table named "{@Item5}" with lore "{@Item5Lore}" to close
format slot 13 of player with water bottle named "{@Item6}" with lore "{@Item6Lore}" to close
format slot 15 of player with compass named "{@Item7}" with lore "{@Item7Lore}" to close
format slot 21 of player with red stained glass named "{@Item8}" with lore "{@Item8Lore}" to close
format slot 23 of player with 322 named "{@Item9}" with lore "{@Item9Lore}" to close
Thanks for the help in advance.
command /info:
trigger:
open chest with 3 rows named "{@GUI}" to player
wait a tick
format slot 1 of player with armor stand named "{@Item1}" with lore "{@Item1Lore}" to close
format slot 3 of player with diamond sword named "{@Item2}" with lore "{@Item2Lore}" to close
format slot 5 of player with iron pickaxe named "{@Item3}" with lore "{@Item3Lore}" to close
format slot 7 of player with saddle named "{@Item4}" with lore "{@Item4Lore}" to close
format slot 11 of player with enchantment table named "{@Item5}" with lore "{@Item5Lore}" to close
format slot 13 of player with water bottle named "{@Item6}" with lore "{@Item6Lore}" to close
format slot 15 of player with compass named "{@Item7}" with lore "{@Item7Lore}" to close
format slot 21 of player with red stained glass named "{@Item8}" with lore "{@Item8Lore}" to close
format slot 23 of player with 322 named "{@Item9}" with lore "{@Item9Lore}" to close
Thanks for the help in advance.