Scrolling Frame Canvas Size

Hey guys, do you know how to make scrolling frame canvas size depends on child(player inside), so more people inside its enlarge, because sometimes its bothering when you make canvas size so big and yeah you still can scroll even maybe the players are only 2 people, but because the canvas size manually big you still can scroll. But i dont know how, many people recommend me but using offset, while I use Scale

I usually store all the players in a UI list or grid, then use the size properties of the list/grid to automatically scale the canvas size (with code).

If you send a picture of your hierarchy and UI we can probably help you more.