I’ve been trying to write a DataStore system as of late and I was wondering if I should use a different scope for each player. This would allow me to save a lot more CFrame data. However, will it cause any problems for my game?
Or should I use Scope for the different Saves there are. There are 4 Save slots that players can utilize. I can either save them as Tables for each player or directly into a separate scope for each player.
I’ve searched online and I haven’t gotten any results about this.
Scope doesn’t really have any standard. It’s just an extension of your datastore name, and in most cases you don’t need to use a scope.
I only use scopes in the following context:
local Datastore = DataStoreService:GetDataStore(Constants.DATA_STORE_NAME,
IsStudio and "dev"
or game.PlaceId == Constants.QA_PLACE_ID and "test"
or "production"
Players get to build their own ships like Build A Boat For Treasure (It’ll be spaceships though). That means there is going to be a lot of CFrames to store as in 500 to 1000 CFrames.