How can i make this scrolling effect but on a sprite?

So basically, I made this as an example of what I want. it isnt exactly obviously but you understand the point
effect
I basically want to have this done on just one sprite I made, and I want to be able to change between the materials, unlike how it just stays as one material in the GIF. I tried doing it on a 2d SpriteRenderer, but the material didnt show. I am using a 3D Plane in that GIF. I’m not sure how to accomplish this. Any help is useful. Thank you

use shader graph and make an offset and tiling node and plug it into the uv node of the sample texture 2d

So now its almost working well, the problem is the texure im trying to add on the sprite is strectched out.
image