Is this Chat tag script not working anymore?

this is the video that i copied

local Players = game:GetService("Players")

local function OnPlayerAdded(Player)
	local tags = Instance.new("Folder")
	tags.Name = "Tags"
	tags.Parent = Player
	local isVIP = Player:WaitForChild("isVIP")
		
	if isVIP.Value == true then
			local newTag = Instance.new("IntValue")
			newTag.Name = "VIP"
			newTag.Parent = tags
			local chatColor = Instance.new("Color3Value")
			chatColor.Name = "ChatColor"
			chatColor.Parent = newTag
			chatColor.Value = Color3.fromRGB(255, 220, 21)
			local tagColor = Instance.new("Color3Value")
			tagColor.Name = "TagColor"
			tagColor.Parent = newTag
			tagColor.Value = Color3.fromRGB(255,255,255)
		end
		
	Player.isVIP:GetPropertyChangedSignal("Value"):Connect(function()
		if isVIP.Value == true then
			local newTag = Instance.new("IntValue")
			newTag.Name = "VIP"
			newTag.Parent = tags
			local chatColor = Instance.new("Color3Value")
			chatColor.Name = "ChatColor"
			chatColor.Parent = newTag
			chatColor.Value = Color3.fromRGB(255, 220, 21)
			local tagColor = Instance.new("Color3Value")
			tagColor.Name = "TagColor"
			tagColor.Parent = newTag
			tagColor.Value = Color3.fromRGB(255,255,255)
		end
	end)
end

Players.PlayerAdded:Connect(OnPlayerAdded)

I took a look through your video. Another tip: watch tutorials to your own expense. Sometimes they can be overpowering and difficult for new learners, however they are still great resources.

I noticed in the video that:

tagColor.Value = Color3.fromRGB(255,255,255)

was not a Color3 value. It was instead a BrickColor. Try changing this to:

tagColor.Value = BrickColor.new("Really black")

If there are any other issues, make sure to go back into the video for help. The correct script is already prewritten so I don’t understand the need to ask the DevForum.

whats the different , its still a color

TL;DR it’s in the script and that script worked.

Color3 can be used to obtain a wide array of colors, while BrickColor only uses preset colors. Some functions in Roblox can only use BrickColor instead of Color3. I don’t know the exact reason behind it, but my guess is that it doesn’t have to do guessing work for each color.

nothing different dude , its not working

Why dont you use ExtraDataInitializer Module?

speaker:SetExtraData("Tags", {{TagText = "Hazard Worker", TagColor = game.Teams["Hazard Worker"].TeamColor.Color}})

what about the chat text , how do i change it

This model may help you: Model

But also this is a service you can use in the future: image