So im "recreating" some items from hypixel skyblock for myself. Currently im working on the Terminator. It works fine except ill add a lore to it, it only works for few seconds ~1s-2s and after that time it just stop working.
There is the code:
on leftclick:
if player's tool is bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW":
shoot an arrow at speed 6
push last shot projectile right at speed 1
shoot an arrow at speed 6
push last shot projectile left at speed 1
shoot an arrow at speed 6
on rightclick:
if player's tool is bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW":
shoot an arrow at speed 6
push last shot projectile right at speed 1
shoot an arrow at speed 6
push last shot projectile left at speed 1
shoot an arrow at speed 6
on damage:
if damage was caused by projectile:
if projectile is an arrow:
if attacker is player:
if attacker's tool is bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW":
increase damage by 100
command /term2:
trigger:
give player bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW"
Addons: skUtilities, skQuery, skDragon and TuSKe
There is the code:
on leftclick:
if player's tool is bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW":
shoot an arrow at speed 6
push last shot projectile right at speed 1
shoot an arrow at speed 6
push last shot projectile left at speed 1
shoot an arrow at speed 6
on rightclick:
if player's tool is bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW":
shoot an arrow at speed 6
push last shot projectile right at speed 1
shoot an arrow at speed 6
push last shot projectile left at speed 1
shoot an arrow at speed 6
on damage:
if damage was caused by projectile:
if projectile is an arrow:
if attacker is player:
if attacker's tool is bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW":
increase damage by 100
command /term2:
trigger:
give player bow named "&6Terminator" with lore "||&6&lLEGENDARY BOW"
Addons: skUtilities, skQuery, skDragon and TuSKe