How can I create a new server on my game through a script and then tp players to it?
You could simply use TeleportService:ReserveServer().
1 Like
Using TeleportService:TeleportPartyAsync() will teleport a group of players to a public server
If you want to teleport them to a reserved server use something like this.
local placeId = 0
local players = {player1, player2, player3}
local server = TeleportService:ReserveServer(placeId)
TeleportService:TeleportToPrivateServer(placeId, server, players)
It is a good idea to wrap the teleport service calls in a pcall too.