local GameID = 348592 -- Example Number
for i, v in pairs(workspace.Bus.Players:GetChildren()) do
	game:GetService("TeleportService"):Teleport(GameID, game.Players:FindFirstChild(v.Name))
end

2 comments

0

https://developer.roblox.com/en-us/api-reference/function/TeleportService/TeleportPartyAsync. You may want to read up on this as it is extremely useful in scenarios like yours. It allows you to teleport a group of players to the same server of the same game, similar to how a party of players is sent together in battle royale games (for example Fortnite or PUBG.)

0

@lunatic5 I tried reading up on it already, but I just don't understand it.