Looping Lag help

Every time that I run a parallel event with a loop in it

when the loop comes around, the game lags, and usually doesn't even restart the loop.  I'm currently just trying to loop two npcs basically just moving back and forth.  very simple.  but can't make the game not lag

any help would be appreciated

Thanks!
Parallel events most often do not need a loop.

A loop will not allow the event to reset which usually causes problems.

Just try to have your event do what it is doing without the loop.
Show us a screenshot of your event.  We can't help you remove lag if we don't know what you're doing.

But yes, if your whole event is embedded in a loop, you don't need to do that as parallel events loop by default. 

To reduce lag, you should have a Wait X Frames inside the loop.  But show us the event, as a loop may just be a bad idea, and if it does need to be there, we can show you where exactly to put the wait, and how many frames it should be.

Original thread: https://forums.rpgmakerweb.com/threads/looping-lag-help.48419/