Script saying folder doesnt exist when it does?

My script keeps saying the “Stats” folder isnt a part of the player, i checked the player and it is in the player. why does my script keep saying it isnt in there?
other scripts in my game that also call this value arent erroring, only this is.

	local plrs = game.Players:GetChildren()
			table.sort(plrs,function(a,b)
				return a.Stats.Eaten.Value > b.Stats.Eaten.Value
			end)

Be sure you did not use local script to create stats folder

the folder is created with a serverside script

Print a[1] and b[1] and check which is “Stats”