Is it ok to include un-allowed stuff in scripts just to filter them?

I just wanna know if it’s still bannable to put bannable words in scripts to filter them only like for example:

local bannedWord = "[insert a swear]"

if script.Parent.Text:find(bannedWord) then
print("not allowed")
end

Hey! ROBLOX has a service you can use to filter the text automatically called TextService!

I know that, but some I want to also filter my own things.

Yes, it is allowed to have innapropriate content in your scripts, instance names. Just make sure there is no way of exposing that to players.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.