So I have a table. And for that table Table.Remove is not working.
Now I have a pretty good idea why.
How I remove the items I do this:
for n, item in pairs(keysDownTable) do
table.remove(keysDownTable,n)
end
Now How I add items to the table is like this
keysDownTable['W'] = Enum.KeyCode.W
My guess it has something to do with how I add it to the table. Now I need to get the number placement of the item so I can remove the item.
I do this in the for loop.
Isnt N suppose to be equal to the number of the item in the table? Basically its position in the table?
I have no idea so thats why Im here!