Quick Fix :random line pattern on surface

Can someone please, help me with this.
I want to create a random line pattern on a surface, I have seen similar scripts on a plane surface.
I think I am close, but I need a little help to find what’s wrong.

Thank you.

NewHelp.gh (18.8 KB)

Fixed it, Thanks