A video showing police officers engaged in a water gun fight with kids in their community has gone viral.

The Dixon Police Department in Illinois posted on Twitter that they were looking to have some fun with local kids during a heat wave with a friendly water gun fight. 

advertisement | advertise on newsday

"Parents: if you live in town and your kids want a quick water gun fight, do the following: Draft a new private tweet, tag @DixonPolice, include a picture of your gladiators (er, kids we mean), and where we can find you," the department shared in a series of Tweets. 

The police officers then visited kids around town armed with water guns. They shared photos and video on Twitter and Facebook of the kids and officers exchanging squirts of water from brightly-colored water guns. 

"Due to the success of the day, we will make serious efforts at doing something similar again in the future!" Dixon Police tweeted. "Whether it's water guns or real firearms, practicing gun safety is always a top priority!" 

A video of the water gun fight posted on the Dixon Police Department's Facebook page had been viewed more than 5 million times, as of Thursday afternoon.