MV Yanfly's Paralyze state not working

Yanfly's script for the pokemon's Paralyze state isnt working
I follewed all the steps, using both BattleEngineCore and BuffsStatesCore.
Anyone know how to fix?
it would be wise to get to link to the page with this script,
and screenshots from the setup used in your database.

this could help us pinpoint where you went wrong, or what you need
to change.

if you use multiple yep plugins, make sure this is in the correct order,
the very order yanfly has on his website (or the plugin in my spoiler
for the correct order).

if you just use those 2, we need more info and screenshots to help
you further with your issue, we cannot simple wild guesses.
it would be wise to get to link to the page with this script,
and screenshots from the setup used in your database.

this could help us pinpoint where you went wrong, or what you need
to change.

if you use multiple yep plugins, make sure this is in the correct order,
the very order yanfly has on his website (or the plugin in my spoiler
for the correct order).

if you just use those 2, we need more info and screenshots to help
you further with your issue, we cannot simple wild guesses.
I used the script from this page: http://www.yanfly.moe/wiki/Paralyze_(MV_Plugin_Tips_&_Tricks)

The script:
<Custom Action Start Effect>
// Set the paralyze success rate.
var paralyzeRate = 0.25;
// Make a random number check to see if paralyze passes...
if (Math.random() < paralyzeRate) {
// If it does, play the paralyze animation on the target.
user.startAnimation(64);
// Check for the user's current action...
if (user.currentAction()) {
// And make the user consume its resources.
user.useItem(user.currentAction().item());
}
// Clear the user's actions making the user lose the actions.
user.clearActions();
// Get the log window from battle.
var logWindow = SceneManager._scene._logWindow;
// Check if the paralyze state has text in message 3
if (state.message3) {
// If it does, create a message based on it.
var msg = '<CENTER>' + user.name() + state.message3;
// Add the text to the log window to display in battle.
logWindow.addText(msg);
}
// Make the battle wait for the paralysis animation to finish playing.
BattleManager.actionWaitForAnimation();
// Clear the log window.
logWindow.push('clear');
}
</Custom Action Start Effect>
Captura de tela 2023-02-19 184038 edit.png
"isn't working" gives us absolutely no information on where to look for your issue. Is it just doing nothing at all? Is it doing something but the something isn't what you expected? Does the console (opened with F8) show any errors?
Nevermind, i found the error.
I deleted both Buffstatus and Battlecore from the plugin manager, then added again. The script is now working.
(Danm, i am very dumb)
it depends what you changed there, so sometimes you make and mistake
in the parameter, but good luck with your project further.

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-paralyze-state-not-working.155119/