Add and delete spline point based on players location

I am making an endless runner where my player moves along a spline. My starting spline is made from 3 points. I’m thinking about a blueprint that will add a 4th point whenever my player passes trough the 2nd one and delete the 1st one, then add a 5th point whenever my player passes trough the 3rd one and delete the 2nd one and so on, making it like an infinite spline. Any idea about how to achieve this?
This is a screenshot of my blueprint but it fails when i hit play and the error comes from set condition.

My condition was’t connected to the branch. I connected it but I have the same error.

so what do u not know? do you not know how to detect in which spline the player is? or how to delete and add those splines?

I dont know how to delete and add those spline points. The player, the tube and the spline are each its own blueprint. When I play my graph I get an error and it says it comes from my Condition boolean.