Stop spawning items

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

Bixia

Member
Mar 31, 2020
3
0
0
23
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
 
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
Try:
code_language.skript:
on place of white wool:
  set {drop} to event-block
  add 0.5 to y-coordinate of {drop}

on break:
    if event-block is white wool:
        delete {drop}


every 5 seconds:
    if {drop} is set:
         drop 1 cobblestone at {drop}
 
Status
Not open for further replies.