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.

Solved on break

Discussion in 'Skript' started by florian fangl, May 17, 2019.

  1. florian fangl

    florian fangl Member

    Joined:
    Feb 3, 2019
    Messages:
    4
    Likes Received:
    0
    Hey I have a problem and I would like that if you mine coal that does not drop coal but eg coins are given and a message is issued I do not know how I can do this here my code I have written so far sry my english is not so good but I hope you can help me!

    on break of coal ore:
    if player is in world "Mine":
    add 2 to {coins::%player%}
    send action bar from "{@prefix} &7Du hast &62 Coins &7bekommen!" to player
    loop entities:

    loop-entity is a dropped item
    clear loop-entity
    else:
    stop
     
  2. ExtremeUltra

    ExtremeUltra Member

    Joined:
    May 10, 2019
    Messages:
    15
    Likes Received:
    0
    can u please remove the
    Code (Skript):
    1. else:
    2.     stop
    please?
     
Loading...