For a wand-like object: on right-click with stick: set {_v} to vector from player to target block set vector length of {_v} to 0.8 set {_loc} to location of player loop (distance between {_loc} and target block) / 0.1 times: draw 1 dust_color_transition using dustTransition(red, orange, 20) at {_loc} with force set {_loc} to {_loc} ~ {_v} Source: https://www.youtube.com/watch?v=NM_RATcWBdY&t=63s
Someone wanted to know how I created my other skripts and some included drawing a line with a particle so I made this. Requires skript and the addon skBee.
skBee: https://github.com/ShaneBeee/SkBee/releases/tag/2.0.0
skript: https://github.com/SkriptLang/Skript/releases