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

how to save table data?

Asked by 3 years ago
Edited 3 years ago

I have a code that whenever i said "/insert 123" it insert "123" into a table. Now, i want to save that data. How can i do that? (i know how to save player's stats, but i dont know how to save a table with 1 or more data inside it )

1 answer

Log in to vote
0
Answered by 3 years ago

You can use the datastore service.

DataStoreService

0
You should also use HTTPS to JSONEncode and JSONDecode that table to save and load it. Just a recommendation. killerbrenden 1537 — 3y
Ad

Answer this question