How do I make a text label change color and The text to the owner if there's a certain user? I want this because I want to make an owner tag and stuff.
✓ ANSWER ACCEPTED
Can you help with Text Labels and Making Certain Users Change what it says and color of it?
2 answers
✓ Accepted answer
I'm assuming it is a BillboardGUI that you are using for the tag. Put this code in a local script. Set the GUI's text to nothing preferably. You'll have to fiddle around with the code and properties for sure but you're probably looking for something like:
local plr = game.Players.LocalPlayer -- making sure it will be assigned locally
local userID = 123456 -- every player has an ID assigned to your account
local Gui = script.Parent -- the BillboardGUI which the text will be in
if plr.UserId == userID then -- checks what the players userID is
Gui.Text = Owner -- change to what ever the tag should say (if not working then put the text in brackets)
end
The local script should be in the BillboardGUI. Go onto your profile link and find the number in there. For example* roblox.com/users/123456/.* I would recommend reading the code and understanding it, as you'll learn it. I'm not the best coder, and if this doesn't work (probably will work), there is a model with a lot of customizability. Hope I helped!
I got it!
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
https://developer.roblox.com/en-us/api-reference/class/TextLabel look at the properties, and you can click on the specific one to go to a page that explains how to modify them