Doors trigger

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

Myval

Member
May 20, 2023
3
1
3
24
Hello, I would like to ask for help ❤️ I have no idea how to add to this script so that the script does not respond to all acacia doors but only to those located at coordinates 46, 64, -21, I hope someone can help me thanks!

on right click on acacia door:
send "OMG DOKÁZAL JSI OTEVŘÍT DVĚŘE"
 
Hello, you can do something like this

Code:
on right click on acacia door:
    if location of clicked block = location(46,64,-21, world of player):
        send "OMG DOKÁZAL JSI OTEVŘÍT DVĚŘE"