How can I make a heart rate / heartbeat gui?

So basically, I want to make a gui very similar to the health bar from the Turbofusion gun kits:

This question has been asked before:

But that method seems very inefficient. I thought about using beams but then remembered that they do not work in viewport frames (at least I think they don’t.) Is there a way I can tween an image seamlessly to get this effect using :TweenPosition()?