Ok so im making a skyrim ES-ish game and im making the khajiit head, and what I want is whenever the player touches the head it'll clone the model to the players head and they'll be walking around with it on y'know?
So here's the script inside the model
local FurHead = script.Parent
local touchpart = script.Parent.Nose
local debounce = false
touchpart.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
if not debounce then
debounce = true
local head = hit.Parent.Head
local NewHead = FurHead:Clone()
-------------------------------------
NewHead.Position = head.Position
local weld = Instance.new("Weld")
weld.Parent = NewHead
weld.Part0 = head
weld.Part1 = NewHead
weld.C0 = CFrame.new(0,0.3,0.1)
weld.C1 = head.HairAttachment.CFrame
NewHead.Anchored = false
NewHead.Name = "FurHead"
NewHead.Script:Destroy()
end
wait(5)
debounce = false
end
end)
I kept getting this error "Position is not a valid member of model" and I heard you need to set a basepart, so I set it as the "UpperJaw" which is a child of the model ofc
But I got the same error?
Is it because its anchored or its a model (Khajiit head) inside of another model? (Boy Rig)
I tried taking the position thing away but then it says "Expected basepart for model got weldpart1" when there already is a basepart?

5 comments
Says CFrame is not a valid member of model
Hello??
sorry for taking so long
i fixed it
can you add my discord Randy Butternubs #7224 so we can talk easier? it still isnt working right