This happened when you try to destroy a object and then reparent it.
:Destroy() set the parent to null and locks the object, preventing it from being changed.
Without exact code, I can’t help you any further than explaining it. With exact code, I could.
The fix to this is simply making sure the object is not destroyed when you change its parent.