Making lift motor decrease speed as it gets closer to value

Check out this link! Someone recently asked a similar question