Prevent clipping into walls when changing scale

I want to have a system that prevents you from walking through walls when changing scale a tiny amount
Continue to help post