Navigate to the BP_PlayerBuildigComponent then to the Building Trace function and add the following is valid nodes

Next navigate to the BP_PlayerInventoryComponent and then to the kill player collapsed nodes and add the destroy actor node shown below.
