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 change 20%
Class C change 30%
Class D change 80%
So the script can be customized (egg id):
E.g
1. Class A egg: munak, peco2
2. Class B egg: bongun, etc
3. Class C egg: etc
4. Class D egg: etc