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

Kitti_Chan

Member
Sep 3, 2019
2
0
0
23
So far I have this:

on block damage:
if event-block is bedrock:
if player’s tool is diamond pickaxe:
wait 100 ticks
set event-block to air
drop bedrock

But I wanted to find out how to have the tool as a diamond pickaxe with the enchantments efficiency 69, infinity 420, and sharpness 5. Sorry btw, I’m not sure how to make the code above into the format it’s supposed to be in ✊
 
you want the player's tool to be enchanted?
[doublepost=1581864604,1581863647][/doublepost]if you meant that, here is the skript:
Code:
on block damage:
  if event-block is bedrock:
    if player is holding stone pickaxe:
      if player's held item is enchanted with efficiency 69:
        set {_drop} to bedrock
        wait 40 ticks
        set event-block to air
        drop {_drop} 2 meters forward the player
 
you want the player's tool to be enchanted?
[doublepost=1581864604,1581863647][/doublepost]if you meant that, here is the skript:
Code:
on block damage:
  if event-block is bedrock:
    if player is holding stone pickaxe:
      if player's held item is enchanted with efficiency 69:
        set {_drop} to bedrock
        wait 40 ticks
        set event-block to air
        drop {_drop} 2 meters forward the player
Tysm!
 
Status
Not open for further replies.