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

Stop spawning items

Discussion in 'Skript' started by Bixia, Mar 31, 2020.

Tags:
Thread Status:
Not open for further replies.
  1. Bixia

    Bixia Member

    Joined:
    Mar 31, 2020
    Messages:
    3
    Likes Received:
    0
    does any one know how to stop the cobble from spawning after the wool is broken

    on place of white wool:
    set {drop} to event-block
    add 0.5 to y-coordinate of {drop}


    every 5 seconds:
    drop 1 cobblestone at {drop}

    DISCORD - boxmonkeyqb#7877
     
  2. couger44

    Supporter

    Joined:
    Feb 19, 2017
    Messages:
    714
    Likes Received:
    31
    Try:
    Code (Skript):
    1.  
    2. on place of white wool:
    3.   set {drop} to event-block
    4.   add 0.5 to y-coordinate of {drop}
    5.  
    6. on break:
    7.     if event-block is white wool:
    8.         delete {drop}
    9.  
    10.  
    11. every 5 seconds:
    12.     if {drop} is set:
    13.          drop 1 cobblestone at {drop}
     
Thread Status:
Not open for further replies.

Share This Page

Loading...