Detecting a users safechat through words help

Hey! I am having an issue with my script, this script detected if a player has safe-chat and then prints true or false in a different part of the module. C7RN can now be used for players without safe-chat, so I need a new word that can cover for this.

REQUIREMENTS

  • This word must only be untagged for users without safe-chat and tagged for those with safe-chat.
  • This word must not break any rule in the Roblox TOS.

CURRENT SCRIPT

local TextFilterResult
		local Succ,Msg = pcall(function()
			TextFilterResult = textService:FilterStringAsync("c7rncso",b.UserId)
		end)
		if TextFilterResult ~= nil and Succ == true then
			local FilteredString
			local Succ,Msg = pcall(function()
				FilteredString = TextFilterResult:GetChatForUserAsync(b.UserId)
			end)
			if FilteredString ~= nil and Succ == true then
				local SafeChat = (FilteredString == "c7rncso" and "false") or "true"
				table.insert(InfoTable,"SafeChat: "..SafeChat)
			end
		end

EXTRA NOTE

  • The script works perfectly fine as it has been used by a lot of people and they have said it works, I just need a new word for it to detect if a user has safe-chat or not.
1 Like

This may not really be answering your question but… why do you need to know? What’s your exact use case for detecting if players have safe chat?

There’s no surefire way to know this information because that kind of API isn’t exposed to the developer and these fickle solutions like checking for octothorpes from certain chat messages hinges on an assumption and not a guarantee that the user in question has safe chat.

1 Like

My script is going to become public and open to groups that would like to use the admin module. Certain groups contain rules being: You must be 13+ to apply for this position

Therefore this feature would benefit that and make it easier to find out if the person is suitable for this.

Sent this on mobile, sorry for the slow response.

Do you have a solution for this?

Nope, don’t have a word. The problem here is needing a new word so the only reasonable answer is “find a new one”. What that word is in particular, I don’t know and I don’t think there’d ever be a “consensus 13+ word” here. Filters are machine learning and improve using context and manual configuration so, like “c7rn”, there’s no surefire solution.

I don’t really agree with the notion of using hacks[1] like this in resources intended for production value, let alone checking a player for their real age for any reason, but if this is the route you want to go then it’s not my place to say anything besides that you’d have to bear the frequent maintenance burden when needing to change said word.

[1] By “hack”, for clarification, I mean something of a band-aid fix.

1 Like

Alright, thank you! I might just remove the line from the info command gui.

You can use “shut up” and “crap”. (I know that I am too late)