Hello, I am trying to hide projectile for players but for some reason it doesnt work, can anyone explain ?
Code:
on shoot:
projectile is snowball
{magic.wand.snowball} is 1
set metadata tag "snowball wand projectile" of projectile to true
set {magic.wand.snowball} to 0
while projectile is not dead:
show 5 snowflake with speed 0.025 at location of projectile
add 1 to {snowball.cancel}
wait 1 tick
if {snowball.cancel} is 10:
kill projectile
set {snowball.cancel} to 0