Problem with Hunger and Thirst

Hello,

The thing is, whenever i eat or drink in the server the hunger and thirst goes over 100 and i can’t do nothing to fix it, i tried changing some codes but still the same,

can someone help me with that?
image

Please provide the code where the item usage is defined and how the hud request this value (hunger and thirst)
Thank you!

Screenshot_804
Screenshot_806
Screenshot_807
Screenshot_804

Those are the request for hunger and thrist

And this is from the Hud