custom ui

does anyone know how to make a custom ui like how to keep something onscreen but the camera still follows the player?