on join: wait 2 ticks set player's selected hotbar slot to 0 wait 2 ticks set player's tool to clock named "&6Wybierz Tryb" on rightclick with clock: name of player's tool is "&6Wybierz Tryb" open chest inventory with 3 rows named "&8Wybor Trybu" to player wait 2 ticks loop 27 times: set slot (loop-number - 1) of player's current inventory to black stained glass pane named "&8" set slot 11 of player's current inventory to diamond named "&bCreative" with lore "", "&e&oKliknij, aby dolaczyc." set slot 13 of player's current inventory to 1 of 355 named "&cBedWars" with lore "", "&e&oKliknij, aby dolaczyc." set slot 15 of player's current inventory to iron pickaxe named "&aSurvival" with lore "", "&e&oKliknij, aby dolaczyc." on inventory click: inventory name of event-inventory is "&8Wybor Trybu" cancel event clicked slot is 11: execute console command "mvtp %player% creative" loop 100 times: send "" send "&7 &e&oZostales przeniesiony na &bCreative" send "" clicked slot is 13: execute console command "mvtp %player% bedwars" loop 100 times: send "" send "&7 &e&oZostales przeniesiony na &cBedWars" send "" clicked slot is 15: execute console command "mvtp %player% survival" loop 100 times: send "" send "&7 &e&oZostales przeniesiony na &aSurvival" send ""