exposed c++ variables with umg not working

Any idea why it is not showing the values?

The PlayerPawn is not a ScarGun, so the cast fails.

what should i use then i have tried a lot of things that connect and non seem to work

not sure what you are asking but you need a reference to your UMG widget to access its components.

so when creating the widget have a property in your playercontroller or playerpawn and use it from there as necessary.