Local variables are created whenever that event is run.
Events run every frame.
Even though you’re setting the local variable to 1 in your event, it’s only for that event run. Meaning the next frame, the entire event runs again.
You are creating your object every frame, infinitely.