How to attach model to players head

I got the same error.

		weldcontraint.C1.Position = CFrame.new(1, 1, 0)

Try this:
weldcontraint.C1 = CFrame.new(1, 1, 0)

I’m getting flinged around like crazy now and the model is gone.

Oh whoops that was my bad, I forgot to delete a line.

1 Like

Alright, I think I got the correct CFrame correctly, is there any way to delete the players head and shoulder accessories? They are getting in the way.

for _, inst in pairs(char:GetChildren()) do
	if inst:IsA("Accessory") then
		if inst.AccessoryType == Enum.AccessoryType.Shoulder then
			inst:Destroy()
		elseif inst.AccessoryType == Enum.AccessoryType.Hat then
			inst:Destroy()
		elseif inst.AccessoryType == Enum.AccessoryType.Hair then
			inst:Destroy()
		elseif inst.AccessoryType == Enum.AccessoryType.Face then
			inst:Destroy()
		end
	end
end

You can also do Humanoid:RemoveAccesories() instead.

Yeah but doesn’t that remove all accessories?

Thank you so much! This helped so much!

Thanks also @hasoco @DasKairo@

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.