Radius Thing Help

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

OneMore

New Member
Jul 16, 2017
7
0
0
22
code_language.skript:
on right click on chest:
    if event-block is in radius 2 of {chest1::location}:
        if player is in {openedchest::uuid of player}:
            send "&cThis chest is empty."
So, I am trying to make it so when they right click the chest in radius 2 of "{chest1::location}" (I already set the coords of that variable) for it to say "&cThis chest is empty" I am getting an error on the line "if event-block is in radius 2 of {chest1::location}:" Please tell me how to fix this.
 
code_language.skript:
on rightclick on chest:
    loop all blocks in radius 2 of {chest1::location}:
        if loop-block is event-block:
#etc
 
Status
Not open for further replies.