How to detect when everybody achives a predicate

I have a moment in my custom map where i need to detect if everybody achives a predicate. I have a predicate that detects when there is not a block above your head. I called it "canseesky.json" . I want to run a command when everybody is no longer underneath a block.

Continue to help post