U need to do refresh the code when it turns into the pickaxes. To do that just click on the code once and then one more. Click the block when its hp is lower than 1. If u dont do that the hp resets and starts from its original value without it changing the block and highering the hp. Press space to start it.