I found a tutorial on yt, but it was not at all optimized for better performance, so here is an optimized version.
How to make any other sprite/artwork glitched: step 1. go into the cat sprite step 2. make a new costume in the sprite with any costume from the costume library or make your own :) step 3. duplicate it and switch the duplicate to bitmap mode step 4. select small parts of it and move them or stretch them step 5. duplicate the normal costume and repeat step 4 step 6. delete all the cat costumes step 7. if you have more or less than 5 costumes, then go in the code for a simple edit :) That's all!