title: Roblox Studio- Infinite yield possible
body: <p>I am trying to code a FPS Game but when I tap the button to pick a gun it does not give it to me but instead says  Infinite yield possible, anyways this is my code:</p>
  <pre><code>game.ReplicatedStorage.RemoteEvents.AKEvent.OnServerEvent:Connect(function(player)
      local ak = game.ReplicatedStorage.Weapons.AK:Clone()
      ak.Parent = player:WaitForChild(&quot;BackPack&quot;)
  end)
  </code></pre>