Timeline not stopping properly?

This is sort of what I tried before asking in the first place and my lift was always going sideways until I hit a wall, no matter what the values are. Then I went for the float value with make vector, but it’s definitely not that efficient.