Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How can I get a Roblox Server's ID?

Hello! How can I get a Roblox Server's ID and TP someone to that server?

1 answer

✓ Accepted answer

Question

How can I get a Roblox Server's ID?

Answer

Well, what do you mean by a "Server ID"? There are a few things I can think of.

  • JobId
  • GameId
  • PlaceId

I am going to assume you are asking for the JobId because you want to teleport players to a server under the same place.

There is a game.JobId property you can use in junction with the TeleportServiec:TeleportToPlaceInstance method.

https://developer.roblox.com/en-us/api-reference/function/TeleportService/TeleportToPlaceInstance

https://developer.roblox.com/en-us/api-reference/property/DataModel/JobId

1 comment

1

Thx

This discussion is preserved as it was. New answers, comments, and votes are closed.