Unconcat tables

I was trying to make a table used by multiple scripts. So I concat the table and put it in a StringValue but how do I unconcat it for the other scripts? If you know how to make it into a table again or other solution, please tell me :slight_smile:

Why don’t you use a module script?

If you want to use the method you’re currently using you can convert any string into a table using string.split(string, separator). e.g string.split(“a,b,c”, “,”) would return {a,b,c}.

2 Likes

Don’t know how to use module scripts so just using string.split. Thank you!

I would strongly suggest using module scripts. They’re pretty much essential, and honestly very easy to learn.