How to display an enemy's weakness

Hello, I need some help.

In RPG Maker VX Ace, I am trying to make a skill to sense or scan for a enemy's elemental weakness, and display a message that tells the player the weakness (if the enemy targeted actually has an elemental weakness.) I wasn't able to find anything in the events that allows me to do this. I tried looking for a script, but couldn't find one for VX Ace specifically. Is this skill something that requires a script and if so, which script should I be using?
If you're using Yanflys battle system I've seen people recommend:

This is another one I found, but idk how well it works:
Because checking for Enemy Weaknesses is fairly complex and requires scripting to properly check and display to the player (especially where enemies may have multiple weaknesses, making Conditional Branches a poor option), you definitely want to use a Libra or Scan script to pull this off. As such, I'm going to move this to RGSS3 Script Requests. Neon Black's Scan script is supposed to be good, but I can't find it anywhere and all the links to it seem to be broken.
I can't find it anywhere and all the links to it seem to be broken.
Nice call! Well, there you go @Phoenix White - the Scan script is in there and generally people consider it to be a pretty good script.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-display-an-enemys-weakness.127255/