Hi, I’m trying to make it so that if the player is on the list, they have a special nametag however, it only gives it to 1 player that is on the list not the others. Here is my code:
Configuration
--[[
READ THE "Instructions (Read Me)" BEFORE YOU EDIT THIS
--]]
return {
["Settings"] = {
["Stack Tags"] = false,
["Game Creator Chat Tag"] = false,
["Game Creator Chat Color"] = false,
["Script Creator Chat Tag"] = "Contributor",
["Script Creator Chat Color"] = "Admin Yellow",
},
["Possible Chat Tags"] = {
["Owner"] = {
TagText = "Owner",
TagColor = Color3.fromRGB(170, 0, 0),
Priority = 10,
},
["Developer"] = {
TagText = "Developer",
TagColor = Color3.fromRGB(16, 232, 210),
Priority = 9,
},
["Moderator"] = {
TagText = "Moderator",
TagColor = Color3.fromRGB(47, 196, 57),
Priority = 8,
},
["Contributor"] = {
TagText = "Contributor",
TagColor = Color3.fromRGB(255, 0, 100),
Priority = 7,
},
["Tester"] = {
TagText = "Tester",
TagColor = Color3.fromRGB(255, 0, 0),
Priority = 6,
},
["VIP"] = {
TagText = "VIP",
TagColor = Color3.fromRGB(255, 170, 0),
Priority = 5,
},
["Roblox Staff"] = {
TagText = "Roblox Staff",
TagColor = Color3.fromRGB(255, 85, 85),
Priority = 4,
},
["Roblox Star"] = {
TagText = "Roblox Star",
TagColor = Color3.fromRGB(255, 170, 0),
Priority = 3,
},
["Roblox QA"] = {
TagText = "Roblox QA",
TagColor = Color3.fromRGB(40, 110, 190),
Priority = 2,
},
["Roblox DevForum"] = {
TagText = "Roblox DevForum",
TagColor = Color3.fromRGB(255, 170, 0),
Priority = 1,
},
},
["Possible Chat Colors"] = {
["Developer Blue"] = {
ChatColor = Color3.fromRGB(16, 232, 210),
Priority = 2,
},
["Intern Blue"] = {
ChatColor = Color3.fromRGB(175, 221, 255),
Priority = 1,
}
},
["Assigned Chat Tags"] = {
["Players"] = {
{
-- Nicholas_Foreman, creator of this script
UserId = 34355831, 101894318, 153699426,
Tags = {"Developer"},
print("Developer tags are distributed")
},
},
["Groups"] = {
{
-- Example group with rank
GroupId = 2717224,
Rank = 255,
GroupRankComparison = ">=",
Tags = {"Owner"},
},
{
-- Roblox Admins group (do not remove)
GroupId = 1200769,
Rank = nil,
GroupRankComparison = nil,
Tags = {"Roblox Staff"},
},
{
--- Roblox Interns group (do not remove)
GroupId = 2868472,
Rank = 100,
GroupRankComparison = ">=",
Tags = {"Roblox Staff"},
},
{
--- Roblox Stars group
GroupId = 4199740,
Rank = nil,
GroupRankComparison = nil,
Tags = {"Roblox Star"},
},
{
--- Roblox QA group
GroupId = 3055661,
Rank = nil,
GroupRankComparison = nil,
Tags = {"Roblox QA"},
},
{
--- Roblox Developers Forum group
GroupId = 3514227,
Rank = 2, -- Members only ♥
GroupRankComparison = ">=",
Tags = {"Roblox DevForum"},
},
},
["GamePasses"] = {
{
-- Example VIP gamepass
GamepassId = 6026595,
Tags = {"VIP"},
},
},
["Badges"] = {
{
-- Example Tester badge
BadgeId = 336132652,
Tags = {"Tester"},
},
},
["Teams"] = {
{
-- Example team
TeamName = "Team",
Tags = {"VIP"},
},
},
},
["Assigned Chat Colors"] = {
["Players"] = {
{
--- Nicholas_Foreman, creator of this script
UserId = 34355831, 101894318,
ChatColor = "Developer Blue",
},
},
["Groups"] = {
{
-- Example group with rank
GroupId = 2717224,
Rank = 255,
GroupRankComparison = ">=",
ChatColor = "Admin Yellow",
},
{
-- Roblox Admins group (do not remove)
GroupId = 1200769,
ChatColor = "Admin Yellow",
},
{
-- Roblox Interns group (do not remove)
GroupId = 2868472,
Rank = 100,
GroupRankComparison = ">=",
ChatColor = "Intern Blue",
},
},
["GamePasses"] = {
{
-- Example VIP gamepass
GamepassId = 6026595,
ChatColor = "Admin Yellow",
},
},
["Badges"] = {
{
--- Example Tester badge
BadgeId = 336132652,
ChatColor = "Admin Yellow",
},
},
["Teams"] = {
{
-- Example team
TeamName = "Team",
ChatColor = "Admin Yellow",
},
},
},
}
LOOK FOR ASSIGNED CHAT TAGS
Thank you for the help!