I've edited the ExtraDataInitalizer module.
if pLaYeR:FindFirstChild("Playerstats") then
local pLaYeRsTaTs = pLaYeR:FindFirstChild("Playerstats")
if pLaYeRsTaTs:FindFirstChild("CurrentChatTag") and pLaYeRsTaTs:FindFirstChild("CurrentChatColour") then
local CurrentChatTag = pLaYeRsTaTs:FindFirstChild("CurrentChatTag")
local CurrentChatColour = pLaYeRsTaTs:FindFirstChild("CurrentChatColour")
if CurrentChatTag.Value == nil or CurrentChatColour == nil then
else
local tags = {
{
TagText = tostring(CurrentChatTag.Value),
TagColor = Color3.fromRGB(CurrentChatColour.Value)
}
}
speaker:SetExtraData("Tags", tags)
speaker:SetExtraData("NameColor", Color3.fromRGB(tags[2]))
speaker:SetExtraData("ChatColor", pLaYeR.TeamColor.Color)
end
end
end
This sets the tags and colour when the player joins the game, but I would like the player to choose what tag and colour they want. The player would currently have to rejoin in order for the new tag to appear. How would I make it so that it updates in the server?
Edit: I just added a simple while loop and put all of it into a spawn function. Probably not the best way to do it, but it works. If there's a better way, let me know!

2 comments
Oh well. Thanks though. I'll remember this for furore projects.
Future*. The way I solved it wasn't too complicated anyway.