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 our 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.

Custom Enchant Development

Discussion in 'Skript' started by DeathMercenary, Jan 10, 2019.

Thread Status:
Not open for further replies.
  1. D

    Joined:
    Jan 10, 2019
    Messages:
    3
    Likes Received:
    0
    So this works almost to where I want it to,
    was wondering if I could make it not break past the WorldGuard Regions
    Not break certain blocks
    Do damage to the pickaxe when it breaks something
    And have fortune effect when it breaks a block



    If this is wrong area let me know, new to the forums of skript, as well as new to using skript

    on mine:
    if player is holding diamond pickaxe with lore "&7Test":
    set {_1} to location of event-block
    set {_2} to location of event-block
    add 1 to y-coord of {_1}
    subtract 1 from y-coord of {_2}
    add 1 to z-coord of {_1}
    subtract 1 from z-coord of {_2}
    add 1 to x-coord of {_1}
    subtract 1 from x-coord of {_2}
    loop blocks within {_1} to {_2}:
    skellett break loop-value naturally using player's tool



    Pastebin:
    https://pastebin.com/TB1r3XmA
     
Thread Status:
Not open for further replies.
Loading...