for _, model in pairs(workspace:GetChildren()) do
if model:IsA("Model") then
for _, part in pairs(model:GetChildren()) do
if part:IsA("Humanoid") and not plr.Character.Humanoid then
local copy = part.Parent:Clone()
copy.Parent = workspace
copy.HumanoidRootPart.CFrame = part.Parent.HumanoidRootPart.CFrame
game.Debris:AddItem(copy, 10)
end
end
end
end
so here i tried to copy everything that had a humanoid in it and it doesnt work so idk what to do

1 comment