Reset Block Break Stage

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

lateeagle

Active Member
Jan 29, 2025
104
8
18
How do i reset the block breaking animation thing

Addons:

-ProtocolLib
-MorkazSK

Code:
if {blockStage::%loop-block%} isn't 10:
    add 1 to {blockStage::%loop-block%}

    show block break stage {blockStage::%loop-block%} at loop-block to all players
    play sound "minecraft:entity.zombie.attack_wooden_door" with volume 0.5 at loop-entity to players
    wait 1 tick
else:
    break loop-block with effects
    play sound "minecraft:entity.zombie.break_wooden_door" with volume 0.5 at loop-entity to players
 
cant you just set {blockStage::%loop-block%} to 0 and then run this again?
show block break stage {blockStage::%loop-block%} at loop-block to all players
 
Unless MorkazSk has been updated or you're running skript on an old version, nothing will work. I'd recommend using SkBee for block stages.

*edit* I have an outdated custom mining resource if you want to take a look for things you can steal. I may update it
 
Last edited:
It does not, but you can change the speed that players can mine blocks. I have a fully fleshed out system for this using item lore if you want
 
  • Like
Reactions: Merrical