Try using less codes, or different ones. Sometimes the game will find itself overloaded by the amount of codes you're trying to use.