Want to put score on top irrespective of the camera movement (scrolling up along with the player)

Want to put score on top irrespective of the camera movement (scrolling up along with the player)

Imgur

I assume you are drawing your UI on a canvas? If so, you can change the Render Mode on the canvas to “Screen Space - Overlay” so that the UI stays in the same spot relative to the screen, no matter what the camera is doing.