Trying to make or find an overworld combat script

Hi long time rpg maker dabbler, first time poster. I'm currently working on a horror game and I need an overworld combat script. I'm trying to make something similar to a set up I've seen before, (video below is the inspiration,) and I've been having no luck. I've tried to find one but every recommended one is old and it's script page is long dead. I was able to make a slash animation that'll play both when the enemy touches the player and when the player presses z near an enemy. I was also able to make it so the actor will take damage from being touched by the enemy and can die, my only problem now is killing the enemy since it doesn't have hp. Does anyone know not dead combat scripts or know of how I can program this myself?

Video of what I'm trying to do:

If any other info is needed just let me know, thank you
Moved to: RGSS3 Script Requests

You have 0 posts and your profile says you primarily use RMXP, but you posted this in the Support forum for VX Ace. Please confirm what engine you are using as scripts for Ace don't work in XP or vice versa.

Original thread: https://forums.rpgmakerweb.com/threads/trying-to-make-or-find-an-overworld-combat-script.154656/