How can I make a limited stock product?

I want to create pets with limited stock in my game, and I was considering using the DataStoreService, but I realized that latency could be an issue. What can I do?

Use MemoryStoreService to sync data quickly across all servers. Then use DataStoreService to save the temporary data persistently to a datastore. If you don’t save it, the data can be lost when no servers are active for some time.

1 Like