Thanks,
The movement script is actually heavly based on the default one but its because of the collsions which is why its buggy
Sorry about the softlock. I did try and fix this but evidently it didnt work