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.

Wands Help

Oct 20, 2019
Wands Help
  • I'm trying to make wands which do different thing. I need some sort of code that produces skDragon particles shooting out of the wands (blaze rods), i'll show you what i have already done...

    on left click holding a blaze rod:
    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is not set:
    set {magicwand.effect.%player%} to 1
    message "&eMagicwand&6: &7Leap"
    stop
    {magicwand.effect.%player%} is 1:
    set {magicwand.effect.%player%} to 2
    message "&eMagicwand&6: &7Heal"
    stop
    {magicwand.effect.%player%} is 2:
    set {magicwand.effect.%player%} to 3
    message "&eMagicwand&6: &7Teleport"
    stop
    {magicwand.effect.%player%} is 3:
    set {magicwand.effect.%player%} to 4
    message "&eMagicwand&6: &7Speed"
    stop
    {magicwand.effect.%player%} is 4:
    set {magicwand.effect.%player%} to 5
    message "&eMagicwand&6: &7Damage"
    stop
    {magicwand.effect.%player%} is 5:
    set {magicwand.effect.%player%} to 6
    message "&eMagicwand&6: &7Invisability"
    stop
    {magicwand.effect.%player%} is 6:
    set {magicwand.effect.%player%} to 1
    message "&eMagicwand&6: &7Leap"
    stop

    #----------------------------------------------------------------#

    on right click holding a blaze rod:
    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is 1:
    push player upwards at speed 2
    push player in the direction of player with force 3

    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is 2:
    play 3 heart at player
    heal the player by 0.5 hearts

    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is 3:
    teleport player at block above target block

    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is 4:
    set the player's walk speed to 5
    wait 5 seconds
    reset player's walk speed

    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is 5:
    play 3 angry villager at target player
    damage the target player by 6 hearts

    name of the player's tool is "&eMagic Wand":
    {magicwand.effect.%player%} is 6:
    drawWarpRings style 2, particle "redstone", RGB 0, 0, 255, center location above player, id "%player%", rainbowMode false, scan true, height 1.3, radius 1.1, ringCount 2, ringDensity 20, visibleRange 32, pulseDelay 2
    wait 0.5 seconds
    make player execute command "/stop"
    hide player from all players
    wait 3 seconds
    reveal player from all players
    drawWarpRings style 1, particle "redstone", RGB 255, 0, 0, center location of player, id "%player%", rainbowMode false, scan true, height 1.5, radius 1.1, ringCount 2, ringDensity 20, visibleRange 32, pulseDelay 2
    wait 0.5 seconds
    make player execute command "/stop"


    I also need a cooldown animation for the action bar in a Def statement manner, this then i can hopefully adapt to my Skript so each spell has a specified cooldown
xXnamaXx likes this.