local o=require(script.Parent.getStats)return function(i,u)local b=o(i,u)if b then return(o(i,u)).totalCoinsCollected end end
local getStats = require(script.Parent.getStats)

return function(state, player)
    local pstats = getStats(state,player)
    if pstats then
        return getStats(state,player).totalCoinsCollected
    end
end