Move spline mesh

How to do,
Spline mesh must be moved a little not lower when player step on it then as soon as player leave then it must return to its normal position.

Please help!!!