Hi.
The script like this. When player kill mobs, a chance of get an egg.
The egg are usable item.
When player click the egg, there are a loading bar at player to get a random classes of egg.
At script there are 4 classes.
Class A, Class B, Class C and Class D
Class A change 10%
Class B...