on right click:
if player's tool is Allium:
if colored name of player's tool is "&6Spirit Sceptre":
wait 2 tick
spawn bat 2 meters above and 2 meter horizontally in front of the player
command /scepter:
trigger:
give player allium named "&6Spirit Sceptre"
I need this bat to fly in straight line and following players cursor, when bat touches the ground (any block ceiling wall etc) it needs to deal damage of 50 in 8 block radius and despawn + explosion animation after touching a block.
if player's tool is Allium:
if colored name of player's tool is "&6Spirit Sceptre":
wait 2 tick
spawn bat 2 meters above and 2 meter horizontally in front of the player
command /scepter:
trigger:
give player allium named "&6Spirit Sceptre"
I need this bat to fly in straight line and following players cursor, when bat touches the ground (any block ceiling wall etc) it needs to deal damage of 50 in 8 block radius and despawn + explosion animation after touching a block.