I have this code that will make semi-invisible all limbs of a bod, but no accesories (hair, hats, etc) i know that i have to make it with the handle since its impossible to turn an accesory invisible but how could i add it to this script?
game.Players.PlayerAdded:Connect(function(Player)
Player.CharacterAdded:Connect(function(Character)
Character.Archivable = true
while wait(0.1) do
local clonedCharacter = Character:Clone()
clonedCharacter.Parent = game.Workspace
local delete = clonedCharacter:FindFirstChild("HumanoidRootPart")
local Parts = clonedCharacter:GetChildren()
for i = 1, #Parts do
if Parts[i]:IsA("BasePart") then
Parts[i].Transparency = 0.5
Parts.CanCollide = false
delete:Destroy()
end
end
end
end)
end)

2 comments
Works, but im still standing on something, i mean they dont go directly through me, am i missing something?
The head and torso do not seem to be able to be CanCollide = false, hence for that you should be using Collision Filtering rather than CanCollide = false.