Tools Breaked Lore

  • 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!

on mine of any ore: # I suppose you only want this to work with ores since you specifically mentioned pickaxes

  if player is holding a pickaxe:

    set {_current-amount::*} to line 1 of tool's lore parsed as "<yellow>Broken blocks<grey>: <orange>%number%"
    set line 1 of tool's lore to "<yellow>Broken blocks<grey>: <orange>%{current-amount::1} + 1%"
Last edited: