Thanks cvp that's fine working now.
But i have got another problem in it. when the game is finished i have set it to next level where i have a text functionality for it.And i have taken 9sprite images
It is like
->system WantedTotal=0 nextlevel textbox visible
But the thing is before the wantedtotal=0 the nextlevel text box is getting visible(and it would be around wantedTotal 5 to 9) these text box is visible .What would be problem please help me.
Note : i have taken only 9sprite images
Thanks once again