Help with Yanfly action sequence

I need help with an action sequence i'm working on using Yanfly's plugins for it. I was trying to make an attack where the person who uses it jumps up with an attack and then comes down for a second attack. But the thing is when i try to test it the game crashes at the part for the character is supposed to do the first attack as such I can not move forward with the animation here is
The Code:
<setup action>



display action



camera focus: user

zoom: 150%, 20

camera offset: right, 50



immortal targets: true



</setup action>

<target action>

move user: targets, front, 20



wait for movement





motion swing:user

jump user: 300, 120

animation 124: target

wait for animation







</target action>

That is all I have so far, so can someone help me with this?
The reason you get an error is because you didnt put a space in "motion swing: user.

also, when you are wanting the damage to take affect you have to put "action effect".

i also fixed some other things for you, make sure to turn immortal targets off at some point.(immortal: targets, false)

I put in some wait: commands to make it look more fluid.
<Setup Action>

display action

camera focus: user

zoom: 150%, 20

camera offset: right, 50

immortal: targets, true

</Setup Action>



<Target Action>

move user: targets, front, 20

wait for movement

motion swing: user

wait: 5

action effect

wait: 20

jump user: 300, 120

wait: 110

motion swing: user

wait:10

animation 124: target

action effect

wait: 15



wait for animation

</Target Action>



<Finish Action>

immortal: target, false

clear battle log

</Finish Action>



If you need help with any other sequences feel free to message me.
oh thank you for the help.
The reason you get an error is because you didnt put a space in "motion swing: user.

also, when you are wanting the damage to take affect you have to put "action effect".

i also fixed some other things for you, make sure to turn immortal targets off at some point.(immortal: targets, false)

I put in some wait: commands to make it look more fluid.
<Setup Action>

display action

camera focus: user

zoom: 150%, 20

camera offset: right, 50

immortal: targets, true

</Setup Action>



<Target Action>

move user: targets, front, 20

wait for movement

motion swing: user

wait: 5

action effect

wait: 20

jump user: 300, 120

wait: 110

motion swing: user

wait:10

animation 124: target

action effect

wait: 15



wait for animation

</Target Action>



<Finish Action>

immortal: target, false

clear battle log

</Finish Action>



If you need help with any other sequences feel free to message me.
Well um i do need more help with this. The original plan i had in mind had two different animation 124: being the attack going and animation 125: being the attack going down. So I modified the code to use 125 being the attack going down and that worked but I then modified the code to make 124 the animation for the first attack but the problem is animation 124 won't play.
The New Code:
<Setup Action>



display action



camera focus: user



zoom: 150%, 20



camera offset: right, 50



immortal: targets, true



</Setup Action>







<Target Action>



move user: targets, front, 20



wait for movement



motion swing: user



wait: 5



animation 124: target



action effect



wait for animation



jump user: 300, 120



wait: 110



motion swing: user



wait:10



animation 125: target



action effect



wait: 15







wait for animation



</Target Action>







<Finish Action>



immortal: target, false



clear battle log



</Finish Action>
Animation 124 and 125 are working for me, so its probably something to do with your 124th animation.
Animation 124 and 125 are working for me, so its probably something to do with your 124th animation.
I think the problem is that my computer seems to be skipping a few frames when animation 124 is supposed to play.
Animation 124 and 125 are working for me, so its probably something to do with your 124th animation.
well it wasn't skipping any frames but I got it to work now.
If you run into anymore problems don't hesitate to ask.

Original thread: https://forums.rpgmakerweb.com/threads/help-with-yanfly-action-sequence.82908/