So i want my antiswear to find swears better and i want to make it find a swear word everytime a player chats everything. However, my antiswear only checks if the word is a single swear. So if you say something like “lololo (swear word) lololo” it will not censor, but “(swear word)” will censor.
And String.find only returns numbers, so i think it wouldn’t be possible to put an if statement to it. Is there any way i can find string like that? (also, i want it to blacklist multiple swears, not just one)