so I am doing a script that saves some player data (a table) and in a loading script I want that string to turn into a table I can do this with: print(t[1]). how can I do this?
example: string is {1,25} wanted output with print(t[1]) is 1 or with print(t[2]) the output i want is 25
notes:
in the script, I need a function to do this and return a variable.
can you make a variable s, for the string and t, for the return table?
thanks, codingMASTER398.
COMMUNITY QUESTION
[done!] script that turns strings into tables?
1 answer
answered by the author: because I am using datastore, I can just load it from the loading script and save a table. there. it works.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
As this is not a request site and you didn't even bother to give an example of string that you want to turn into the table you won't be getting help from me, if you want any help atleast provide the string..
sorry, i am going to edit
done!