Solved on projectile hit doesn't work.

  • 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!

Status
Not open for further replies.

zaaaaak

VIP
Aug 8, 2017
8
0
1
This is my code, this is supposed to set air to any block the snowball hits. Absolutely no errors.

--

MY CODE:

on projectile hit:
if projectile is a snowball:
wait 1 tick
message "test"
set {_location} to location of the projectile
if block at {_location} isn't air:
set block at {_location} to air
clear {_location}
stop

--

This is my output.
https://gyazo.com/640ac99e17a19606e908e67ddffc579d

I do not even get my "test" message.

I am running the newest version of Skript on a spigot 1.14.4 server, please help ASAP.
[doublepost=1577629117,1577624521][/doublepost]on projectile hit: if "%event-projectile%" is "snowball": broadcast "test" set block at event-location to air
 
Status
Not open for further replies.