Helping about a "Loading bar script"

Hi everyone, I am a new member in this RPG Maker Forums

Today I want to ask everyone about the "Loading bar script"

I have spent a lot of time to find a "Loading bar script" and up to now, I haven’t found it, yet.

Actually, I know MOG’s Loading bar script but I get an error when I am testing
In the first time when I write a Script call for the Loading bar, well, I fine
I pressed "Z" and it worked
But, at the same time, after the first time ended, I pressed "Z" for the second time and I got an error
And I don’t know how to fix it

Let’s me explain again
I mean when I use the Loading bar script by MOG and it got an error and I don’t know how to fix it

So Can you give me some other Loading bar scripts?
Because I spent a lot of time to find but I can’t find anything
If you have, can you give me? and thank you very much !

Sorry about my bad English, but if you don’t understand what I mean, you can ask me and I will explain it to you

Thanks for reading !
(Please help me ! Thank you very much).
1) if you want help with an error, it usually helps to give the error message or a screenshot of the error window. Without that we can't even guess what might be going on.

2) if you want help with a script, it helps to link to the website of said script (Moghunter made a new one after his old adresses expired)

3) depending on what the error is, we might need a backtracer output to track it down. Ace did not have a build-in backtracer, but there are scripts to add that funcionality. You'll find one if you follow the link "how to use a script" in my signature to the bughunting section. It might help to prepare that as well.

4) you won't find a loading bar script because they basically don't exist - all loading bars are faked, even from professional programs.
the computer cannot determine when loading of a single file is finished or how long it will need. That is technically impossible (and one reason why streams were developed).
What all those loading bars really do is having someone of the developers team enter information on how much percent of the full data each file is, and adding that percentage after the file indicated is loaded.
The MOG loading bar is used when loading or saving a game save file.
Is this what you want? Or are you asking for a loading bar to display for something else like map transfers?

As Andar said, what is the error message you get?
tested the script

The error is from line 349 in the script.

$game_temp.loadbar_type = false
change false to 0. (zero)

Original thread: https://forums.rpgmakerweb.com/threads/helping-about-a-loading-bar-script.141649/