problem with inventoy system in Network

Hi guys.
My problem is in the Inventory system

I want the player to share his inventory with other players (such as the pubg game) so that they can put an object on the floor and use the rest.

There is no problem with a single player, but it does not work properly when I want to use the network.
Here, I told UMG that if I clicked on the button, the object of the same key would be spawned on the scene and the new inventory would be set to it. But it works just fine for the server. The object appears in the client, but does not set up with a new one.
If I click on the button in the client, the object will appear on both sides, but the inventory will only be set on the server side. For example, if an object with an inventory of 5s appears, only the server sees the correct inventory and the client will see its default value Sees.

Please guide me how I can fix it.

,