So i'm trying to save with updateasync and i get this error:
http://prntscr.com/80huhg
I have filtering enabled on.
local Player_Stats = {
["Ores"] = Player.Stats.Ores.Value,
["Bounty"] = Player.Stats.Bounty.Value,
["Credits"] = Player.Stats.Credits.Value,
["Scraps"] = Player.Stats.Scraps.Value,
["Bank"] = Player.Stats.Bank.Value,
["Team"] = Player.Stats.Team.Value,
["Skin"] = Player.Stats.Skin.Value,
["Head/Hat/Hair"] = Player.Stats["Head/Hat/Hair"].Value,
["Hair Color"] = Player.Stats["Hair Color"].Value,
["Shirt"] = Player.Stats.Shirt.Value,
["Pants"] = Player.Stats.Pants.Value,
["Primary"] = Player.Stats.Primary.Value,
["Secondary"] = Player.Stats.Secondary.Value
}
local key = "Player-"..Player.userId
DS:UpdateAsync(key, function(Old_Stats) --146
local New_Stats = Player_Stats
return New_Stats
end) |