Heritage building restoration and preservation work relies heavily on a thorough inspection of building condition survey. One of the building dilapidations that may occur in a heritage building, is sloping floor defect where the floor is uneven, or slanting towards a specific direction. In this case study, a sloping floor defect was identified at Ipoh Town Hall, Perak which require further investigation. Using conventional methods to survey the sloping floor in building surveying will require more time and manpower. Instead, this paper explores LiDAR scanning methods to measure and identify sloping floor defects. R programming techniques are applied to analyse the point cloud results from the LiDAR survey to assess the sloping floor defect in greater detail.