When making RPG games, most if not all of them include an inventory system that works like this:
Let's say there are 3 items. each labeled Item1,Item2 and Item3.
Now, if I were to remove Item2, then Item3 would slide into the position of Item2 and Item2 would be equipped.
By observing other scripters and developers, I found that I would have to use a table to conduct such things. I have no experience in making tables, all I do know is that a table contains values that can be summoned with TableName.value. I also do know that you have to summon a table with curly brackets ({,}).
Sorry if it's hard to read, but I'm really desperate. Can anyone show me examples of a table and how I would use it to create an inventory system?
Regards, Your pal Sensei_Developer.

2 comments
Hello, InvokeClient. I do understand some bits, but how would I use the table you created and implement it into the GUI?
My discord tag is Senseisushi#1865