Ad
Log in to vote
0

GUI not tagging curse words?

Asked by 7 days ago
local Team = game.Teams.Debator

Team.PlayerAdded:Connect(function(plr)
    plr.Chatted:Connect(function(msg)
        if plr.Team == game.Teams.Debator then
            local message = tostring(msg)
            script.Parent.Text = message
        end
    end)
end)

So, first of all my script works, but now I need to know how I can make text tag on the GUI. When someone says something not very kind the word doesn't tag on the GUI.

0
look this up before posting :/ 0hsa 174 — 7d
0
Is this a local script or server script? DJhar09 90 — 5d

2 answers

Log in to vote
0
Answered by 7 days ago

Learn filterstringforbroadcast here

Also the function doesn't work on studio so you'll have to play the game.

Ad
Log in to vote
0
Answered by
xxaxxaz 19
3 days ago

it does not filter in studios. you need to go to the actual game.

Answer this question