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!

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

Need Help

Discussion in 'Requests' started by bpitcher2013, Aug 28, 2020.

  1. bpitcher2013

    bpitcher2013 Member

    Joined:
    Jan 25, 2020
    Messages:
    14
    Likes Received:
    1
    When i reload it it says emerald ore, crying obsdian and a beacon is not a item

    can someone help?

    on right click:
    if clicked block is coal block:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops1::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 coal block named "&7Generator - Tier 1"
    stop
    if clicked block is iron block:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops2::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 iron block named "&7Generator - Tier 2"
    stop
    if clicked block is diamond block:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops3::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 diamond block named "&7Generator - Tier 3"
    stop
    if clicked block is emerald block:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops4::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 emerald named "&7Generator - Tier 4"
    stop
    if clicked block is nether quartz ore:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops5::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 nether quartz ore named "&7Generator - Tier 5"
    stop
    if clicked block is beacon:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops6::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 beacon "&7Generator - Tier 6"
    stop
    if clicked block is crying obsidian:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops7::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 Crying Obsidian "&7Generator - Tier 7"
    stop
    if clicked block is emerald ore:
    if player's tool is stick:
    if tool's name is "&d&lGen &a&lRemover":
    set event-block to air
    remove block above event-block from {drops8::*}
    remove 1 from {Gens::%player's uuid%}
    give player 1 emerald ore named "&d&lLimited &a&lGenerator"
    stop
     
  2. ser

    ser Member

    Joined:
    Aug 28, 2020
    Messages:
    3
    Likes Received:
    0
    please put this in a code box
    Code (Text):
    1. Like This
     
  3. D4isDAVID

    D4isDAVID Member

    Joined:
    Jun 19, 2020
    Messages:
    48
    Likes Received:
    2
    Try using this, make sure you are using Skript 2.5-beta3
    Code (Skript):
    1. on right click:
    2.     if clicked block is coal block:
    3.         if player's tool is stick:
    4.             if tool's name is "&d&lGen &a&lRemover":
    5.                 set event-block to air
    6.                 remove block above event-block from {drops1::*}
    7.                 remove 1 from {Gens::%player's uuid%}
    8.                 give player 1 coal block named "&7Generator - Tier 1"
    9.                 stop
    10.     if clicked block is iron block:
    11.         if player's tool is stick:
    12.             if tool's name is "&d&lGen &a&lRemover":
    13.                 set event-block to air
    14.                 remove block above event-block from {drops2::*}
    15.                 remove 1 from {Gens::%player's uuid%}
    16.                 give player 1 iron block named "&7Generator - Tier 2"
    17.                 stop
    18.     if clicked block is diamond block:
    19.         if player's tool is stick:
    20.             if tool's name is "&d&lGen &a&lRemover":
    21.                 set event-block to air
    22.                 remove block above event-block from {drops3::*}
    23.                 remove 1 from {Gens::%player's uuid%}
    24.                 give player 1 diamond block named "&7Generator - Tier 3"
    25.                 stop
    26.     if clicked block is emerald block:
    27.         if player's tool is stick:
    28.             if tool's name is "&d&lGen &a&lRemover":
    29.                 set event-block to air
    30.                 remove block above event-block from {drops4::*}
    31.                 remove 1 from {Gens::%player's uuid%}
    32.                 give player 1 emerald named "&7Generator - Tier 4"
    33.                 stop
    34.     if clicked block is nether quartz ore:
    35.         if player's tool is stick:
    36.             if tool's name is "&d&lGen &a&lRemover":
    37.                 set event-block to air
    38.                 remove block above event-block from {drops5::*}
    39.                 remove 1 from {Gens::%player's uuid%}
    40.                 give player 1 nether quartz ore named "&7Generator - Tier 5"
    41.                 stop
    42.     if clicked block is beacon:
    43.         if player's tool is stick:
    44.             if tool's name is "&d&lGen &a&lRemover":
    45.                 set event-block to air
    46.                 remove block above event-block from {drops6::*}
    47.                 remove 1 from {Gens::%player's uuid%}
    48.                 give player 1 beacon named "&7Generator - Tier 6"
    49.                 stop
    50.     if clicked block is crying obsidian:
    51.         if player's tool is stick:
    52.             if tool's name is "&d&lGen &a&lRemover":
    53.                 set event-block to air
    54.                 remove block above event-block from {drops7::*}
    55.                 remove 1 from {Gens::%player's uuid%}
    56.                 give player 1 crying obsidian named "&7Generator - Tier 7"
    57.                 stop
    58.     if clicked block is emerald ore:
    59.         if player's tool is stick:
    60.             if tool's name is "&d&lGen &a&lRemover":
    61.                 set event-block to air
    62.                 remove block above event-block from {drops8::*}
    63.                 remove 1 from {Gens::%player's uuid%}
    64.                 give player 1 emerald ore named "&d&lLimited &a&lGenerator"
    65.                 stop
     

Share This Page

Loading...