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

FilterStringForBroadcast is not working correctly?

Asked by 5 years ago
    game.ReplicatedStorage.ChangeText.OnServerEvent:Connect(function(Player, lol)

FilteredString = game:GetService("Chat"):FilterStringForBroadcast(lol, Player)

print(FilteredString)

if lol ~= nil then

script.Parent.SurfaceGui.TextLabel.Text = FilteredString

end

end)

The "FilteredString" is supposed to filter the message, but does not do it. Help is appreciated.

0
u dont TheluaBanana 946 — 5y
0
Doesn't work in Studio, to see results you must play the actual In-game version of your project. Ziffixture 6913 — 5y
0
duh DeceptiveCaster 3761 — 5y

Answer this question