Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

trying to learn a script that throws projectiles upon the sword swinging, anybody who can help?

I can't find any youtube videos or any friends that know how to do this. Basically, its an attack that when you swing your sword, a blast will come out and do damage. I am a medium level scripter and rely on youtube to assist so if you can find a video that matches what the stick figure does in this gif (https://orig00.deviantart.net/81f3/f/2013/143/6/f/getsiga_tensho__by_hotcackes-d66bn1u.gif) or if you scripted this before and can gimme an idea of how its done please leave a comment.

1 answer

Have you tried creating a model that appears when you swing and later on it moves in the direction the player is facing? That is the way I would go about it. It is not that hard. You can bind an animation event to your animation which fires in a certain keyframe. You can use :GetMarkerReachedSignal() to detect when the animation event fires and then you can clone the model in front of you and make it move, simple as that.

This discussion is preserved as it was. New answers, comments, and votes are closed.