DataStore Questions

I have 2 looming Datastore Scripting related questions.

  1. How many values can I data save in 1 game?
  2. How can I data save something a player puts in a textbox, in other words a string?

My game might have around 300 items to data save possible even 400.

This article should help you get started: Data Stores

I recommend reading that article, but to quickly answer your questions:

  1. There really isn’t any hard limit to how many values you can save per game. However, there are some limits to how fast you can access data and specific limits per data entry (all described in the linked article)
  2. In order to save something a player puts in a textbox, you would first need to send the string to the server (potenitally via a RemoteEvent), then store this value with a data store using the :SetAsync() method.

Thank You that helped!!!

Right, could you maybe explain more I’m a bit new to scripting.