@Celena Luna:
first of all big thx!!! there should be more of your kind!!!
really appreciate the help and i will give credits for that in my plugin;)
https://youtu.be/zrWn9-bt0K8?t=85
if u are so kind pls watch this
around 1
0 the attack starts....a huge green wave flys automatly towards the enemy.
that is entity mafuba
then around 1
3 he gets hit. that is when the entity touches the victim
around 1:53 that green circle is the "phase" part<--still needs to be done.
at 2
0 you see that little beam. that is entity mafubaphase2.
that should start from the victim. and go where i aim at.
at 2
7 u see a fail...he didnt hit the ricecooker....i wanna have mafubaphase2 detect when it hits the ground and when it hits the ground and is around 5meter near a ricecooker(that is opened)
if he would have succeded then the victim would have been trapped for 2mins or untill the ricecooker gets destroyed.
if he hits something else the victim is set free again.
during mafubaphase2 the camera of the victim should be attached to the entity aswell and he should be stunned during that.
*************right now with your changes mafubaphase2 starts inside me(caster) and goes where the victim aims......
https://pastebin.com/kdyumYzb
here latest code......
if you want i can give u a download link and we could check it on my server. the mod i do this for really is fun^^
otherwise i hope we can solve it here.