Spray foam, Silicone, TPO, or modified bitumen are the best choices for a flat roof.