This part of my code isn't working, although the "updated value" still prints. Not sure how to fix this :|

local v = {game.StarterGui.IntValues.exp.Value, game.StarterGui.IntValues.level.Value}
stats:UpdateAsync(PlayerKey, function(values)
	tab = {game.StarterGui.IntValues.exp.Value, game.StarterGui.IntValues.level.Value}
	print("updated value")
	return tab
end)

I already defined all the variables used in the code block

2 comments

0

Yeah I figured that out but thanks for the answer xd