this is not a very good thread.
remember, we have rules here..
viewtopic.php?f=247&t=18815 (here's a rundown)
anyway, the problem here is not that the thread isn't understandable,
it basically contains every bit of information people need to answer your question, because it isnt that hard.
(except for the fact that you forgot to mention the program that you'd like to use)
no,
the problem here is that the question has been answered million times before.
we would like you to do a little bit of searching to various subjects regarding the creation of 'systems', in whichever program you wanted to do this in.
you see, what you're looking for is called an ABS, an Action Battle System,
and you can create one by scripting it, which is a hell of a task.
alternatively, you can use one that has been made by someone else, and change that to fit your needs.
ps. you're posting this in a strange board, just so you know.
try to be a bit more thoughtful next time.
xoxo