I cloned a part in script, by doing:
local ptc = script.Parent.PartToClone local clonePart = ptc:Clone()
How can I now remove it (destroy) in the same script? (if I do:
ptc:Destroy()
it throws error that this part doesn't exist, because needs to be created (before clone))
Simple what you have to do is
ClonePart.Parent = ServerStorage
if assert(ClonePart, "invalid") then ClonePart:Destroy() end