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

can you use a table to save player's data?

Asked by 3 years ago
Edited 3 years ago
for i, data in pairs(leaderstats:GetChildren()) do
    -- player's leaderstats data
end

something like this

im planning to make an autosave tycoon, where when the player purchase something, a value will be inserted in the player's data....im new to scripting and just finished learning the basics...i dont know any other ways to save a tycoon... thank you :D

0
Yes, you can. Tables are used quite often for saving large amounts of data. There are multiple YouTube tutorials that can help. I recommend you take a look at one of them to get an idea and get started. JoyfulPhoenix 139 — 3y
0
thank you :D Struggage 10 — 3y
0
I can make you a script if you want to sayer80 457 — 3y
0
no no its okay, im trying myself so i can learn also Struggage 10 — 3y

Answer this question