of     1   

JaikKaik
#188680928Friday, May 06, 2016 8:15 PM GMT

I am working on a game where the player can change their business' description and I am worried some might use some inadequate words. How can I check if they input one of the words from a certain list in a TextBox? TL;DR have a list of words, want to check if they are included in string
ElectoStriking
#188681359Friday, May 06, 2016 8:22 PM GMT

inadequate or indecent #Strikin'
JaikKaik
#188681556Friday, May 06, 2016 8:25 PM GMT

Indecent, I mean. Bad words
ElectoStriking
#188681651Friday, May 06, 2016 8:27 PM GMT

player.Chatted:connect(function(msg) for i, v in pairs (BadWords) do if string.find(msg, BadWords[i]) then --code end end end IDK what I just wrote, im beyond tired so it may be complete BS but... #Strikin'
Tigeon
#188683597Friday, May 06, 2016 9:05 PM GMT

make a variable with every bad word in it, then code if one of those words is chatted, remove it
Quebankus
#188688301Friday, May 06, 2016 10:32 PM GMT


    of     1