local MD = game.ReplicatedStorage.MessageDecoy
local TT,TS = Enum.ThumbnailType.HeadShot,Enum.ThumbnailSize.Size60x60
local ExecutionerMessages = {
"Feelin' lucky?",
"How are you?",
"Hello!",
"Leave a like. :)",
"*grabs rope*",
}
local Index = 1
local CS,CE = '<font color = "#ff0000">','</font>'
game.ReplicatedStorage.RecieveMessage.OnServerEvent:Connect(function(plr,msg)
for i2,v in pairs(game.Players:GetChildren()) do
local PG = v.PlayerGui
local MessageHolder = PG:WaitForChild("Hangman").Back.MessageHolder
local Cl = MD:Clone()
local Fmsg = game:GetService("Chat"):FilterStringForBroadcast(msg, plr) -- censoring code
local Finmsg = Fmsg
for i=1,#Fmsg do
local v2 = string.sub(Fmsg,i,i)
if v2 == "#" then
if string.sub(msg,i,i) ~= "#" then
Finmsg = string.gsub(Fmsg,v2," ENCAHFAD ")
end
end
end
if tonumber(game.ReplicatedStorage.RoundPlayer.Value) == plr.UserId then
Cl.Message.Message.Text = CS..ExecutionerMessages[math.random(1,#ExecutionerMessages)]..CE
else
Cl.Message.Message.Text = string.gsub(Finmsg," ENCAHFAD ",CS.."_"..CE)
end
Cl.Username.Text = plr.DisplayName.."(@"..plr.Name..")"
Cl.Name = string.sub(plr.Name,1,5).."'s MSG"
Cl.Parent = MessageHolder
local C,R = game.Players:GetUserThumbnailAsync(plr.UserId,TT,TS)
Cl.Image = C
end
end)
Code
So what I want it roblox to not censor umm and other stuff it was just a example.

welp that sucks…