-
What do you want to achieve? Keep it simple and clear!
I want a certain people to have a special title in game. Practically just something above your head with a text. - What is the issue? Include screenshots / videos if possible!
My issue is that the title only works in my head and not other peoples head. It also happened in studio, it only shows the title in my head but I am not sure why it does not work in others people head and I made sure that everything is well written but I still don’t know what to do.
An example would be like this:
Shows in game and in studio, but it does not show to other peoples head
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have tried using different variables, getting their IDs and everything but nothing seems to work out. And I didn’t find anything in the forum (im probably the most unlucky person)
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Not much to say about this script, like I said, it’s a simple script that gives a title above your head with a custom text and color if it’s the right player.
local top1 = {
ID = 3169900652,
Text = "Best Staff 1",
Color = Color3.new(1, 0, 0.0156863)
}
local top2 = {
ID = 1596079193,
Text = "Best Staff 2",
Color = Color3.new(1, 1, 0)
}
local top3 = {
ID = 672779126,
Text = "Best Staff 3",
Color = Color3.new(0.623529, 0.490196, 0)
}
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
if plr.Name == "k6lnt" then
local tag = script.exclusive:Clone()
local text = tag.UpperText
text.Text = top1.Text
text.TextColor3 = top1.Color
tag.Parent = char:WaitForChild("Head")
print("top 1 is here")
elseif plr.Name == "EXAMPLENAME" then
local tag = script.exclusive:Clone()
local text = tag.UpperText
text.Text = top2.Text
text.TextColor3 = top2.Color
tag.Parent = char:WaitForChild("Head")
print("top 2 is here")
elseif plr.Name == "EXAMPLENAME2" then
local tag = script.exclusive:Clone()
local text = tag.UpperText
text.Text = top3.Text
text.TextColor3 = top3.Color
tag.Parent = char:FindFirstChild("Head")
print("top 3 is here")
end
end)
end)
also sorry for my bad english and my horrible scripting, im still learning