title: How do I teleport all parts (objects) of the same name to my character?
body: <p>So I have this script that teleports "<strong>Object1.Object1</strong>", "<strong>Object1.Object2</strong>". and "<strong>Object3.Object3</strong>" to your character, but in its parent "<strong>Spawns</strong>" there are dozen of "<strong>Object1.Object1</strong>"'s with the exact same name.</p>
  
  <p>What can I do to my script in order for it to teleport <strong>every</strong> "<strong>Object1.Object1</strong>", "<strong>Object2.Object2</strong>", and "<strong>Object3.Object3</strong>" to my character, instead of just the first one, which is what it's doing at the moment?</p>
  
  <pre><code>while true do
  function teleport ()
  game.Workspace.Spawns.Object1.Object1.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  game.Workspace.Spawns.Object2.Object2.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  game.Workspace.Spawns.Object3.Object3.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
      end
  pcall( teleport )
  wait()
  end
  </code></pre>