I was doing a clone script in roblox but for some reason it clones but it gets destroyed. (OBS: When it is anchored it clones, but when it is not it is destroyed)
I’ve already tested it with a part and it didn’t work, it disappears just like the mesh part
SCRIPT:
while wait() do
wait(3)
local clone = script.nuvem:Clone()
clone.Parent = script.Parent
clone.Anchored = true
wait(.1)
clone.Anchored = false
clone.CanCollide = true
clone.Transparency = 0
clone.Script.Disabled = false
end
I see that after unanchoring the part, you enable a script, but not when you anchor it. Are you sure that this script has nothing to do with this problem?
Keep your base part anchored with the checkbox in Properties so it won’t fall into the void. Once it gets cloned, parent it to the workspace and THEN unanchor it.