1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mining skript

Discussion in 'Requests' started by Nycolas Lima, Sep 15, 2020.

Tags:
  1. Nycolas Lima

    Nycolas Lima Member

    Joined:
    Sep 15, 2020
    Messages:
    1
    Likes Received:
    0
    hi, i'm wanting to create a script for when the player breaks a block all the stone blocks that are in the coordinate he broke are broken too, and that he sends a message of how many blocks were broken in the chat, can someone help me?
     
  2. Zabrid

    Supporter

    Joined:
    Mar 2, 2019
    Messages:
    53
    Likes Received:
    1
    Im not sure I understand what you mean by "all the stone blocks that are in the coordinate he broke are broken too"

    do you mean that if you break a stone block it logs that block and when you break other stone blocks it breaks that block along with the block you just broke?
     
  3. Bayest

    Bayest Member

    Joined:
    Sep 26, 2020
    Messages:
    2
    Likes Received:
    0
  4. Skoll

    Skoll Active Member

    Joined:
    Sep 2, 2020
    Messages:
    60
    Likes Received:
    5
    Each block has own coordinate. Do you mean break blocks 3x3 and log all blocks broken ?
     
  5. TG_B

    TG_B Member

    Joined:
    Oct 16, 2020
    Messages:
    1
    Likes Received:
    0
    vein miner?
     
  6. bpitcher2013

    bpitcher2013 Member

    Joined:
    Jan 25, 2020
    Messages:
    14
    Likes Received:
    1
    Code (Text):
    1. on block break:
    2.     loop blocks in radius 2 of event-block:
    3.         add loop-block to {_blocks.%player%::*}
    4.         loop {_blocks.%player%::*}:
    5.             drop loop-value
    6.             set loop-block to air
    7.             send "%{_blocks.%player%::*} parsed as number" to player
     

Share This Page

Loading...