Hi, I’m currently making a lobby system where I store settings in a table, and I want to transfer it to a new place within the game. I don’t want to use MessagingService, as it’s not always the most reliable, nor the best thing to use for a system like this.
Problem is, I’m not really sure how to use MemoryStoreService. All of the documentation is not clear to me, and guides are not helpful either.
Here’s as far as I got:
local MemoryStore = game:GetService("MemoryStoreService")
local Queue = MemoryStore:GetQueue("HeistLobbyInformation")
local LobbySettings = {}
local UserId = Player.UserId
Queue:AddAsync(UserId, 30, 1)
Basically, what I want to do is use this, except not only do I want the UserId
to be what the queue key is called, I also want it to transfer LobbySettings
with it as well so I can retrieve it in the new server.
Any help with my problem would be greatly appreciated!