1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fireball Spell

Discussion in 'Requests' started by Dractical, Dec 30, 2019.

  1. Dractical

    Dractical Member

    Joined:
    Dec 30, 2019
    Messages:
    2
    Likes Received:
    0
    Category: Custom Tools

    Suggested name: Fireball Spell

    Spigot/Skript Version: 2.4

    What I want:
    A command that gives you a blaze rod with the ability to spawn a customizable amount of fireballs to where you are looking at a customizable delay, sort of like the item, "Ember Rod", from Hypixel Skyblock.

    Ideas for commands: /fbwand, /fireballwand

    Ideas for permissions: fb.wand, fireball.wand, fireball.spell

    When I'd like it by: 1 week

    --- Double Post Merged, Jan 11, 2020, Original Post Date: Dec 30, 2019 ---
    well
    this is an oof
     
    #1 Dractical, Jan 11, 2020
    Last edited: Jan 14, 2020
  2. Goose

    Goose Well-Known Member

    Joined:
    Nov 23, 2019
    Messages:
    185
    Likes Received:
    7
    I'll try to make it if you still need it, do you?
    --- Double Post Merged, Jan 12, 2020, Original Post Date: Jan 12, 2020 ---
    try this, tell me if you want anything changed or if it isnt working. no errors in parser
    Code (Text):
    1. command fireballwand:
    2.     permission: fb.wand
    3.     aliases: /fbwand
    4.     trigger:
    5.         give player 1 blaze rod of sharpness 5 named "&c&lFireball Wand" with lore "|| &cA wand with the power to shoot fireballs! || &8Ability: || &7Flamethrower || &7Right click to shoot fireballs from the wand! ||"
    6.         set {cooldown.%player's uuid%} to false
    7. on join:
    8.     set {cooldown.%player's uuid%} to false
    9. on right click:
    10.     if player's tool is blaze rod of sharpness 5 named "&c&lFIreball Wand":
    11.         if {cooldown.%player's uuid%} is false:
    12.             set {loc.%player%} to block above block above player's location
    13.             loop 3 times: # change how many fireballs are shot here!
    14.                 spawn fireball at {loc.%player%}
    15.                 push last spawned entity in direction of player with force 0.5
    16.             set {cooldown.%player's uuid%} to true
    17.             wait 5 seconds # change the cooldown here
    18.             set {cooldown.%player's uuid%} to false
    19.         else:
    20.             send "&cWait for the cooldown!"
     
  3. Dractical

    Dractical Member

    Joined:
    Dec 30, 2019
    Messages:
    2
    Likes Received:
    0
    I do, I will Try it now.
    --- Double Post Merged, Jan 14, 2020 ---
    Alright, it doesn't work, there are no errors in the console, it doesn't shoot fireballs, do you know a solution? I don't, I'm not good with skript.
     
  4. Goose

    Goose Well-Known Member

    Joined:
    Nov 23, 2019
    Messages:
    185
    Likes Received:
    7
    I'll help you later, sorry. I'm in school at the moment.
    --- Double Post Merged, Jan 14, 2020, Original Post Date: Jan 14, 2020 ---
    Oh, there was a typo in the skript. Here you go
    Code (Text):
    1. command fireballwand:
    2.     permission: fb.wand
    3.     aliases: /fbwand
    4.     trigger:
    5.         give player 1 blaze rod of sharpness 5 named "&c&lFireball Wand" with lore "|| &cA wand with the power to shoot fireballs! || &8Ability: || &7Flamethrower || &7Right click to shoot fireballs from the wand! ||"
    6.         set {cooldown.%player's uuid%} to false
    7. on join:
    8.     set {cooldown.%player's uuid%} to false
    9. on right click:
    10.     if player's tool is blaze rod of sharpness 5 named "&c&lFireball Wand" with lore "|| &cA wand with the power to shoot fireballs! || &8Ability: || &7Flamethrower || &7Right click to shoot fireballs from the wand! ||":
    11.         if {cooldown.%player's uuid%} is false:
    12.             set {loc.%player%} to block above block above player's location
    13.             loop 3 times: # change how many fireballs are shot here!
    14.                 spawn fireball at {loc.%player%}
    15.                 push last spawned entity in direction of player with force 0.5
    16.             set {cooldown.%player's uuid%} to true
    17.             wait 5 seconds # change the cooldown here
    18.             set {cooldown.%player's uuid%} to false
    19.         else:
    20.             send "&cWait for the cooldown!"
     
Loading...