Your code doesn’t work because you’re never setting the parent.
It’s also unnecessary to use GetDescendants()
local newChar = Instance.new("Model")
for i,v in pairs(char:GetChildren()) do
if v.Name ~= "HumanoidRootPart" then
v:Clone().Parent = newChar
end
end
newChar.Parent = game.Workspace
Also, using “;” doesn’t make any difference
in other programming languages like C / C# / Java you use that to tell the compiler the line is over and is necessary
in Lua / Luau its optional but provides no performance boost, basically if you’re used to using it its supported but you don’t have to
Once again, i want to make cell shading BUT instead of inverse, i want it to be a transparent part/s
EDIT:
Pretty much what i mean:
EDIT2:
another example:
Mark the Humanoid model as Archivable true, then clone the model. Finally, destroy the root part before dropping it into the workspace
Part of the reason why it might not be a good idea to delete the RootPart is due to how Roblox handles rigs. If you destroy it, Roblox has nothing to apply humanoid state upon and your character falls over.
It may be better to use SelectionBox or the upcoming Highlight class.