here is the code:
1 | local clone = script.Parent:Clone() |
2 | clone.Parent = game.Workspace |
3 | clone.CFrame = clone.CFrame * CFrame.new( 0 , 0 ,- 5 ) |
the error is startScript re-entrancy has exceeded 3
and it says it is happening on line 2 plz help
You'll have to do clone.SCRIPTNAME:Destroy()
, because when it clones the parent, it will also the clone the script, and then erroring.
You can also just change the script's parent, which will make it simpler.