Hud Health Bar

How do i make a health bar like on poly hud, plainhud, and pretty much any other huds on scriptfodder