Hello, I am currently trying to make a GUI that closes the menu, then replaces the player's item with something else, I tried using TuSKe but it just made all my custom commands not work, is there any other plugin that wouldn't make me have to use this code?
Code:
command /menu:
trigger:
wait 1 tick
open chest with 3 rows named "Menu" to player
wait 1 tick
format slot 0 of player with diamond named "&6Spawn" to close then run [execute player command "/spawn"]