Hello developers,
I'm working on a game and I have two places: lobby and the main game. Both games are created in the group. The lobby is public and the main game private. I'm trying to teleport the player from a public place to a private one. Once I called some friends to test it out, they get the permission error. You might be asking, why don't you make both games public? Because they would be appearing on my group games and I want only one to show up. Can someone please help me to get this sorted out?
local teleportservice = game:GetService("TeleportService") script.Parent.Text = "Teleporting, please wait..." wait(2) teleportservice:Teleport(6247370307) end)
Thank you in advance.
1 The answer is not to create a new game, but to create a new place under the game. Click on View > go to Asset Manager > Double Click on Places > Right Click and add new place
2 Now right click on the place and "Copy the Id to Clipboard", that's the place ID that you can teleport players to.
3 Now you have to import all the Data from the Private game to the New place that you've created.
4 To edit the new place simply double click on it.
More Help https://developer.roblox.com/en-us/articles/Teleporting-Between-Places