I tried a script but loft component won't work

I’ve been trying to realise a model I found online copying the script but no avail, since the loft component won’t work. Any help is welcomed.
below is the refrence :
d9e464011a59bdd3dfab6d73f75bf6c2
below is my attempt :


please consider that posting a gh file will get you 35 times more help than posting a screenshot

you have replaced the Merge component with a simplify curve, bring it back to merge and right click → simplify both its inputs and also graft the first input

then flatten the Curve output of the Interpolate component: