To solve the problem, we start with the ratio of pens to pencils, which is 2 to 5. This means for every 2 pens, there are 5 pencils.
We know there are 30 pencils in the storage closet. To find the amount of pens, we can first determine how many sets of 5 pencils are in 30 pencils:
\[ \frac{30 \text{ pencils}}{5 \text{ pencils per set}} = 6 \text{ sets} \]
Since there are 2 pens for each set, we can find the total number of pens:
\[ 6 \text{ sets} \times 2 \text{ pens per set} = 12 \text{ pens} \]
Now we can calculate the total number of pens and pencils in the storage closet:
\[ 30 \text{ pencils} + 12 \text{ pens} = 42 \text{ total items} \]
Therefore, we can complete the statement:
The total number of pens and pencils in the storage closet is 42, which means there are 12 pens in the storage closet.