The best explanation for how the participle "screaming" is used in the sentence is:
It is used as an adjective to describe the noun girls.
In the given sentence, "shrieked" functions as a participial phrase that provides additional information about "the girls."