trying to make infinite procedural road generation

im trying to make a procedural road but im having a few issues, i have the terrain generation set up and am now trying to get the road spline to snap to the ground

heres my blueprint im using the terrain generation from fettis game devs tutorials, im still new to unreal so please dont hate if the code looks bad.

im trying to use a spline and add a road to it then align it to the ground depending on the coordinates on the noise map but im running into a few issues