How to give players random items

I’m trying to think of a way to give players 5 random items out of all the items in the game. I thought about using predicates for randomization but then I thought of maybe doing something with loot tables. Like maybe I could have them spawn on a chest with 5 random items? The issue is I’m not sure if that’s possible and if so how to go about it.

Continue to help post