#When my item loses durability it doesnt work and i cant seem to make it unbreakable?

1 messages · Page 1 of 1 (latest)

near brook
#

‘‘‘‵‵‵’’’‛‛‛′′′
hmm

#

im trynna do the indent thing ig i can just send the file idk

#
    loop all players:
        if {cib_cooldown.%uuid of loop-player%} is 1:
            if loop-player has a clock named "&r" in hand:
                set {handutility.%uuid of loop-player%} to "&r&r " 
            else if loop-player has a clock named "&r" in offhand:
                set {offhandutility.%uuid of loop-player%} to "&r&r " 
        else if {cib_cooldown.%uuid of loop-player%} is more than 1:
            set {cib_cooldown.%uuid of loop-player%} to {cib_cooldown.%uuid of loop-player%} - 1
            if loop-player has a clock named "&r" in hand:
                set {handutility.%uuid of loop-player%} to "&r&r&f&l《<##f24b4b>&l%{cib_cooldown.%uuid of loop-player%}%&f&l》"
            else if loop-player has a clock named "&r" in offhand:
                set {offhandutility.%uuid of loop-player%} to "&r&r&f&l《<##f24b4b>&l%{cib_cooldown.%uuid of loop-player%}%&f&l》"
        else:
            set {cib_cooldown.%uuid of loop-player%} to 1```
#
command /bounded <string>:
    permission: op
    trigger:
        if arg-1 is "cib":
            give player clock named "&r" with lore "&f"
        else if arg-1 is "enode":
            give player clock named "enode"
        else if arg-1 is "dash":
            give player diamond sword named "&r"
        else if arg-1 is "Makeshift":
            give player netherite pickaxe named "Makeshift Drill"
#

it doesnt work once the sword loses durability

near brook
#

squid hook is what my resource pack sets it too btw its usually just 

obtuse garden
#

most conventional method would be to 1 of player's tool = 1 of {_someItem}

#

as for your variables, make them lists. change . to ::

#

and, do not loop all players every second for this cooldown. thats really ineffcient