Basically I want it like this.
The player joins the matchmaking place (cause they were teleported from the lobby to this place)
After 70 seconds, all the people in that server are teleported to another place (the map). I want it to be a private server cause I dont want people joining mid-game.
After the game is finished (I can script this myself), they are teleported back to the lobby place.
I tried this yesterday with this script:
~~~~~~~~~~~~~~~~~
local TS = game:GetService("TeleportService")
local Players = game:GetService("Players")
local PlaceId = 5002451166
local code = TS:ReserveServer(game.PlaceId) -- Returns a code
local players = Players:GetPlayers() -- Get a list of all players
game.Players.PlayerAdded:Connect(function(player)
wait(7)
TS:TeleportToPrivateServer(game.PlaceId,code,players) -- Actually teleport the players
~~~~~~~~~~~~~~~~~
But it didn't work. Please help! c:

3 comments
use code block
?
https://scriptinghelpers.org/help/how-post-good-questions-answers I recommend you read the whole thing, but for now, just scroll down until you see the section about formatting (bottom of the page)