I'm currently helping someone out with the morph issue, because everytime a player attempts to morph it gives the players to clothing but not the armor or helmet. I've tried different ways of approaching this issue but none have worked. Every-time I pass on the morph button I check the output and it says that the Arm1, Arm2, Chest, etc.. is not a valid member of Model. The morph is mainly designed to morph to R6 which I set the game to be, but it won't allow me to have the armor and helmet. Can someone help me out?
Here is what the script for Arm1 looks like:
function onTouched(hit) if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Arm1") == nil then local g = script.Parent.Parent.Arm1:Clone() g.Parent = hit.Parent local C = g:GetChildren() for i=1, #C do if C[i].className == "Part" or C[i].className == "UnionOperation" or C[i].className == "WedgePart" then local W = Instance.new("Weld") W.Part0 = g.Middle W.Part1 = C[i] local CJ = CFrame.new(g.Middle.Position) local C0 = g.Middle.CFrame:inverse()*CJ local C1 = C[i].CFrame:inverse()*CJ W.C0 = C0 W.C1 = C1 W.Parent = g.Middle end local Y = Instance.new("Weld") Y.Part0 = hit.Parent["Left Arm"] Y.Part1 = g.Middle Y.C0 = CFrame.new(0, 0, 0) Y.Parent = Y.Part0 end local h = g:GetChildren() for i = 1, # h do if h[i].className == "Part" or h[i].className == "UnionOperation" or C[i].className == "WedgePart" then h[i].Anchored = false h[i].CanCollide = false end end end end script.Parent.Touched:connect(onTouched)
Basically every Arms, legs, torso script have the same except for Torso it says "Chest" which is the name of the helmet, and "Arm1" is the name of the armor.
Closed as Not Constructive by EzraNehemiah_TF2
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?