Hello there i am in the making of a skript plugin and im making Special wands so everything is going well i have commands and stuff ( i know the basics of skript) but if i try this the cooldown works all fine but if i try right clicking it works but it works with everything: Swords, random blocks but i only want it to so u can right click it with a blaze rod named &eLightning Wand
Could anyone help me please?
Regards, potlag
Here is my code btw:
on rightclick:
if player's tool is blaze rod:
if {cooldown.%player%} is false:
if name of tool is "&eLighting Wand":
strike lightning at targeted block
set {cooldown.%player%} to true
wait 3 seconds
set {cooldown.%player%} to false
if {cooldown.%player%} is true:
message "Ur still on cooldown"
Could anyone help me please?
Regards, potlag
Here is my code btw:
on rightclick:
if player's tool is blaze rod:
if {cooldown.%player%} is false:
if name of tool is "&eLighting Wand":
strike lightning at targeted block
set {cooldown.%player%} to true
wait 3 seconds
set {cooldown.%player%} to false
if {cooldown.%player%} is true:
message "Ur still on cooldown"
