here is the code:
local clone = script.Parent:Clone()
clone.Parent = game.Workspace
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
here is the code:
local clone = script.Parent:Clone()
clone.Parent = game.Workspace
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
https://scriptinghelpers.org/questions/28059/startscript-re-entrancy-has-exceeded-3