How do I teleport all players in a table to a reserved server

I am trying to make a queue system, everything is finished except I haven’t been able to make the actual teleporting part

also the table is a moduleScript

I’ma be real with 'ya. This should’ve been the easiest part of your system.

TeleportService:TeleportAsync


TeleportOptions


--!strict
local TeleportService = game:GetService("TeleportService")


local TELEPORT_OPTIONS = Instance.new("TeleportOptions")
TELEPORT_OPTIONS.ShouldReserveServer = true

local TELEPORT_PLACE_ID = 123456789
TeleportService:TeleportAsync(TELEPORT_PLACE_ID, queuedPlayers, TELEPORT_OPTIONS)
2 Likes

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