Build a pitched roof from 45° slopes and close the top with double slopes.
Step by step
Step 1 Lay a row of plates along the top of the walls.
Step 2 Place the first row of slopes on both sides.
Step 3 Add the next row one stud further in.
Step 4 Close the top with double slopes along the ridge.
The result The finished roof.
Steps: BrickDb · Part geometry: LDraw Parts Library (CC BY 4.0)
Why it works
Slopes stepped back row by row form the two faces of a roof. Where they meet at the top, double slopes close the ridge.
Plates under the first row tie the roof to the walls, so it does not lift off.