Leaderboard of blocks broken

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

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

hologram plugin > use a skript adoon that exports the placeholder > call skript playerholder in hologram config
 
on break:
set {_uuid} to uuid of player
add 1 to {brokenBlocks::%{_uuid}%}


That's pretty much it for the base part of the skript, and if you have a plugin such as decent holograms or any of those and need a placeholder then get the plugin skript-placeholdera and you can just drop this in with it:



placeholderapi placeholder with the prefix "skriptplaceholders":
if the identifier is "broken":
set {_broken} to {brokenBlocks::%uuid of player%}
set the result to {_broken}


And if you want the number to show it formatted like 1k, 1m, 1b etc just lemme know