Camera move

Hi ,
I started to make a game like doodle jump. you know that the player goes up , so the camera needs to go up too. i tryed to make it but the player gets slower in the up so the camera needs to go slowly with the player. when i did it , the cam goes jumply. how can i make it flowly?
I started to make a game like doodle jump. you know that the player goes up , so the camera needs to go up too. i tryed to make it but the player gets slower in the up so the camera needs to go slowly with the player. when i did it , the cam goes jumply. how can i make it flowly?