I have a script that gives me and my builder chat tags, but the tags are switching around, Can anyone help me with this?
game.Players.PlayerAdded:connect(function(plr)
local tags = Instance.new("Folder",plr)
tags.Name = "Tags"
if plr.Name == "StolenSow" then
local newTag = Instance.new("IntValue",tags)
newTag.Name = "Scripter"
local chatColor = Instance.new("Color3Value",newTag)
chatColor.Name = "ChatColor"
chatColor.Value = Color3.fromRGB(255,255,255)
local tagColor = Instance.new("Color3Value",newTag)
tagColor.Name = "TagColor"
tagColor.Value = Color3.fromRGB(46,204,113)
end
end)
game.Players.PlayerAdded:connect(function(plr)
local tags = plr:WaitForChild("Tags")
if plr.Name == "Kyle0The0Kid" then
local newTag = Instance.new("IntValue",tags)
newTag.Name = "Builder"
local chatColor = Instance.new("Color3Value",newTag)
chatColor.Name = "ChatColor"
chatColor.Value = Color3.fromRGB(255,255,255)
local tagColor = Instance.new("Color3Value",newTag)
tagColor.Name = "TagColor"
tagColor.Value = Color3.fromRGB(69,181,229)
end
end)
It is a ServerScript inside of ServerScriptService.
