Ad
Still have questions? Join our Discord server and get real time help.
Log in to vote
0

How to join a friend's server?

Asked by
RoyMer 296 Moderation Voter
4 years ago

How can I use the teleport service but make it so it joins the friend's server?

Or is this just an illusion which makes the person rejoin the game as Roblox automatically matches people with their friends?

1 answer

Log in to vote
6
Answered by
eLunate 5112 Trusted Moderation Voter Community Moderator
4 years ago

TeleportService

A quick search on the Wiki brings me to the TeleportService, where two particular methods stand out: GetPlayerPlaceInstanceAsync (Try saying that three times fast), and TeleportToPlaceInstance. Used together, these can supply you with the ability to teleport to the friend's game, by getting the game instance id and using it to teleport to the specific server instance.

0
Thanks! RoyMer 296 — 4y
Ad

Answer this question