Minecraft script wand?

Ea
- in Servers
3

I wanted to ask if anyone knows how to script something like this:
Server 1.12.2
Magic wand:
Stick that shoots 10 blocks a redstone effect and does damage

gl

Do you mean with plugins?

Could also go with orders.

So in both cases you could teleport an invisible and invulnerable armorstand with the tag, for example a wand, all the time in the direction you are looking and the particles appear at the armorstand's head. Then you kill all armorstands with the tag wand that are more than 10 blocks away from you.

Ea

Do you have a script for it with the cupid stands

gl

No