Temporarily storing data

I need a simple and efficient way to store game-related data that can be accessed by the server and clients. The kind of data that I need to store is very basic, such as variables related to the player’s current state, like whether they’re hiding, running, in a certain area, etc. Since I only require temporary storage of data, I don’t think that the DataStore Service is what I need, but rather a table that holds user ids as the keys, and tables of player-specific data as values. I’m wondering if anyone knows of any good methods that would work, and where to put the script, how to access it, and the best table structure, if any.

You can use Memory Store

2 Likes

I can’t believe I didn’t find out about this sooner, this is exactly what I needed. Thank you