How to store ProfileService With Alot of Data to Store

I don’t have permission can you please open it

Oh sorry, I just distributed it now.

And… alao you can call GetProfile like this.

local profile = ProfileServiceManager:GetProfile(plr)
while profile == nil do
    profile = ProfileServiceManager:GetProfile(plr)
end

Because, GetProfile function doesn’t access to the database directly. It returns players profile in the dictionary.

Also, Add this code in your game.

game.Players.PlayerRemoving:Connect(function(plr)
    local profile = ProfileServiceManager:GetProfile(plr)
    while profile == nil do
        profile = ProfileServiceManager:GetProfile(plr)
    end
    -- Before player removing code like 'give panalty'
    profile:Release()
end)

I’ll post a more accurate tutorial when I get home. And I’ll put the link here. You can read it if you need.