Co-op help! teleporting players

Hey!

so i have recently just made a system that allows a player to create a world kinda like minecraft, but i want to make a co-op system with it,

I have most of everything figured out, except I cant figure out how to teleport the player into a server, but then being able to get the other players to join the same server, kinda like owner makes a world, then lets the people in co-op to join it

any idea on where to start?

  1. Use ReserveServer to reserve a server then teleport 1st player using TeleportAsync to said server. Use ReserveServer’s returned data to be passed onto TeleportAsync FYI. When the player is teleported, save the returned tp result from TeleportAsync into a datastore or whatever you like.

  2. When the second player joins and clicks “Join player” you will access player 1’s teleport result and pass it onto TeleportAsync

TeleportService | Documentation - Roblox Creator Hub