code_language.skript:
set {_v} to vector from player to target entity
set vector length of {_v} to 0.1
set {_loc} to location of player
set y of {_v} to 5
loop (distance between {_loc} and target entity) / 0.1 times:
draw 1 dust_color_transition using dustTransition(white, cyan, 3) at {_loc} with force
set {_loc} to {_loc} ~ {_v}
make the player shoot a snowball at speed 1.7
damage target entity by 5 hearts
set {cooldown::%player's uuid%} to now
play sound "entity.boat.paddle_water" with volume 5 and pitch 0.5 at player
Posted by: toodles5856 from the skUnity Discord. View the thread on skUnity Discord here