Cannot Cast to Actor Component from HUD Class in C++

I am trying to cast to the actor component indicated but it says the actor component is undefined. I do have the proper includes to support the cast.