I need a command for a command block that gets the name of the nearest armor stand and saves it to a Variable.
Because weve got a Minecraft server and we want a machine where you can buy playerheads.
So you name an armor stand like the player you want the head from pay and then get the Head.
But I dont know how to do the armor stand part!
I hope you guys can help me!