It really helps to use a metronome to get this way of playing pentatonic scales onto your fingers. Start really slow with 8th notes so you can hear the accentuation of each group of five with the starting notes alternatingly falling on downbeats and upbeats.
Once you master each position, meaning all pentatonic shapes across the whole span of the fretboard, played in 8th notes, try to play these in triplets over the metronome's clicks. That said, I highly recommend setting aside four or five weeks of working with the metronome at a slow, comfortable pace to master 8th notes before even trying triplets!
Enjoy and thanks for sharing!