GUI Text doesn't stay centered when attached to main camera

My GUI Text doesn’t stay centred when it’s attached to the main camera. how can I fix this? It needs to be attached to the main camera by the way

GUIText objects are positioned using Viewport coordinates. Viewport coordinates start at (0,0) in the lower left of the screen and go to (1,1) in the upper right of the screen. A GUIText stays at the same position regardless of the direction the camera is facing. A camera lives in world space. Trying to mix the two using a parent/child relationship won’t work. If you can explain why you thing it needs to be a child, perhaps someone can give you an alternate method to accomplish your goals.

Nevermine i figured out a way to do it. Just a lot of going back and forth with GameObject.Find