on join: wait 2 ticks player doesn't have compass set slot 4 of player to compass named "&6Wybor trybu" set player's selected hotbar slot to slot 4 of player on rightclick with compass: execute player command "tryby"