Minecraft player troll command?

ex
- in Servers
1

I have my own server with all kinds of people on it and i wanted to troll my cousin with it. For this I'm looking for a command with which I can spawn exactly wherever she is, a spider or any other animal.

For example, to spawn a spider with the command "/ summon spider" and the coordinates, where you want to have it… But if my cousins move on, so to speak, they run 30 blocks further, then the spider will go to the coordinates spawned 30 blocks back.

can someone help me to find a command that is something like "place a spider on player34679".

would help me a lot, thanks in advance…

vi

/ execute player name ~ ~ ~ summon spider ~ ~ ~