'Offroad_BP' does not inherit from 'character'

Yes I have a gamemode for a level beforehand which is a quiz

I’m confused about how I can get the gamemode now, would I create a gamemode class and then assign the HUD class to the HUD I created?