Check if the script is working correctly with esx_status or any other script your using to calculate and moderate the players’ hunger and thirst values.

You could check your old script which was working to see if your new one is correctly set up to work with your resource(s).