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.
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!
Closed as Not Constructive by JesseSong
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?