Delete a button if a certain frame is entered

hi everyone!

i want my button to delete if a certain frame plays…how would i do this?