Not filling Servers

Hello,
i was wondering how do you make a non filling Server, where when you get teleported to create a server, where nobody else can join on, except they got teleported with you.
~ maini

You will need to provide a script so I can help you.

Have you searched this on the dev forum?
Have you tried searching it on other platforms?

Try looking into these.

If your still having trouble look into:

This is my script:

tpPlayerRE.OnServerEvent:Connect(function(plr,team)
	for i, v in pairs(team:GetPlayers()) do
		local code = game:GetService("TeleportService"):ReserveServer(game.PlaceId)
		local teams = team:GetPlayers()
		v.PlayerGui.LoadingScreen.Enabled = true
		game:GetService("TeleportService"):TeleportToPrivateServer(12893173284,code,teams)
	end
end)

I get this error in game:
raiseTeleportInitFailedEvent: Teleport failed because Access code for reserved server is not valid. (Unauthorized)

Wait, I think it works. I changed the id (I had the wrong id)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.