Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Study a lot. Try changing existing scripts. Try to understand the existing scripts. And, eventually, try making your own scripts.
It's a long road. Don't expect to produce a whole battle system in a single day.