Quick and easy digital speedometer script, If your speed is 0, the text appears red.
                
                
            
<?php 
CatchEvent OnConnect( $userName )
    privDelayedCommand( 1, speed);
EndCatchEvent
Sub speed($KeyFlags)
    IF ( GetCurrentPlayerVar( "InstantSpeed" ) < 1 )
    THEN
    openPrivButton( "speed",50,194,20,6,4,-1,37,"^10 ^7Km/h","");
    ELSE
    openPrivButton( "speed",50,194,20,6,4,-1,37,"^2". Round(GetCurrentPlayerVar("InstantSpeed"),0). " ^7Km/h","");
    ENDIF
    privDelayedCommand( 1, speed );
EndSub
?>

