on rightclick:
if name of player's tool is "nazwijseto":
remove 1 golden shovel named "nazwijseto" from player
loop blocks in radius 3:
teleport player to location at loop-block
command /dej:
trigger:
give 1 golden shovel named "nazwijseto" to player
poprawilem to wyzej bo usuwanie itemu bylo w petli wiec usuwalo sie 3x
command /rangi:
aliases: rank, ranga
trigger:
wait 3 ticks
open chest with 4 rows named "&1&lRangi" to player
format slot 12 of player with dirt(zmien na jaki item chcesz) named "TU NAZWA" with lore "TU OPIS" to be unstealable
format slot 13 of player with dirt named "TU NAZWA" with lore "TU OPIS" to be unstealable
format slot 14 of player with dirt named "TU NAZWA" with lore "TU OPIS" to be unstealable
format slot 21 of player with dirt named "TU NAZWA" with lore "TU OPIS" to be unstealable
format slot 22 of player with dirt named "TU NAZWA" with lore "TU OPIS" to be unstealable
format slot 23 of player with dirt named "TU NAZWA" with lore "TU OPIS" to be unstealable
dirt sobie zmien na jakie tam chcesz itemy do rangi no i opisy i nazwy swoje. Jesli bedziesz mial jakis problem daj znac albo na dc dodaj eltusiek#7472
za to, że mi sie chcialo poprosze najke