VoodooDoll

Hi, I want to implement a voodoo doll with an armor stand, when a player with the tag (voodoo_master) kills another player, the killer gets a voodoo doll and then can put it somewhere and beat, drown, burn and the player who died must take damage from this, and when he dies, the armor stand dies, and I failed to implement this because I stopped at this point that I could not give the killer an armor stand with the name of the dead player. Is this possible at all and how to implement it, please help me!!!! Translated with DeepL.com (free version)
Continue to help post