Health, Magic and Mana Bar

Hello, I have made this GUI in unity and I am stuck on how I make the Health, Mana and Magic bar go down after I do something to it.

Could someone please help me.

Thankyou Chris

464286--16279--$Bar.PNG

Use this,

var healthGUI : GUITexture;
var Health : float;
var healthGUIWidth = 1.4;

then in Update() healthGUI.pixelInset.xMax = healthGUI.pixelInset.xMin + healthGUIWidth * Health;