wait 1 tick open chest with 3 rows named " &aWybor Gamemode" to the player wait 1 tick #1 linijka format slot 0 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 1 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 2 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 3 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 4 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 5 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 6 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 7 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 8 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable #2 linijka format slot 9 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 10 of player with 1 of 35:14 named "&cGAMEMODE 1" to close then run [set player's gamemode to creative] format slot 11 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 12 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 13 of player with 1 of 35:4 named "&cGAMEMODE 2" to close then run [set player's gamemode to adventure] format slot 14 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 15 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 16 of player with 1 of 35:5 named "&6GAMEMODE 0" to close then run [set player's gamemode to survival] format slot 17 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable #3 linijka format slot 18 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 19 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 20 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 21 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 22 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 23 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 24 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 25 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable format slot 26 of player with 1 of 160:15 named "&aWybor Gamemode" to be unstealable