I'm looking to create a SMP Server with the twist that when a player dies they get a new spawn point thousands of blocks away from their old one. I had been digging around to see if I could do this and found a promising design in this video,specifically the first method discussed.
While I could get the armor stand to spawn and move around the specified area as shown in the video (albeit with the command block spamming the chat in a way not seen in the video), I cannot get the 3rd command block to set the player's spawn point to the location of the armor stand despite copying the text of the command block to the letter. Is there something that I'm doing wrong? Is this video simply too old and the command outdated?