Need help with making a weapon

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

Milo1

Member
Sep 3, 2021
1
0
1
20
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.
 
I can give you a few helpful tips:
1) Allium is not a block / item.
2) Skript does not support mod's (If your using a mod with Allium)