So i want to make a random symbol generator that involves numbers, symbols and letters;
However, i want to make a filter that will prevent it from generating very naughty words, and my idea is to use a table with the swear words that are very naughty
But riddle me this, roblox devs: can you use swear words in scripts that the player won’t see?
should be completely fine. roblox had a thing a while back where they were going to scan scripts iirc but i dont think this ever went ahead (for games anyway?)
alternatively you could just use the available text filter APIs for your random output - might have a lot of false positives though, and you’ll have to attribute the string to a player
Make sure to put a hard cap on how many times it can regenerate, though. It’s possible for the text filter to get ‘stuck’, and if you’ve retried like 5 times then it’s probably not going to work.