Help with setting up my death function so that its changing my menu in my widget to visible

So i have a death function and when my character dies i want to set a menu in my widget to visible but it says that my widget does not inherit from my character when i try to cast it.
I dont know how to fix it but hopefully you guys can help :slight_smile: .Here is a Screenshot of my death function.