How to Make Camping Game Teleport [Lobby -> Game]?
Hey There,
So i want to make a simple camping type game
But i still confused about
How you teleport player to another place?
Like, if the game already running nobody can join it.
And i also found this,
01 | TeleportService = game:GetService( "TeleportService" ) |
04 | function StartGameServerWithGroup(players) |
05 | local accessCode, serverId = TeleportService:ReserveServer(GamePlaceId) |
07 | TeleportService:TeleportToPrivateServer(GamePlaceId, accessCode, players) |
10 | StartGameServerWithGroup( { game.Players.pro_developer 213 } ) |
Source: https://devforum.roblox.com/t/how-does-camping-create-new-servers/397228/6
But i dont know how it work ;-;
Please Help If You Can!
Thank's for Reading!