When i clone a part and move it, it also clones the original part that i cloned.
script.Parent.Parent.Reflects:ClearAllChildren()
for _, V in PlayersInMirror do
print(V)
local Model = Instance.new("Model")
Model.Name = V.Name
Model.Parent = script.Parent.Parent.Reflects
for _, P in V.Character:GetChildren() do
if P:IsA("BasePart") then
local C = P:Clone()
C.CFrame = CFrame.new(Vector3.new(P.CFrame.X-10, P.CFrame.Y, P.CFrame.Z-10))
C.Parent = script.Parent.Parent.Reflects[V.Name]
C.CanCollide = false
C.Anchored = true
end
end
end
end)
im trying to clone every part in a player, the player is marked in a table. After i clone all the parts i want to parent it to a mirror thing and move all the parts over 10 studs, this doesn ot work though because my character gets anchored and moved, but only the cloned parts should do that