The Freeze Ray is available in the shop for 650 bananas.
When you see it on a run, activate it by running through it. It will shoot freeze bullets out which allows you to smash through any frozen surface as a Despicable action. 100 obstacles should take around 10 pick ups with no upgrades.
If you plan to complete this game, you will have to unlock this on the way to the 25th area as some level objectives are to smash obstacles using the Freeze Ray.