Collision not working right( keep clipping thigh objects above me)

Godot Version

Godot 4.3 web editor

Question

Please help I’ve been trouble shooting this for a while
Im not sure if its a code error but heres the code

extends CharacterBody3D
@onready var head: Node3D = $Head
@onready var standing_collision_shape: CollisionShape3D = $StandingCollisionShape
@onready var crouching_collison_shape: CollisionShape3D = $CrouchingCollisonShape
@onready var camera: Camera3D = $Head/Camera3D

var current_speed = 5.0
var direction = Vector3.ZERO
var lerp_speed = 10.0
const walking_speed = 5.0
const springing_speed = 8.0
const crouching_speed = 3.0
const mouse_sense = 0.4

const JUMP_VELOCITY = 4.5
var crouching_depth = -0.5
@onready var ray_cast_3d: RayCast3D = $RayCast3D



func _ready():
	Input.set_mouse_mode(Input.MOUSE_MODE_CAPTURED)
func _input(event):
	
	if event is InputEventMouseMotion:
		rotate_y(deg_to_rad(-event.relative.x * mouse_sense))
		head.rotate_x(deg_to_rad(-event.relative.y * mouse_sense))
		head.rotation.x = clamp(head.rotation.x,deg_to_rad(-89), deg_to_rad(89))

func _physics_process(delta):
	if Input.is_action_pressed("Crouch"):
		current_speed = crouching_speed
		head.position.y = lerp(head.position.y,1.8 + crouching_depth, delta*lerp_speed)
		standing_collision_shape.disabled = true
		crouching_collison_shape.disabled = false
	elif !ray_cast_3d.is_colliding():
		standing_collision_shape.disabled = false
		crouching_collison_shape.disabled = true
		
		head.position.y = lerp(head.position.y,1.8,delta*lerp_speed)
		
		if Input.is_action_pressed("Sprint"):
			current_speed = springing_speed
		else:
			current_speed = walking_speed
		camera.fov = lerpf(camera.fov, (75 if Input.is_action_pressed("Sprint") else 65), delta*10.0)
		
	# Add the gravity.
	if not is_on_floor():
		velocity += get_gravity() * delta

	# Handle jump.
	if Input.is_action_just_pressed("ui_accept") and is_on_floor():
		velocity.y = JUMP_VELOCITY

	# Get the input direction and handle the movement/deceleration.
	# As good practice, you should replace UI actions with custom gameplay actions.
	var input_dir := Input.get_vector("Left", "Right", "Forward", "Backward")
	direction = lerp(direction,(transform.basis * Vector3(input_dir.x, 0, input_dir.y)).normalized(),delta*lerp_speed)
	if direction:
		velocity.x = direction.x * current_speed
		velocity.z = direction.z * current_speed
	else:
		velocity.x = move_toward(velocity.x, 0, current_speed)
		velocity.z = move_toward(velocity.z, 0, current_speed)

	move_and_slide()

It has the same collision as the crouching collision shape if that helps

Nevermind I got it