Go near that part where you crouch to go in a small path but try jumping in front without crouching, over and over, trying to move forward walls like if you wanted to jump through the ceiling. The reason why it's hard to recreate is because when on the roof, movement keys are inverted, so the picosecond you land on the roof, you fall back down.