command /dodatki: aliases: bony, bon, dodatek, akcesoria, akce trigger: open chest with 3 rows named "&8Wybierz Menu" to player wait 1 tick format slot 10 of player with 1 of Minecart With Hopper named "&aAkcesoria" to run [execute player command "eszketitek"] format slot 13 of player with 1 of sign item named "&aBony" to run [execute player command "eszketitek1"] format slot 16 of player with 1 of beacon named "&aArtefakty" to run [execute player command "eszketitek2"] command /eszketitek: trigger: open chest with 1 rows named "&8Dodatki" to player wait 1 tick if {dodatki.tarcza.%player%} is true: format slot 0 of player with {dodatki.item.tarcza.%player%} with lore "&cAKTYWNY||%{dodatki.lore.tarcza.%player%}%" to close then run [make player execute command "remdodatek tarcza"] else: format slot 0 of player with iron bars named "&cBrak Tarczy" to close if {dodatki.rekawica.%player%} is true: format slot 1 of player with {dodatki.item.rekawica.%player%} with lore "&cAKTYWNY||%{dodatki.lore.rekawica.%player%}%" to close then run [make player execute command "remdodatek rekawica"] else: format slot 1 of player with iron bars named "&cBrak Rekawicy" to close if {dodatki.horcrux.%player%} is true: format slot 2 of player with {dodatki.item.horcrux.%player%} with lore "&cAKTYWNY||%{dodatki.lore.horcrux.%player%}%" to close then run [make player execute command "remdodatek horcrux"] else: format slot 2 of player with iron bars named "&cBrak Horcruxa" to close command /eszketitek1: trigger: open chest with 1 rows named "&8Bony" to player wait 1 tick if {bony.lustro.%player%} is true: format slot 0 of player with {bony.item.lustro.%player%} with lore "&cAKTYWNY||%{bony.lore.lustro.%player%}%" to close then run [make player execute command "remdodatek lustro"] else: format slot 0 of player with iron bars named "&cBrak Lustra" to close if {bony.hieroglify.%player%} is true: format slot 1 of player with {bony.item.hieroglify.%player%} with lore "&cAKTYWNY||%{bony.lore.hieroglify.%player%}%" to close then run [make player execute command "remdodatek hieroglify"] else: format slot 1 of player with iron bars named "&cBrak Starozytnych Hieroglifow" to close