block break delay

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

  • LOOKING FOR A VERSION OF SKRIPT?

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

Status
Not open for further replies.

SorenX

New Member
Nov 29, 2017
5
0
0
39
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
 
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

I mean, do you want the bloomers of the bloc to change to another block and that that time takes 10 seconds?
 
I mean, do you want the bloomers of the bloc to change to another block and that that time takes 10 seconds?
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)
 
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)

If you want to put a delay, the block will be deleted and it will stay in the 10 seconds that you have
 
If you want to put a delay, the block will be deleted and it will stay in the 10 seconds that you have
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.
 
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.

code_language.skript:
on block break:
    if event-block is a sand:
        set {_newBlock} to event-block
        wait 10 seconds
        set event-block to a stone block

put this code but with ur blocks, dont cancel the event.
 
code_language.skript:
on block break:
    if event-block is a sand:
        set {_newBlock} to event-block
        wait 10 seconds
        set event-block to a stone block

put this code but with ur blocks, dont cancel the event.
moment, let me try that
[doublepost=1511993440,1511993306][/doublepost]
code_language.skript:
on block break:
    if event-block is a sand:
        set {_newBlock} to event-block
        wait 10 seconds
        set event-block to a stone block

put this code but with ur blocks, dont cancel the event.
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
 
moment, let me try that
[doublepost=1511993440,1511993306][/doublepost]
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

Which its the item 2025:14 ?
 
mod item westerosblocks stone block 0:14
[doublepost=1511993666,1511993559][/doublepost]
oh, i`ve just tryed that script with obblestone and it works. so thank you!!! I will just replace my block to vanilla one

That's what I was going to say, nothing do not worry
 
Status
Not open for further replies.