How can I make a character tilt when walking up a curve?

Could you elaborate on always RootPart Orientation?

If you want the ray to be facing down relative to the HumanoidRootPart, it should be like this:

local Root = Character.HumanoidRootPart
Result = workspace:RayCast(Root.Posiion, Root.CFrame:VectorToWorldSpace(Vector3.new(0,-10,0)) -- ray pointing down relative to root part