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.

Help needed

Discussion in 'Skript' started by novastosha, Mar 25, 2020.

Thread Status:
Not open for further replies.
  1. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    344
    Likes Received:
    22
    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 (Skript):
    1. loop all blocks within {BlockParty::Pos1::%loop-value%} and {BlockParty::Pos2::%loop-value%}:
    2.           if loop-block is not {_toStandon}:
    3.                 set loop-block to air
     
  2. oHeckGage

    oHeckGage Active Member

    Joined:
    Mar 24, 2020
    Messages:
    106
    Likes Received:
    5
    Maybe try:

    Code (Text):
    1.  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
     
  3. novastosha

    novastosha Well-Known Member

    Joined:
    Jan 11, 2019
    Messages:
    344
    Likes Received:
    22
    No not working
     
Thread Status:
Not open for further replies.

Share This Page

Loading...