You can write your topic however you want, but you need to answer these questions:
-
In my script I want to return the auraName of every aura that I saved
-
at the 4th line I got a problem that return only 1 aura but in the table there is 4 aura
-
I tried to put pairs ipairs but idk where can I find the solution
In the auraNames table I got 4 aura, here
but when I print auraName it return only
but tell me if Im wrong but that supposed to return every aura one by one so if you can help me ty
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