Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[done!] script that turns strings into tables?

Asked by 4 years ago
Edited 4 years ago

This question has been solved by the original poster.

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.

0
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.. karlo_tr10 1233 — 4y
0
sorry, i am going to edit codingMASTER398 52 — 4y
0
done! codingMASTER398 52 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

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.

Ad

Answer this question