Tried to fix everything, but the player always gets stuck in the floor

Look at the code...