The first three shots sounded different from the following five shots. The first three had a more muffled "boom" and the rate of fire was slower which may indicate aim reacquisition between shots. The following five shots had a sharper "boom" and were very rapid. Like a spray and pray set of shots. When one of the first LEO was on the roof looking around now deceased Crooks and the gun, his body cam records him counting spent brass....1, 2, 3, 4, 5.
Measuring on an overhead photo, the window I remember being open on the 2nd floor of the building behind Crooks, and about 20 yards left when viewed from the podium (the yellow line in the image, Crooks position is the Red line), was almost exactly the same distance from the stage as Crooks' position on the roof. The spacing of the crack-boom of the first three shots could have come from inside the 2nd floor room and backed across the room so the SS counter snipers would not have an angle to see them.

BEFORE the Trump rally, local Butler, Pa law enforcement partners and
suppliers offered the S/S the use of drones w/ significant capabilities:
<><>not only to identify active shooters
<><>but also to help neutralize the shooter
<><>the Secret Service declined.
S/S Director Cheatle (now resigned) employed 7100 Secret Service Special agents and 2800 Task Force Officers, plus Uniformed Division officers, Technical Law Enforcement officers, and administrative, professional, and technical personnel on the tax-paid govt payroll. Complete with perks, privileges, eternal healthcare, bonuses, and pensions.
Roughly half of the Secret Service’s $3 billion budget is spent on “protective services.”
The SS also has:
<><> a robust cybercrime division,
<><>state-of-the-art forensic labs
<><>a threat-assessment center
<><>there agents study “how to mitigate and train against threats.”
No S/S training as yet on how to agents should navigate a “sloped roof.”