I am currently trying to weld something to my humanoid. My first question is that if I have a model (a group of parts), can I still weld them to the humanoid? Videos I have seen only have done them with parts. My second question is when I tried to weld a simple part to my humanoid based on a touch function and when it was welded together the humanoid was unable to move. Help plz!! Thank U!
script.Parent.Touched:connect(function(hit)
humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
head = hit.Parent.Head
torso = hit.Parent.Torso
script.Parent.CFrame = head.CFrame * CFrame.new(0,5,0)
weld = Instance.new("Weld")
weld.Part0 = torso
weld.C0 = torso.CFrame:inverse()
weld.Part1 = script.Parent
weld.C1 = script.Parent.CFrame:inverse()
weld.Parent = script.Parent
script.Parent.Anchored = false
end
end) |