I have this here:
command /avadakedavra:
aliases: /ak
trigger:
if player is holding a stick:
message "Avada Kedavra!"
make player shoot snowball
on damage:
projectile exists
projectile is a snowball
kill all players within 5 meters of the projectile
but it returns "can't understand this condition: 'on damage' (line ...)".
Anybody know how to make this work without taking the on damage out of the function?
Thanks!
(Pretend the indents are there, it doesn't allow me to indent. The "on damage:" is aligned with the message "Avada Kedavra!")
command /avadakedavra:
aliases: /ak
trigger:
if player is holding a stick:
message "Avada Kedavra!"
make player shoot snowball
on damage:
projectile exists
projectile is a snowball
kill all players within 5 meters of the projectile
but it returns "can't understand this condition: 'on damage' (line ...)".
Anybody know how to make this work without taking the on damage out of the function?
Thanks!
(Pretend the indents are there, it doesn't allow me to indent. The "on damage:" is aligned with the message "Avada Kedavra!")