Hello everyone! I would like to ask if its possible to use remote events to
Send the table from the client that contains the name of the frames and textlabel with text then the server will receive that table.
If its possible, does it have to take time to save the players data because it keeps getting a warning from the datastore API if the client keeps firing the server to save their data.
If not, what are the best approach for this?
yeah you can use a remote event to send a table from a local function to a server function. You can only save to datastores using the server, so this is standard practice for saving locally generated data.
How can you make it like wait for the time to save so that it doesn’t fire quickly to avoid warning.
For example, trying to edit the text or clone the frames then it will fire when the table makes changes.
Do I have to use task.wait or coroutine.wrap if the function from the client fires the event?
This is easy and a basic choice so that it doesn’t keep firing again. But I have to find the best solution because after waiting for the debounce to true, and it keeps sending data. The “if debounce == false” makes it not run because it has to wait for the debounce to set false again. But I will just figure it out myself.