Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Successfully Cloning Yourself With A Script?????

Asked by
Vezious 310 Moderation Voter
8 years ago

debounce = false script.Parent.Touched:connect(function(Hit)


if Hit.Parent:FindFirstChild("Humanoid") and debounce == false then debounce = true local Model = Instance.new("Model",Workspace) local Pet = Hit.Parent:GetChildren() Hit.Parent.Humanoid:Clone().Parent = Model for i=1,#Pet do if Pet[i].Name == "Humanoid" then else if Pet[i]:IsA("Part") then Pet[i].Anchored = true elseif Pet[i]:IsA("Hat") then print"Omg A Hat" Pet[i].Handle.Anchored = true end local Part = Pet[i]:Clone() if Pet[i]:IsA("Part") then Part.Position = Part.Position + Vector3.new(0,5,0) elseif Pet[i]:IsA("Hat") then print"Omg A Hat" Pet[i].Handle.Position = Pet[i].Handle.Position + Vector3.new(0,5,0) end Part.Parent = Model end end end end)

The Problem is that the Clone Dies. Why? And How Can I Fix This?

1
The reason why it Clone model might die is probably because there not joints Holding the Clone model together. Try using MakeJoints() on the Clone model. UserOnly20Characters 890 — 8y

Answer this question