Hey, I’ve been trying to make this statistics gui scale down according to this a “Hunger” value. I’ve searched through a lot of dev forum posts without an answer. Here is what I need:
I want the “Hunger” gui to scale to the same percentage as the value, I already have a way to make the number change but I can’t figure out how I can make the gui scale. Any ideas!
You would do this like so:
You need a frame that will be always the same size,
A “FillBar” frame inside of that frame,
The calculation would be: local percent = Fun.value / 100
You would set the FillBar frame size to Udim2.new(percent,0,1,0)