At the top of the loop, the only forces acting on the rollercoaster are the normal force exerted by the track and the weight of the rollercoaster. If the rollercoaster is about to fall off, then the normal force must equal zero. Therefore the only force acting on the rollercoaster will be its weight. This is the centripital force.