#Progressive Bar
24 messages · Page 1 of 1 (latest)
yes
You can use UIGradiant inside your Image, and edit the Offset
you can make the yellow bit resize
sorry im kinda confused, what do or what are split?
I just sent the Image for you to know what I was talking about
sorry i forgot to send the sacletype
You don't need to us it
ohh alr sorry mb
So what should did i do?, change the Scaletpye and then try to script something?
local Bar = script.Parent -- It's a Frame but it can be any GuiObject.
local Gradiant = Bar.UIGradient
local MaxValue = 100
local LoadValue = Bar.Load -- It's a NumberValue.
Gradiant.Offset = Vector2.new((LoadValue.Value / MaxValue), 0)
LoadValue.Changed:Connect(function() -- You can use a different method.
print("Changed")
Gradiant.Offset = Vector2.new((LoadValue.Value / MaxValue), 0)
end)
I wanted to send screenshots to help you set up the Gradiant, but it got removed because I sent too much images :(
Ohhh Alr Alr, I'll try it rn.
If you cannot set up the Gradiant, I'll try to do something
Ohh np, if you can write it by detail that would be helpful too. Or otherwise you can send it to my dm
Ok wait
I sent in DM
Oh sorry i was busy on my way!