Hi, this is my first time posting here
-
What do you want to achieve? Keep it simple and clear!
I want to make a cloned character unable to collide with players. -
What is the issue? Include screenshots / videos if possible!
Cloned character is collidable. -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
i. I tried using collision group, made a new group and disabled everything but that makes the cloned character fall to the void. Anchoring the rootpart prevents it from falling but that makes the character collidable.
ii. Tried making baseparts cancollide property to false. Not working
local char = plr.Character
local root = char:FindFirstChild("HumanoidRootPart")
local humanoid = char:FindFirstChild("Humanoid")
char.Archivable = true
local clone = char:Clone()
local cloneHum = clone:WaitForChild("Humanoid")
local cloneRoot = clone:WaitForChild("HumanoidRootPart")
clone.Name = ""
clone.Parent = workspace.FX
clone.HumanoidRootPart.CFrame = game.Workspace["Anim Dummy"].HumanoidRootPart.CFrame * CFrame.new(0,0,-7) * CFrame.Angles(math.rad(180),0,math.rad(180))
clone.Humanoid.DisplayName = ""
cloneRoot.Anchored = true
for i,v in pairs(clone:GetChildren()) do
if v:IsA("Part") or v:IsA("MeshPart") or v:IsA("BasePart") then
v.CollisionGroup = "clone"
v.CanCollide = false
end
end
game.Debris:AddItem(clone, 1.5)
Please do not ask people to write entire scripts or design entire systems for you. If you canโt answer the three questions above, you should probably pick a different category.