How do I remove cobweb block?
I have tried delete entity, and this:
I have tried delete entity, and this:
code_language.skript:
on rightclick with wood sword:
name of player's tool is "&eWeb Slinger &7(Right Click)":
set {_Waited} to difference between {Webslinger::%player%} and now
if {_Waited} is less than 7.5 seconds:
message "&8[&6Cooldown&8] &7You must wait &e%difference between {_Waited} and 7.5 seconds% &7to use your ability"
stop
else:
set {Webslinger::%player%} to now
set {_loc} to location 4 meter above player's head
push player upwards at speed 1
wait 8 ticks
play "SPIDER_IDLE" to player at volume 1
spawn falling block of cobweb at {_loc}
push last spawned entity in direction of player at speed 2
on block land:
event-block is a cobweb:
broadcast "TEST"