how to give fireworks for crossbow?

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

Toadyboii

Member
Jan 31, 2024
25
0
1
16
How do i give the player firewroks for shooting with the crossbow?
Just "Firework Rocket" gives normal ones,and idk how to give modified ones
 
maybe look up nbt but i can give you a normal skript

Code:
on shoot:
  if player's tool is crossbow:
    shoot a firework at player with speed 1.5 #change the speed to however you like
 
firework instantly despawns.Also errors because u used player instead of shooter.But even after fixing them the firework despawns instantly