Yea I tried creating a new actor with that code, but the result was the same? But I figured out how to make what I wanted with inspiration from your code!
Just edit location B for the end point of the Mesh