Attempt to index number with number

I simply want to add a table to an object in a table and I get this error. Any help?

                local Assets = {
                    [1] = tier,
                    [2] = name,
                    [3] = assetId,
                    [4] = RAP
                }
                equipped[ind][1] = Assets

It would help to see the rest of the code, at least as much as we need to be able to tell what equipped and ind are.

But a quick assumption is that either equipped or ind are a number value then they either shouldn’t be, or you’re treating them as a table when you shouldn’t be.

This means that equipped is a number, please provide more code so we can help.

Allow for me to further explain what the variables mean;

equipped - A variable available to use by the entire script. How this table works is that for each player that has something equipped, it has their UserId within that table. What I require to do next is to have that UserId to have a table within it of Assets. (which this is the part I have trouble with)
ind - The index of equipped which is equal to player.UserId, so equipped[ind] is someone’s UserId.

I believe this is the issue.

Here you are trying to get the first position in “ind”, but that isn’t a table:

Try changing it to this and see if it works:

equipped[ind] = Assets