wait(2) --teleport
function teleAll(x, y, z)
local pos = Vector3.new(x, y, z)
for _, plr in pairs(game:GetService("Players"):GetPlayers()) do
if plr.Character then
plr.Character:MoveTo(pos)
end
end
end
teleAll(0, 2, 0)
how do I add an offset so they spawn in random positions around the board information that may or may not be useful the script is in serverscript position of board -19.172, 83.968, -5.537 the board is a union

2 comments
Roblox SpawnLocation's spread players out over the size of the SpawnLocation when they spawn in now. The easiest fix would be to put a SpawnLocation where you want people to teleport to and scale it's x and z axis out until it's big enough to comfortably fit all of your players. Then in your teleport function, set the players RespawnLocation and call LoadCharacter. Would this work for you?
yeah it would how do you do that