I'm making a plugin that :Destroy()s scripts when the user clicks a button. However, even though I call :SetWaypoint() after a script is deleted, pressing Ctrl+Z just gives the error message: The parent property of TestScript is locked, current parent: NULL, new parent Part". I know for sure that :SetWaypoint() is called, I'm guessing it has something to do with the object being gone, but how can I fix it? Am I doing something wrong?
COMMUNITY QUESTION
Why doesn't ChangeHistoryService:SetWaypoint() work for me? What am I doing wrong?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
