Got a skript, no errors but doesnt seem to work.

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

Jun 23, 2023
32
0
6
on right click on barrier:
if location of event-block = location(324, 142, 1096):
execute player command "warpmenu"
I had no errors but on right click nothing happens.
The command is made with deluxemenus
 
I recomment you try debugging your code to find out where the problem is.

Example (more like you control + c , control + v):
Code:
on rightclick on barrier:
  send "Clicked on barrier"
  send "Location of event-block: %event-block's location%"
  if event-block's location = location(324, 142, 1096):
    send "Executing command!"
    execute player command "warpmenu"
  else:
    send "Invalid location!"