command /Cub []: trigger: wait 0.2 second send "&8[&e*&8] &6HC&4YOLO&8[&e*&8]" send "&b/Cub Stworz - Stwarz Cuboida" send "&b/Cub Del - Usuwa Cuboida" send "&8[&e*&8] &6HC&4YOLO&8[&e*&8]" if arg 1 is "Stworz": set {cub::%player%} to true give 1 end stone named "&8Kostka Cuboid &aPostaw aby stworzyć cuboida" to player send "&8Gratulacje. &aPostaw &8""Kostka Cuboid"" &aAby zrobić cuboida!" if {cub::%player%} is true: send "&4BLAD: &cJuż posiadasz cuboida aby go usunąć wpisz &b/Cub Del" if arg 1 is "Del": set {cub:%player%} to false broadcast "&6Gracz %player% usunął swojego Cuboida!" set player's end stone named "&8Kostka Cuboid &aPostaw aby stworzyć cuboida" to air on place: if event-block is end stone named "&8Kostka Cuboid &aPostaw aby stworzyć cuboida": if {cub::%player%} is not set: expand 20 20 20 of event-block set location of block to {cub::%player%} execute console command "rg define cub_%player%"