It’s been years since I last saw this set-up.
But this really should be standard equipment for recreational bars in gyms with a low ceiling. The chains are a danger. (Especially for me. I trip backwards over them all the time.)

The roof was reinforced at the base of the bar support.

Funtastics Gymnastics, Couer D’Alene, Idaho
