Appearance Modifiers (UI Corners, Gradients, etc) - Roblox GUI Tutorial #14 (2025) — Transcript
Full transcript
- 0:00Welcome back to my Roblox GUI tutorial
- 0:02series. My name is Balv and in this
- 0:04episode we'll be discussing about
- 0:06appearance modifiers. Now what do I mean
- 0:08by appearance modifiers? So basically
- 0:11Roblox has these objects inside of
- 0:14Roblox Studio that allows us to enhance
- 0:17the customization of how our GUI objects
- 0:21look inside of the game. So things like
- 0:23adding a gradient effect to the
- 0:25background of a certain text label or
- 0:28frame. Same thing with applying a stroke
- 0:30to a certain text or like a border. We
- 0:33can even set rounded corners and we can
- 0:35do all sorts of things. So, in this
- 0:37episode, I'm going to be showing you a
- 0:38few of these objects that we can use to
- 0:40enhance our GUI elements. So, first
- 0:43thing I'm going to do is go to the right
- 0:45side in starter GUI, hit the plus sign,
- 0:47and insert a screen GUI. Uh, and for
- 0:50this demonstration, I'm going to insert
- 0:52a text label inside of the screen GUI.
- 0:55I'm going to move this to the center.
- 0:57Scale this up just a little bit and make
- 0:59sure that it aligns perfectly just like
- 1:02this. Okay. So, the first object that
- 1:04I'm going to show you is a pretty easy
- 1:05one. And this one is called UI corner.
- 1:08So, if I insert a UI corner in this text
- 1:12label by searching up UI corner, then
- 1:14what it's going to do is it's going to
- 1:16make the edges of this text label
- 1:19rounded, hence the name UI corner. And
- 1:22we can change a certain property here
- 1:24called corner radius, which basically
- 1:26tells us how rounded do we want the
- 1:28edges to be. So I'm going to reset
- 1:30offset to be zero. And I'm going to
- 1:32change the scale to something like 0.2.
- 1:36So as you can see, the corners are now
- 1:38more noticeable when it comes to how
- 1:40round it is. And I believe the highest
- 1:42scale we can go is 0.5, which looks
- 1:45something like this. Cuz if you were to
- 1:46go anything past that, like 0.6, then
- 1:49nothing is going to be different about
- 1:50it. But this is basically how we add
- 1:53rounded corners to a GUI object. And the
- 1:56next thing I'm going to show you is
- 1:57called a UI stroke. So I'm going to hit
- 1:59the plus sign on the text label, insert
- 2:01a UI stroke, just like this. Now the
- 2:05thing about this is, as you can see, the
- 2:07stroke is being applied to the text
- 2:10label. But what if instead we wanted to
- 2:12apply the stroke to the border itself?
- 2:14What we can do is change this property
- 2:17called apply stroke mode. uh instead of
- 2:20it being contextual, we're just going to
- 2:21drop down here. There's another option
- 2:24here called border. So, if we click on
- 2:26this, then what it's going to do is
- 2:27instead of adding a stroke to the text,
- 2:30it's going to add a stroke to the
- 2:32border. We can make this more visible by
- 2:33changing the thickness to let's say
- 2:35five. And there's also this other
- 2:37property called line joint mode, which
- 2:40basically tells us how do we want the
- 2:42rounded corners to look. And by default,
- 2:45it's round. So, we can change it to
- 2:47something like bevel, which looks like
- 2:48this. We can change it to I think this
- 2:50is uh mirror, if that's how you
- 2:52pronounce it correctly. That looks like
- 2:53this. But for now, we're just going to
- 2:55set it to round. And that's basically
- 2:57what UI stroke is. What we can also do
- 3:00is add padding to our um text as well.
- 3:05So, if we hit the plus sign and insert a
- 3:08UI padding just like this. Then the
- 3:11purpose behind this object is let's say
- 3:13we wanted to leave some space up here so
- 3:15that we can fit other elements up here
- 3:18without having our text label in the
- 3:20way. Then we can add a padding object.
- 3:23But to clear any confusion, I'm just
- 3:25going to show you how we can use this.
- 3:27So down here we have four options here
- 3:30with behavior. So we can have padding on
- 3:33every side of this GUI object. Um and
- 3:36for each one there's a scale and an
- 3:38offset. But for the sake of this
- 3:40tutorial, I'm going to be changing the
- 3:41scale. So, let's say we wanted to change
- 3:44padding top to a certain scale. Let's
- 3:47say we want this to be 0.2. Then, what
- 3:50it's going to do is with this text
- 3:51label, it's going to pad the text
- 3:54downward. So, it's going to leave a
- 3:55little bit of space up here, which is
- 3:57going to push the text label downward,
- 3:59just like this. And if we change it to
- 4:000.5, then it's going to uh apply even
- 4:04more padding to push this even further
- 4:06down. And we can do the same thing with
- 4:08padding left. So if we change this to
- 4:11let's say 0.5 as well, then what it's
- 4:14going to do is add extra padding over
- 4:16here to the left so that it pushes the
- 4:18text label to the right like this. And
- 4:21that is what you want to use padding
- 4:23for. It's if you want to add a little
- 4:25bit of space in between a certain
- 4:28direction and where the GUI element is.
- 4:32because let's say uh one of the elements
- 4:33is too far on the edge and we want to
- 4:36push it a little bit so that it's a
- 4:38little more centered or it's like not
- 4:40touching the edge. That's just an
- 4:42example, but this is basically what a UI
- 4:44padding object is. And now what I want
- 4:46to show you is how you can apply a
- 4:48gradient effect to a GUI element. So
- 4:50what we're going to do is uh on our text
- 4:52label, we're going to hit the plus sign
- 4:54and we're going to insert a UI gradient
- 4:56that looks like this. Now, the way that
- 4:58this works is we have this property
- 5:00called color. And if we click on this
- 5:03and press the three dots over here. Then
- 5:05what it's going to do is it's going to
- 5:06pull up a time sequence timeline that
- 5:09looks something like this where we have
- 5:11a key frame at the beginning here and a
- 5:13key frame at the end here. And what we
- 5:15can do is select one of these key frames
- 5:17and click on color. And we can change
- 5:19this color to whatever we want. Let's
- 5:21say red. And what it's going to do is
- 5:23this timeline is going to match the
- 5:25color of this GY element that it's
- 5:27placed under. And we can do the same
- 5:29thing at the end here. We can select it
- 5:32and we can change the color of this to
- 5:33let's say yellow. And it's going to
- 5:35match it to look like what it looks like
- 5:38over here on the timeline. We can even
- 5:40add more key frames to this just by
- 5:42clicking anywhere in the timeline here
- 5:44and just selecting it. So now we have
- 5:45another key frame on time 0.478.
- 5:49But if we want to be specific, we can
- 5:50change this to 0.5. So it's right in the
- 5:53middle in between. We can change this
- 5:55color to let's say something different
- 5:57like a darker orange just like this. And
- 6:01now we have a gradient that looks
- 6:03something like this. And we can just
- 6:04close this. And that is basically how we
- 6:07add gradients to our GUI elements. We
- 6:10can also do things like changing the
- 6:12offset of the gradient as well so that
- 6:15it starts at a different position in the
- 6:18timeline. So that's something we could
- 6:20do to change that as well. We can even
- 6:22change the rotation of it so that it can
- 6:24be rotated in a certain way. We can even
- 6:26change the transparency of it as well if
- 6:28we don't want to fully see the gradient.
- 6:30And that is basically what we do with UI
- 6:32gradients. So, those are some objects
- 6:35that we can use to change the appearance
- 6:38of a GUI element. And I hope you found
- 6:40this to be really helpful. So, for
- 6:42today's learning objective, I want you
- 6:44to recreate this health bar GUI down
- 6:47here. I want you to focus on the
- 6:49appearance side of this health bar using
- 6:52the objects that I taught you in this
- 6:54episode with things like the rounded
- 6:56corners, the text stroke, the gradient,
- 6:58and all of those sorts of things. But as
- 7:00an added challenge, I want you to make
- 7:03this health bar functional as well using
- 7:06scripting. So if I were to let's say
- 7:08update my health to 80, then what this
- 7:11health bar is going to do is it's going
- 7:13to update the text and also the health
- 7:16bar itself to reflect on how much health
- 7:18I currently have. But the important
- 7:20thing here is being able to use
- 7:22appearance modifiers to make this health
- 7:24bar look nice. You don't have to focus
- 7:25on the scripting part. That's just an
- 7:27added challenge if you want to do that.
- 7:29But that is basically your learning
- 7:30objective for this episode. But what I'm
- 7:32going to do is stop and I'm going to
- 7:34give you a little bit of time to attempt
- 7:35making this health bar GUI before I show
- 7:38you the script. So I'm going to assume
- 7:39that you spent a little bit of time
- 7:41trying this out for yourself. So what
- 7:42I'm going to do now is open up the
- 7:44health bar GUI. And I'm going to show
- 7:46you the local script inside of here to
- 7:48basically show that this is the script
- 7:50used to update the health bar that
- 7:53reflects on the player's current health.
- 7:56So we have a function here that updates
- 7:58the the health text to the current
- 8:00humanoid's health and we divide that by
- 8:02the humanoid's max health and we use
- 8:05tween service to make the bar move very
- 8:07smoothly. We do this initially when the
- 8:10player loads into the game and we also
- 8:12use this get property changed signal
- 8:14function to update the health bar every
- 8:17single time the health changes. So, that
- 8:20is basically what the script does, and
- 8:22you might need to change it a little bit
- 8:23depending on how you make your health
- 8:25bar GUI, but yeah, that is basically how
- 8:28you create a health bar inside of Roblox
- 8:29Studio. Before we end the video, I want
- 8:31to give a shout out to my Patreon
- 8:33members for their continued support to
- 8:35help me continue making these Roblox
- 8:38scripting tutorials for you guys. And if
- 8:40you want to get access to my scripts,
- 8:42get early access to upcoming videos, and
- 8:45other benefits like that, then I will
- 8:46leave a link to my Patreon page in the
- 8:48description for you to check out. I
- 8:50appreciate your support very much. So,
- 8:52that is basically going to be it for
- 8:53this episode on appearance modifiers. I
- 8:56hope you enjoyed this episode and I will
- 8:57see you in the next one.
- 9:00Take
About this transcript
This page contains the full transcript of Appearance Modifiers (UI Corners, Gradients, etc) - Roblox GUI Tutorial #14 (2025) by BrawlDev, generated from the public captions YouTube serves with the video. The transcript has 1,842 words across 242 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.