I tried doing this, even tho it wouldn't work, because I'm calling a nil value, but I couldn't think of anything else.
plr = game.Players:GetPlayers() if a ~= nil then plr.Character.Torso.CFrame = game.Workspace.Island.t1.CFrame end
please help
Try this:
for i,v in pairs(plr) do v.Character.Torso.CFrame = game.Workspace.Island.t1.CFrame end
This script works for me:
for i, v in pairs(game.Players:GetChildren()) do local Character = game.Workspace[v.Name] Character.HumanoidRootPart.Position = Vector3.new(-176, 21.5, -220) --Put the position of where you want them to teleport end