So i wrote a script that clones the player, and creates a trail like in pizza tower, but the torso is not being set to canCollide false
here’s the script (real):
while wait(1) do
local BCOLOR = BrickColor.random()
for i,v in pairs(plrs:GetPlayers()) do
if v.Character.Humanoid.WalkSpeed >= 20 then
v.Character.Animate.walk.WalkAnim.AnimationId = "rbxassetid://12813700920"
v.Character.Animate.run.RunAnim.AnimationId = "rbxassetid://12813700920"
v.Character.Archivable = true
local fakeclone = v.Character:Clone()
fakeclone.Parent = workspace
fakeclone.Humanoid:Destroy()
fakeclone.Name = "CLONEMOMENT"
v.Character.Archivable = false
for i,v2 in pairs(fakeclone:GetChildren()) do
if v2:IsA("Part") then
v2.Transparency = 0.5
v2.CanCollide = false
v2.BrickColor = BCOLOR
v2.Anchored = true
elseif v2:IsA("MeshPart") then
v2.Transparency = 0.5
v2.Anchored = true
v2.BrickColor = BCOLOR
v2.CanCollide = false
elseif v2:IsA("BasePart") then
v2.Transparency = 0.5
v2.Anchored = true
v2.BrickColor = BCOLOR
v2.CanCollide = false
elseif v2.Name == "Torso" then
v2.CanCollide = false
else
v2:Destroy()
end
end
wait(5)
fakeclone:Destroy()
end
end
end
No errors in output, any fix?