New Battle Style Script.

hello

I need a script in which (For example)the hero is using the hair dryer when the battery of air dryer is over it should not work.

Thank you in advance.
hair dryer??? Is that a SpaceBalls RPG?

Could just use an ammo script and make the hair dryer have energy ammo?
Hair dryer is only an example.
What are you looking for then?
https://imageshack.com/i/mv0gcwp

 i want in the pic there is an  ammo bar.
when the player hit the enemy one ammo is loss.
in a ammo bar it contains 20 ammo.
each player has different ammo's
in the second pic the player is able use the mouse in battle when the wepon(which allows to use the mouse)
is occupied to the player.
(using the mouse:the player press the z key and move the mouse left and right while holding the z key)

https://imageshack.com/i/0yt4s7p

Original thread: https://forums.rpgmakerweb.com/threads/new-battle-style-script.25260/