I was just wondering if it were possible that somebody could help me with a Booster Pack generator script. Like for card games and things like that.

What I had in mind was a script that would allow you to simulate what cards you would get if you opened a real booster pack. And to make it especially real it would be awesome if it was made so you can set it so the ratio of commons, uncommons, rares, and super rares was actually how it is in real life.

I hope that doesn't sound to obscure and it'd be cool if I could get some help.
Thanks