health bar goes down with time

I want to make a health bar,hunger bar and energy bar that goes down in like 2 hour with c# scripts,
I watched a tutorials but it didn’t help me.

First, I’d recommend watching a few tutorials on health bars:

If you’re having trouble, come back with specific questions. We’d be happy to help!

As for decreasing player health over time, I’d recommend something like this:

public float playerHealth;
public float decreasePerMinute;

void Update () {
    // We divide decreasePerMinute by 60 to turn it into deacreasePerSecond.
    // We then multiply it by Time.deltaTime, which is the time, in seconds,
    // since Update was last called.
    playerHealth -= Time.deltaTime * decreasePerMinute / 60f;