Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

GUI not tagging curse words?

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.

2 comments

0

look this up before posting :/

0

Is this a local script or server script?

2 answers

✓ Accepted answer

Learn filterstringforbroadcast here

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

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

This discussion is preserved as it was. New answers, comments, and votes are closed.