I have find a script from unify that can make some effect like tron trail.
But why it is only can work on the character movement. when I put on the weapon. It cannot make the sword slash effect.
Can someone help?
you need to turn on the trail render when the character starts his sword swipe attack then end it when it stops. You could have a send message feature in your character script which calls on the trail render script or you could adapt the trail render script to include a function for your sword movements.
something like
Really though it require you to understand scripting as apposed to just pulling scripts off the internet, usually scripts off the internet need to be adapted to get the effect you want, hence why you need the understanding.