because foor example to get something from a table u need to table[1 or 2 or blah blah blah]
but in
for i,v in pairs
its has to be in { }
so that i could get this thing v[1]
That’s because when you use brackets, You’re telling the pairs() function that it is a table. Plus, You also added the :GetChildren() inside the table, Which will only loop through the first Child of the Folder.
The v in the for i,v loop stands for value, you can’t index it like an array by doing [1], the in pairs loop runs 1 time for every child inside the folder you provided (the array), remove the [1], v.Name will return “Bow” and “Sword”.