I have some issues using RPG maker

I have a problem with RPG maker MZ. When I use some functions like when i want an event to start automatically or when i use a script in a derivational brach, the game engine gets freezed and I can't use that functions. Any ways on how to solve this problem? (Getting a better computer is not an option)

Btw, english is not my first language so sorry if anyone can't understand me well!
Could you show us a picture of the event(s) and the script? It's probably the script causing issues, but I can't be sure without seeing what it is.
Hello and welcome! Please read the support template and provide us with more information accordingly. Such as screenshots of how it looks in the editor, whether you did any tutorials, that kind of stuff. Like, it says READ in all caps with three exclamations marks for a reason.

If you don't, there will be a back-and-forth of trying to get that information out of you, like @Timeline_man is trying to do. All the more so since you seem to be asking about two issues in one post.

The tutorials part is equally important, since if you don't know the basics, us telling you that "you most likely have an autorun that doesn't stop" will still result in you thinking "err, what?". So. Read the template. Please.
when i want an event to start automatically the game engine gets freezed
It should be noted that this is the regular and intended behaviour.

You always need to manually stop an autorun, or it will never end and always loop.

I strongly suggest you work through the build-in tutorials at minimum to learn the basics of the engine and what function has what uses and intentions.
The help file is an additional source to check that, or one of the many eventing tutorials on this forum (several are linked in my starting point (see signature)

Original thread: https://forums.rpgmakerweb.com/threads/i-have-some-issues-using-rpg-maker.179010/