If your using UE4 follow the guide linked (here)

Go to the BP_MasterResouce and copy the video below.

In the BP_MasterResource go to the Effects collapsed node and copy the video below.

Go to the OnRep_Depleted function and copy the image below.

Go to the SetupResource function and copy the image below.

Go to the HideResource function and copy the video below.