Car Custom Guages

How would I be able to script a gauge with a speedometer in a car? In trying to make a gauge that shows speed and which PRINDL you are in. How would I script the gui to show up AND the guages it self