Problem with moving points

I have a list of 48 points, which is split into two lists by dispatch. I want to move every four points the same distance, but only the first four points succeed. Can someone help me? thank you


wave.gh (15.9 KB)

I want to build squiggly through these points after Merge

wave Edited V0.gh (22.6 KB)

I wanted to do something like this, I found it through your script, thank you!
wave