How can I hide the HUD when a certain value is reached?

Set the stamina progress bar widget’s behavior visibility to “Hidden” when its at 100 or set it to “Visible” when its below 100. You can check against the stamina value either in your widget’s Tick function or a custom function that you might already have set up which updates the stamina.