tbh good idea, but the thing you are describing is just a broken cheat, thus debug cheat and fix error, or just use different cheat, or just find functions that is causing it, and turn it off, unless this function is part of cheat itself not a function, thus you are forced to debug and fix it or...