Can't mine once you get 25 levels in a specific region

  • 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.
Jul 1, 2020
4
0
0
42
Im trying to make it so when you are a certain level you cant mine in a certain area. This is my skript:
on break of coal ore:
if player's level is 25:
if "%region%" is "StarterMine":
cancel event
It's not working and I don't know why can someone help
 
1) please read the docs before posting.
2) here's the fix:
Code:
on break of coal ore: # here you could just do on break: if you dont want anything in the region broken.
  if "%region%" == "StarterMine":
    if player's level >= 25: # >= means greater than, or equal to.
      cancel event
    
[/QUOTE]
It shows no errors but it doesnt work
 
Status
Not open for further replies.