RPM bar gauge custom image

I am building an RPM bar gauge, I was hoping to just change the image for a bar gauge and have it still retain the warning and critical functions but it doesn’t seem to work the custom image will display during the normal operation but once into the warning zone the texture just stops there and does not continue or change colour.