Help in preventing Exploiters from getting Chat Tags with TextChatService

Hello,

Wondering how i can prevent Exploiters from getting Chat Tags for free and bypassing requirements, as handling Chat Tags is now done on the client with TextChatService, rather than the server like LegacyChatService does.

Any ideas would be more than thankful!

1 Like

I believe this is a client-side visual. This means that if a potential exploiter were to change the attribute of any player as such:

-- services
local players = game:GetService("Players")

-- variables
local player = players.NAME

-- functions
player:SetAttribute("VIP", true)

It would only affect them, which makes their whole effort a waste of time because nobody else could see the chat tag except for them.

Yes i know but im talking about if they where to change it for them selves, they would end up getting the VIP Tag, and becuase its handled on the client–others would also see that the exploiter has the Tag.

1 Like

You can try it yourself via a LocalScript with the source below, and a server running two clients.

-- services
local players = game:GetService("Players")

-- variables
local player = players.NAME

-- functions
player:SetAttribute("VIP", true)

I’m not sure as to how TextChatService works, but exploiters are probably setting richText on client-side…

You would somehow need to interject messages before they are displayed in chat and parse richtext by this code:

string.gsub(str, "<.*>", "")

Make sure you’re setting the “VIP” attribute on the server side. That way, if the exploiter were to change the attribute, it would only affect them.

TextChatService is built to work mostly on the server side, while things like chat tags and chat message colors are handled on the client.

yes but like i said, since setting up chat tags are handled on the client with textchatsertvice like you said, it will show they have the vip chat tag, because they changed the attribute on the client as well.

Changing the attribute on the client won’t replicate to the server. So the VIP Tag will only show up for them. Unless its showing a VIP Tag for everyone, it shouldn’t be an issue.

i know that, and of course it will show for everyone–this tag handling is on the client, changing the attribute on the client will also replicate it so the client obviously.

Im thinking maybe adding a function that will return if they have the vip pass or not on a server script via a remote function, might work.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.