I'm not entirely sure what you want to do, but you can get the coords of the position where the player spawns with a procedure. Use the global trigger "Player joins the world" and store the coords in global variables or the player's nbt. Then you can use the coords in another procedure.
I'm not entirely sure what you want to do, but you can get the coords of the position where the player spawns with a procedure. Use the global trigger "Player joins the world" and store the coords in global variables or the player's nbt. Then you can use the coords in another procedure.