Not sure if I'm entirely making sense here but I'll try my best.
So I was looking around for an Inventory system and found this: https://scriptinghelpers.org/questions/65928/what-is-the-best-way-on-savinghaving-items-in-an-inventory
It looks really good and works how it should but the only thing I found confusing is how I could access these via another script such as a script that reads the tables and loads the inventory in a kind of way (not asking for something like this).
Say for example:
Player loads in with 2 nil and I wanted a seperate script to create guis under an inventory that have text labels of the item so like nil x2 or something.
But how can I do this from a seperate script?
another thing is accessing the curency value from a LocalScript to display the amount on a gui (kinda attached to the first part)
Again I want to make this clear I am not asking for someone to "Fix" this script I'm asking how I could access the data from another script.
Thank you and sorry for making you read.