for i, v in pairs(game.Players:GetPlayers()) do v.Character.MoveTo(game.Workspace.Spawn) end
it only teleports one player not all the players?
Here's your fix:
for i, v in pairs(game.Players:GetPlayers()) do if v:IsA("Player") then v.Character:MoveTo(game.Workspace.Spawn.Position) end end
If you think that you can move the torso with a Vector3 value, then don't. The Torso loses all of its connectors to the other limbs and you die.
Use a CFrame value, as they are smoother and more flexible than Vector3s.
``game.Workspace.Player.Torso.CFrame = workspace.Spawn.CFrame * CFrame.new(0,5,0)