How would I go about creating a blast attack?

Would anyone know how to go about scripting/creating something like this?

A “bolt” kind of blast that follows the mouse…

1 Like

Use Mouse.Hit.p, really it’s just tracking the position of the mouse and then creating a new instance that’s a part, then propelling it with bodyVelocity with SetNetworkOwner(), then when something touches the part, it creates a particle instance, then destroys itself.

How does it still follow the mouse after being cast? I made one but it only goes to the original mouse position when the “bolt” was created but it doesn’t follow the mouse after.

On a RunService step, constantly check the mouse position, to make it follow/update the position

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.