Make a "Blinking/Moving/Animating" GUI

Hi, what I mean by “blinking” is that I want that a GUI button appears on the screen showing the spacebar being pressed and unpressed, showing that the player has to tap the spacebar very fast. How could I make it so that a GUI change itself with other so that an “animation” occurs?

You can use a MovieTexture in a GUI.DrawTexture function and call myTexture.Play() to make it play. Alternatively, you can have an array with all the keyframes and use something like this

var keyframePointer:int=0;
var delay:float=0.1;
var timePointer:float=0;
var myKeyframes:Texture2D[];
function OnGUI(){