Chat tag not working

ServerScriptService:

i don’t have any errors and the first part working(the overhead name tag) the second part not. why?

the chat part not working but no errors

image

I’m not sure if this is intentional, but you can’t use class Player as a table

soo how i should fix it?

If you can explain what you’re trying to achieve with that loop I will be able to come up with an answer.

i am trying to make gamepass when player purchase it will give him overhead tag “Premium” and also i want to give him in the chat tag too

Replace


entirely with

local speaker = ChatService:GetSpeaker(player.Name)
speaker:SetExtraData('Tags', {TagText = "Premium", TagColor = Color3.fromRGB(255,183,0)})

image
its doing this error

I edited it try again

still eroring the same message

Try this

local speaker = ChatService:GetSpeaker(player.Name)
speaker:SetExtraData('Tags', {{TagText = "Premium", TagColor = Color3.fromRGB(255,183,0)}})
1 Like