Railing with slope and Curve

Hi mates I am trying to find the script for railing which is on curve bridge and with slope. please help me with the script. Thank you guys.