@IdahoLark
Why not put nuts inside, assuming squirrels prefer nuts to pumpkin they may eat those instead.