Okay so I was making a hair customizer where the player will customize there own hair, so when they pick a hair model they want and touch it the hair copies itself to the players head, I first originally used a tool script for the hair to be equipped but now I realise I want a welding one since its more better

But for some reason now that I've tried using welding the hair doesnt even go on the player, it falls off and doesnt even copy itself to the player at all?

debounce = true

function onTouched(hit)
	humanoid = hit.Parent:FindFirstChild("Humanoid")
	if humanoid then
		head = hit.Parent.Head
		script.Parent.Anchored = false
		weld = Instance.new("Weld")
		weld.Parent = head
		weld.Position = head.Position
		weld.Part0 = head
		weld.C0 = head.CFrame:inverse()
		weld.Part1 = script.Parent
		weld.C1 = script.Parent:inverse()
		
		

		weld.BottomSurface = 0 
		weld.TopSurface = 0 
		weld.Locked = true 
		script.Parent.Mesh:clone().Parent = weld
weld.BrickColor = script.Parent.BrickColor
		wait(5)
		debounce = true
	end
	end

script.Parent.Touched:connect(onTouched)

Now i've tried de anchoring it and setting the parent to be the players head and as you can see I tried cloning it but it still never even worked?

Im stuck on this basically

contact my discord Randy Butternubs #7224