Replicating Hunger logic

Hi! I’ve been trying to figure out a way to replicate my hunger consumption logic, though I’ve been struggling figuring that out. If anyone can help nudge me to the right direction, I’d be extremely grateful!
This entire code is connected to OnComponentBeginOverlap mouth collision.