Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Safechat test kicker kicks people without safechat?

Asked by
popeeyy 493 Moderation Voter
6 years ago

Hi,I'm trying to make a safechat test where if you have it, it will kick you. But, when I use the script it always kicks me when I don't have it. How do I fix it so it will only kick the safechatters?

game.Players.PlayerAdded:connect(function(player)
local chat= game:GetService("Chat"):FilterStringAsync("C7RN",player,player)
if chat== "####" then
    player:Kick(chat)
end
end)
0
But why? hiimgoodpack 2009 — 6y
0
Why bully the 12 year olds :c H4X0MSYT 536 — 6y
0
^^ Many cafe's don't let their "workers" have safechat because it can interfere with what they're saying and attempting to communicate with customers. Therefore, they need to be tested when doing an application centre so you'd use this. popeeyy 493 — 6y

1 answer

Log in to vote
0
Answered by
H4X0MSYT 536 Moderation Voter
6 years ago

Safechat is enabled for users 12 and below. As age is a privacy issue, there is no built in way to detect a safechatter. Filtering the text could be a good method, but the filter is being updated every so often as more patches are fixed, and the algorithms are changed. Solution: There is no solution. Giving users access to a players age is a security breach. :P

0
When you use "FilterStringForAsync" it will filter the string or is supposed to based on their settings (their age) according to Roblox WIki. popeeyy 493 — 6y
Ad

Answer this question