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

What does this mean, and why does my studio crash?

Asked by 10 years ago

I am making a game about smashing stuff. When a thing is smashed, all the parts go anchored = false and move around. After 4 seconds the parts reassemble. The game crashes when the parts reassemble and the output says "maximum event re-entrancy depth exceeded" like 20 times at once. What does that mean?

Background: 5 parts of the total 17 part model have the reassembling script. Here's the script.

function changed()
    if script.Parent.Value ~= script.Parent.Parent.Position then -- The script.Parent is a vector3value and records the original position of the part.
    script.Parent.Parent.CFrame = CFrame.new(script.Parent.Value) --The script.Parent.Parent is the part.
    end
    end

script.Parent.Parent.Changed:connect(changed)

2 answers

Log in to vote
0
Answered by 10 years ago

I THINK It means that you have reached the maximum event re-entrancy depth.

0
Well, what does that mean? whyOmustOitObeOme 7 — 10y
0
No idea lel RolandStudio 115 — 10y
Ad
Log in to vote
0
Answered by 7 years ago

It means too much stuff is being printed into the output. open your output and right click and click clear output

Answer this question