title: Infinite "for i,v in pairs(table) do" Loop?
body: <pre><code>if #subWords&gt;0 then 
  print("Q3") 
  for a,b in pairs(subWords) do 
  table.insert(output,b) 
  print("Q2: Adding "..b) 
  end 
  end
  </code></pre>
  
  <p><strong>----Definitions</strong> </p>
  
  <p>--subWords is a table with four strings in it </p>
  
  <p>--output is a table, with strings in it </p>
  
  <p><strong>----Goal</strong> </p>
  
  <p>--To merge the tables "output" and "subWords" </p>
  
  <p><strong>----Output</strong> </p>
  
  <p>--Repeatedly prints "Q2: Adding (word)" (after other stuff) </p>
  
  <p>--Crashes ROBLOX </p>
  
  <p>Any ideas?</p>