Auto-translated
Thank you for your help.
By the way, the map script editor says that "%" is a serious script error. Although, I checked, and everything works. But still, I made a separate function, because I already have a lot of errors, especially with "()".
Whatever