Preloader like mughal entertaintment?

Hey guys,

I know how to do basic preloader bar, but i’m not sure how to do this one

i’m trying to achieve the exact preloader effect on

As you can see, it loads 1-10 then fade out, then 10 fade in and load to 20 and fade out and so on…

Can someone guide me on this?

Thank you =D