hello, so im testing out memory store service. the issue is that idk how I can place the 3rd argument after the function
local MemoryStoreService = game:GetService("MemoryStoreService")
local MyMap = MemoryStoreService:GetSortedMap("Test")
local Queue = MemoryStoreService:GetQueue("Test")
local Rng = Random.new()
script.Parent.ClickDetector.MouseClick:Connect(function(Player)
local Priority = Rng:NextInteger(10,20)
MyMap:UpdateAsync("fello", function()
return Player .. " clicked the button"
end)
print(MyMap:GetAsync("fello"))
end)
any help is appreciated