Movie Star Planet uses a chat filter that blocks inappropriate language. If you type a bad word, the system will typically issue a warning, and the filter is designed to catch most attempts.
Cursing is against the rules at all times, so it is best to keep your messages clean and respectful.