Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-3

saving not working randomly???

Asked by 8 years ago

Sometimes other people data reset randomly, please help. Os there a better way to auto save.(it does this every 3 minutes or so.

local starterKey = "player-"..player.userId
    local startersavedValues = {player.Level.Value, player.Exp.Value, player.MagicLevel.Value, player.MagicExp.Value, player.Gold.Value, player.Weapon.Value, player.Title.Value}
    StarterStore:SetAsync(starterKey, startersavedValues)

Answer this question