You can do this setting the origin point at start of the chain and creating a image point on the end of the chain. Then, you put the sine behavior (angle).
Create a spike ball and set the position to Chain, at image point 1.
If the player touches the spike ball, takes damage.