I'm trying to make it so that when a player leaves the server all items disappear and are transferred to the newly created closet. And here is the problem all works, except for the deletion of items from the player. In the end it turns out that the items are stupidly duplicated
я пытаюсь сделать так, чтобы при выходе с сервера у игрока пропадали все вещи и переносились в только что созданный шкаф. И вот проблема все работает, кроме удаления предметов у игрока. В итоге получается так, что предметы тупо дублируются