Helmet falls off a players head if shot at the head 2 times

Hello everyone!
i want to make a script where if a player gets shot 2 times in the head, his helmet falls off

any suggestions?
i haven’t thought of this idea before nor have i tried anything

Maybe add a number value, increase it each shot. Once it reaches your desired number, unweld the helmet and boom, there’s your answer.

If you have any more questions, please ask.