command /1 []: trigger: if arg 1 is "1": open chest with 1 rows named "&c» &9GUI &c«" to player wait 1 ticks format slot 3 of player with 1 of red wool named "&4Czerwona Welna" to close then run [execute player command "1 czer"] format slot 5 of player with 1 of green wool named "&2Zielona Welna" to close then run [execute player command "1 ziel"] if arg 1 is "czer": give 1 diamond sword to player execute console command "warp test %player%" if arg 1 is "ziel": send "Ustaw w configu co ma sie dziac xD"