How would I make a squad deploy (Player spawn onto another player)

I’m attempting to make a squad deploy script, using a GUI where if you click on it. It’ll teleport you onto a player who is holding up a tool. I don’t know what to do, as it either teleports everyone, or just comes out as an error.

Do you have some code or a demo? It could help to help you