Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How should I handle this?

Asked by
Spooce 78
10 years ago

Please make your question title relevant to your question content. It should be a one-sentence summary in question form.

I'm using a while true do loop to make something wait one second then clone, but instead it multiplies and shoots more and more out every loop. Help?

1 answer

Log in to vote
2
Answered by
Defaultio 160
10 years ago

Maybe what you're cloning includes the script that is cloning it? In that case, with every new clone, you have another script generating clones. Each second, there will be twice as many scripts as the second before. If that's the case, figure out how to remove that script from the model you're cloning.

0
Facepalm* Forgot about that. Thanks! Spooce 78 — 10y
Ad

Answer this question