Code:
on rightclick with an sticks:
make the player shoot a snowball at speed 2
On projectile hit:
set {_t} to block at the location at event-location
if {_block} is purpur_block:
set {_block} to air
Destroy the specified box with a snowball
But I found it hard to get the hit box
Seems to have a relationship with the launch radian
God can help you?
Code:
On projectile hit:
create a fake explosion at event-location
loop blocks in radius 2 around location at event-location:
if loop-block is purpur_block:
set loop-block to air
But the effect is not ideal
Here's what I'm using
Server version is 1.11.2
[04:58:01 INFO]: [TuSKe] Disabling TuSKe v1.7
[04:58:01 INFO]: [SkQuery] Disabling SkQuery v3.5.1
[04:58:01 INFO]: [skRayFall] Disabling skRayFall v1.9.7
[04:58:01 INFO]: [skRayFall] Bacon has been eaten. Make some more soon!
[04:58:01 INFO]: [skDragon] Disabling skDragon v0.13.1
[04:58:01 INFO]: §3[§bskDragon§3] §aPlugin is now disabled. Most likely you shut down or reset your server
[04:58:01 INFO]: [Skellett] Disabling Skellett v1.7.7c
[04:58:01 INFO]: [SkStuff] Disabling SkStuff v1.6.4
[04:58:01 INFO]: [SkStuff] SkStuff 1.6.4 has been successfully disabled.
[04:58:01 INFO]: [Skript] Disabling Skript v2.2-dev23