variables: {Konto2.%player%} = false {Konto1.%player%} = false on join: open chest with 1 rows named "Konta" wait 2 ticks format slot 0 of player with 1 of wool:1 named "1" with lore "Konto 1" to close then run [execute player command "ustawkonto 1"] format slot 1 of player with 1 of wool:1 named "2" with lore "Konto 2" to close then run [execute player command "ustawkonto 2"] command /ustawkonto []: trigger: if arg 1 is "1": send "Ustawiłeś konto 1" set {Konto1.%player%} to true stop if arg 1 is "2": send "Ustawiłeś konto 2" set {Konto2.%player%} to true stop else: stop