[MISSEL PLUGIN] need help!

Discussion in 'Skript' started by larsjarred9, Apr 25, 2017.

  1. i made plugin for a client. But it is not working and i dont know how to fix it
    [​IMG]
    Code (Text):
    on rightclick:
        cancel event
        name of player's tool is "{@bowname}"
        if {explode.timer.%player%} is "0":
            loop players in radius 20 of the player:
                set {target.%player%} to loop-player
            if {target.%player%} is set:
                message "{@Logo} &bTarged locked on to %{target.%player%}%" to player
                send "{@Logo} &b%player% Locked a missle at you" to {target.%player%}
                trail projectile with particle flame
                shoot an arrow
                trail projectile with particle flame
                set {explode.%player%} to true
                set {explode.timer.%player%} to "15"
                wait 1 second
                set {explode.timer.%player%} to "14"
                wait 1 second
                set {explode.timer.%player%} to "13"
                wait 1 second
                set {explode.timer.%player%} to "12"
                wait 1 second
                set {explode.timer.%player%} to "11"
                wait 1 second
                set {explode.timer.%player%} to "10"
                wait 1 second
                set {explode.timer.%player%} to "9"
                wait 1 second
                set {explode.timer.%player%} to "8"
                wait 1 second
                set {explode.timer.%player%} to "7"
                wait 1 second
                set {explode.timer.%player%} to "6"
                wait 1 second
                set {explode.timer.%player%} to "5"
                wait 1 second
                set {explode.timer.%player%} to "4"
                wait 1 second
                set {explode.timer.%player%} to "3"
                wait 1 second
                set {explode.timer.%player%} to "2"
                wait 1 second
                set {explode.timer.%player%} to "1"
                wait 1 second
                set {explode.timer.%player%} to "0"
            else:
                message "{@Logo} &bNo Players Within 20 blocks."
    the arrow need to be locked to a player so it follows the player until it hits the player and i dont want it to hit/lock it on the shooter


    and i dont know how to fix not dropping an item:
    Code (Text):
    on drop:
        player is holding a gold ingot
        cancel event
     
    thanks for your help

    the player who helped me will get 1 free custom skript plugin to their choice