Hi, I was developing with my team, and we were making a “chat tags” but this becomes an error. I am the owner of the progress, and this script works perfectly fine with other roles, but when I tried it out, it didn’t show my tag.
Script:
wait(1)
local tags = Instance.new("Folder",plr)
tags.Name = "Tags";
if plr:GetRankInGroup(6988508) == 2 then -- Player Name
local newTag = Instance.new("IntValue",tags);local chatColor = Instance.new("Color3Value",newTag);local tagColor = Instance.new("Color3Value",newTag);chatColor.Name = "ChatColor";tagColor.Name = "TagColor"
--EDIT BELOW
newTag.Name = "VIP" -- Tag Name
chatColor.Value = Color3.fromRGB(255, 255, 0) -- Chat Color (default is 255,255,255)
tagColor.Value = Color3.fromRGB(255, 255, 0) -- Tag Color
elseif plr:GetRankInGroup(6988508) == 3 then -- Player Name
local newTag = Instance.new("IntValue",tags);local chatColor = Instance.new("Color3Value",newTag);local tagColor = Instance.new("Color3Value",newTag);chatColor.Name = "ChatColor";tagColor.Name = "TagColor"
--EDIT BELOW
newTag.Name = "Epic Gamer" -- Tag Name
chatColor.Value = Color3.fromRGB(255, 255, 0) -- Chat Color (default is 255,255,255)
tagColor.Value = Color3.fromRGB(0, 255, 255) -- Tag Color
elseif plr:GetRankInGroup(6988508) == 4 then -- Player Name
local newTag = Instance.new("IntValue",tags);local chatColor = Instance.new("Color3Value",newTag);local tagColor = Instance.new("Color3Value",newTag);chatColor.Name = "ChatColor";tagColor.Name = "TagColor"
--EDIT BELOW
newTag.Name = "Developer" -- Tag Name
chatColor.Value = Color3.fromRGB(255, 255, 0) -- Chat Color (default is 255,255,255)
tagColor.Value = Color3.fromRGB(255, 0, 0) -- Tag Color
elseif plr:GetRankInGroup(6988508) == 5 then -- Player Name
local newTag = Instance.new("IntValue",tags);local chatColor = Instance.new("Color3Value",newTag);local tagColor = Instance.new("Color3Value",newTag);chatColor.Name = "ChatColor";tagColor.Name = "TagColor"
--EDIT BELOW
newTag.Name = "Owner" -- Tag Name
chatColor.Value = Color3.fromRGB(255, 255, 0) -- Chat Color (default is 255,255,255)
tagColor.Value = Color3.fromRGB(255, 0, 0) -- Tag Color
end
end)
Every other role has a tag in chat if they type, but “owner” doesn’t show? any help?