Question of Teleport Service

I’m making a clan system for my game, where there is a folder (datastore) and it contains string values with the id of users in the clan ur in, how do I make it so that if any of them are online you are able to join the server they are in? I want to try make this so that you don’t have to be friended with them to play together.

Thanks in advance.

Probably you want to get the JobId of the server in which a memeber of the clan is playing and save it into a datastore or use MessagingService to send that data to a GUI or something the members should use to teleport.

DataModel.JobId

With these you can get the player’s server ID and teleport a different player to that specific server

This property is a unique identifier for the running game server instance.
The JobId is a universally unique identifier (UUID) meaning that no two servers, past or present, will ever have the same JobId.
JobId defaults to an empty string in Roblox Studio.

image

1 Like