How I can make this script change my character packages?, It changes the morph character but when I press the button, just change clothes body colors, etc, except the package
Is a script from a free model, Oof
script.Parent.BrickColor = BrickColor.new("Bright yellow")
function onTouch(hit)
if (Lock == nil) then
Lock = true
script.Parent.BrickColor = BrickColor.new("Medium stone grey")
CanMorph = nil
BodyParts = hit.Parent:GetChildren()
for i,b in pairs(BodyParts) do
if (b.className == "Humanoid") then
CanMorph = true
end
wait(0.1)
end
if (CanMorph == nil) then
script.Parent.BrickColor = BrickColor.new("Bright yellow")
Lock = nil
return
end
script.Parent.BrickColor = BrickColor.new("Black")
g.Parent = game.Players:findFirstChild(hit.Parent.Name).PlayerGui
BodyParts = hit.Parent:GetChildren()
for i,b in pairs(BodyParts) do
if (b.className == "Hat") or (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
b:Remove()
end
if (b.className == "Part") then
if (b.Name == "Torso") then
if (b:findFirstChild("roblox") ~= nil) then
b.roblox:Remove()
elseif (b:findFirstChild("Decal") ~= nil) then
b.Decal:Remove()
end
end
if (b.Name == "Head") then
if (b:findFirstChild("Mesh") ~= nil) then
b.Mesh:Remove()
end
end
end
wait(0.1)
end
BodyParts = script.Parent.Parent:GetChildren()
for i,b in pairs(BodyParts) do
if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
b:Clone().Parent = hit.Parent
end
if (b.className == "BodyColors") and (hit.Parent:findFirstChild("Body Colors") ~= nil) then
hit.Parent:findFirstChild("Body Colors").HeadColor= b.HeadColor
hit.Parent:findFirstChild("Body Colors").LeftArmColor= b.LeftArmColor
hit.Parent:findFirstChild("Body Colors").LeftLegColor= b.LeftLegColor
hit.Parent:findFirstChild("Body Colors").RightArmColor= b.RightArmColor
hit.Parent:findFirstChild("Body Colors").RightLegColor= b.RightLegColor
hit.Parent:findFirstChild("Body Colors").TorsoColor= b.TorsoColor
end
if (b.className == "Part") then
if (b.Name == "Torso") then
if (b:findFirstChild("roblox") ~= nil) then
b.roblox:Clone().Parent = hit.Parent.Torso
elseif (script.Parent.Parent.Torso:findFirstChild("Decal") ~= nil) then
b.Decal:Clone().Parent = hit.Parent.Torso
end
end
if (b.Name == "Head") then
if (b:findFirstChild("face") ~= nil) then
hit.Parent.Head.face.Texture = b.face.Texture
elseif (script.Parent.Parent.Head:findFirstChild("Decal") ~= nil) then
hit.Parent.Head.face.Texture = b.Decal.Texture
end
if (b:findFirstChild("Mesh") ~= nil) then
b.Mesh:Clone().Parent = hit.Parent.Head
end
end
end
if (b.className == "Accessory") then
local h = Instance.new("Accessory")
h.Name = b.Name
h.AttachmentPos = b.AttachmentPos
b.Handle:Clone().Parent = h
h.Parent = hit.Parent
end
wait(0.1)
end
g.Parent = nil
script.Parent.BrickColor = BrickColor.new("Bright yellow")
Lock = nil
end
end
script.Parent.Touched:connect(onTouch)

7 comments
Either it's me or I can't quite understand your question, could you rephrase?
Sure
Is there any errors that get printed in output when you run the script? If so, provide them, this script looks very messy.
Because this morph script is meant for R6, so if you have a R15 and interacting with it, it will error.
There no problem, but even with that Package "Video animations", it not works
How I can make it R15?
You'd have to reprogram a lot of it -- even stuff I don't know, if you wanna make it R15. There is people who have made such, but I don't know where.