HP Bar help

im making a tank game and when my tank gets hit i need it to decrease my hp bar. Does anyone know how to make a hp bar?

also, need it to play frame 3 of the movie clip because that is the frame with the dead picture on it. Thanks.