I have been trying to use the teleportation service for a while now. The statements below are being run but they aren't teleporting. Please help me understand why.
local TS = game:GetService("TeleportService")
TS:Teleport(4826395697, game.Players:GetPlayers())
I've never actually tried using teleport service before, but I think you can do it like this.
local TS = game:GetService("TeleportService") for i,plr in pairs(game.Players:GetPlayers()) do TS:Teleport(4826395697,plr) end
What this does is it loops through all the players, and it teleports each one.
teleporting everyone:
local TS = game:GetService("TeleportService") for i = 1, #game.Players:GetChildren() do TS:Teleport(4826395697, game.Players:GetChildren[i]) end