I want to teleport a player from one place in my game, the lobby place, to another place in the game, but the TeleportService uses the GameId, and I cannot find the game ID. The Roblox Wiki says you can find it in the Game Explorer, but that has been deprecated. How can I find the GameID or is there an alternate way to teleport players.
The TeleportService:Teleport(placeId, player) function uses PlaceIds, not GameIds to teleport players. Once you publish your game, you can find the PlaceIds for it in a few places.
In Lua :
The DataModel.PlaceId property holds the current published place's Id, and you can access it from the global game
object.
local placeId = game.PlaceId
In Roblox Studio :
Copy Id to Clipboard
.On the Roblox website :
From the Create page, go to My Creations
.
Find your place and click on it. It will take you to a page where you can click the Play button and hop into that place.
Observe the URL for that page. It should be something like : https://www.roblox.com/games/<some_number>/<some_name>
Copy the number out of the url. You now have the placeId.
Paste the Id where you need it.