Sprint Code Support / Tween

Hello developers! Does anyone know how I would tween the UI frame of a sprint bar down to size of the parent frame? As an example, when you hold “shift” using UserInputService it would make the Ui Tween down to a certain size, once it met that size then it would wait 5 seconds or so then tween back up. I already have the sprint done which I tweaked from a Video/Article that helped me do that.

Photos:

image

The frame I have selected is the Meter which has the gradient.

image
^ Image of StarterGui

So I want SprintFrame [Gradient] when shift is being gold then it tweens down to the size of SprintMeter then once it’s there wait(5) and tweens back up to it’s normal size. How would I got about doing this?

3 Likes
3 Likes

That YouTuber is literally one of the Best Scripting Tutorial YouTubers. I watch him too.

1 Like

Thanks for the feedback! I’ll make sure to watch that video shortly!

3 Likes

Just a slightly more comprehensive stamina bar tutorial in addition to yours.

2 Likes