For loop not returning what I want

You can write your topic however you want, but you need to answer these questions:

  1. In my script I want to return the auraName of every aura that I saved

  2. at the 4th line I got a problem that return only 1 aura but in the table there is 4 aura

  3. I tried to put pairs ipairs but idk where can I find the solution

In the auraNames table I got 4 aura, here
image
but when I print auraName it return only
image

but tell me if Im wrong but that supposed to return every aura one by one so if you can help me ty :slight_smile:

here’s my script

ReplicatedStorage.Remotes.AuraData.OnClientEvent:Connect(function(auraNames)
	print(auraNames)
	for _, auraName in ipairs(auraNames) do
		print(auraName)
		local auraInfo = nil
		for _, auraData in ipairs(AuraData.Auras) do
			print(auraData)
			if auraData.Name == auraName then
				auraInfo = auraData
                break
			end
		end

You’re breaking the for loop here, so it won’t continue printing

no that’s not working with or without that print only one aura