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)