A family were given a hilarious shock while driving along a motorway after two men on the side of the road pulled a cheeky prank.

Footage of two men with their pants around their ankles was recorded by the Payne families Dashcam, when they were rudely surprised by the backsides of the men.

In an interview with the Sunshine Coast Daily, Scott Payne, said the spectacle occurred on the Mooloolaba exit in Queensland just after 8pm.

Scroll down for video

Footage of two men with their pants around their ankles was recorded by the Payne families Dashcam, when they were rudely surprised by the backsides of the men (circled)

The Payne family were on their way back home when they spotted the men on the side of the road 'mooning everyone' at around 8 pm at Mooloolaba exit

In an attempt to teach his 15-year-old son how to be a responsible driver, Mr Payne says: 'It's not what you do as a driver yourself it's what others drivers do.'

Before finishing his sentence Mr Payne stops abruptly, disgusted by the sight of a man on the side of the road 'mooning' the whole family.

'I swear the camera would have picked that all up,' said Mr Payne.

Mooning every single car that went past Mr Payne told the Sunshine Coast Daily that: 'He was brown-eyeing all the cars!'

The rude prank was recorded on the family car Dashcam and interrupted a serious discussion between Mr Payne and his 15-year-old son about the importance of driving safety

Trying to regroup his thoughts after the incident, Mr Payne is heard starting his lecture again before his son lightheartedly says: 'I hope he wiped…maybe we should get a fire hose, that'll clean him up'

Mr Payne's hilarious reaction to the incident was followed by the light-hearted comic relief from his son, when Mr Payne tried to recollect his thoughts and go back to explaining the significance of road safety.

'You probably can't hear it in the footage but my son said "I hope he wiped…maybe we should get a fire hose, that'll clean him up,"' said Mr Payne laughing.

The Payne family were on their way back home and saw two men mooning them, with only one visible in the video.

Only one man was visible in the Dashcam footage as the other was further off the road