How to have the character switch weapons

Hey! sorry i’m unfamiliar with how to do this, i set up the ammo like in the image, but it shows up a 0 ammo with 0 maxammo when i set it up in my UI.