The documentation says DataStoreService:GetDataStore()
returns a GlobalDataStore
instance, which is incorrect because it actually returns a DataStore
instance (which inherits from GlobalDataStore
).
The prose description is correct, but it contradicts the concise API definition, which is confusing:
Page URL: https://create.roblox.com/docs/reference/engine/classes/DataStoreService