Hide projectile

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Remo

New Member
Mar 20, 2024
7
0
1
23
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