Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Error 104, data store issues? Results in error.

I am trying to save data like this in a table:

local success, errormessage	 = pcall(function()
		LeaderStore:SetAsync(Player.UserId, {
			Rebirths = leaderstats.Rebirths;
			Coins = leaderstats.Coins;
			Gems = leaderstats.Gems;
			Clicks = leaderstats.Clicks;
		})
	end)

However, it results in this error: 104: Cannot store Dictionary in data store. Data stores can only accept valid UTF-8 characters. 

Am I hitting the limits? Am I typing something invalid? Please help, thank you.

1 answer

Simple error, don't know how I got this wrong! I forgot to put ".Value" after each stat! Don't know how I missed that.

This discussion is preserved as it was. New answers, comments, and votes are closed.