Go to the BP_MasterResource and create a new function called ResourceCollision and copy the image below.

Go to the Effects collapsed node in the Event Graph and create a new custom event and call it UpdateResourceCollision then copy the image below.

Then in the OnRep_Depleted function copy the image below.

Then add the highlighted nodes shown in the image below.