Basically
local options = Instance.new(“DataStoreOptions”)
options.AllScopes = true
local dataStore = dataStoreService:GetDataStore(“AccessCode_Test”,“”,options)
dataStore:SetAsync(plyInLobby.UserId,{Username=plyInLobby.Name,Map=hosted[player.UserId].Map,Code=code})
the getasync I already known from other post.
But I still doesn’t get it when it’s come to saving data.