Wait for the dinosaur to jump onto the pillar you are rolling along. As it lands, throw a monkey at its feet, then swing at it with your bat as hard and as repeatedly as you can.
The timing of the jump is everything. Swing too early and you hit nothing; too late and you are airborne yourself. Let the dinosaur commit to the leap first, then unload.