what i mean is like in minecraft when you hit a block it begin to break i would like something like that as i am hoping to make a wall that the character has to smash
Just add a counter (an 'int' variable) to count how many times the block has been hit. When it reaches a certain value, remove the block from the world.