this is hooked up to a execute script in the starting script,as it will mess up the load map and such if i inseert the script there

    wait i think i figured out the problem,how can i make it so my max hunger is a set number of like 25 or something like that?

    Froglord1
    If the widget is always visible then you will need to write the new value to the relevant widget element after changing it too.
    Add the following to the while loop.

    widget["widget_id"].element["0001"].value = player.stat["hunger"]; // element number/ID needs to be the part of the hud that holds hunger


    For the entitre game it just shows up like this.




      this is the settings,each the same besides the name of the stat,and the last two are images of the customv stats,sanity and hunger are the same,with different names.



        The first is the startup script,and the second is the hunger script

          Froglord1 have you tried adding the "update" code to the while loop?

          widget["widget_id"].element["0001"].value = player.stat["hunger"];

          Sometimes, especially if a widget is always on screen, you have to "force" the value to update.

          Have you given starting values to all your custom stats?

          Froglord1 in your starting script.

          player.stat["max_hunger"] = 20;
          player.stat["hunger"] = player.stat["max_hunger"];