Might be a very basic issue but for some reason there’s basically no topics about this.
I want to make a subplace to teleport to but I want to get the id of the subplace.
I’ve tried print(game.GameID) but it says it’s a third party id(even though I own the game)
Even when I disable teleport security it states the place is restricted.
Script:
local teleportservice = game:GetService("TeleportService")
local plr = game.Players.LocalPlayer
script.Parent.MouseButton1Up:Connect(function()
teleportservice:Teleport(4298961054, plr)
end)
This is different to the GameId
The PlaceId is the “subplace” as you mentioned (a place inside the game), whereas the GameId is the main game that people first join to