Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I send multiple tables to different reserve servers?

We are trying to work on an intermission where it puts you in different servers depending on which table/array you are in. The problem we keep running into is that everyone gets teleported to the same server no matter what table you are in. Does anyone know a way to reserve more than 1 private server?

Here is the code

ts = game:GetService("TeleportService")
while true do
    wait(1)
    if capacity.timer == 1 then
        local reserved = ts:ReserveServer(6707745880)
        ts:TeleportToPrivateServer(6707745880,reserved,PlayersToTeleport2)
        ts:TeleportToPrivateServer(6707745880,reserved,PlayersToTeleport3)
        ts:TeleportToPrivateServer(6707745880,reserved,PlayersToTeleport4)
        ts:TeleportToPrivateServer(6707745880,reserved,PlayersToTeleport5)
    end
end

1 answer

Found the problem. I had a typo that sent everyone to the "PlayersToTeleport2" Table instead of their own table. Fixed that and this works perfectly now!

This discussion is preserved as it was. New answers, comments, and votes are closed.