on rightclick with diamond sword:
name of player's tool = ""
usuwasz 1 przedmiot z łapki linijką:
set player's tool to (item amount of player's tool - 1) of player's tool
a nie lepiej przeteleportować gracza normalnie:
teleport player to location(211,14,18,world("world"))
zamiast
execute console command "mv tp %player% world"
execute console command "tp %player% 211 14 18"