1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Cancel event not working

Discussion in 'Skript' started by fireyburst1097, Feb 22, 2021.

Tags:
Thread Status:
Not open for further replies.
  1. fireyburst1097

    Joined:
    Jun 4, 2020
    Messages:
    4
    Likes Received:
    0
    so skript seems to have some issues with most transparent blocks.

    this code is supposed to stop players from breaking anything but it doesn't work on glass, beds, leaves etc. etc.

    can anyone help?

    Code (Text):
    1. on mine:
    2.     if player's gamemode is survival:
    3.         player's world = "Thick":
    4.             cancel event
    5.  
     
  2. Best Answer:
    Post #2 by Time4Games, Feb 22, 2021
  3. Time4Games

    Time4Games Active Member

    Joined:
    Jul 25, 2020
    Messages:
    202
    Likes Received:
    4
    try using "on block break" instead of "on mine"
     
    • Agree Agree x 1
  4. fireyburst1097

    Joined:
    Jun 4, 2020
    Messages:
    4
    Likes Received:
    0
    ok il try
    --- Double Post Merged, Feb 23, 2021, Original Post Date: Feb 23, 2021 ---
    It worked, Thanks!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...