how to make the camera straigth when following my object ???

[33565-problem+.png|33565]

how to lock the camera so it does not turn like in the image and follow the object correctly ?

Try to change those values in that script.

The smooth follow script does not change the position of the camera, it’s just a smooth “look at” script.
You need to move the camera or attach the camera to your player to achieve the desired effect.