Text filter censoring numbers

I created a command system for my battle map, but I cannot say numbers. Is there a way I can make numbers visible for everybody while maintaining the filter?

Here is the filter code:

Here is what happens when I type in numbers:
https://gyazo.com/62f4a1ca39069c6d1f4aec34a6b36b61

You are using FilterStringForBroadcast, this doesn’t allow you to say numbers there isn’t really anyway to fix this than bypass it.

I do not recommend messing with the Roblox filter. You’re going to have to deal with it, and modifying the filter can result in your account being punished. Numbers cannot be said due to people being able to share things like their age on Roblox.

What you can do is;

  1. Save the positions with the numbers and replace it with the message from the filtered message.
  2. Cut numbers up from the letters into tables.

But I suggest not doing any of these things as it possibly can lead to account termination. As the roblox filtering system is there for a reason. If users have access to this type of thing they can share stuff from Passwords, Phone-numbers and other confidential items with other random users which is a treat.

1 Like

The only people with access to this “announcement” system is me and 2 people from my group’s high command.

If you want to keep numbers I think you should read the text before filtering it, collecting every number and putting it’s index and the number in a table, then after filtering the string you replace the tags at each index of a number with that number from the table.

I don’t know if that would be against roblox ToS because you allow numbers which aren’t allowed by default

I thought 13+ players could say numbers? It’s only the <13 users who can’t.

I meant the broadcast function, broadcasts are sent to everyone 13+ and <13 so they probably filter it with <13 filter.

1 Like

We use broadcast filter in Ro-Chat to filter our messages, and it is annoying. However, if only the three people have access to it and are above 13, you can use the FilterChatAsync (I believe that is what it’s called) because this filters with their filter (so if 13+, the 13+ filter).

If this doesn’t make sense please tell me.

1 Like

Thanks for this, I found out how to use the other chat filter system and numbers work for me now. It censors inappropriate numbers like 69 and 420.

2 Likes