hello , im doing a script for script builder im trying to do an anti death and it has to clone the character but it only drops an error when trying to parent it
"20:40:09.345 - local cl = workspace.maumaumaumaumaumau:Clone() cl.Parent = workspace:1: attempt to index local 'cl' (a nil value) 20:40:09.348 - Stack Begin 20:40:09.351 - Script 'local cl = workspace.maumaumaumaumaumau:Clone() cl.Parent = workspace', Line 1 20:40:09.355 - Stack End"
this is the script i used
local cl = workspace.maumaumaumaumaumau:Clone()
cl.Parent = workspace
for i,v in pairs(cl:GetChildren()) do
if v:IsA("Script") then
v.Disabled = true
end
end

3 comments
The archiveable property of the character is false by default, which means that you can't clone it.
OHHH , Thanks
ok