I have an teleport script but it would only teleport one player in the game but there would be multiple players in the server. Im not very familiar with the teleporting area of scripting. Does anyone know a script that would teleport multiple players instead of one?
wait(61)
target = CFrame.new(18.285, 138.767, 715.62)
for i, player in ipairs(game.Players:GetChildren()) do
if player.Character and player.Character:FindFirstChild("Torso") then
player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0)
wait(131)
end
end