Problem that i’m having:
So, I’ve been trying to edit my headers to incorporate DisplayNames, and I wanted to make the player.name label a bit smaller than the other labels for mostly aesthetic reasons.
Snippet of code i’m working with:
header.Label.Text = "Level ".. level.Value
header.Label2.Text = "- ".. groupRole .. " -"
header.Label3.Text = player.DisplayName
if player.DisplayName == player.Name then
header.Label4.Text = " "
elseif player.DisplayName ~= player.Name then
header.Label4.Text = "@"..player.Name
header.Label4.Size = UDim2.new(5,0,1.5,0)
end
header.Size = UDim2.new(5,0,2,0)
It’s the line for Label4 that i’m trying to work with and I thought something like that would work, but yielded weird results, I’ve tried messing with the values and it returned similar results. Am I doing something wrong?