I want to know how to open an existing gui rather than a new gui with the code that opens the gui in gui
on inventory click:
if name of event-inventory contain "&9&lfoodshop2":
if clicked raw slot is 50:
open chest with 6 row named "&b&lfoodshop3" to player
on inventory click:
if name of event-inventory contain "&9&lfoodshop2":
if clicked raw slot is 50:
open chest with 6 row named "&b&lfoodshop3" to player