Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there anything like a server ID, kinda like a game ID but for a certain server?

Asked by
OFF_S4LE 127
2 years ago

If so, is there a way to teleport players to it, kinda like teleporting players to a different game?

2 answers

Log in to vote
1
Answered by
Neatwyy 123
2 years ago
Edited 2 years ago

Of course! Every server will have a randomly generated ID. You can get it with the game's JobId property.

print(game.JobId)

Oh and for the teleportation, you can use TeleportToPlaceInstance,

game:GetService("TeleportService"):TeleportToPlaceInstance(placeId, jobId, player)
Ad
Log in to vote
0
Answered by
OFF_S4LE 127
2 years ago

~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~






0
um mine_theblocks 23 — 2y

Answer this question