This warning is probably stating that PizzaDelivery does not inherit from Player Controller and therefore the cast will fail.
If you hover your mouse over the yellow warning banner on the node it will tell you what exactly it is warning you about.
It could also be that the Cast Failed pin is unconnected.
Again, you need to provide more info on the warning before a real answer can be given
You either have a warning because Cast Failed pin is unconnected, wich would be solved similar to this:
Or your PizzaDelivery Blueprint is not inheritet from PlayerController and would therefor always fail!
Sorry for not giving all the information. I got it right now it was because, as you said, that PizzaDelivery does not inherit from Player Controller. Thanks
Thanks it was that PizzaDelivery does not inherit from PlayerController