How would I replicate the (teleport) functionality of this :
local TeleportService = game:GetService("TeleportService")
local playerList = {} --- Players to teleport [table will already be filled]
local placeId = '234234222'
How would I replicate the (teleport) functionality of this :
local TeleportService = game:GetService("TeleportService")
local playerList = {} --- Players to teleport [table will already be filled]
local placeId = '234234222'
you would use TeleportPartyAsync()
local TeleportService = game:GetService("TeleportService")
local playerList = {} --- Players to teleport [table will already be filled]
local placeId = '234234222'
local success, err = pcall(function()
TeleportService:TeleportPartyAsync(playerList)
end)
if not success then
warn(err)
end