I broke up the custom block into multiple custom blocks to fix it. Click the see inside button to see what I mean. Yeah, I didn't really fix it aw man :(
Basically, I made it so that the purple square doesn't get stuck when you hold two keys like down and right against it on the collide sprite. It doesn't work when you use the the up and right arrow on some parts or left arrow at the same time for some reason though, I'm not sure why. Nevermind, I figured it out, I just don't know how to fix it :/