So for example, I’ve created a table that contains the player’s wings.
local wings = { Wing1 = {isUsing = true} }
But when player gets new wing, I want to add same name like this, but I don’t know how to add new one with same name. Result will look like this.
local wings = { Wing1 = {isUsing = true} Wing1 = {isUsing = false} }
You could name it the player’s userid / username, but have another member of the object called “Type” and then name that Wing1. That maybe could work for what you’re trying to accomplish.
You can’t have two values in an array with the same index name/key