I'm making a sort of tp so anyone can tp to anyone else. I've made a working id system
So i want any user to be able to tp to any other user. I currently have a trigger for tp and I'm trying to make it so you can use /trigger tp set (user id to tp to)
execute as @a[scores={tp=1..}] at @s run tp @p[scores={playerid=tp}] #this doesnt work I don't know how to use tp as a variable
Continue to help post