Something strange with table?

I have a function which sets slot in a table to something else
this table has rows, which has slots

The function just does this: PlayersRows[Player.Name][Row][Slot] = …
Functions does gets called only once, I’ve checked this with prints

the problem that it is doing such thing for all same slot index in all rows

Screenshot where I removed slot1 from 1 row, but it removed from every other too
image

Screenshot where I set slot1 in 1 row to a string, it sets slot 1 in every row to that string
image

If I do PlayersRow[Player.Name][“Row1”][“Slot1”] = “why this”

image

It was because I was using one variable for each slots (I never did so, because I usually made a loop where it creates new each time, so I couldn’t know it happens)

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.