Log in to vote

RP Name Filtering Censoring Help?

Asked by
Subbix -5
11 months ago

Well not really chat filtering but I'm filtering a RP Name Gui so it censors text. (It creates a Model inside your character)

        v = game.Players.LocalPlayer
        for a, mod in pairs(v.Character:children()) do
            if mod:findFirstChild("NameTag") then
                v.Character.Head.Transparency = 0 mod:Destroy()

        local char = v.Character
        local mod ="Model", char)
        mod.Name = script.Parent.Text
        local cl = char.Head:Clone()
        cl.Parent = mod

        local modtxt = mod.Name

        local hum ="Humanoid", mod)
        hum.Name = "NameTag"
        hum.MaxHealth = 0
        hum.Health = 0

        local filteredMessage
        local success, filteredMessage = pcall(function() return v.mod:FilterStringForBroadcast(v.mod.Name) end)
        if not success then
            filteredMessage = "<Filter has failed.>"

No, It doesn't post <filtering has failed.> and I've already tried FilterASync Subbix -5 — 11mo


Looks like you're using an ad blocker.

That's fine...

No, it really is.

Just, I mean, we put a lot of work into this site, you know?

It would be really really appreciated if you would turn off your ad blocker for our website...

We tried really hard to make our ads as unobtrusive as possible.

If you really hate ads, would you consider a $2 donation via Patreon?

Here's the link.

We love you. We hope you love us too.




Now back to your regularly scheduled Scripting Helpers....




Answer this question