Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Why do i receive this output? "maximum event re-entrancy depth exceeded"

While i was developing my own gun for my (Kinda of a murder game) then i just keep receiving this output. What am i doing wrong.

I can't include the lua code because i received no full name of where it occured :(

1 answer

http://wiki.roblox.com/index.php/Lua_errors#Unusual_Error_Messages This is what the output means, but to fix it however is kind of hard to say. Make sure there is nothing wrong with the

script.Parent.Equipped:connect(function(mouse)
mouse.Button1Up:connect(function()

part.

(or something like that depending what you are doing.) See if you can find something that could be causing a infinite repeat, it would still be nice to see the whole script otherwise its gonna be hard to fix. Insert a wait() into certain places could also help.

you can also see these pages to see if anything matches or helps your problem.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=126766865

http://www.roblox.com/Forum/ShowPost.aspx?PostID=63814022 --look off especially the moderators comments.

http://www.roblox.com/Forum/ShowPost.aspx?PostID=121039694 -- wazap's comment.

Sorry I don't know much myself, could only research, hope this helps!

This discussion is preserved as it was. New answers, comments, and votes are closed.