Roblox, custom chat filter


So, I would like to add my own cat filter to my game, how could I do it?

for example:
The player says: "DIE"
Go through the chat filter and exit like: "###" or any other string I specify.