The waving of guns turned out to be part of a rap video depicting a bank robbery and the guns turned out to be replicas.
"We were just filming a music video, and it looked like it was a bank robbery or something like that, so they came in full force, looking to protect the people," said artist Manuel Elias Morgan.
"I learned that you definitely need to get a permit from San Francisco and the district that you will be working with when you shoot a video," said artist Darryl Merquillo.
At the scene 15 police officers showed up and seven people were detained. One officer called it a "life lesson" for the kids.