on rightclick: if player's tool is stick of unbreaking 1 named "&cRozdzka": open chest with 1 row named "&7Jaka akcje chcesz podjac?" to player wait a tick format slot 0 of player with 1 of ender eye named "&cNiewidzialnosc" to close then run [execute player command "v"] format slot 1 of player with 1 of book named "&cSocialspy" to close then run [execute player command "socialspy"] format slot 2 of player with 1 of arrow named "&cLatanie" to close then run [execute player command "fly"] format slot 3 of player with 1 of chest named "&cGamemode" to close then run [execute playerc ommand "switchmode"] format slot 4 of player with 1 of paper named "&cLista" to close then run [execute player command "list"] format slot 8 of player with 1 of barrier named "&c&lOPUSC" to close else: stop command /switchmode []: permission: icd10.switchmode trigger: if player's gamemode is survival: set the player's gamemode to creative else: set the player's gamemode to survial command /rozdzka []: permission: icd10.rozdzka trigger: give player stick of unbreaking 1 named "&cRozdzka" send "&cOtrzymales rozdzke administratora." to player