Go to the location shown below and create a new custom event called ClientEnterCombatMode and set it Run On Owning Client and tick reliable. Then create another new custom event called ClientEnterStandardMode and set it to Run On Owning Client and tick Reliable. Then copy the image below.

Then go to the location shown in the image below and add the highlighted nodes shown in the image below.