How do I get started with datastores

I want to add datastores to my game, but I have never made datastores and have no idea where to begin, where do I start?

you can use Data Stores | Documentation - Roblox Creator Hub but I recommend using profile store/any other good module because using roblox`s data store without server locking and other stuff may result in a data loss

2 Likes

I second this honestly. it is good to try and learn to do your own profile/datastores for the sake of experience but from what ive seen more people literally just opt for profileservice because its way less of a pain.

1 Like

How do I even set it up, there are over 2200 lines of code in this module and I’m not reading all that

you donot have to read the module you just require it and use it
it has docs here ProfileStore
and you can find alot of vids on yt
How to Save Player Data using Profile Store! Roblox Development
Roblox ProfileService Is Extremely Powerful…

1 Like

It’s a module :slight_smile: you don’t have to understand all the code really you just call functions. Module scripts are your friend