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

4 comments
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.
thank you :D
I can make you a script if you want to
no no its okay, im trying myself so i can learn also