#Progressive Bar

24 messages · Page 1 of 1 (latest)

limpid hamlet
#

Something like this?

wise sapphire
limpid hamlet
#

You can use UIGradiant inside your Image, and edit the Offset

eternal gulch
#

you can make the yellow bit resize

limpid hamlet
#

If resize, edges will look bad

#

except if using Split

wise sapphire
#

sorry im kinda confused, what do or what are split?

limpid hamlet
#

I'm trying to do the script

#

And by "Split", I meant Slice

wise sapphire
#

now looks kinda weird, and i can't change the size. look

limpid hamlet
#

I just sent the Image for you to know what I was talking about

wise sapphire
#

sorry i forgot to send the sacletype

limpid hamlet
#

You don't need to us it

wise sapphire
#

ohh alr sorry mb

#

So what should did i do?, change the Scaletpye and then try to script something?

limpid hamlet
#
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 :(

wise sapphire
#

Ohhh Alr Alr, I'll try it rn.

limpid hamlet
#

If you cannot set up the Gradiant, I'll try to do something

wise sapphire
wise sapphire
#

Oh sorry i was busy on my way!