Rightclick on block

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

    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.

KAVKAZIE

Active Member
Feb 27, 2017
146
0
16
Hey, How to do when im clicking on barrier block at 0 72 0 and it's runs commands ? Thanks.
 
try this
Code:
on right click on barrier:
    if location of event-block = location(0, 72, 0, world of player):
        # your code here
 
As TPGames said you should update.
The function I sent won't work because functions were created in Bensku's fork 2.2dev series.
Without the function, I'm not actually sure how you would do it.

Id love to help more, but honestly running 4-year-old software is just going to run more issues than not.
 
I DONT NEED HELP ANYMORE THANKS!
I DONT NEED HELP ANYMORE THANKS!
I DONT NEED HELP ANYMORE THANKS!
 
Status
Not open for further replies.