Custom Enchant Development

  • 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.
Jan 10, 2019
4
0
0
25
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
 
Status
Not open for further replies.