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?