Remove movieclip problem

Ok so i made this little top down thing, you can pick up the spike, slash with it with your mouse button. and it also goes into your inventory. but i can’t get the remove movieclip to work if you have picked it up.

anyone have a solution?