Pipe Generation System

Thank you so much! You have saved me so much headache.

Edit: I cant get it to work like in your picture, here is some screenshots to show what’s happening: