ive made a few projects but every time i just create a leaderstats folder with intvalues and when people leave the game i have a server script collect the values and save them into datastore but i have troubles with this methode for big numbers or whole inventories, i was wondering how others do it or how its supposed to be done
#whats the propper way to save player data
1 messages · Page 1 of 1 (latest)
With datastores
Or other like the
Idk how it is called but like custom data store api thingies
Oh I got it "Open cloud apis"
Basically external datastores(more advanced)
whenever u want to save something just add it to the data
you can serialize the tool's properties into values when saving and deserialize when loading
What do you mean “judt add it to the data” ?
** You are now Level 7! **
this is a example
thats how i store all my data and when the player leaves i store them all as a table in my script
table.insert(profile,{})
how do i acces the save data in other scipts then ? i dont really get it
:GetAsync(Key)
Here is a tutorial that i found useful if you still are having troubles. https://youtu.be/TIZ3qsCX5S0?si=WpWTN2hwZ9CH_1dc
PATREON🎁
Get Access to My Scripts + More Perks by Becoming a Patreon Member!
https://www.patreon.com/BrawlDev
DISCORD 📜
Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
https://discord.gg/WC6kPu5W5P
ADVANCED ROBLOX SCRIPTING SERIES 🔴
https://www.youtube.com/playlist?list=PLQ1Qd...
Datastore is a module script
and thats wromg