C to slide on a certain part of the game

How do i make that if on a certain part i press c i can slide under (approx 10-12 studs)(for reference like doors 2)