16 function HandleCharacter(Player, Character) 17 local Custom = Character:WaitForChild('Head'):clone() 18 Custom.Name = 'TastiesOverhead' 19 Custom.Parent = Character 20 Custom.face:Destroy() 21 Character.Head.Transparency = 1 22 Create'Weld'{ 23 Name = 'CustomWeld'; 24 Parent = Custom; 25 Part0 = Character.Head; 26 Part1 = Custom; 27 } 28 Create'BillboardGui'{ 29 Name = 'Nametag'; 30 Parent = Custom; 31 Size = UDim2.new(5, 0, 0.5, 0); 32 StudsOffset = Vector3.new(0, 2, 0); 33 Create'TextLabel'{ 34 Name = 'NameLabel'; 35 BackgroundTransparency = 1; 36 Size = UDim2.new(1, 0, 1, 0); 37 Position = UDim2.new(0, 0, -0.8, 0); 38 Font = 'ArialBold'; 39 Text = Character.Name; 40 TextColor3 = Color3.new(1, 1, 1); 41 TextScaled = true; 42 TextStrokeTransparency = 1; 43 }; 44 Create'TextLabel'{ 45 Name = 'RankLabel'; 46 BackgroundTransparency = 1; 47 Size = UDim2.new(1, 0, 0.92, 0); 48 Position = UDim2.new(0, 0, 0.2, 0); 49 TextTransparency = .1; 50 Font = 'SourceSansItalic'; 51 FontSize = Enum.FontSize.Size14; 52 Text = Player:GetRoleInGroup(4915753); 53 TextColor3 = Color3.new(1, 1, 1); 54 TextScaled = true; 55 TextStrokeTransparency = 1; 56 }; 57 } 58
I attempt to change line 53 and line 40's colors.
I assume there's a reason why your script is like this. So, I will just edit some things.
Instead of using Color3.new, use Color3.fromRGB (red, green, blue)
16 function HandleCharacter(Player, Character) 17 local Custom = Character:WaitForChild('Head'):clone() 18 Custom.Name = 'TastiesOverhead' 19 Custom.Parent = Character 20 Custom.face:Destroy() 21 Character.Head.Transparency = 1 22 Create'Weld'{ 23 Name = 'CustomWeld'; 24 Parent = Custom; 25 Part0 = Character.Head; 26 Part1 = Custom; 27 } 28 Create'BillboardGui'{ 29 Name = 'Nametag'; 30 Parent = Custom; 31 Size = UDim2.new(5, 0, 0.5, 0); 32 StudsOffset = Vector3.new(0, 2, 0); 33 Create'TextLabel'{ 34 Name = 'NameLabel'; 35 BackgroundTransparency = 1; 36 Size = UDim2.new(1, 0, 1, 0); 37 Position = UDim2.new(0, 0, -0.8, 0); 38 Font = 'ArialBold'; 39 Text = Character.Name; 40 TextColor3 = Color3.fromRGB(0, 255, 0); -- green 41 TextScaled = true; 42 TextStrokeTransparency = 1; 43 }; 44 Create'TextLabel'{ 45 Name = 'RankLabel'; 46 BackgroundTransparency = 1; 47 Size = UDim2.new(1, 0, 0.92, 0); 48 Position = UDim2.new(0, 0, 0.2, 0); 49 TextTransparency = .1; 50 Font = 'SourceSansItalic'; 51 FontSize = Enum.FontSize.Size14; 52 Text = Player:GetRoleInGroup(4915753); 53 TextColor3 = Color3.fromRGB(255, 0, 0); -- red 54 TextScaled = true; 55 TextStrokeTransparency = 1; 56 }; 57 } 58
Remember to remove the numbers.
Sorry if this isn't the answer you are looking for. I hope it helps though.
The issue here is stated but I don't have enough info to understand. If the text color is already white (I believe 1, 1, 1 is white) then it won't seem to change.
Also is create a function? It seems to be a bilboard gui.
If you want to set a property use object.PropertyName = value
.
If you want to go down the hierarchy then do a similar thing, Object.ObjectName
.
If you are creating something use Instance.new(objectName, parent)
So Mr.Duck, to make a color changing brick or GUI I guess, Here is the code
local TextButton = game.Workspace.TextButton TextButton.BackgroundColor = BackgroundColor.New = (''Really Red'')
Now just repeat the line on top but change the color in the script!
I hope this helps you Mr.Duck!!!
If there is a problem please comment down below.
If this is not related to your question, please comment to me.