How would I only allow a player to use a projectile once per level?

I have a projectile that is very OP as it destroys part of the level once used, how would I limit its usage?

get a switch, make sure it starts on, once the attack button is released, it turns off the switch, and the projectile is unusable