Space bar actions?

Hello im looking for a script of some sort. I want to be able to hit NPC's by pressing space etc. I dont like the battleing in vx ace. 
You don't need a script for that. Just do a search for evented battle systems if you want to see what others have done. Or on your NPC, set the trigger to Action Button (which is the default) and add whatever you want to happen when you "attack" them.

Original thread: https://forums.rpgmakerweb.com/threads/space-bar-actions.25088/