Acces GameMode properties from HUD

I also tried to use “get all actors of class” but the foreach loop is not executing: