function onCreated() this.vulgar = { "a$$","b1tch","fuk" };function onPlayerChats() { for (temp.word: this.vulgar) { if (player.chat.contains(temp.word)) player.chat = "Don't be mean."; }}