Sea-crossing bridges are often subjected to local scour, significantly impacting the bearing capacity of the foundation system and potentially leading to bridge failures. This study presents experimental investigations of local scour around a cylindrical pile under different sediment slope conditions in unidirectional currents. Unlike previous studies that focused on horizontal sediment beds, this research explores the influence of inclined sediment beds, which reflect coastal and offshore topographies, which have some angles of inclination. Utilizing flume tests, the research investigates the evolution of scour depth, scour range, and the morphology of the sediment bed across various angles of inclination. The study also evaluates the effectiveness of a scour countermeasure involving rip-rap material around the pile on sloping beds. Specifically, a steeper inclination angle induces a faster flow velocity, resulting in increased scour depth at the upstream side of the pile and a reduced scour range at the downstream side due to backfilling. The countermeasure scenario reveals a significant reduction in both scour depth and range. This research provides analysis of the effects of inclined sediment beds, which reflect coastal topographies than horizontal ones, thereby providing insights for the design and protection of bridge foundations in diverse coastal conditions.