so im trying to clone a players character via a for loop, but when i run the code i get teleported and also get stuck where my original position was even if i set CanCollide to false
code:
for _,part in pairs(guy.Parent:GetDescendants()) do
if part:IsA("BasePart") then
local clone = part:Clone()
clone.CanCollide = false
clone.Anchored = true
clone.Parent = workspace
end
end
I’m not sure why you couldn’t just clone it’s Model itself? All you need to do is set its Archivable property to true then back to false in order to clone it
guy.Parent.Archivable = true
local CharacterClone = guy:Clone()
CharacterClone.Parent = workspace
CharacterClone:MakeJoints() --I have a habit with this
CharacterClone.PrimaryPart.Anchored = true