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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

block break delay

Discussion in 'Skript' started by SorenX, Nov 29, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. SorenX

    SorenX New Member

    Joined:
    Nov 29, 2017
    Messages:
    5
    Likes Received:
    0
    Hello, world
    I am new, sry if dumb question, also eng is not my native lang... anyway, how could i have delay between blocks changing (10 sec)?

    on block break:
    if event-block is a 2025:14:
    set {_newBlock} to event-block
    set event-block to a westerosblocks stone block 0:14
    cancel event

     
  2. Best Answer:
    Post #6 by St0medy, Nov 29, 2017
  3. St0medy

    St0medy Member

    Joined:
    Nov 26, 2017
    Messages:
    18
    Likes Received:
    1
    I mean, do you want the bloomers of the bloc to change to another block and that that time takes 10 seconds?
     
  4. SorenX

    SorenX New Member

    Joined:
    Nov 29, 2017
    Messages:
    5
    Likes Received:
    0
    I want when player destroy some block (X), it will keep air for 10 sec, than rebuild again at the same block(X).
    and if possible without drops from block (X)
     
  5. St0medy

    St0medy Member

    Joined:
    Nov 26, 2017
    Messages:
    18
    Likes Received:
    1
    If you want to put a delay, the block will be deleted and it will stay in the 10 seconds that you have
     
  6. SorenX

    SorenX New Member

    Joined:
    Nov 29, 2017
    Messages:
    5
    Likes Received:
    0
    so could you help and explain how to make:
    1 step. block destroyed by player.
    2 step. nothing on block pos for 10 sec, so you can go thru.
    3 step. block regenerated.
    then from 1 step.
     
  7. St0medy

    St0medy Member

    Joined:
    Nov 26, 2017
    Messages:
    18
    Likes Received:
    1
    Code (Skript):
    1. on block break:
    2.     if event-block is a sand:
    3.         set {_newBlock} to event-block
    4.         wait 10 seconds
    5.         set event-block to a stone block
    put this code but with ur blocks, dont cancel the event.
     
  8. SorenX

    SorenX New Member

    Joined:
    Nov 29, 2017
    Messages:
    5
    Likes Received:
    0
    moment, let me try that
    --- Double Post Merged, Nov 29, 2017, Original Post Date: Nov 29, 2017 ---
    sry, nope. just block been destroyed, no replacement


    on block break:
    if event-block is a 2025:14:
    set {_newBlock} to event-block
    wait 10 seconds
    set event-block to a 2025:14
     
  9. St0medy

    St0medy Member

    Joined:
    Nov 26, 2017
    Messages:
    18
    Likes Received:
    1
    Which its the item 2025:14 ?
     
  10. SorenX

    SorenX New Member

    Joined:
    Nov 29, 2017
    Messages:
    5
    Likes Received:
    0
    mod item westerosblocks stone block 0:14
    --- Double Post Merged, Nov 29, 2017, Original Post Date: Nov 29, 2017 ---
    oh, i`ve just tryed that script with obblestone and it works. so thank you!!! I will just replace my block to vanilla one
     
  11. St0medy

    St0medy Member

    Joined:
    Nov 26, 2017
    Messages:
    18
    Likes Received:
    1
    That's what I was going to say, nothing do not worry
     
Thread Status:
Not open for further replies.

Share This Page

Loading...