Help With Hunger bar system

I read some of the Hunger Bar guides but they were confusing so I need help with the Hunger Bar system basically how It works is that you randomly get food depending on how high or low your Hunger Bar is and an Overlay shows how your Hunger Bar

just use a overlay, then use a movement meter and set it to bronze seed (you don have to but its recommended) and wire them together and yeah!