Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Is there a way to color each word that is in this script different?

Asked by
Lualaxy 78
5 years ago
Edited 5 years ago

So I have 2 words that are displayed as titles with a bilboard GUI. I only used 1 text label since if I use 2 it is extremely weird when I try to zoom and stuff. But with 1 text label it's normal. So I want to color the username white and the rank that is bellow a different color. Question is... How?

My code:

local User = script.Parent.user

local Players = game:GetService("Players")

local player = Players:FindFirstChild(script.Parent.Parent.Parent.Parent.Name)





User.Text = player.Name .. [[

]].." "

.. player:GetRoleInGroup(EnterGroupIDHere)
1
U simply cant. User#24403 69 — 5y
1
Sadly impossible. You could make a separate TextLabel with different color text and then do some calculations so it lines up with the rest of the text. Might not be worth the effort. SimpleFlame 255 — 5y
1
It isn't worth the effort since 1 of the text labels just goes away if you look at it from a different angle. Lualaxy 78 — 5y
0
then ur screwed, u cant make individual pieces of text be a different color User#24403 69 — 5y
0
I mean you could put the 2 textlabels in the same frame... unless you did that already then idk DaBrainlessOne 129 — 5y

Answer this question