Help needed

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

novastosha

Well-Known Member
Jan 11, 2019
344
21
18
27
SkUnity Street
I am making a blockparty script

And i want when time ends all the blocks exept the one to stand on turns to air

It works but it just leaves 1 block out of 10 as an example

Code:
code_language.skript:
loop all blocks within {BlockParty::Pos1::%loop-value%} and {BlockParty::Pos2::%loop-value%}:
          if loop-block is not {_toStandon}:
                set loop-block to air
 
Maybe try:

Code:
 if the block above loop-block is air:
I am no expert but yeah idk if it will see the person above is a block or not but maybe try going along in that direction
 
Status
Not open for further replies.